x86: Use AVX2 memcpy/memset on Skylake server [BZ #21396]
[glibc.git] / ChangeLog
blob677e5e2107e51134e0f2df22736282a34693574e
1 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #21396]
4         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5         Prefer_No_AVX512 if AVX512ER isn't available.
6         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
7         (index_arch_Prefer_No_AVX512): Likewise.
8         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
9         AVX512 version if Prefer_No_AVX512 is set.
10         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
11         Likewise.
12         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
13         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
14         Likewise.
15         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
17         Likewise.
18         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
19         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
20         Likewise.
22 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
24         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
25         Prefer_No_VZEROUPPER if AVX512ER is available.
26         * sysdeps/x86/cpu-features.h
27         (bit_cpu_AVX512PF): New.
28         (bit_cpu_AVX512ER): Likewise.
29         (bit_cpu_AVX512CD): Likewise.
30         (bit_cpu_AVX512BW): Likewise.
31         (bit_cpu_AVX512VL): Likewise.
32         (index_cpu_AVX512PF): Likewise.
33         (index_cpu_AVX512ER): Likewise.
34         (index_cpu_AVX512CD): Likewise.
35         (index_cpu_AVX512BW): Likewise.
36         (index_cpu_AVX512VL): Likewise.
37         (reg_AVX512PF): Likewise.
38         (reg_AVX512ER): Likewise.
39         (reg_AVX512CD): Likewise.
40         (reg_AVX512BW): Likewise.
41         (reg_AVX512VL): Likewise.
43 2017-04-18  Florian Weimer  <fweimer@redhat.com>
45         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
46         O_CLOEXEC is defined.
47         * include/fcntl.h (__have_o_cloexec): Remove declaration.
48         * io/Makefile (aux): Remove.
49         * io/have_o_cloexec.c: Remove file.
50         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
51         defined and works.
52         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
53         defined.
54         * login/utmp_file.c (O_flags): Remove definition.
55         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
56         O_CLOEXEC works.
57         (pututline_file): Likewise.
58         * malloc/mtrace.c: Assume that O_CLOEXEC works.
59         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
60         definition.
61         (internal_setgrent): Assume that O_CLOEXEC works.
62         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
63         Remove definition.
64         (internal_setgrent): Assume that O_CLOEXEC works.
65         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
66         definition.
67         (internal_setpwent): Assume that O_CLOEXEC works.
68         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
69         definition.
70         (internal_setspent): Assume that O_CLOEXEC works.
71         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
72         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
73         O_CLOEXEC is defined and works.
74         * nss/Makefile (libnss_files-routines): Remove
75         files-have_o_cloexec.
76         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
77         defined.
78         * nss/nss_files/files-XXX.c (internal_setent): Assume that
79         O_CLOEXEC is defined and works.
80         * nss/nss_files/files-alias.c (internal_setent): Likewise.
81         * nss/nss_files/files-have_o_cloexec.c: Remove.
82         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
83         defined.
84         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
85         and works.
86         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
87         definition.
88         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
89         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
90         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
91         (__opendirat, __opendir): Adjust opendir_oflags call.
92         (check_have_o_cloexec): Remove.
93         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
94         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
95         defined.
96         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
97         Remove definition.
99 2017-04-18  Florian Weimer  <fweimer@redhat.com>
101         * include/unistd.h (__have_dup3): Remove declaration.
102         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
103         dup3 is available.
104         * libio/freopen64.c (freopen64): Likewise.
105         * socket/Makefile (aux): Remove have_sock_cloexec.
106         * socket/have_sock_cloexec.c: Remove file.
107         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
108         definition.
109         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
110         Likewise.
111         * sysdeps/nacl/kernel-features.h: Update comment.
113 2017-04-18  Florian Weimer  <fweimer@redhat.com>
115         * include/unistd.h (__have_pipe2): Remove declaration.
116         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
117         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
118         available.
119         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
120         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
121         Remove definition.
123 2017-04-18  Florian Weimer  <fweimer@redhat.com>
125         * malloc/malloc.c (cfree): Turn into compat symbol.
126         (__cfree): Remove alias.
127         * stdlib/stdlib.h (cfree): Remove declaration.
128         * malloc/malloc.h (cfree): Likewise.
129         * manual/memory.texi (Freeing after Malloc): Remove cfree.
130         * malloc/Versions (GLIBC_2.26): Add.
132 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
134         * sysdeps/powerpc/powerpc64/multiarch/Makefile
135         (sysdep_routines): Add strrchr-power8.
136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
137         (strrchr): Add __strrchr_power8 to list of strrchr functions.
138         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
139         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
140         (strrchr): Add __strrchr_power8 to ifunc list.
141         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
143 2017-04-17  Rabin Vincent  <rabinv@axis.com>
145         [BZ #21357]
146         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
147         Call free() outside of mutex.
149 2017-04-13  Florian Weimer  <fweimer@redhat.com>
151         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
152         is defined.
153         * elf/rtld.c (process_envvars): Likewise.
154         * sysdeps/posix/shm_open.c (shm_open): Likewise.
155         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
156         O_NOFOLLOW directly.
157         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
159 2017-04-13  Florian Weimer  <fweimer@redhat.com>
161         [BZ #21369]
162         Remove EDNS fallback.
163         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
164         handling.
165         * resolv/res_send.c (send_dg): Likewise.
166         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
167         "tcp." prefixes.
168         (do_test): Send a "formerr."-prefixed query in an attempt to
169         trigger EDNS fallback.
171 2017-04-13  Florian Weimer  <fweimer@redhat.com>
173         [BZ #21361]
174         Limit EDNS buffer size to 1200 bytes.
175         * include/resolv.h (__res_nopt): Remove declaration.
176         * resolv/Makefile (tests): tst-resolv-edns.
177         (tst-resolv-edns): Link with -lresolv, -lpthread.
178         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
179         interval [512, 1200].
180         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
181         we can resize the buffer.
182         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
183         (__res_nopt): Declare.
184         * resolv/tst-resolv-edns.c: New file.
185         * resolv/resolv_test.h (struct resolv_edns_info): Define.
186         (struct resolv_response_context): Add edns member.
187         * resolv/resolv_test.c (struct query_info): Add edns member.
188         (parse_query): Extract EDNS information from the query.
189         (server_thread_udp_process_one): Propagate EDNS data.
190         (server_thread_tcp_client): Likewise.
192 2017-04-13  Florian Weimer  <fweimer@redhat.com>
194         [BZ #21359]
195         * resolv/ns_name.c (ns_name_pack): Do not require an additional
196         byte in the destination buffer.  Avoid out-of-bounds pointer
197         arithmetic.
198         * resolv/Makefile (tests): Add tst-ns_name_compress.
199         (tst-ns_name_compress): Link with -lresolv.
200         * resolv/tst-ns_name_compress.c: New file.
201         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
202         (response): Recognize LONG_NAME.
203         (do_test): Add LONG_NAME tests.
204         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
205         for ns_name_unpack.  Add tests for ns_name_pton and
206         ns_name_compress.
208 2017-04-13  Florian Weimer  <fweimer@redhat.com>
210         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
211         (res_nisourserver): Remove definition.
212         (p_section, res_npquery, res_nisourserver): Remove declaration.
213         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
214         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
215         ... here.
216         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
217         <resolv.h>.
218         * resolv/res_query.c: Likewise.
219         * resolv/res_debug.c (p_section): Define as static.
221 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
223         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
224         strncat-power8.
225         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
226         __strncat_power8 to ifunc list.
227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
228         (strncat): Add __strncat_power8 to list of strncat functions.
229         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
231 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
233         [BZ #21270]
234         * posix/tst-mmap-offset.c (do_prepare): New function.
235         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
236         (do_test_bz21270): New function.
237         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
238         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
239         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
240         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
241         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
242         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
243         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
244         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
245         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
246         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
247         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
248         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
249         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
250         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
251         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
252         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
253         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
254         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
255         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
256         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
257         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
258         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
259         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
260         from auto-generation list.
261         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
263         * sysdeps/unix/sysv/linux/mmap.c: New file.
264         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
265         offsets and support for mmap2 syscall.
267         * posix/globtest.sh: Add cleanup routine on trap 0.
269 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
271         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
272         implementation-specific function name and remove unneeded
273         macros definition.
274         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
275         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
276         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
277         name if not defined and pass as parameter to macros accordingly.
278         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
279         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
281         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
282         implementation-specific function name and remove unneeded
283         macros definition.
284         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
285         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
286         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
287         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
288         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
289         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
290         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
291         name if not defined and pass as parameter to macros accordingly.
292         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
293         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
294         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
295         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
296         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
297         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
299         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
300         implementation-specific function name and remove unneeded macros
301         definition.
302         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
303         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
304         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
305         function name if not defined and pass as parameter to macros
306         accordingly.
307         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
308         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
310         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
311         implementation-specific function name and remove unneeded macros
312         definition.
313         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
314         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
315         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
316         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
317         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
318         not defined and pass as parameter to macros accordingly.
319         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
320         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
321         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
322         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
324         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
325         strcasestr implementation name and remove unneeded macros definition.
326         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
327         strstr implementation name and remove unneeded macros definition.
328         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
329         name if not defined and pass as parameter to macros accordingly.
330         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
332         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
333         implementation-specific function name and remove unneeded macros
334         definition.
335         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
336         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
337         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
338         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
339         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
340         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
341         function name if not defined and pass as parameter to macros
342         accordingly.
343         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
344         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
345         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
346         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
348         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
349         the strlen implementation name and remove unneeded macros definition.
350         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
351         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
352         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
353         the strnlen implementation name and remove unneeded macros definition.
354         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
355         name if not defined and pass as parameter to macros accordingly.
356         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
357         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
358         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
360         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
361         the implementation-specific function name and remove unneeded
362         macros definition.
363         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
364         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
365         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
366         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
367         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
368         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
369         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
370         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
371         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
372         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
373         name if not defined and pass as parameter to macros accordingly.
374         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
375         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
376         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
377         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
378         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
379         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
380         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
381         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
383         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
384         implementation-specific function name and remove unneeded macros
385         definition.
386         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
387         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
388         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
389         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
390         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
391         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
392         function name if not defined.
393         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
394         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
396 2017-04-11  Paul Clarke  <pc@us.ibm.com>
398         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
399         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
400         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
401         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
403 2017-04-11  Florian Weimer  <fweimer@redhat.com>
404             Zack Weinberg  <zackw@panix.com>
406         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
407         readdir64 as thread-safe.  Update warning about readdir_r.
409 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
411         * sysdeps/unix/sysv/linux/x86/Implies: New file.
412         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
413         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
414         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
415         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
416         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
417         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
419 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
421         * sysdeps/i386/dl-procinfo.c: Include
422         <sysdeps/x86/dl-procinfo.c>.
423         * sysdeps/x86_64/dl-procinfo.c: Likewise.
424         * sysdeps/x86/dl-procinfo.c: New file.
426 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
428         * sysdeps/generic/math_private.h: Remove declarations of
429         many functions that are already declared in math.h.
430         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
431         declaration for __frexpl.
432         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
433         the declarations for __scalbnl and fabsl.
435 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
437         [BZ #20831]
438         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
439         of __mprotect to change protection on the excess portion
440         to disallow all access.
442 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
444         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
445         HAS_CPU_FEATURE to check for SSE.
446         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
447         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
448         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
449         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
450         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
451         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
452         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
453         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
454         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
455         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
456         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
457         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
458         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
459         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
460         (index_cpu_SSE): Likewise.
461         (reg_SSE): Likewise.
463 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
465         * posix/getopt1.c: Include <config.h>, not "config.h".
467 2017-04-07  Zack Weinberg  <zackw@panix.com>
469         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
470         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
471         Mention in top-of-file boilerplate that these files are shared
472         with gnulib.
473         * posix/getopt.h, posix/bits/getopt_posix.h:
474         Mention in top-of-file boilerplate that these files are NOT shared
475         with gnulib, unlike the rest of the getopt implementation.
477         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
478         New files, intended to be shared with gnulib.
479         * posix/bits/getopt_posix.h:
480         New file, not intended to be shared with gnulib.
481         * posix/getopt.h: Now just includes features.h,
482         bits/getopt_core.h, and bits/getopt_ext.h.  Will
483         no longer be shared with gnulib.
484         * include/bits/getopt_core.h, include/bits/getopt_ext.h
485         * include/bits/getopt_posix.h: New wrappers.
486         * posix/Makefile: Install new headers.
487         * posix/unistd.h, libio/stdio.h:
488         Include bits/getopt_posix.h instead of getopt.h.
490         * include/libc-symbols.h: For gnulib compatibility, define
491         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
492         _GL_ATTRIBUTE_CONST.
493         * posix/getopt.c (_getopt_initialize): Mark argc and argv
494         parameters with _GL_UNUSED.
496         * posix/getopt.c: When used standalone, define __libc_use_alloca
497         as always false and alloca to abort if called.
498         (process_long_option): Rewrite handling of ambiguous long options
499         to use a single boolean vector, not a linked list; use
500         __libc_use_alloca to decide whether to allocate this using alloca.
501         * posix/tst-getopt_long1.c: Adjust text of expected error message.
503         * posix/getopt.c (process_long_option): New function split out
504         from _getopt_internal_r.
505         (_getopt_internal_r): Replace both copies of the long-option
506         processing code with calls to process_long_option.
507         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
508         (do_test): Differentiate argv[0] in the two subtests.
510         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
511         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
512         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
514         * posix/getopt.h: Add backup definition of __nonnull for
515         consistency with gnulib.  Define __getopt_argv_const to const
516         if not already defined.
517         (getopt): Update doc comment from gnulib.  Prototype
518         unconditionally.  Add __nonnull annotation.
519         (__posix_getopt): Add __nonnull annotation.
520         (getopt_long, getopt_long_only): Use __getopt_argv_const in
521         prototypes for consistency with gnulib.  Add __nonnull
522         annotations.
523         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
524         (getopt_internal): Change 'argv' argument to type 'char **'.
525         Remove now-unnecessary casts.
526         (getopt, __posix_getopt): Eliminate repetition with a macro.
527         Cast 'argv' to 'char **' when calling _getopt_internal.
528         * posix/getopt1.c (getopt_long, getopt_long_only):
529         Use __getopt_argv_const for consistency with gnulib.
530         Cast 'argv' to 'char **' when calling _getopt_internal.
531         (_getopt_long_r, _getopt_long_only_r):
532         Change 'argv' argument to type 'char **'.
533         (main): Constify 'long_options'.
534         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
535         (_getopt_long_r, _getopt_long_only_r):
536         Change 'argv' argument to type 'char **'.
538         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
539         (locked_vfxprintf): New helper function. Handle arbitrary
540         multibyte strings, not just ASCII.
541         * include/stdio.h: Declare __fxprintf_nocancel.
542         * posix/getopt.c: When _LIBC is defined, define fprintf to
543         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
544         to _IO_funlockfile.  When neither _LIBC nor
545         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
546         funlockfile as no-ops.
547         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
548         the standalone error-printing code can now be used for libc as
549         well.  Add an flockfile/funlockfile pair around one case where
550         the error message is printed in several chunks.  Don't use fputc.
551         * posix/tst-getopt-cancel.c: New test.
552         * posix/Makefile: Run it.
554         * posix/getopt.c (_getopt_internal_r): Don't increment
555         d->optind a second time when reporting ambiguous -W options.
557         * posix/getopt_int.h: Include getopt.h.
558         Use impl-namespace names for all arguments to _getopt_internal and
559         _getopt_internal_r.
560         Declare __ordering enum outside the struct.
561         Harmonize comments with gnulib.
562         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
563         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
564         #ifdef TEST block and make unconditional.  Do not define NULL.
565         * posix/getopt.c: Partial merge from gnulib, covering the
566         initial includes and global declarations, commentary, and
567         a couple of semantically-neutral code changes.
569         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
570         Use '...' instead of `...' for quotation marks inside
571         comments and strings.
573         * config.h.in (USE_NONOPTION_FLAGS): Remove.
574         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
575         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
576         * posix/getopt_int.h: Likewise.
577         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
578         __libc_argc and __libc_argv externs, which were only used by
579         #ifdef USE_NONOPTION_FLAGS blocks.
580         * posix/getopt_init.c: Remove file.
581         * posix/Makefile (routines): Remove getopt_init.
582         * include/getopt.h: Don't declare __getopt_initialize_environment.
583         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
584         a comment.
586 2017-04-07  Florian Weimer  <fweimer@redhat.com>
588         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
590 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
592         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
593         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
594         to __wrap_.udiv.
595         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
596         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
598         * sysdeps/i386/symbol-hacks.h: New file.
599         * sysdeps/m68k/symbol-hacks.h: New file.
600         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
601         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
602         * sysdeps/unix/sysv/linux/i386/Makefile
603         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
604         [$(subdir) = csu] (sysdep-only-routines): Likewise.
605         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
606         * sysdeps/unix/sysv/linux/m68k/Makefile
607         [$(subdir) = csu] (sysdep_routines): Likewise.
608         [$(subdir) = csu] (sysdep-only-routines): Likewise.
609         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
611         [$(subdir) = csu] (sysdep_routines): Likewise.
612         [$(subdir) = csu] (sysdep-only-routines): Likewise.
613         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
614         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
615         [$(subdir) = csu] (sysdep_routines): Likewise.
616         [$(subdir) = csu] (sysdep-only-routines): Likewise.
617         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
618         * sysdeps/wordsize-32/Makefile: Remove file.
619         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
620         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
622 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
624         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
625         (TEST_FUNCTION_ARGV): New.
627 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
629         * elf/next.c: Import support/test-driver.c instead of
630         test-skeleton.c and delete TEST_FUNCTION macro definition.
631         * elf/nodelete.c: Likewise.
632         * elf/order2.c: Likewise.
633         * elf/tst-_dl_addr_inside_object.c: Likewise.
634         * elf/tst-addr1.c: Likewise.
635         * elf/tst-align.c: Likewise.
636         * elf/tst-align2.c: Likewise.
637         * elf/tst-audit11.c: Likewise.
638         * elf/tst-audit12.c: Likewise.
639         * elf/tst-audit2.c: Likewise.
640         * elf/tst-audit9.c: Likewise.
641         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
642         * elf/tst-deep1.c: Likewise.
643         * elf/tst-dl-iter-static.c: Likewise.
644         * elf/tst-dlmodcount.c: Likewise.
645         * elf/tst-dlmopen1.c: Likewise.
646         * elf/tst-dlmopen2.c: Likewise.
647         * elf/tst-dlmopen3.c: Likewise.
648         * elf/tst-dlopen-aout.c: Likewise.
649         * elf/tst-dlopenrpath.c: Likewise.
650         * elf/tst-dlsym-error.c: Likewise.
651         * elf/tst-execstack-needed.c: Likewise.
652         * elf/tst-execstack-prog.c: Likewise.
653         * elf/tst-execstack.c: Likewise.
654         * elf/tst-global1.c: Likewise.
655         * elf/tst-gnu2-tls1.c: Likewise.
656         * elf/tst-latepthread.c: Likewise.
657         * elf/tst-leaks1.c: Likewise.
658         * elf/tst-linkall-static.c: Likewise.
659         (do_test): New function.
660         * elf/tst-nodelete-opened.c: Likewise.
661         * elf/tst-nodelete.cc: Likewise.
662         * elf/tst-nodelete2.c: Likewise.
663         * elf/tst-noload.c: Likewise.
664         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
665         * elf/tst-order-main.c: Likewise.
666         * elf/tst-pathopt.c: Likewise.
667         * elf/tst-pie2.c: Likewise.
668         * elf/tst-piemod1.c: Likewise.
669         * elf/tst-prelink.c: Likewise.
670         * elf/tst-protected1a.c: Likewise.
671         * elf/tst-protected1b.c: Likewise.
672         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
673         and define _GNU_SOURCE macro.
674         (cmdline_process_function): New function.
675         * elf/tst-relsort1.c: Likewise.
676         * elf/tst-stackguard1.c: Likewise, import getopt.h,
677         and define _GNU_SOURCE macro.
678         (cmdline_process_function): New function.
679         * elf/tst-thrlock.c: Likewise.
680         * elf/tst-tls-dlinfo.c: Likewise.
681         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
682         * elf/tst-tls1.c: Likewise.
683         * elf/tst-tls10.c: Likewise.
684         * elf/tst-tls11.c: Likewise.
685         * elf/tst-tls12.c: Likewise.
686         * elf/tst-tls13.c: Likewise.
687         * elf/tst-tls14.c: Likewise.
688         * elf/tst-tls15.c: Likewise.
689         * elf/tst-tls16.c: Likewise.
690         * elf/tst-tls17.c: Likewise.
691         * elf/tst-tls18.c: Likewise.
692         * elf/tst-tls19.c: Likewise.
693         * elf/tst-tls2.c: Likewise.
694         * elf/tst-tls3.c: Likewise.
695         * elf/tst-tls4.c: Likewise.
696         * elf/tst-tls5.c: Likewise.
697         * elf/tst-tls6.c: Likewise.
698         * elf/tst-tls7.c: Likewise.
699         * elf/tst-tls8.c: Likewise.
700         * elf/tst-tls9.c: Likewise.
701         * elf/tst-tlsalign-extern.c: Likewise.
702         * elf/tst-tlsalign.c: Likewise.
703         * elf/tst-unique1.c: Likewise.
704         * elf/tst-unique2.c: Likewise.
705         * elf/vismain.c: Likewise.
707 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
709         * string/test-strnlen.c (do_page_tests): New function
710         to check length of strings ending at the page boundary.
711         (test_main): Added call to the do_page_tests function.
713 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
714             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
716         * sysdeps/powerpc/powerpc64/multiarch/Makefile
717         (sysdep_routines): Add strnlen-power8.
718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
719         (strnlen): Add __strnlen_power8 to list of strnlen functions.
720         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
721         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
722         (__strnlen): Add __strnlen_power8 to ifunc list.
723         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
725 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
727         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
728         the TEST_FUNCTION macro definition.
729         * wcsmbs/tst-mbrtowc2.c: Likewise.
730         * wcsmbs/tst-mbsrtowcs.c: Likewise.
731         * wcsmbs/tst-wchar-h.c: Likewise.
732         * wcsmbs/tst-wcpncpy.c: Likewise.
733         * wcsmbs/tst-wcrtomb.c: Likewise.
734         * wcsmbs/tst-wcsnlen.c: Likewise.
735         * wcsmbs/tst-wcstof.c: Likewise.
737 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
739         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
740         CALL_THREAD_FCT macro usage.
741         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
742         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
743         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
745         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
746         * sysdeps/unix/sysv/linux/arm/kernel-features.h
747         (__ASSUME_REQUEUE_PI): Likewise.
748         * sysdeps/unix/sysv/linux/kernel-features.h
749         (__ASSUME_REQUEUE_PI): Likewise.
750         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
751         (__ASSUME_REQUEUE_PI): Likewise.
752         * sysdeps/unix/sysv/linux/mips/kernel-features.h
753         (__ASSUME_REQUEUE_PI): Likewise.
754         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
755         (__ASSUME_REQUEUE_PI): Likewise.
757 2017-04-04  Florian Weimer  <fweimer@redhat.com>
759         * resolv/tst-resolv-canonname.c: New file.
760         * resolv/Makefile (tests): Add tst-resolv-canonname.
761         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
763 2017-04-04  Florian Weimer  <fweimer@redhat.com>
765         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
766         Declare.
767         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
768         (NS_MAXCDNAME): Remove definition.
769         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
770         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
771         (NS_MAXCDNAME): Remove definition.
772         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
774 2017-04-04  Florian Weimer  <fweimer@redhat.com>
776         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
777         call whose result is not used.
779 2017-04-04  Florian Weimer  <fweimer@redhat.com>
781         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
782         * resolv/Makefile (tests): Add tst-ns_name.
783         (tst-ns_name): Link with -lresolv.
784         (tst-ns_name.out): Depend on the input data file.
786 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
788         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
789         Clobber also r14.
791 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
793         [BZ #21253]
794         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
795         slack space by 32KiB.
797 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
799         [BZ #21338]
800         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
801         instead of incorrect do_set_arena_test
803 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
805         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
806         * math/bits/math-finite.h: Likewise.
808 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
810         [BZ #21289]
811         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
813 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
815         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
816         non expected inotify_add_watch and quotactl return.
818 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
820         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
821         to int32_t.
822         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
823         as returning int32_t.
825 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
827         * math/math.h: Include bits/math-finite.h once per
828         floating-point type.
829         * math/bits/math-finite.h: Macroize all declarations by
830         floating-point type.
832 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
834         [BZ #21182]
835         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
836         near end of a page.
837         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
838         overflow calculation.
840 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
842         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
843         (IMPL) Call with 1 instead of 0 as argument.
845 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
847         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
848         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
849         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
850         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
851         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
852         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
853         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
854         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
855         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
856         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
857         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
858         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
859         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
860         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
861         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
862         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
863         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
864         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
865         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
866         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
867         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
868         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
869         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
870         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
871         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
872         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
873         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
874         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
875         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
876         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
877         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
878         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
879         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
880         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
881         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
882         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
883         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
884         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
885         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
886         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
887         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
888         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
889         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
890         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
891         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
892         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
893         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
894         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
895         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
896         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
897         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
898         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
899         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
900         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
901         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
902         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
903         INLINE_SYSCALL_ERROR_RETURN_VALUE.
904         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
905         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
906         defined.
907         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
908         __NR_setgroups32 if defined.
909         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
910         if defined.
911         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
912         __NR_setresgid32 is defined.
913         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
914         __NR_setresuid32 if defined.
915         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
916         __NR_setreuid32 if defined.
917         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
918         defined.
919         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
920         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
921         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
922         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
923         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
924         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
925         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
926         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
927         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
928         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
929         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
930         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
931         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
932         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
933         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
934         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
935         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
936         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
937         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
938         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
939         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
940         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
941         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
942         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
943         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
944         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
945         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
946         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
947         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
948         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
949         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
950         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
951         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
952         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
953         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
954         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
955         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
956         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
957         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
958         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
959         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
960         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
961         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
962         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
963         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
964         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
965         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
966         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
967         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
968         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
969         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
970         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
971         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
972         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
973         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
974         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
975         INLINE_SYSCALL_ERROR_RETURN_VALUE.
976         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
977         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
978         defined.
979         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
980         __NR_setgroups32 if defined.
981         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
982         if defined.
983         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
984         __NR_setresgid32 is defined.
985         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
986         __NR_setresuid32 if defined.
987         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
988         __NR_setreuid32 if defined.
989         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
990         defined.
992 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
994         [BZ #21277]
995         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
996         unconditionally.
997         (IMAXBEL): Likewise.
998         (IUTF8): Likewise.
1000 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1002         * sysdeps/aarch64/libm-test-ulps: Update.
1004 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1006         * README.tunables: Updated descriptions.
1007         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1008         * scripts/gen-tunables.awk: Updated the code related to the
1009         commit.
1011 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1013         * benchtests/Makefile (string-benchset): Add memcpy-random.
1014         * benchtests/bench-memcpy-random.c: New file.
1016 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1018         * stdio-common/printf.h (register_printf_modifier): Change the
1019         order of __wur and __THROW.
1020         (register_printf_type): Likewise.
1022 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1024         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1025         test_main ().
1026         (CMDLINE_PROCESS): Use function instead of defined macro.
1027         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1028         <suppport/support.h> to use set_fortify_handler().
1029         * string/bug-envz1.c: Import support/test-driver.c instead of
1030         test-skeleton.c.
1031         * string/bug-strcoll2.c: Likewise.
1032         * string/bug-strtok1.c: Likewise.
1033         * string/stratcliff.c: Likewise.
1034         * string/test-ffs.c: Likewise.
1035         * string/test-memccpy.c: Likewise.
1036         * string/test-memchr.c: Likewise.
1037         * string/test-memcmp.c: Likewise.
1038         * string/test-memcpy.c: Likewise.
1039         * string/test-memmem.c: Likewise.
1040         * string/test-memmove.c: Likewise.
1041         * string/test-memrchr.c: Likewise.
1042         * string/test-memset.c: Likewise.
1043         * string/test-rawmemchr.c: Likewise.
1044         * string/test-strcasecmp.c: Likewise.
1045         * string/test-strcasestr.c: Likewise.
1046         * string/test-strcat.c: Likewise.
1047         * string/test-strchr.c: Likewise.
1048         * string/test-strcmp.c: Likewise.
1049         * string/test-strcpy.c: Likewise.
1050         * string/test-string.h: Likewise.
1051         * string/test-strlen.c: Likewise.
1052         * string/test-strncasecmp.c: Likewise.
1053         * string/test-strncat.c: Likewise.
1054         * string/test-strncmp.c: Likewise.
1055         * string/test-strncpy.c: Likewise.
1056         * string/test-strnlen.c: Likewise.
1057         * string/test-strpbrk.c: Likewise.
1058         * string/test-strrchr.c: Likewise.
1059         * string/test-strspn.c: Likewise.
1060         * string/test-strstr.c: Likewise.
1061         * string/tst-bswap.c: Likewise.
1062         * string/tst-cmp.c: Likewise.
1063         * string/tst-endian.c: Likewise.
1064         * string/tst-inlcall.c: Likewise.
1065         * string/tst-strcoll-overflow.c: Likewise.
1066         * string/tst-strfry.c: Likewise.
1067         * string/tst-strlen.c: Likewise.
1068         * string/tst-strtok.c: Likewise.
1069         * string/tst-strtok_r.c: Likewise.
1070         * string/tst-strxfrm.c: Likewise.
1071         * string/tst-strxfrm2.c: Likewise.
1072         * string/tst-svc.c: Likewise.
1073         * string/tst-svc2.c: Likewise.
1075 2017-03-22  Zack Weinberg  <zackw@panix.com>
1077         * stdio-common/bug25.c: Include stdlib.h.
1078         * support/tst-support_format_dns_packet.c: Include stdio.h,
1079         stdlib.h, and string.h.
1080         * support/tst-support_record_failure.c: Include string.h.
1081         * support/tst-support_record_failure-2.sh: Adjust line number
1082         expectations and correct a typo in an error message.
1084 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1086         [BZ #21258]
1087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1088         Define only if _dl_runtime_resolve is defined to
1089         _dl_runtime_resolve_sse_vex.
1090         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1091         Fallthrough to _dl_runtime_resolve_sse_vex.
1093 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1095         * INSTALL: Regenerated.
1097 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1099         * config.h.in: Add LINK_OBSOLETE_NSL.
1100         * config.make.in: Add build-obsolete-nsl.
1101         * configure.ac: Add obsolete-nsl option.
1102         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1103         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1104         * include/rpcsvc/nislib.h: Likewise.
1105         * include/rpcsvc/ypclnt.h: Likewise.
1106         * manual/install.texi: Document --enable-obsolete-nsl.
1107         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1108         * nis/nis_add.c: Replace libnsl_hidden_def with
1109         libnsl_hidden_nolink_def.
1110         * nis/nis_addmember.c: Likewise.
1111         * nis/nis_call.c: Likewise.
1112         * nis/nis_clone_obj.c: Likewise.
1113         * nis/nis_defaults.c: Likeise.
1114         * nis/nis_domain_of_r.c: Likewise.
1115         * nis/nis_error.c: Likewise.
1116         * nis/nis_file.c: Likewise.
1117         * nis/nis_free.c: Likewise.
1118         * nis_local_names.c: Likewise.
1119         * nis/nis_lookup.c: Likewise.
1120         * nis/nis_modify.c: Likewise.
1121         * nis/nis_print.c: Likewise.
1122         * nis/nis_remove.c: Likewise.
1123         * nis/nis_table.c: Likewise.
1124         * nis/nis_util.c: Likewise.
1125         * nis/nis_xdr.c: Likewise.
1126         * nis/yp_xdr.c: Likewise.
1127         * nis/ypclnt.c: Likewise.
1128         * nis/ypupdate_xdr.c: Likewise.
1129         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1130         * nis/nis_clone_dir.c: Likewise.
1131         * nis/nis_clone_res.c: Likewise.
1132         * nis/nis_creategroup.c: Likewise.
1133         * nis/nis_destroygroup.c: Likewise.
1134         * nis/nis_domain_of.c: Likewise.
1135         * nis/nis_getservlist.c: Likewise.
1136         * nis/nis_ismember.c: Likewise.
1137         * nis/nis_mkdir.c: Likewise.
1138         * nis/nis_ping.c: Likewise.
1139         * nis/nis_print_group_entry.c: Likewise.
1140         * nis/nis_removemember.c: Likewise.
1141         * nis/nis_rmdir.c: Likewise.
1142         * nis/nis_server.c: Likewise.
1143         * nis/nis_subr.c: Likewise.
1144         * nis/nis_verifygroup.c: Likewise.
1146 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1148         * malloc/tst-interpose-aux.c (check_for_allocations):
1149         Move compiler barrier before free.
1151 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1153         [BZ #21279]
1154         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1155         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1156         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1157         x86_64-x32-linux.
1158         (mq_attr.mq_maxmsg): Likewise.
1159         (mq_attr.mq_msgsize): Likewise.
1160         (mq_attr.mq_curmsgs): Likewise.
1162         [BZ #21278]
1163         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1164         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1165         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1166         mips-o32-linux.
1168         [BZ #21268]
1169         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1170         if [__USE_MISC]
1171         (NL3): Likewise.
1173 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1175         [BZ #21275]
1176         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1177         __stack to __stackbase.
1178         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1179         checks so we can include defined(__ia64__) first.
1181 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1183         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1184         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1185         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1186         Call is_pty when the link does not exist or does not match, fail
1187         with ENODEV when it returns true.
1188         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1189         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1190         Call is_pty when the link does not exist or does not match, fail
1191         with ENODEV when it returns true.
1193 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1195         [BZ #16437]
1196         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1197         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1198         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1199         x86_64-x32-linux.
1200         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1201         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1202         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1204         [BZ #21261]
1205         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1206         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1207         names for all fields.
1208         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1209         for jmp_buf field renaming.
1210         (_JMPBUF_UNWINDS_ADJ): Likewise.
1212         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1213         with allow-header.
1215 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1217         * malloc/malloc.c (unlink): Add consistency check between size and
1218         next->prev->size, to further harden against 1-byte overflows.
1220 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1222         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1223         CPU_FEATURES_CPU_P.
1225 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1227         [BZ #21259]
1228         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1229         unconditionally, not just for [__USE_MISC].
1231         [BZ #17786]
1232         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1233         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1234         mips-o32-linux.
1236         [BZ #21260]
1237         * sysdeps/unix/sysv/linux/alpha/Makefile
1238         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1239         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1241         * conform/conformtest.pl ($cross): New variable.
1242         (--cross): New command-line option.
1243         (runtest): Skip test execution when cross-compiling.
1244         * conform/Makefile (conformtest-cross): New variable.
1245         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1246         conformtest.pl.
1248         * conform/conformtest.pl ($xfail_str): New variable.
1249         (--xfail=): New command-line option.
1250         (top level): Handle expectations starting xfail[cond]-.
1251         * conform/Makefile (conformtest-xfail): New variable.
1252         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1253         conformtest.pl.
1255 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1257         * conform/conformtest.pl: Use compilation instead of execution
1258         tests for testing values of constants and usability in #if.
1260 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1262         * math/auto-libm-test-in: Mark some catan and catanh as
1263         xfail-rounding:ibm128-libgcc.
1264         * math/auto-libm-test-out-catan: Regenerate.
1265         * math/auto-libm-test-out-catanh: Likewise.
1267 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1269         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1270         (__END_NAMESPACE_STD): Likewise.
1271         (__USING_NAMESPACE_STD): Likewise.
1272         (__BEGIN_NAMESPACE_C99): Likewise.
1273         (__END_NAMESPACE_C99): Likewise.
1274         (__USING_NAMESPACE_C99): Likewise.
1275         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1276         undefine macro.
1277         (_Mdouble_END_NAMESPACE): Likewise.
1278         * ctype/ctype.h: Do not handle C++ namespaces.
1279         * libio/bits/stdio-ldbl.h: Likewise.
1280         * libio/stdio.h: Likewise.
1281         * locale/locale.h: Likewise.
1282         * math/bits/mathcalls.h: Likewise.
1283         * setjmp/setjmp.h: Likewise.
1284         * signal/signal.h: Likewise.
1285         * stdlib/bits/stdlib-float.h: Likewise.
1286         * stdlib/bits/stdlib-ldbl.h: Likewise.
1287         * stdlib/stdlib.h: Likewise.
1288         * string/string.h: Likewise.
1289         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1290         * time/bits/types/clock_t.h: Likewise.
1291         * time/bits/types/struct_tm.h: Likewise.
1292         * time/bits/types/time_t.h: Likewise.
1293         * time/time.h: Likewise.
1294         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1295         * wcsmbs/uchar.h: Likewise.
1296         * wcsmbs/wchar.h: Likewise.
1297         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1298         * wctype/wctype.h: Do not handle C++ namespaces.
1299         * scripts/begin-end-check.pl: Remove.
1300         * Makefile (installed-headers): Likewise.
1301         (tests-special): Do not add $(objpfx)begin-end-check.out.
1302         ($(objpfx)begin-end-check.out): Remove.
1304 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1305             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1307         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1308         (DL_PLATFORM_INIT): New define.
1309         (dl_platform_init): New function.
1310         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1311         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1312         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1313         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1314         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1316 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1318         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1319         instead of PIC.
1321 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1323         [BZ #21094]
1324         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1325         24+24+24-bit pi for wider range of values around pi/2.
1326         * math/auto-libm-test-in: Add more tests of cos and tan.
1327         * math/auto-libm-test-out-cos: Regenerated.
1328         * math/auto-libm-test-out-tan: Likewise.
1330 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1332         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1333         (RTLD_START): Don't record stack end address in _dl_start_user.
1335 2017-03-15  Alexey Neyman  <stilor@att.net>
1337         [BZ #21088]
1338         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1339         around definitions match those around use.
1341 2017-03-15  Alexey Neyman  <stilor@att.net>
1343         * configure.ac: Avoid empty subexpression in grep.
1344         * configure: Regenerate.
1346 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1348         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1349         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1350         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1351         (test_wrp_rv): Fix format.
1352         (test_wrp_rv2): New macro.
1353         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1354         binaries.
1356 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1358         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1359         Use a union when storing pointers.
1360         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1361         cast result when passing to INIT_VEC_PTRS_LOOP.
1362         (VECTOR_WRAPPER_fFF_3): Likewise.
1363         (VECTOR_WRAPPER_fFF_4): Likewise.
1365 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1367         * include/bits/mathcalls-helper-functions.h: New file.
1368         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1369         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1370         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1371         math/bits/mathcalls-helper-functions.h.
1372         * math/bits/mathcalls-helper-functions.h: New file.
1373         * math/math.h: Include bits/mathcalls-helper-functions.h for
1374         float, double, and long double.
1376 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1378         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1379         instead of feraiseexcept.
1381 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1383         [BZ #21243]
1384         * support/temp_file.c (support_delete_temp_files): Add comment
1385         about ignored errors.
1387 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1389         [BZ #21244]
1390         * support/xclose.c: New file.
1391         * support/Makefile (libsupport-routines): Add xclose.
1392         * support/xunistd.h (xclose): Declare.
1393         * support/resolv_test.c (server_thread_tcp_client)
1394         (server_thread_tcp, make_server_sockets, resolv_test_start)
1395         (resolv_test_end): Call xclose instead of close.
1396         * support/support_enter_network_namespace.c
1397         (support_enter_network_namespace): Likewise.
1398         * support/support_run_diff.c (write_to_temp_file): Likewise.
1400 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1402         * support/support_format_dns_packet.c (support_format_dns_packet):
1403         Handle CNAME records in the response.  Extract RDATA names from
1404         rdata, not the whole packet.  Check AAAA record length.
1405         * support/tst-support_format_dns_packet.c: New file.
1406         * support/Makefile (tests): Add tst-support_format_dns_packet.
1407         (tst-support_format_dns_packet): Link against libresolv.
1409 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1411         [BZ #21232]
1412         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1413         posix_fadvise64 weak_alias for static build.
1415 2017-03-14  Andreas Schwab  <schwab@suse.de>
1417         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1418         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1419         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1420         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1421         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1422         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1423         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1424         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1426 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1428         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1429         posix error code.
1430         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1432 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1434         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1435         no_isolate usage for SH.
1437 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1439         [BZ #15105]
1440         [BZ #19463]
1441         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1442         * inet/rcmd.c (rcmd_af): Likewise.
1443         * inet/rexec.c   (rexec_af): Likewise.
1444         * intl/dcigettext.c (_LIBC): Likewise.
1445         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1446         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1447         * locale/setlocale.c (setlocale): Likewise.
1448         * posix/spawn_faction_addopen.c
1449         (posix_spawn_file_actions_addopen): Likewise.
1450         * stdlib/putenv.c (putenv): Use __strndup.
1451         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1453         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1454         (__Need_M_And_C) Remove define/undef.
1455         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1456         (__malloc_and_calloc_defined): Remove define.
1457         * string/bits/string2.h (__strdup): Remove define.
1458         (strdup): Likewise.
1459         (__strndup): Likewise.
1460         (strndup): Likewise.
1462 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1464         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1465         macro.
1466         (IPV6_ADDR_PREFERENCES): Likewise.
1467         (IPV6_MINHOPCOUNT): Likewise.
1468         (IPV6_ORIGDSTADDR): Likewise.
1469         (IPV6_RECVORIGDSTADDR): Likewise.
1470         (IPV6_TRANSPARENT): Likewise.
1471         (IPV6_UNICAST_IF): Likewise.
1472         (IPV6_RECVFRAGSIZE): Likewise.
1474 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1476         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1478 2017-03-12  Alexey Neyman <stilor@att.net>
1480         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1481         in R_SH_DIR32 case is always false when inlined from
1482         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1484 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1486         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1487         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1488         __ASSUME_SEND_SYSCALL.
1490 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1492         * sunrpc/Makefile: don't build and install rpcsvc header
1493         files, rpcgen and librpcsvc.a by default.
1495 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1497         * math/auto-libm-test-out-catan: Regenerated.
1498         * math/auto-libm-test-out-catanh: Likewise.
1499         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1501 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1503         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1504         for long double with corrected test expectations.
1506 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1508         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1509         Define.
1510         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1511         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1512         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1513         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1514         * sysdeps/unix/sysv/linux/tile/sysdep.h
1515         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1516         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1517         (__ASSUME_RECV_SYSCALL): Define.
1518         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1519         (__ASSUME_RECV_SYSCALL): Likewise.
1520         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1521         (__ASSUME_RECV_SYSCALL): Likewise.
1522         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1523         (__ASSUME_RECV_SYSCALL): Likewise.
1524         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1525         (__ASSUME_RECV_SYSCALL): Likewise.
1526         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1527         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1528         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1529         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1530         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1531         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1532         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1533         auto-generation list.
1534         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1535         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1536         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1537         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1538         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1539         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1540         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1541         __ASSUME_SENDTO_SYSCALL.
1542         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1543         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1544         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1546         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1547         auto-generation list.
1548         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1549         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1550         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1551         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1552         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1553         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1554         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1555         * sysdeps/unix/sysv/linux/kernel-features.h
1556         (__ASSUME_SENDTO_SYSCALL): Define by default.
1557         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1558         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1559         __NR_sendto.
1560         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1561         (__ASSUME_SENDTO_SYSCALL): Likewise.
1562         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1563         (__ASSUME_SENDTO_SYSCALL): Likewise.
1564         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1565         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1566         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1567         (__ASSUME_SENDTO_SYSCALL): Likewise.
1568         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1569         (__ASSUME_SENDTO_SYSCALL): Likewise.
1570         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1572         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1573         auto-generation list.
1574         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1575         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1576         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1577         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1578         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1579         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1580         (__ASSUME_RECV_SYSCALL): New define.
1581         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1582         (__ASSUME_RECV_SYSCALL): Likewise.
1583         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1584         (__ASSUME_RECV_SYSCALL): Likewise.
1585         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1586         (__ASSUME_RECV_SYSCALL): Likewise.
1587         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1588         (__ASSUME_RECV_SYSCALL): Likewise.
1589         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1590         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1591         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1592         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1593         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1594         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1595         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1596         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1597         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1598         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1599         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1600         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1602         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1603         auto-generation list.
1604         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1605         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1606         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1607         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1608         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1609         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1610         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1611         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1612         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1613         * sysdeps/unix/sysv/linux/kernel-features.h
1614         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1615         __NR_recvfrom.
1616         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1617         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1618         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1619         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1620         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1621         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1622         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1623         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1624         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1625         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1626         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1627         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1628         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1630         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1631         auto-generation list.
1632         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1633         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1634         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1635         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1636         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1637         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1638         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1639         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1640         * sysdeps/unix/sysv/linux/kernel-features.h
1641         (__ASSUME_CONNECT_SYSCALL): Define.
1642         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1643         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1644         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1645         (__ASSUME_CONNECT_SYSCALL): Likewise.
1646         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1647         (__ASSUME_CONNECT_SYSCALL): Likewise.
1648         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1649         (__ASSUME_CONNECT_SYSCALL): Likewise.
1651         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1652         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1653         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1654         auto-generation list.
1655         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1656         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1657         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1658         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1659         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1660         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1661         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1662         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1663         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1664         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1665         * sysdeps/unix/sysv/linux/kernel-features.h
1666         (__ASSUME_ACCEPT_SYSCALL): New define.
1667         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1668         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1669         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1670         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1671         (__ASSUME_ACCEPT_SYSCALL): Define.
1672         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1673         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1674         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1675         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1676         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1677         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1678         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1679         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1680         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1682 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1683             Zack Weinberg  <zackw@panix.com>
1685         * posix/test-errno.c: New file.
1686         * posix/Makefile (tests): Add test-errno.
1687         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1688         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1690 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1692         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1694 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1696         * time/tzset.c (compute_offset): Open-code min macro.
1697         (min, max, sign): Remove.
1699 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1701         [BZ #15576]
1702         Remove TZNAME_MAX limit from sysconf.
1703         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1704         declaration.
1705         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1706         compute_tzname_max.
1707         (compute_tzname_max): Remove.
1708         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1709         (update_vars): Do not update __tzname_cur_max.
1710         (tzset_internal): Remove argument.
1711         (__tzset): Adjust call to tzset_internal.
1712         (__tz_convert): Likewise.
1714         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1715         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1716         * manual/conf.texi (Sysconf Definition): Update comment.
1718 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1720         [BZ #21209]
1721         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1722         AT_SECURE processes.
1723         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1724         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1725         (test_child): Likewise.
1726         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1728 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1730         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1732 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1734         * sysdeps/s390/atomic-machine.h
1735         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1736         (__arch_compare_and_exchange_val_8_acq,
1737         __arch_compare_and_exchange_val_16_acq,
1738         __arch_compare_and_exchange_val_32_acq,
1739         __arch_compare_and_exchange_val_64_acq):
1740         Delete macro.
1741         (atomic_compare_and_exchange_val_acq,
1742         atomic_compare_and_exchange_val_rel,
1743         atomic_compare_and_exchange_bool_acq,
1744         catomic_compare_and_exchange_bool_acq,
1745         atomic_exchange_acq, atomic_exchange_rel,
1746         atomic_exchange_and_add_acq,
1747         atomic_exchange_and_add_rel,
1748         catomic_exchange_and_add, atomic_or_val,
1749         atomic_or, catomic_or, atomic_bit_test_set,
1750         atomic_and_val, atomic_and, catomic_and):
1751         Define macros with help of C11 atomic builtins.
1753 2017-03-03  Justus Winter <justus@gnupg.org>
1755         * sysdeps/mach/hurd/ftruncate64.c: New file.
1756         * sysdeps/mach/hurd/truncate64.c: Likewise.
1758 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1760         * time/tzfile.c (NOID): Do not define.
1761         * time/tzset.c (NOID): Likewise.
1763 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1765         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1767 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1769         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1771 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1773         [BZ #21015]
1774         * manual/install.texi (Configuring and compiling): Document
1775         --enable-bind-now.
1776         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1777         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1778         (format.lds): Likewise.
1779         [bind-now] (LDFLAGS-c.so): Remove.
1780         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1781         be R_X86_64_GLOB_DAT.
1782         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1783         relocation can be R_386_GLOB_DAT.
1784         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1785         relocaiton can be R_ALPHA_GLOB_DAT.
1786         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1788 2017-03-01  Zack Weinberg  <zackw@panix.com>
1790         * include/libc-pointer-arith.h: New file.  Define
1791         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1792         PTR_ALIGN_DOWN here.
1793         * include/libc-internal.h: Definitions of above macros
1794         moved from here.  Don't include libc-diag.h anymore either.
1795         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1796         Don't include libc-internal.h.
1798         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1799         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1800         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1801         * string/strcoll_l.c, sysdeps/nacl/brk.c
1802         * sysdeps/unix/clock_settime.c
1803         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1804         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1805         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1806         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1807         Don't include libc-internal.h.
1809         * elf/get-dynamic-info.h, iconv/loop.c
1810         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1811         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1812         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1813         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1814         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1815         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1816         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1817         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1818         * sysdeps/ieee754/ldbl-128/k_tanl.c
1819         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1820         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1821         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1822         Include libc-diag.h instead of libc-internal.h.
1824         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1825         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1826         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1827         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1828         * sysdeps/unix/sysv/linux/spawni.c
1829         * sysdeps/x86_64/nptl/tls.h:
1830         Include libc-pointer-arith.h instead of libc-internal.h.
1832         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1833         * sysdeps/x86_64/atomic-machine.h:
1834         Add multiple include guard.
1836         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1837         * string/strcasestr.c: No need to include config.h.
1838         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1839         sys/auxv.h. Don't include sysdep.h.
1840         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1842         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1843         DL_LOOKUP_ADDRESS.
1844         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1845         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1846         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1847         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
1848         of ARTIFICIAL_LIMIT.
1849         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
1850         declaration of __clone2.
1852 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1854         * scripts/backport-support.sh (latest_commit): New file.
1856 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1858         [BZ #20257]
1859         * inet/Makefile (routines): Add deadline.
1860         (tests-static): Add tst-deadline.
1861         * inet/net-internal.h (struct deadline_current_time)
1862         (__deadline_current_time, struct deadline, __deadline_is_infinite)
1863         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
1864         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
1865         * inet/deadline.c: New file.
1866         * inet/tst-deadline.c: Likewise.
1867         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
1868         tst-udp-timeout, tst-udp-garbage.
1869         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
1870         explicitly.
1871         (tst-udp-garbage): Likewise.  Also link against thread library.
1872         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
1873         struct layout is part of the ABI.
1874         (clntudp_call): Rework timeout handling.
1875         * sunrpc/tst-udp-garbage.c: New file.
1876         * sunrpc/tst-udp-nonblocking.c: Likewise.
1877         * sunrpc/tst-udp-timeout.c: Likewise.
1879 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1881         [BZ #5010]
1882         * sunrpc/svc.c (svc_is_mapped): Remove.
1883         (svc_unregister): Obtain mapped status while the service is still
1884         registered.
1885         * sunrpc/Makefile [have-thread-library] (tests): Add
1886         tst-svc_register.
1887         (tst-svc_register): Link against libc.so explicitly and the thread
1888         library.
1889         * sunrpc/tst-svc_register.c: New file.
1891 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1893         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
1894         * sysdeps/pthread/bits/sigthread.h: Likewise.
1896 2017-02-27  Florian Weimer  <fweimer@redhat.com>
1898         [BZ #21115]
1899         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
1900         * sunrpc/Makefile (tests): Add tst-udp-error.
1901         (tst-udp-error): Link against libc.so explicitly.
1902         * sunrpc/tst-udp-error: New file.
1904 2017-02-25  Zack Weinberg  <zackw@panix.com>
1906         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
1907         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
1909         * sysdeps/generic/math_ldbl.h
1910         * sysdeps/ia64/fpu/math_ldbl.h
1911         * sysdeps/ieee754/ldbl-128/math_ldbl.h
1912         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1913         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1914         * sysdeps/powerpc/fpu/math_ldbl.h
1915         * sysdeps/x86_64/fpu/math_ldbl.h:
1916         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
1917         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
1918         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
1919         Add copyright notices.
1921         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1922         Don't use EXTRACT_WORDS64.
1924         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
1925         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
1926         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
1927         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
1928         Include math_ldbl.h, not math_private.h.
1930 2017-02-25  Zack Weinberg  <zackw@panix.com>
1932         * include/libc-diag.h: New file.  Define ignore_value,
1933         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
1934         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
1936         * include/libc-internal.h: Definitions of above macros moved from
1937         here.  Include libc-diag.h.  Add copyright notice.
1939         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
1940         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
1941         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
1942         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
1943         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
1944         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
1945         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
1946         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
1947         Include libc-diag.h instead of libc-internal.h.
1949         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
1950         call to unsetenv (NULL).
1951         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
1952         call to pthread_mutexattr_destroy (NULL).
1954 2017-02-25  Zack Weinberg  <zackw@panix.com>
1956         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
1957         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
1958         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
1959         gets was removed from C++ in C++14.
1960         * include/stdio.h: Remove redundant declaration of gets.
1961         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
1962         be declared, since we are testing it.
1963         * stdio-common/Makefile (tst-gets.c): Compile with
1964         -Wno-deprecated-declarations.
1965         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
1966         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
1967         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
1968         Compile with -Wno-deprecated-declarations.
1970 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1972         * math/libm-test-support.c (check_ulp): Use LIT() around literal
1973         numbers.
1975 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1977         * resolv/tst-resolv-qtypes.c (domain):
1978         Change type to const pointer to const char.
1980 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
1982         * math/Makefile (libm-tests-generated): Remove variable.
1983         (libm-tests-base-normal): New variable.
1984         (libm-tests-base-finite): Likewise.
1985         (libm-tests-base-inline): Likewise.
1986         (libm-tests-base): Likewise.
1987         (libm-tests-normal): Likewise.
1988         (libm-tests-finite): Likewise.
1989         (libm-tests-inline): Likewise.
1990         (libm-tests-vector): Likewise.
1991         (libm-tests): Define in terms of these new variables.
1992         (libm-tests-for-type): New variable.
1993         (libm-tests.o): Move definition.
1994         (tests): Move addition of $(libm-tests).
1995         (generated): Update for new and removed libm test files.
1996         ($(objpfx)libm-test.c): Remove target.
1997         ($(objpfx)libm-have-vector-test.h): Likewise.
1998         (CFLAGS-test-double-vlen2.c): Remove variable.
1999         (CFLAGS-test-double-vlen4.c): Likewise.
2000         (CFLAGS-test-double-vlen8.c): Likewise.
2001         (CFLAGS-test-float-vlen4.c): Likewise.
2002         (CFLAGS-test-float-vlen8.c): Likewise.
2003         (CFLAGS-test-float-vlen16.c): Likewise.
2004         (CFLAGS-test-float.c): Likewise.
2005         (CFLAGS-test-float-finite.c): Likewise.
2006         (CFLAGS-libm-test-support-float.c): Likewise.
2007         (CFLAGS-test-double.c): Likewise.
2008         (CFLAGS-test-double-finite.c): Likewise.
2009         (CFLAGS-libm-test-support-double.c): Likewise.
2010         (CFLAGS-test-ldouble.c): Likewise.
2011         (CFLAGS-test-ldouble-finite.c): Likewise.
2012         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2013         (libm-test-inline-cflags): New variable.
2014         (CFLAGS-test-ifloat.c): Remove variable.
2015         (CFLAGS-test-idouble.c): Likewise.
2016         (CFLAGS-test-ildouble.c): Likewise.
2017         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2018         dependencies.
2019         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2020         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2021         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2022         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2023         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2024         Likewise.
2025         (dependencies on libm-test-support-*.o): Remove.
2026         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2027         rules using iterators.
2028         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2029         Likewise.
2030         ($(objpfx)libm-test-support-$(o).o): Likewise.
2031         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2032         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2033         instead.
2034         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2035         define rule instead.
2036         * math/README.libm-test: Update.
2037         * math/libm-test-acos.inc: Include libm-test-driver.c.
2038         (do_test): New function.
2039         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2040         (do_test): New function.
2041         * math/libm-test-asin.inc: Include libm-test-driver.c.
2042         (do_test): New function.
2043         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2044         (do_test): New function.
2045         * math/libm-test-atan.inc: Include libm-test-driver.c.
2046         (do_test): New function.
2047         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2048         (do_test): New function.
2049         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2050         (do_test): New function.
2051         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2052         (do_test): New function.
2053         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2054         (do_test): New function.
2055         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2056         (do_test): New function.
2057         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2058         (do_test): New function.
2059         * math/libm-test-carg.inc: Include libm-test-driver.c.
2060         (do_test): New function.
2061         * math/libm-test-casin.inc: Include libm-test-driver.c.
2062         (do_test): New function.
2063         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2064         (do_test): New function.
2065         * math/libm-test-catan.inc: Include libm-test-driver.c.
2066         (do_test): New function.
2067         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2068         (do_test): New function.
2069         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2070         (do_test): New function.
2071         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2072         (do_test): New function.
2073         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2074         (do_test): New function.
2075         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2076         (do_test): New function.
2077         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2078         (do_test): New function.
2079         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2080         (do_test): New function.
2081         * math/libm-test-clog.inc: Include libm-test-driver.c.
2082         (do_test): New function.
2083         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2084         (do_test): New function.
2085         * math/libm-test-conj.inc: Include libm-test-driver.c.
2086         (do_test): New function.
2087         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2088         (do_test): New function.
2089         * math/libm-test-cos.inc: Include libm-test-driver.c.
2090         (do_test): New function.
2091         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2092         (do_test): New function.
2093         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2094         (do_test): New function.
2095         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2096         (do_test): New function.
2097         * math/libm-test-creal.inc: Include libm-test-driver.c.
2098         (do_test): New function.
2099         * math/libm-test-csin.inc: Include libm-test-driver.c.
2100         (do_test): New function.
2101         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2102         (do_test): New function.
2103         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2104         (do_test): New function.
2105         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2106         (do_test): New function.
2107         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2108         (do_test): New function.
2109         * math/libm-test-erf.inc: Include libm-test-driver.c.
2110         (do_test): New function.
2111         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2112         (do_test): New function.
2113         * math/libm-test-exp.inc: Include libm-test-driver.c.
2114         (do_test): New function.
2115         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2116         (do_test): New function.
2117         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2118         (do_test): New function.
2119         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2120         (do_test): New function.
2121         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2122         (do_test): New function.
2123         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2124         (do_test): New function.
2125         * math/libm-test-floor.inc: Include libm-test-driver.c.
2126         (do_test): New function.
2127         * math/libm-test-fma.inc: Include libm-test-driver.c.
2128         (do_test): New function.
2129         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2130         (do_test): New function.
2131         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2132         (do_test): New function.
2133         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2134         (do_test): New function.
2135         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2136         (do_test): New function.
2137         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2138         (do_test): New function.
2139         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2140         (do_test): New function.
2141         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2142         (do_test): New function.
2143         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2144         (do_test): New function.
2145         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2146         (do_test): New function.
2147         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2148         (do_test): New function.
2149         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2150         (do_test): New function.
2151         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2152         (do_test): New function.
2153         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2154         (do_test): New function.
2155         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2156         (do_test): New function.
2157         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2158         (do_test): New function.
2159         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2160         (do_test): New function.
2161         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2162         (do_test): New function.
2163         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2164         (do_test): New function.
2165         * math/libm-test-isless.inc: Include libm-test-driver.c.
2166         (do_test): New function.
2167         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2168         (do_test): New function.
2169         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2170         (do_test): New function.
2171         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2172         (do_test): New function.
2173         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2174         (do_test): New function.
2175         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2176         (do_test): New function.
2177         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2178         (do_test): New function.
2179         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2180         (do_test): New function.
2181         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2182         (do_test): New function.
2183         * math/libm-test-j0.inc: Include libm-test-driver.c.
2184         (do_test): New function.
2185         * math/libm-test-j1.inc: Include libm-test-driver.c.
2186         (do_test): New function.
2187         * math/libm-test-jn.inc: Include libm-test-driver.c.
2188         (do_test): New function.
2189         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2190         (do_test): New function.
2191         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2192         (do_test): New function.
2193         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2194         (do_test): New function.
2195         * math/libm-test-llround.inc: Include libm-test-driver.c.
2196         (do_test): New function.
2197         * math/libm-test-log.inc: Include libm-test-driver.c.
2198         (do_test): New function.
2199         * math/libm-test-log10.inc: Include libm-test-driver.c.
2200         (do_test): New function.
2201         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2202         (do_test): New function.
2203         * math/libm-test-log2.inc: Include libm-test-driver.c.
2204         (do_test): New function.
2205         * math/libm-test-logb.inc: Include libm-test-driver.c.
2206         (do_test): New function.
2207         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2208         (do_test): New function.
2209         * math/libm-test-lround.inc: Include libm-test-driver.c.
2210         (do_test): New function.
2211         * math/libm-test-modf.inc: Include libm-test-driver.c.
2212         (do_test): New function.
2213         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2214         (do_test): New function.
2215         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2216         (do_test): New function.
2217         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2218         (do_test): New function.
2219         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2220         (do_test): New function.
2221         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2222         (do_test): New function.
2223         * math/libm-test-pow.inc: Include libm-test-driver.c.
2224         (do_test): New function.
2225         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2226         (do_test): New function.
2227         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2228         (do_test): New function.
2229         * math/libm-test-rint.inc: Include libm-test-driver.c.
2230         (do_test): New function.
2231         * math/libm-test-round.inc: Include libm-test-driver.c.
2232         (do_test): New function.
2233         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2234         (do_test): New function.
2235         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2236         (do_test): New function.
2237         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2238         (do_test): New function.
2239         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2240         (do_test): New function.
2241         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2242         (do_test): New function.
2243         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2244         (do_test): New function.
2245         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2246         (do_test): New function.
2247         * math/libm-test-significand.inc: Include libm-test-driver.c.
2248         (do_test): New function.
2249         * math/libm-test-sin.inc: Include libm-test-driver.c.
2250         (do_test): New function.
2251         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2252         (do_test): New function.
2253         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2254         (do_test): New function.
2255         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2256         (do_test): New function.
2257         * math/libm-test-tan.inc: Include libm-test-driver.c.
2258         (do_test): New function.
2259         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2260         (do_test): New function.
2261         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2262         (do_test): New function.
2263         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2264         (do_test): New function.
2265         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2266         (do_test): New function.
2267         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2268         (do_test): New function.
2269         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2270         (do_test): New function.
2271         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2272         (do_test): New function.
2273         * math/libm-test-y0.inc: Include libm-test-driver.c.
2274         (do_test): New function.
2275         * math/libm-test-y1.inc: Include libm-test-driver.c.
2276         (do_test): New function.
2277         * math/libm-test-yn.inc: Include libm-test-driver.c.
2278         (do_test): New function.
2279         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2280         (HAVE_VECTOR): Remove macro.
2281         (START): Do not call HAVE_VECTOR.
2282         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2283         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2284         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2285         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2286         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2287         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2288         * math/test-math-vector.h (FUNC_TEST): New macro.
2289         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2290         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2291         (double-vlen4-funcs): Likewise.
2292         (double-vlen4-avx2-funcs): Likewise.
2293         (double-vlen8-funcs): Likewise.
2294         (float-vlen4-funcs): Likewise.
2295         (float-vlen8-funcs): Likewise.
2296         (float-vlen8-avx2-funcs): Likewise.
2297         (float-vlen16-funcs): Likewise.
2298         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2299         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2300         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2301         macro.
2302         (TEST_VECTOR_sin): Likewise.
2303         (TEST_VECTOR_sincos): Likewise.
2304         (TEST_VECTOR_log): Likewise.
2305         (TEST_VECTOR_exp): Likewise.
2306         (TEST_VECTOR_pow): Likewise.
2307         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2308         Likewise.
2309         (TEST_VECTOR_sin): Likewise.
2310         (TEST_VECTOR_sincos): Likewise.
2311         (TEST_VECTOR_log): Likewise.
2312         (TEST_VECTOR_exp): Likewise.
2313         (TEST_VECTOR_pow): Likewise.
2314         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2315         Likewise.
2316         (TEST_VECTOR_sinf): Likewise.
2317         (TEST_VECTOR_sincosf): Likewise.
2318         (TEST_VECTOR_logf): Likewise.
2319         (TEST_VECTOR_expf): Likewise.
2320         (TEST_VECTOR_powf): Likewise.
2321         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2322         Likewise.
2323         (TEST_VECTOR_sinf): Likewise.
2324         (TEST_VECTOR_sincosf): Likewise.
2325         (TEST_VECTOR_logf): Likewise.
2326         (TEST_VECTOR_expf): Likewise.
2327         (TEST_VECTOR_powf): Likewise.
2328         * math/gen-libm-have-vector-test.sh: Remove file.
2329         * math/libm-test.inc: Likewise.
2330         * math/libm-test-support-double.c: Likewise.
2331         * math/libm-test-support-float.c: Likewise.
2332         * math/libm-test-support-ldouble.c: Likewise.
2333         * math/test-double-finite.c: Likewise.: Likewise.
2334         * math/test-double.c: Likewise.
2335         * math/test-float-finite.c: Likewise.
2336         * math/test-float.c: Likewise.
2337         * math/test-idouble.c: Likewise.
2338         * math/test-ifloat.c: Likewise.
2339         * math/test-ildouble.c: Likewise.
2340         * math/test-ldouble-finite.c: Likewise.
2341         * math/test-ldouble.c: Likewise.
2342         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2343         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2344         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2345         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2346         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2347         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2348         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2349         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2350         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2351         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2353 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2354            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2356         * math/Makefile: Add wrappers to gen-libm-calls.
2357         * math/w_acos_template.c: New file.
2358         * math/w_acosh_template.c: Likewise.
2359         * math/w_asin_template.c: Likewise.
2360         * math/w_atan2_template.c: Likewise.
2361         * math/w_atanh_template.c: Likewise.
2362         * math/w_cosh_template.c: Likewise.
2363         * math/w_exp10_template.c: Likewise.
2364         * math/w_exp2_template.c: Likewise.
2365         * math/w_exp_template.c: Likewise.
2366         * math/w_fmod_template.c: Likewise.
2367         * math/w_hypot_template.c: Likewise.
2368         * math/w_j0_template.c: Likewise.
2369         * math/w_j1_template.c: Likewise.
2370         * math/w_jn_template.c: Likewise.
2371         * math/w_lgamma_r_template.c: Likewise.
2372         * math/w_lgamma_template.c: Likewise.
2373         * math/w_log10_template.c: Likewise.
2374         * math/w_log2_template.c: Likewise.
2375         * math/w_log_template.c: Likewise.
2376         * math/w_pow_template.c: Likewise.
2377         * math/w_remainder_template.c: Likewise.
2378         * math/w_sinh_template.c: Likewise.
2379         * math/w_sqrt_template.c: Likewise.
2380         * math/w_tgamma_template.c: Likewise.: Likewise.
2381         * sysdeps/generic/math-type-macros-double.h
2382         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2383         the new wrappers.
2384         * sysdeps/generic/math-type-macros-float.h: Likewise.
2385         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2387 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2389         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2390         New enum constant and macro.
2392         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2393         kernel version to 4.10.
2395 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2397         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2399 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2403 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2405         * sysdeps/powerpc/tst-set_ppr.c: New file.
2406         Implement test cases for __ppc_set_ppr_* functions.
2407         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2408         in the list of tests.
2410 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2412         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2413         instead of test-skeleton.c.
2414         (do_test): Replaced pthread_create and pthread_join with
2415         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2416         Removed unneeded status variable.
2417         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2418         instead of test-skeleton.c.
2419         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2421 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2423         [BZ #20313]
2424         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2425         201605L, for Unicode 9.
2427 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2429         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2430         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2431         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2432         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2433         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2434         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2436 2017-02-19  Zack Weinberg  <zackw@panix.com>
2438         * rt/tst-mqueue4.c: Include stdint.h.
2440 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2442         * sysdeps/arm/libm-test-ulps: Update.
2443         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2444         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2445         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2447 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2449         [BZ #21029]
2450         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2451         * sysdeps/unix/sysv/linux/i386/Makefile
2452         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2453         (uses-6-syscall-arguments): Remove.
2454         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2455         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2456         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2457         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2458         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2459         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2460         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2461         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2462         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2463         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2464         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2465         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2466         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2467         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2468         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2469         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2470         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2471         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2472         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2473         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2474         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2475         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2476         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2477         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2478         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2479         Likewise.
2480         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2481         Likewise.
2482         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2483         Likewise.
2484         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2485         Likewise.
2486         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2487         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2488         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2489         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2490         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2491         ebp on inline assembly.
2492         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2493         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2494         Set if CAN_USE_REGISTER_ASM_EBP is set.
2496 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2498         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2499         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2501 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2503         * math/auto-libm-test-in: Add tests of catan and catanh.
2504         * math/auto-libm-test-out-catan: New generated file.
2505         * math/auto-libm-test-out-catanh: Likewise.
2506         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2507         Move tests with finite inputs, except divide-by-zero cases, to
2508         auto-libm-test-in.
2509         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2510         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2511         (libm-test-funcs-noauto): Remove catan and catanh.
2512         * sysdeps/i386/fpu/libm-test-ulps: Update.
2513         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2516         * math/auto-libm-test-in: Add tests of casin and casinh.
2517         * math/auto-libm-test-out-casin: New generated file.
2518         * math/auto-libm-test-out-casinh: Likewise.
2519         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2520         Move tests with finite inputs to auto-libm-test-in.
2521         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2522         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2523         (libm-test-funcs-noauto): Remove casin and casinh.
2524         * sysdeps/i386/fpu/libm-test-ulps: Update.
2525         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2528         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2529         * math/auto-libm-test-out-cacos: New generated file.
2530         * math/auto-libm-test-out-cacosh: Likewise.
2531         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2532         Move tests with finite inputs to auto-libm-test-in.
2533         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2534         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2535         (libm-test-funcs-noauto): Remove cacos and cacosh.
2536         * sysdeps/i386/fpu/libm-test-ulps: Update.
2537         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2540         Revert:
2541         2017-02-16  Zack Weinberg  <zackw@panix.com>
2543         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2544         Don't include init-arch.h.
2545         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2546         Don't include init-arch.h.
2548 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2550         [BZ #21171]
2551         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2552         +Inf and raise divide-by-zero when x is negative.
2553         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2554         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2555         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2556         -Inf and raise divide-by-zero when x = +-0.
2557         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2558         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2559         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2560         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2561         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2562         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2563         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2565 2017-02-16  Zack Weinberg  <zackw@panix.com>
2567         * scripts/build-many-glibcs.py (bot_build_mail): If the
2568         bot_config does not contain all of the necessary email-
2569         related settings, just print a warning and continue.
2571 2017-02-16  Zack Weinberg  <zackw@panix.com>
2573         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2574         * dirent/opendir-tst1.c: Include sys/stat.h.
2575         * dirent/tst-fdopendir.c: Include sys/stat.h.
2576         * dirent/tst-fdopendir2.c: Include stdlib.h.
2577         * dirent/tst-scandir.c: Include stdbool.h.
2578         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2579         * elf/tst-tls15.c: Include stdlib.h.
2580         * elf/tst-tls16.c: Include stdlib.h.
2581         * elf/tst-tls17.c: Include stdlib.h.
2582         * elf/tst-tls18.c: Include stdlib.h.
2583         * iconv/tst-iconv6.c: Include endian.h.
2584         * iconvdata/bug-iconv11.c: Include limits.h.
2585         * io/test-utime.c: Include stdint.h.
2586         * io/tst-faccessat.c: Include sys/stat.h.
2587         * io/tst-fchmodat.c: Include sys/stat.h.
2588         * io/tst-fchownat.c: Include sys/stat.h.
2589         * io/tst-fstatat.c: Include sys/stat.h.
2590         * io/tst-futimesat.c: Include sys/stat.h.
2591         * io/tst-linkat.c: Include sys/stat.h.
2592         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2593         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2594         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2595         * io/tst-openat.c: Include stdbool.h.
2596         * io/tst-readlinkat.c: Include sys/stat.h.
2597         * io/tst-renameat.c: Include sys/stat.h.
2598         * io/tst-symlinkat.c: Include sys/stat.h.
2599         * io/tst-unlinkat.c: Include stdbool.h.
2600         * libio/bug-memstream1.c: Include stdlib.h.
2601         * libio/bug-wmemstream1.c: Include stdlib.h.
2602         * libio/tst-fwrite-error.c: Include stdlib.h.
2603         * libio/tst-memstream1.c: Include stdlib.h.
2604         * libio/tst-memstream2.c: Include stdlib.h.
2605         * libio/tst-memstream3.c: Include stdlib.h.
2606         * malloc/tst-interpose-aux.c: Include stdint.h.
2607         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2608         * nptl/tst-basic7.c: Include limits.h.
2609         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2610         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2611         * nptl/tst-cancel4_1.c: Include stddef.h.
2612         * nptl/tst-cancel4_2.c: Include stddef.h.
2613         * nptl/tst-cond16.c: Include limits.h.
2614         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2615         * nptl/tst-cond18.c: Include limits.h.
2616         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2617         * nptl/tst-cond4.c: Include stdint.h.
2618         * nptl/tst-cond6.c: Include stdint.h.
2619         * nptl/tst-stack2.c: Include limits.h.
2620         * nptl/tst-stackguard1.c: Include stddef.h.
2621         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2622         * nptl/tst-tls4moda.c: Include stddef.h.
2623         Don't include stdio.h, unistd.h, or tls.h.
2624         * nptl/tst-tls4modb.c: Include stddef.h.
2625         Don't include stdio.h, unistd.h, or tls.h.
2626         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2627         * posix/tst-getaddrinfo2.c: Include stdio.h.
2628         * posix/tst-getaddrinfo5.c: Include stdio.h.
2629         * posix/tst-pathconf.c: Include sys/stat.h.
2630         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2631         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2632         * posix/tst-regex.c: Include stdint.h.
2633         Don't include spawn.h or spawn_int.h.
2634         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2635         * posix/tst-vfork3.c: Include sys/stat.h.
2636         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2637         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2638         * resolv/tst-resolv-search.c: Include stdlib.h.
2639         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2640         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2641         * stdlib/test-canon.c: Include sys/stat.h.
2642         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2643         * string/test-memchr.c: Include stdint.h.
2644         * string/tst-cmp.c: Include stdint.h.
2645         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2646         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2647         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2648         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2649         Don't include init-arch.h.
2650         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2651         Don't include init-arch.h.
2652         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2653         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2654         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2655         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2656         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2657         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2658         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2659         * time/clocktest.c: Include stdint.h.
2660         * time/tst-posixtz.c: Include stdint.h.
2661         * timezone/tst-timezone.c: Include stdint.h.
2663 2017-02-16  Zack Weinberg  <zackw@panix.com>
2665         * string/string.h [__USE_MISC]: Include strings.h.
2666         (__bzero, bcmp, bcopy, bzero, index, rindex)
2667         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2668         (ffs, ffsl, ffsll): Don't declare.
2669         * string/strings.h: Do not suppress the file if string.h has
2670         already been included.
2671         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2672         annotations.
2673         (index, rindex): Define inline forwarders even if
2674         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2675         (ffs): Use __attribute_const__.
2676         (ffsl, ffsll): Declare here.
2677         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2678         have now been standardized.
2679         * include/string.h (__bzero): Declare here.
2681         * bits/types.h: Move to posix/bits.
2682         * include/bits/types.h: New wrapper.
2684 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2686         * string/bits/string2.h (strcmp): Remove define.
2687         (__strcmp_cg): Likewise.
2688         (strncmp): Likewise.
2690 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2692         * include/string.h: Add __cplusplus check.
2694 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2696         [BZ #21134]
2697         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2698         "divide by zero" exception when the input is zero.
2699         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2700         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2701         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2702         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2703         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2705 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2707         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2708         and include ...
2709         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2710         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2711         to, and include ...
2712         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2713         file.
2714         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2715         and include ...
2716         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2717         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2718         and include ...
2719         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2720         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2721         and include ...
2722         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2723         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2724         and include ...
2725         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2726         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2727         to, and include ...
2728         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2729         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2730         and include ...
2731         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2733 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2735         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2736         here.
2737         * math/libm-test-support.c (libm_test_init): Do not call
2738         INIT_ARCH_EXT here.
2739         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2740         (main): Call INIT_ARCH_EXT.
2742 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2744         [BZ #21130]
2745         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2746         with the "invalid" exception raised when x is -Inf.
2747         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2749 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2751         * string/bits/string2.h (strchr): Remove define.
2753 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2755         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2756         tst-avx512.
2757         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2758         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2759         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2760         ($(objpfx)tst-sse): New rule.
2761         ($(objpfx)tst-avx): Likewise.
2762         ($(objpfx)tst-avx512): Likewise.
2763         (CFLAGS-tst-avx-aux.c): New.
2764         (CFLAGS-tst-avxmod.c): Likewise.
2765         (CFLAGS-tst-avx512-aux.c): Likewise.
2766         (CFLAGS-tst-avx512mod.c): Likewise.
2767         * sysdeps/x86_64/tst-avx-aux.c: New file.
2768         * sysdeps/x86_64/tst-avx.c: Likewise.
2769         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2770         * sysdeps/x86_64/tst-avx512.c: Likewise.
2771         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2772         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2773         * sysdeps/x86_64/tst-sse.c: Likewise.
2774         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2776 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2778         * math/auto-libm-test-in: Add more tests of csin and csinh.
2779         * math/auto-libm-test-out-csin: Regenerated.
2780         * math/auto-libm-test-out-csinh: Likewise.
2781         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2782         auto-libm-test-in.
2783         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2785 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2787         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2788         libm-compat-calls-auto.
2789         (libm-compat-calls): Likewise.
2790         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2791         w_lgamma_compatF and k_standardF (merged from the items above).
2792         (libm-routines): Use libm-compat-calls, instead of
2793         libm-compat-calls-auto, with type-foreach.
2795 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2797         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2798         macro.
2799         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2800         (CFLAGS-test-ifloat.c): ... this.  Remove
2801         -U__LIBC_INTERNAL_MATH_INLINES.
2802         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2803         (CFLAGS-test-idouble.c): ... this.  Remove
2804         -U__LIBC_INTERNAL_MATH_INLINES.
2805         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2806         (CFLAGS-test-ildouble.c): ... this.  Remove
2807         -U__LIBC_INTERNAL_MATH_INLINES.
2809 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2811         * math/libm-test-support.c: New file.  Content from
2812         math/libm-test-driver.c.
2813         * math/libm-test-support.h: Likewise.
2814         * math/libm-test-support-double.c: New file.
2815         * math/libm-test-support-float.c: Likewise.
2816         * math/libm-test-support-ldouble.c: Likewise.
2817         * math/libm-test-driver.c: Remove main comment and header
2818         includes.  Include libm-test-support.h.
2819         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2820         (flag_test_errno): Remove static.
2821         (flag_test_exceptions): Likewise.
2822         (flag_test_finite): Likewise.
2823         (flag_test_inline): Likewise.
2824         (flag_test_mathvec): Likewise.
2825         (test_msg): Likewise.
2826         (NO_EXCEPTION): Remove.
2827         (INVALID_EXCEPTION): Likewise.
2828         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2829         (OVERFLOW_EXCEPTION): Likewise.
2830         (UNDERFLOW_EXCEPTION): Likewise.
2831         (INEXACT_EXCEPTION): Likewise.
2832         (INVALID_EXCEPTION_OK): Likewise.
2833         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2834         (OVERFLOW_EXCEPTION_OK): Likewise.
2835         (UNDERFLOW_EXCEPTION_OK): Likewise.
2836         (NO_INEXACT_EXCEPTION): Likewise.
2837         (EXCEPTIONS_OK): Likewise.
2838         (IGNORE_ZERO_INF_SIGN): Likewise.
2839         (TEST_NAN_SIGN): Likewise.
2840         (TEST_NAN_PAYLOAD): Likewise.
2841         (NO_TEST_INLINE): Likewise.
2842         (XFAIL_TEST): Likewise.
2843         (ERRNO_UNCHANGED): Likewise.
2844         (ERRNO_EDOM): Likewise.
2845         (ERRNO_ERANGE): Likewise.
2846         (IGNORE_RESULT): Likewise.
2847         (NON_FINITE): Likewise.
2848         (TEST_SNAN): Likewise.
2849         (NO_TEST_MATHVEC): Likewise.
2850         (__CONCATX): Likewise.
2851         (TYPE_MIN): Likewise.
2852         (TYPE_TRUE_MIN): Likewise.
2853         (TYPE_MAX): Likewise.
2854         (MIN_EXP): Likewise.
2855         (MAX_EXP): Likewise.
2856         (MANT_DIG): Likewise.
2857         (FSTR_MAX): Likewise.
2858         (ulp_idx): Likewise.
2859         (qtype_str): Remove static.
2860         (TEST_COND_binary32): Remove.
2861         (TEST_COND_binary64): Likewise.
2862         (TEST_COND_binary128): Likewise.
2863         (TEST_COND_ibm128): Likewise.
2864         (TEST_COND_intel96): Likewise.
2865         (TEST_COND_m68k96): Likewise.
2866         (TEST_COND_ibm128_libgcc): Likewise.
2867         (XFAIL_IBM128_LIBGCC): Likewise.
2868         (PAYLOAD_DIG): Likewise.
2869         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2870         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2871         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2872         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2873         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2874         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2875         (TEST_COND_long32): Likewise.
2876         (TEST_COND_long64): Likewise.
2877         (TEST_COND_before_rounding): Likewise.
2878         (TEST_COND_after_rounding): Likewise.
2879         (ulps_file_name): Likewise.
2880         (ulps_file): Likewise.
2881         (output_ulps): Likewise.
2882         (output_dir): Likewise.
2883         (noErrors): Likewise.
2884         (noTests): Likewise.
2885         (noExcTests): Likewise.
2886         (noErrnoTests): Likewise.
2887         (verbose): Likewise.
2888         (output_max_error): Likewise.
2889         (output_points): Likewise.
2890         (ignore_max_ulp): Likewise.
2891         (max_error): Likewise.
2892         (real_max_error): Likewise.
2893         (imag_max_error): Likewise.
2894         (prev_max_error): Likewise.
2895         (prev_real_max_error): Likewise.
2896         (prev_imag_max_error): Likewise.
2897         (max_valid_error): Likewise.
2898         (TYPE_DECIMAL_DIG): Likewise.
2899         (TYPE_HEX_DIG): Likewise.
2900         (fmt_ftostr): Likewise.
2901         (compare_ulp_data): Likewise.
2902         (find_ulps): Likewise.
2903         (init_max_error): Likewise.
2904         (set_max_error): Likewise.
2905         (print_float): Likewise.
2906         (print_screen): Likewise.
2907         (print_screen_max_error): Likewise.
2908         (update_stats): Likewise.
2909         (print_function_ulps): Likewise.
2910         (print_complex_function_ulps): Likewise.
2911         (fpstack_test): Likewise.
2912         (print_max_error): Likewise.
2913         (print_complex_max_error): Likewise.
2914         (test_single_exception): Likewise.
2915         (test_exceptions): Likewise.
2916         (test_single_errno): Likewise.
2917         (test_errno): Likewise.
2918         (ULPDIFF): Likewise.
2919         (ulp): Likewise.
2920         (check_float_internal): Likewise.
2921         (check_float): Likewise.
2922         (check_complex): Likewise.
2923         (check_int): Likewise.
2924         (check_long): Likewise.
2925         (check_bool): Likewise.
2926         (check_longlong): Likewise.
2927         (check_intmax_t): Likewise.
2928         (check_uintmax_t): Likewise.
2929         (enable_test): Likewise.
2930         (matherr): Likewise.
2931         (initialize): Likewise.
2932         (options): Likewise.
2933         (doc): Remove static.
2934         (argp): Likewise.
2935         (parse_opt): Remove.
2936         (check_ulp): Likewise.
2937         (libm_test_init): Likewise.
2938         (libm_test_finish): Likewise.
2939         * math/Makefile (libm-test-support): New variable.
2940         (test-extras): Add libm-test-support files.
2941         (extra-test-objs): Likewise.
2942         (CFLAGS-libm-test-support-float.c): New variable.
2943         (CFLAGS-libm-test-support-double.c): Likewise.
2944         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2945         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
2946         libm-test-support objects.
2948 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2950         * math/Makefile (libm-calls): Move w_exp...
2951         (libm-compat-calls-auto): Here.
2953         * math/w_expl.c: Add suffix "_compat" to filename.
2954         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2955         * sysdeps/ia64/fpu/w_expf.c: Likewise.
2956         * sysdeps/ia64/fpu/w_exp.c: Likewise.
2957         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2958         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2959         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2960         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2961         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2963         * math/w_expl_compat.c: New file, copied from above.
2964         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
2965         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
2966         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
2967         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2968         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2969         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2970         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2971         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2973         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
2974         to filename.
2975         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
2977         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
2978         copied from above and adjusted for the new filenames.
2979         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2981 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2983         * math/Makefile (libm-calls): Move w_lgammaF...
2984         (libm-compat-calls-auto): Here.
2986         * math/w_lgamma.c: Add suffix "_compat2" to filename.
2987         * math/w_lgammaf.c: Likewise.
2988         * math/w_lgammal.c: Likewise.
2990         * math/w_lgamma_compat2.c: New file, copied from above.
2991         * math/w_lgammaf_compat2.c: Likewise.
2992         * math/w_lgammal_compat2.c: Likewise.
2994 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2996         * math/Makefile (libm-calls): Move w_lgammaF_r...
2997         (libm-compat-calls-auto): Here.
2999         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3000         * math/w_lgammaf_r.c: Likewise.
3001         * math/w_lgammal_r.c: Likewise.
3002         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3003         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3004         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3006         * math/w_lgamma_r_compat.c: New file, copied from above.
3007         * math/w_lgammaf_r_compat.c: Likewise.
3008         * math/w_lgammal_r_compat.c: Likewise.
3009         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3010         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3011         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3013         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3014         to filename.
3015         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3017         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3018         copied from above and adjusted for the new filenames.
3019         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3021 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3023         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3024         calculation in SYSCALL_ERROR_HANDLER().
3026 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3028         * manual/contrib.texi: Fix typo.
3030 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3032         [BZ #21109]
3033         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3034         tunable_val_t as argument.
3035         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3036         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3037         argument.
3038         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3040 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3042         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3043         Add PTRACE_EVENT_STOP.
3044         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3045         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3046         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3047         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3048         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3049         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3051 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3053         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3054         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3055         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3056         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3057         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3058         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3059         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3060         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3061         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3062         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3064         [BZ #21112]
3065         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3066         12 bits zero.
3067         (cp_l): Update for new value of cp_h.
3068         * math/auto-libm-test-in: Add another test of pow.
3069         * math/auto-libm-test-out-pow: Regenerated.
3071 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3073         * manual/contrib.texi: Fix typo.
3075 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3077         [BZ #15998]
3078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3079         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3082 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3084         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3085         STRCHR as __strchr_power8.
3086         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3087         strlen as __strlen_power8.
3089 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3091         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3092         unaligned load for shorter strings.
3093         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3095 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3097         * math/libm-test-driver.c (flag_test_errno): New variable.
3098         (flag_test_exceptions): Likewise.
3099         (flag_test_finite): Likewise.
3100         (flag_test_inline): Likewise.
3101         (flag_test_mathvec): Likewise.
3102         (test_msg): Likewise.
3103         (ulp_idx): Likewise.
3104         (qtype_str): Likewise.
3105         (ULP_IDX): Remove macro.
3106         (QTYPE_STR): Likewise.
3107         (find_ulps): Use ulp_idx not ULP_IDX.
3108         (print_function_ulps): Use qtype_str, printed with %s, not
3109         QTYPE_STR, printed with concatentation to format string.
3110         (print_complex_function_ulps): Likewise.
3111         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3112         (test_errno): Use flag_test_errno not TEST_ERRNO.
3113         (enable_test): Use flag_test_inline, flag_test_finite and
3114         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3115         TEST_MATHVEC.
3116         (libm_test_init): New function.  Factored out of main.
3117         (libm_test_finish): Likewise.
3118         (main): Call libm_test_init and libm_test_finish and move most
3119         code to those functions.
3121         * math/libm-test-driver.c (STRX): New macro.
3122         (STR): Likewise.
3123         (STR_FLOAT): Likewise.
3124         (STR_VEC_LEN): Likewise.
3125         (TEST_MSG): Likewise.  Define here instead of expecting to be
3126         defined by including file.
3127         * math/test-double-finite.c (TEST_MSG): Remove macro.
3128         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3129         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3130         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3131         * math/test-double.c (TEST_MSG): Likewise.
3132         * math/test-float-finite.c (TEST_MSG): Likewise.
3133         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3134         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3135         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3136         * math/test-float.c (TEST_MSG): Likewise.
3137         * math/test-idouble.c (TEST_MSG): Likewise.
3138         * math/test-ifloat.c (TEST_MSG): Likewise.
3139         * math/test-ildouble.c (TEST_MSG): Likewise.
3140         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3141         * math/test-ldouble.c (TEST_MSG): Likewise.
3143         * math/libm-test.inc: Move all tests of individual functions to
3144         libm-test-*.inc and #include libm-test-*.c files.
3145         (acos_test_data): Remove.
3146         (acos_test): Likewise.
3147         (acosh_test_data): Likewise.
3148         (acosh_test): Likewise.
3149         (asin_test_data): Likewise.
3150         (asin_test): Likewise.
3151         (asinh_test_data): Likewise.
3152         (asinh_test): Likewise.
3153         (atan_test_data): Likewise.
3154         (atan_test): Likewise.
3155         (atanh_test_data): Likewise.
3156         (atanh_test): Likewise.
3157         (atan2_test_data): Likewise.
3158         (atan2_test): Likewise.
3159         (cabs_test_data): Likewise.
3160         (cabs_test): Likewise.
3161         (cacos_test_data): Likewise.
3162         (cacos_test): Likewise.
3163         (cacosh_test_data): Likewise.
3164         (cacosh_test): Likewise.
3165         (canonicalize_test_data): Likewise.
3166         (canonicalize_test): Likewise.
3167         (carg_test_data): Likewise.
3168         (carg_test): Likewise.
3169         (casin_test_data): Likewise.
3170         (casin_test): Likewise.
3171         (casinh_test_data): Likewise.
3172         (casinh_test): Likewise.
3173         (catan_test_data): Likewise.
3174         (catan_test): Likewise.
3175         (catanh_test_data): Likewise.
3176         (catanh_test): Likewise.
3177         (cbrt_test_data): Likewise.
3178         (cbrt_test): Likewise.
3179         (ccos_test_data): Likewise.
3180         (ccos_test): Likewise.
3181         (ccosh_test_data): Likewise.
3182         (ccosh_test): Likewise.
3183         (ceil_test_data): Likewise.
3184         (ceil_test): Likewise.
3185         (cexp_test_data): Likewise.
3186         (cexp_test): Likewise.
3187         (cimag_test_data): Likewise.
3188         (cimag_test): Likewise.
3189         (clog_test_data): Likewise.
3190         (clog_test): Likewise.
3191         (clog10_test_data): Likewise.
3192         (clog10_test): Likewise.
3193         (conj_test_data): Likewise.
3194         (conj_test): Likewise.
3195         (copysign_test_data): Likewise.
3196         (copysign_test): Likewise.
3197         (cos_test_data): Likewise.
3198         (cos_test): Likewise.
3199         (cosh_test_data): Likewise.
3200         (cosh_test): Likewise.
3201         (cpow_test_data): Likewise.
3202         (cpow_test): Likewise.
3203         (cproj_test_data): Likewise.
3204         (cproj_test): Likewise.
3205         (creal_test_data): Likewise.
3206         (creal_test): Likewise.
3207         (csin_test_data): Likewise.
3208         (csin_test): Likewise.
3209         (csinh_test_data): Likewise.
3210         (csinh_test): Likewise.
3211         (csqrt_test_data): Likewise.
3212         (csqrt_test): Likewise.
3213         (ctan_test_data): Likewise.
3214         (ctan_test): Likewise.
3215         (ctanh_test_data): Likewise.
3216         (ctanh_test): Likewise.
3217         (erf_test_data): Likewise.
3218         (erf_test): Likewise.
3219         (erfc_test_data): Likewise.
3220         (erfc_test): Likewise.
3221         (exp_test_data): Likewise.
3222         (exp_test): Likewise.
3223         (exp10_test_data): Likewise.
3224         (exp10_test): Likewise.
3225         (pow10_test): Likewise.
3226         (exp2_test_data): Likewise.
3227         (exp2_test): Likewise.
3228         (expm1_test_data): Likewise.
3229         (expm1_test): Likewise.
3230         (fabs_test_data): Likewise.
3231         (fabs_test): Likewise.
3232         (fdim_test_data): Likewise.
3233         (fdim_test): Likewise.
3234         (floor_test_data): Likewise.
3235         (floor_test): Likewise.
3236         (fma_test_data): Likewise.
3237         (fma_test): Likewise.
3238         (fmax_test_data): Likewise.
3239         (fmax_test): Likewise.
3240         (fmaxmag_test_data): Likewise.
3241         (fmaxmag_test): Likewise.
3242         (fmin_test_data): Likewise.
3243         (fmin_test): Likewise.
3244         (fminmag_test_data): Likewise.
3245         (fminmag_test): Likewise.
3246         (fmod_test_data): Likewise.
3247         (fmod_test): Likewise.
3248         (fpclassify_test_data): Likewise.
3249         (fpclassify_test): Likewise.
3250         (frexp_test_data): Likewise.
3251         (frexp_test): Likewise.
3252         (fromfp_test_data): Likewise.
3253         (fromfp_test): Likewise.
3254         (fromfpx_test_data): Likewise.
3255         (fromfpx_test): Likewise.
3256         (getpayload_test_data): Likewise.
3257         (getpayload_test): Likewise.
3258         (hypot_test_data): Likewise.
3259         (hypot_test): Likewise.
3260         (ilogb_test_data): Likewise.
3261         (ilogb_test): Likewise.
3262         (iscanonical_test_data): Likewise.
3263         (iscanonical_test): Likewise.
3264         (iseqsig_test_data): Likewise.
3265         (iseqsig_test): Likewise.
3266         (isfinite_test_data): Likewise.
3267         (isfinite_test): Likewise.
3268         (finite_test): Likewise.
3269         (isgreater_test_data): Likewise.
3270         (isgreater_test): Likewise.
3271         (isgreaterequal_test_data): Likewise.
3272         (isgreaterequal_test): Likewise.
3273         (isinf_test_data): Likewise.
3274         (isinf_test): Likewise.
3275         (isless_test_data): Likewise.
3276         (isless_test): Likewise.
3277         (islessequal_test_data): Likewise.
3278         (islessequal_test): Likewise.
3279         (islessgreater_test_data): Likewise.
3280         (islessgreater_test): Likewise.
3281         (isnan_test_data): Likewise.
3282         (isnan_test): Likewise.
3283         (isnormal_test_data): Likewise.
3284         (isnormal_test): Likewise.
3285         (issignaling_test_data): Likewise.
3286         (issignaling_test): Likewise.
3287         (issubnormal_test_data): Likewise.
3288         (issubnormal_test): Likewise.
3289         (isunordered_test_data): Likewise.
3290         (isunordered_test): Likewise.
3291         (iszero_test_data): Likewise.
3292         (iszero_test): Likewise.
3293         (j0_test_data): Likewise.
3294         (j0_test): Likewise.
3295         (j1_test_data): Likewise.
3296         (j1_test): Likewise.
3297         (jn_test_data): Likewise.
3298         (jn_test): Likewise.
3299         (lgamma_test_data): Likewise.
3300         (lgamma_test): Likewise.
3301         (gamma_test): Likewise.
3302         (llogb_test_data): Likewise.
3303         (llogb_test): Likewise.
3304         (lrint_test_data): Likewise.
3305         (lrint_test): Likewise.
3306         (llrint_test_data): Likewise.
3307         (llrint_test): Likewise.
3308         (log_test_data): Likewise.
3309         (log_test): Likewise.
3310         (log10_test_data): Likewise.
3311         (log10_test): Likewise.
3312         (log1p_test_data): Likewise.
3313         (log1p_test): Likewise.
3314         (log2_test_data): Likewise.
3315         (log2_test): Likewise.
3316         (logb_test_data): Likewise.
3317         (logb_test): Likewise.
3318         (lround_test_data): Likewise.
3319         (lround_test): Likewise.
3320         (llround_test_data): Likewise.
3321         (llround_test): Likewise.
3322         (modf_test_data): Likewise.
3323         (modf_test): Likewise.
3324         (nearbyint_test_data): Likewise.
3325         (nearbyint_test): Likewise.
3326         (nextafter_test_data): Likewise.
3327         (nextafter_test): Likewise.
3328         (nextup_test_data): Likewise.
3329         (nextup_test): Likewise.
3330         (nextdown_test_data): Likewise.
3331         (nextdown_test): Likewise.
3332         (nexttoward_test_data): Likewise.
3333         (nexttoward_test): Likewise.
3334         (pow_test_data): Likewise.
3335         (pow_test): Likewise.
3336         (remainder_test_data): Likewise.
3337         (remainder_test): Likewise.
3338         (drem_test): Likewise.
3339         (remquo_test_data): Likewise.
3340         (remquo_test): Likewise.
3341         (rint_test_data): Likewise.
3342         (rint_test): Likewise.
3343         (round_test_data): Likewise.
3344         (round_test): Likewise.
3345         (roundeven_test_data): Likewise.
3346         (roundeven_test): Likewise.
3347         (scalb_test_data): Likewise.
3348         (scalb_test): Likewise.
3349         (scalbn_test_data): Likewise.
3350         (scalbn_test): Likewise.
3351         (ldexp_test): Likewise.
3352         (scalbln_test_data): Likewise.
3353         (scalbln_test): Likewise.
3354         (setpayload_test_data): Likewise.
3355         (setpayload_test): Likewise.
3356         (setpayloadsig_test_data): Likewise.
3357         (setpayloadsig_test): Likewise.
3358         (signbit_test_data): Likewise.
3359         (signbit_test): Likewise.
3360         (sin_test_data): Likewise.
3361         (sin_test): Likewise.
3362         (sincos_test_data): Likewise.
3363         (sincos_test): Likewise.
3364         (sinh_test_data): Likewise.
3365         (sinh_test): Likewise.
3366         (sqrt_test_data): Likewise.
3367         (sqrt_test): Likewise.
3368         (tan_test_data): Likewise.
3369         (tan_test): Likewise.
3370         (tanh_test_data): Likewise.
3371         (tanh_test): Likewise.
3372         (tgamma_test_data): Likewise.
3373         (tgamma_test): Likewise.
3374         (totalorder_test_data): Likewise.
3375         (totalorder_test): Likewise.
3376         (totalordermag_test_data): Likewise.
3377         (totalordermag_test): Likewise.
3378         (trunc_test_data): Likewise.
3379         (trunc_test): Likewise.
3380         (ufromfp_test_data): Likewise.
3381         (ufromfp_test): Likewise.
3382         (ufromfpx_test_data): Likewise.
3383         (ufromfpx_test): Likewise.
3384         (y0_test_data): Likewise.
3385         (y0_test): Likewise.
3386         (y1_test_data): Likewise.
3387         (y1_test): Likewise.
3388         (yn_test_data): Likewise.
3389         (yn_test): Likewise.
3390         (significand_test_data): Likewise.
3391         (significand_test): Likewise.
3392         * math/Makefile (auto-libm-test-out-files): Remove variable.
3393         (libm-test-funcs-noauto): New variable.
3394         (libm-test-funcs-all): Likewise.
3395         (libm-test-c-auto): Likewise.
3396         (libm-test-c-noauto): Likewise.
3397         (libm-tests-generated): Add $(libm-test-c-auto) and
3398         $(libm-test-c-noauto).
3399         (generated): Do not add auto-libm-test-out.
3400         (libm-test-c-auto-obj): New variable.
3401         (libm-test-c-noauto-obj): Likewise.
3402         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3403         ($(libm-test-c-noauto-obj)): New static pattern rule.
3404         ($(libm-test-c-auto-obj)): Likewise.
3405         (libm-test-incs): New variable.
3406         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3407         and pass it to gen-libm-have-vector-test.sh.
3408         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3409         be passed on command line.
3410         * math/libm-test-acos.inc: New file.  Content from
3411         math/libm-test.inc.
3412         * math/libm-test-acosh.inc: Likewise.
3413         * math/libm-test-asin.inc: Likewise.
3414         * math/libm-test-asinh.inc: Likewise.
3415         * math/libm-test-atan.inc: Likewise.
3416         * math/libm-test-atan2.inc: Likewise.
3417         * math/libm-test-atanh.inc: Likewise.
3418         * math/libm-test-cabs.inc: Likewise.
3419         * math/libm-test-cacos.inc: Likewise.
3420         * math/libm-test-cacosh.inc: Likewise.
3421         * math/libm-test-canonicalize.inc: Likewise.
3422         * math/libm-test-carg.inc: Likewise.
3423         * math/libm-test-casin.inc: Likewise.
3424         * math/libm-test-casinh.inc: Likewise.
3425         * math/libm-test-catan.inc: Likewise.
3426         * math/libm-test-catanh.inc: Likewise.
3427         * math/libm-test-cbrt.inc: Likewise.
3428         * math/libm-test-ccos.inc: Likewise.
3429         * math/libm-test-ccosh.inc: Likewise.
3430         * math/libm-test-ceil.inc: Likewise.
3431         * math/libm-test-cexp.inc: Likewise.
3432         * math/libm-test-cimag.inc: Likewise.
3433         * math/libm-test-clog.inc: Likewise.
3434         * math/libm-test-clog10.inc: Likewise.
3435         * math/libm-test-conj.inc: Likewise.
3436         * math/libm-test-copysign.inc: Likewise.
3437         * math/libm-test-cos.inc: Likewise.
3438         * math/libm-test-cosh.inc: Likewise.
3439         * math/libm-test-cpow.inc: Likewise.
3440         * math/libm-test-cproj.inc: Likewise.
3441         * math/libm-test-creal.inc: Likewise.
3442         * math/libm-test-csin.inc: Likewise.
3443         * math/libm-test-csinh.inc: Likewise.
3444         * math/libm-test-csqrt.inc: Likewise.
3445         * math/libm-test-ctan.inc: Likewise.
3446         * math/libm-test-ctanh.inc: Likewise.
3447         * math/libm-test-erf.inc: Likewise.
3448         * math/libm-test-erfc.inc: Likewise.
3449         * math/libm-test-exp.inc: Likewise.
3450         * math/libm-test-exp10.inc: Likewise.
3451         * math/libm-test-exp2.inc: Likewise.
3452         * math/libm-test-expm1.inc: Likewise.
3453         * math/libm-test-fabs.inc: Likewise.
3454         * math/libm-test-fdim.inc: Likewise.
3455         * math/libm-test-floor.inc: Likewise.
3456         * math/libm-test-fma.inc: Likewise.
3457         * math/libm-test-fmax.inc: Likewise.
3458         * math/libm-test-fmaxmag.inc: Likewise.
3459         * math/libm-test-fmin.inc: Likewise.
3460         * math/libm-test-fminmag.inc: Likewise.
3461         * math/libm-test-fmod.inc: Likewise.
3462         * math/libm-test-fpclassify.inc: Likewise.
3463         * math/libm-test-frexp.inc: Likewise.
3464         * math/libm-test-fromfp.inc: Likewise.
3465         * math/libm-test-fromfpx.inc: Likewise.
3466         * math/libm-test-getpayload.inc: Likewise.
3467         * math/libm-test-hypot.inc: Likewise.
3468         * math/libm-test-ilogb.inc: Likewise.
3469         * math/libm-test-iscanonical.inc: Likewise.
3470         * math/libm-test-iseqsig.inc: Likewise.
3471         * math/libm-test-isfinite.inc: Likewise.
3472         * math/libm-test-isgreater.inc: Likewise.
3473         * math/libm-test-isgreaterequal.inc: Likewise.
3474         * math/libm-test-isinf.inc: Likewise.
3475         * math/libm-test-isless.inc: Likewise.
3476         * math/libm-test-islessequal.inc: Likewise.
3477         * math/libm-test-islessgreater.inc: Likewise.
3478         * math/libm-test-isnan.inc: Likewise.
3479         * math/libm-test-isnormal.inc: Likewise.
3480         * math/libm-test-issignaling.inc: Likewise.
3481         * math/libm-test-issubnormal.inc: Likewise.
3482         * math/libm-test-isunordered.inc: Likewise.
3483         * math/libm-test-iszero.inc: Likewise.
3484         * math/libm-test-j0.inc: Likewise.
3485         * math/libm-test-j1.inc: Likewise.
3486         * math/libm-test-jn.inc: Likewise.
3487         * math/libm-test-lgamma.inc: Likewise.
3488         * math/libm-test-llogb.inc: Likewise.
3489         * math/libm-test-llrint.inc: Likewise.
3490         * math/libm-test-llround.inc: Likewise.
3491         * math/libm-test-log.inc: Likewise.
3492         * math/libm-test-log10.inc: Likewise.
3493         * math/libm-test-log1p.inc: Likewise.
3494         * math/libm-test-log2.inc: Likewise.
3495         * math/libm-test-logb.inc: Likewise.
3496         * math/libm-test-lrint.inc: Likewise.
3497         * math/libm-test-lround.inc: Likewise.
3498         * math/libm-test-modf.inc: Likewise.
3499         * math/libm-test-nearbyint.inc: Likewise.
3500         * math/libm-test-nextafter.inc: Likewise.
3501         * math/libm-test-nextdown.inc: Likewise.
3502         * math/libm-test-nexttoward.inc: Likewise.
3503         * math/libm-test-nextup.inc: Likewise.
3504         * math/libm-test-pow.inc: Likewise.
3505         * math/libm-test-remainder.inc: Likewise.
3506         * math/libm-test-remquo.inc: Likewise.
3507         * math/libm-test-rint.inc: Likewise.
3508         * math/libm-test-round.inc: Likewise.
3509         * math/libm-test-roundeven.inc: Likewise.
3510         * math/libm-test-scalb.inc: Likewise.
3511         * math/libm-test-scalbln.inc: Likewise.
3512         * math/libm-test-scalbn.inc: Likewise.
3513         * math/libm-test-setpayload.inc: Likewise.
3514         * math/libm-test-setpayloadsig.inc: Likewise.
3515         * math/libm-test-signbit.inc: Likewise.
3516         * math/libm-test-significand.inc: Likewise.
3517         * math/libm-test-sin.inc: Likewise.
3518         * math/libm-test-sincos.inc: Likewise.
3519         * math/libm-test-sinh.inc: Likewise.
3520         * math/libm-test-sqrt.inc: Likewise.
3521         * math/libm-test-tan.inc: Likewise.
3522         * math/libm-test-tanh.inc: Likewise.
3523         * math/libm-test-tgamma.inc: Likewise.
3524         * math/libm-test-totalorder.inc: Likewise.
3525         * math/libm-test-totalordermag.inc: Likewise.
3526         * math/libm-test-trunc.inc: Likewise.
3527         * math/libm-test-ufromfp.inc: Likewise.
3528         * math/libm-test-ufromfpx.inc: Likewise.
3529         * math/libm-test-y0.inc: Likewise.
3530         * math/libm-test-y1.inc: Likewise.
3531         * math/libm-test-yn.inc: Likewise.
3532         * math/README.libm-test: Update.
3534         * math/gen-auto-libm-tests.c: Update comment about use of program.
3535         (generate_output): Add argument FUNCTION.
3536         (main): Require extra argument.  Pass function name to
3537         generate_output.
3538         * math/Makefile (generated): Add auto-libm-test-out.
3539         (libm-test-funcs-auto): New variable.
3540         (auto-libm-test-out-files): New variable.
3541         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3542         Concatenate those files to form $(objpfx)auto-libm-test-out and
3543         use it as input to gen-libm-test.pl.
3544         * math/README.libm-test: Update.
3545         * math/auto-libm-test-out: Remove.
3546         * math/auto-libm-test-out-acos: New generated file.
3547         * math/auto-libm-test-out-acosh: Likewise.
3548         * math/auto-libm-test-out-asin: Likewise.
3549         * math/auto-libm-test-out-asinh: Likewise.
3550         * math/auto-libm-test-out-atan: Likewise.
3551         * math/auto-libm-test-out-atan2: Likewise.
3552         * math/auto-libm-test-out-atanh: Likewise.
3553         * math/auto-libm-test-out-cabs: Likewise.
3554         * math/auto-libm-test-out-carg: Likewise.
3555         * math/auto-libm-test-out-cbrt: Likewise.
3556         * math/auto-libm-test-out-ccos: Likewise.
3557         * math/auto-libm-test-out-ccosh: Likewise.
3558         * math/auto-libm-test-out-cexp: Likewise.
3559         * math/auto-libm-test-out-clog: Likewise.
3560         * math/auto-libm-test-out-clog10: Likewise.
3561         * math/auto-libm-test-out-cos: Likewise.
3562         * math/auto-libm-test-out-cosh: Likewise.
3563         * math/auto-libm-test-out-cpow: Likewise.
3564         * math/auto-libm-test-out-csin: Likewise.
3565         * math/auto-libm-test-out-csinh: Likewise.
3566         * math/auto-libm-test-out-csqrt: Likewise.
3567         * math/auto-libm-test-out-ctan: Likewise.
3568         * math/auto-libm-test-out-ctanh: Likewise.
3569         * math/auto-libm-test-out-erf: Likewise.
3570         * math/auto-libm-test-out-erfc: Likewise.
3571         * math/auto-libm-test-out-exp: Likewise.
3572         * math/auto-libm-test-out-exp10: Likewise.
3573         * math/auto-libm-test-out-exp2: Likewise.
3574         * math/auto-libm-test-out-expm1: Likewise.
3575         * math/auto-libm-test-out-fma: Likewise.
3576         * math/auto-libm-test-out-hypot: Likewise.
3577         * math/auto-libm-test-out-j0: Likewise.
3578         * math/auto-libm-test-out-j1: Likewise.
3579         * math/auto-libm-test-out-jn: Likewise.
3580         * math/auto-libm-test-out-lgamma: Likewise.
3581         * math/auto-libm-test-out-log: Likewise.
3582         * math/auto-libm-test-out-log10: Likewise.
3583         * math/auto-libm-test-out-log1p: Likewise.
3584         * math/auto-libm-test-out-log2: Likewise.
3585         * math/auto-libm-test-out-pow: Likewise.
3586         * math/auto-libm-test-out-sin: Likewise.
3587         * math/auto-libm-test-out-sincos: Likewise.
3588         * math/auto-libm-test-out-sinh: Likewise.
3589         * math/auto-libm-test-out-sqrt: Likewise.
3590         * math/auto-libm-test-out-tan: Likewise.
3591         * math/auto-libm-test-out-tanh: Likewise.
3592         * math/auto-libm-test-out-tgamma: Likewise.
3593         * math/auto-libm-test-out-y0: Likewise.
3594         * math/auto-libm-test-out-y1: Likewise.
3595         * math/auto-libm-test-out-yn: Likewise.
3597         * math/Makefile (generated): Do not include libm-test.stmp.
3598         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3599         on $(objpfx)libm-test.stmp.
3600         ($(objpfx)libm-test.stmp): Remove rule.
3601         ($(objpfx)libm-test-ulps.h): New rule.
3602         ($(objpfx)libm-test.c): Likewise.
3603         ($(objpfx)libm-have-vector-test.h): Likewise.
3604         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3605         individual generated files, not libm-test.stmp.
3607         * math/gen-libm-test.pl ($output_dir): Remove variable.
3608         ($srcdir): Likewise.
3609         ($opt_a): New variable.
3610         ($opt_c): Likewise.
3611         ($opt_C): Likewise.
3612         ($opt_H): Likewise.
3613         (-n): Make option take argument and use it as NewUlps output.
3614         (-a): New option.  Use its argument for auto-libm-test-out input.
3615         (-c): New option.  Use its argument for libm-test.inc input.
3616         (-C): New option.  Use its argument for libm-test.c output.
3617         (-H): New option.  Use its argument for libm-test-ulps.h output.
3618         (top level): Only process inputs needed to generate outputs
3619         specified by command-line options.  Only generate outputs
3620         specified by command-line options.
3621         * math/README.libm-test: Update example gen-libm-test.pl command.
3622         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3623         commands.
3624         (regen-ulps): Likewise.
3626 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3628         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3629         * include/string.h (index): Remove define.
3630         (rindex): Likewise.
3631         * misc/getttyent.c (__getttyent): Rename index to strchr.
3632         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3633         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3635 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3637         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3638         * math/libm-test.inc: Move all contents, other than tests of
3639         individual functions, to libm-test-driver.c.
3640         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3641         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3642         [!FE_UPWARD] (FE_UPWARD): Likewise.
3643         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3644         (NO_EXCEPTION): Likewise.
3645         (INVALID_EXCEPTION): Likewise.
3646         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3647         (OVERFLOW_EXCEPTION): Likewise.
3648         (UNDERFLOW_EXCEPTION): Likewise.
3649         (INEXACT_EXCEPTION): Likewise.
3650         (INVALID_EXCEPTION_OK): Likewise.
3651         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3652         (OVERFLOW_EXCEPTION_OK): Likewise.
3653         (UNDERFLOW_EXCEPTION_OK): Likewise.
3654         (NO_INEXACT_EXCEPTION): Likewise.
3655         (EXCEPTIONS_OK): Likewise.
3656         (IGNORE_ZERO_INF_SIGN): Likewise.
3657         (TEST_NAN_SIGN): Likewise.
3658         (TEST_NAN_PAYLOAD): Likewise.
3659         (NO_TEST_INLINE): Likewise.
3660         (XFAIL_TEST): Likewise.
3661         (ERRNO_UNCHANGED): Likewise.
3662         (ERRNO_EDOM): Likewise.
3663         (ERRNO_ERANGE): Likewise.
3664         (IGNORE_RESULT): Likewise.
3665         (NON_FINITE): Likewise.
3666         (TEST_SNAN): Likewise.
3667         (NO_TEST_MATHVEC): Likewise.
3668         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3669         (__CONCATX): Likewise.
3670         (TYPE_MIN): Likewise.
3671         (TYPE_TRUE_MIN): Likewise.
3672         (TYPE_MAX): Likewise.
3673         (MIN_EXP): Likewise.
3674         (MAX_EXP): Likewise.
3675         (MANT_DIG): Likewise.
3676         (FSTR_MAX): Likewise.
3677         (ULP_IDX): Likewise.
3678         (QTYPE_STR): Likewise.
3679         (TEST_COND_binary32): Likewise.
3680         (TEST_COND_binary64): Likewise.
3681         (TEST_COND_binary128): Likewise.
3682         (TEST_COND_ibm128): Likewise.
3683         (TEST_COND_intel96): Likewise.
3684         (TEST_COND_m68k96): Likewise.
3685         (TEST_COND_ibm128_libgcc): Likewise.
3686         (XFAIL_IBM128_LIBGCC): Likewise.
3687         (PAYLOAD_DIG): Likewise.
3688         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3689         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3690         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3691         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3692         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3693         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3694         (TEST_COND_long32): Likewise.
3695         (TEST_COND_long64): Likewise.
3696         (TEST_COND_before_rounding): Likewise.
3697         (TEST_COND_after_rounding): Likewise.
3698         (lit_pi_3_m_4_d): Likewise.
3699         (lit_pi_3_m_4_ln10_m_d): Likewise.
3700         (lit_pi_2_ln10_m_d): Likewise.
3701         (lit_pi_4_ln10_m_d): Likewise.
3702         (lit_pi_ln10_d): Likewise.
3703         (lit_pi_2_d): Likewise.
3704         (lit_pi_4_d): Likewise.
3705         (lit_pi): Likewise.
3706         (lit_e): Likewise.
3707         (ulps_file_name): Likewise.
3708         (ulps_file): Likewise.
3709         (output_ulps): Likewise.
3710         (output_dir): Likewise.
3711         (noErrors): Likewise.
3712         (noTests): Likewise.
3713         (noExcTests): Likewise.
3714         (noErrnoTests): Likewise.
3715         (verbose): Likewise.
3716         (output_max_error): Likewise.
3717         (output_points): Likewise.
3718         (ignore_max_ulp): Likewise.
3719         (plus_zero): Likewise.
3720         (minus_zero): Likewise.
3721         (plus_infty): Likewise.
3722         (minus_infty): Likewise.
3723         (qnan_value_pl): Likewise.
3724         (qnan_value): Likewise.
3725         (snan_value_pl): Likewise.
3726         (snan_value): Likewise.
3727         (max_value): Likewise.
3728         (min_value): Likewise.
3729         (min_subnorm_value): Likewise.
3730         (snan_value_ld): Likewise.
3731         (max_error): Likewise.
3732         (real_max_error): Likewise.
3733         (imag_max_error): Likewise.
3734         (prev_max_error): Likewise.
3735         (prev_real_max_error): Likewise.
3736         (prev_imag_max_error): Likewise.
3737         (max_valid_error): Likewise.
3738         (TYPE_DECIMAL_DIG): Likewise.
3739         (TYPE_HEX_DIG): Likewise.
3740         (fmt_ftostr): Likewise.
3741         (compare_ulp_data): Likewise.
3742         (find_ulps): Likewise.
3743         (init_max_error): Likewise.
3744         (set_max_error): Likewise.
3745         (print_float): Likewise.
3746         (print_screen): Likewise.
3747         (print_screen_max_error): Likewise.
3748         (update_stats): Likewise.
3749         (print_function_ulps): Likewise.
3750         (print_complex_function_ulps): Likewise.
3751         (fpstack_test): Likewise.
3752         (print_max_error): Likewise.
3753         (print_complex_max_error): Likewise.
3754         (test_single_exception): Likewise.
3755         (test_exceptions): Likewise.
3756         (test_single_errno): Likewise.
3757         (test_errno): Likewise.
3758         (ULPDIFF): Likewise.
3759         (ulp): Likewise.
3760         (check_float_internal): Likewise.
3761         (check_float): Likewise.
3762         (check_complex): Likewise.
3763         (check_int): Likewise.
3764         (check_long): Likewise.
3765         (check_bool): Likewise.
3766         (check_longlong): Likewise.
3767         (check_intmax_t): Likewise.
3768         (check_uintmax_t): Likewise.
3769         (enable_test): Likewise.
3770         (struct test_f_f_data): Likewise.
3771         (struct test_ff_f_data): Likewise.
3772         (struct test_fj_f_data): Likewise.
3773         (struct test_fi_f_data): Likewise.
3774         (struct test_fl_f_data): Likewise.
3775         (struct test_if_f_data): Likewise.
3776         (struct test_fff_f_data): Likewise.
3777         (struct test_fiu_M_data): Likewise.
3778         (struct test_fiu_U_data): Likewise.
3779         (struct test_c_f_data): Likewise.
3780         (struct test_f_f1_data): Likewise.
3781         (struct test_fF_f1_data): Likewise.
3782         (struct test_ffI_f1_data): Likewise.
3783         (struct test_c_c_data): Likewise.
3784         (struct test_cc_c_data): Likewise.
3785         (struct test_f_i_data): Likewise.
3786         (struct test_ff_i_data): Likewise.
3787         (struct test_f_l_data): Likewise.
3788         (struct test_f_L_data): Likewise.
3789         (struct test_fFF_11_data): Likewise.
3790         (struct test_Ff_b1_data): Likewise.
3791         (IF_ROUND_INIT_): Likewise.
3792         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3793         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3794         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3795         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3796         (ROUND_RESTORE_): Likewise.
3797         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3798         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3799         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3800         (ROUND_RESTORE_FE_UPWARD): Likewise.
3801         (RM_): Likewise.
3802         (RM_FE_DOWNWARD): Likewise.
3803         (RM_FE_TONEAREST): Likewise.
3804         (RM_FE_TOWARDZERO): Likewise.
3805         (RM_FE_UPWARD): Likewise.
3806         (COMMON_TEST_SETUP): Likewise.
3807         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3808         (COMMON_TEST_CLEANUP): Likewise.
3809         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3810         (RUN_TEST_f_f): Likewise.
3811         (RUN_TEST_LOOP_f_f): Likewise.
3812         (RUN_TEST_fp_f): Likewise.
3813         (RUN_TEST_LOOP_fp_f): Likewise.
3814         (RUN_TEST_2_f): Likewise.
3815         (RUN_TEST_LOOP_2_f): Likewise.
3816         (RUN_TEST_ff_f): Likewise.
3817         (RUN_TEST_LOOP_ff_f): Likewise.
3818         (RUN_TEST_LOOP_fj_f): Likewise.
3819         (RUN_TEST_fi_f): Likewise.
3820         (RUN_TEST_LOOP_fi_f): Likewise.
3821         (RUN_TEST_fl_f): Likewise.
3822         (RUN_TEST_LOOP_fl_f): Likewise.
3823         (RUN_TEST_if_f): Likewise.
3824         (RUN_TEST_LOOP_if_f): Likewise.
3825         (RUN_TEST_fff_f): Likewise.
3826         (RUN_TEST_LOOP_fff_f): Likewise.
3827         (RUN_TEST_fiu_M): Likewise.
3828         (RUN_TEST_LOOP_fiu_M): Likewise.
3829         (RUN_TEST_fiu_U): Likewise.
3830         (RUN_TEST_LOOP_fiu_U): Likewise.
3831         (RUN_TEST_c_f): Likewise.
3832         (RUN_TEST_LOOP_c_f): Likewise.
3833         (RUN_TEST_f_f1): Likewise.
3834         (RUN_TEST_LOOP_f_f1): Likewise.
3835         (RUN_TEST_fF_f1): Likewise.
3836         (RUN_TEST_LOOP_fF_f1): Likewise.
3837         (RUN_TEST_fI_f1): Likewise.
3838         (RUN_TEST_LOOP_fI_f1): Likewise.
3839         (RUN_TEST_ffI_f1_mod8): Likewise.
3840         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3841         (RUN_TEST_Ff_b1): Likewise.
3842         (RUN_TEST_LOOP_Ff_b1): Likewise.
3843         (RUN_TEST_Ffp_b1): Likewise.
3844         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3845         (RUN_TEST_c_c): Likewise.
3846         (RUN_TEST_LOOP_c_c): Likewise.
3847         (RUN_TEST_cc_c): Likewise.
3848         (RUN_TEST_LOOP_cc_c): Likewise.
3849         (RUN_TEST_f_i): Likewise.
3850         (RUN_TEST_LOOP_f_i): Likewise.
3851         (RUN_TEST_f_i_tg): Likewise.
3852         (RUN_TEST_LOOP_f_i_tg): Likewise.
3853         (RUN_TEST_ff_b): Likewise.
3854         (RUN_TEST_LOOP_ff_b): Likewise.
3855         (RUN_TEST_ff_i_tg): Likewise.
3856         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3857         (RUN_TEST_f_b): Likewise.
3858         (RUN_TEST_LOOP_f_b): Likewise.
3859         (RUN_TEST_f_b_tg): Likewise.
3860         (RUN_TEST_LOOP_f_b_tg): Likewise.
3861         (RUN_TEST_f_l): Likewise.
3862         (RUN_TEST_LOOP_f_l): Likewise.
3863         (RUN_TEST_f_L): Likewise.
3864         (RUN_TEST_LOOP_f_L): Likewise.
3865         (RUN_TEST_fFF_11): Likewise.
3866         (RUN_TEST_LOOP_fFF_11): Likewise.
3867         (VEC_SUFF): Likewise.
3868         (STR_CONCAT): Likewise.
3869         (STR_CON3): Likewise.
3870         (HAVE_VECTOR): Likewise.
3871         (START): Likewise.
3872         (END): Likewise.
3873         (END_COMPLEX): Likewise.
3874         (ALL_RM_TEST): Likewise.
3875         (matherr): Likewise.
3876         (initialize): Likewise.
3877         (options): Likewise.
3878         (doc): Likewise.
3879         (parse_opt): Likewise.
3880         (argp): Likewise.
3881         (check_ulp): Likewise.
3882         (main): Likewise.
3883         (do_test): New function.  Call tests of individual functions
3884         previously called from main.
3886         * math/libm-test.inc: Remove comment listing functions tested and
3887         not tested.
3889 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3891         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
3892         (allocate_stack): Remove COLORING_INCREMENT usage.
3893         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
3894         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
3896 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3898         * manual/libm-err-tab.pl (@all_functions): Change to
3899         %all_functions.  Initialize as empty.
3900         (parse_ulps): Add to %all_functions based on functions found in
3901         ulps files.  Ignore results for non-default rounding modes and
3902         vector functions.
3903         (print_platforms): Use %all_platforms.
3904         * manual/math.texi (Errors in Math Functions): Document omissions
3905         from the table.
3907         * math/Makefile (before-compile): Remove.
3909 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
3911         [BZ #21075]
3912         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
3913         unused assignment.
3914         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3916 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3918         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
3919         Add __glibc_unlikely hint.
3921 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3923         [BZ #16640]
3924         * sysdeps/i386/i686/strtok.S: Remove file.
3925         * sysdeps/i386/i686/strtok_r.S: Likewise.
3926         * sysdeps/i386/strtok.S: Likewise.
3927         * sysdeps/i386/strtok_r.S: Likewise.
3928         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
3929         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
3930         * sysdeps/x86_64/strtok.S: Likewise.
3931         * sysdeps/x86_64/strtok_r.S: Likewise.
3933         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
3934         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3935         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3936         (__ASSUME_FADVISE64_AS_64_64): Define.
3937         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
3938         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
3939         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
3940         __ALIGNMENT_ARG usage.
3941         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
3942         __NR_fadvise64_64 if it is not defined.
3944 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3946         * version.h (RELEASE): Set to "development"
3947         (VERSION): Set to 2.25.90.
3948         * NEWS: Add 2.26 section.
3950         * version.h (RELEASE): Set to "stable"
3951         (VERSION): Set to 2.25.
3952         * include/features.h (__GLIBC_MINOR__): Set to 25.
3954         * manual/contrib.texi: Add more contributors from this release
3955         and past releases.
3957         * NEWS (2.25): Add list of bugs fixed.
3959         * NEWS: Add missing news items.
3961 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3963         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
3964         parent if child exited in that manner.  Print WEXITSTATUS
3965         instead of the raw status.
3966         (do_test_prep): Rename to do_test.
3967         (do_test): Return the result of run_executable_sgid.
3968         (TEST_FUNCTION_ARGV): Adjust.
3970 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
3971             Florian Weimer  <fweimer@redhat.com>
3972             Carlos O'Donell  <carlos@redhat.com>
3974         [BZ #20915]
3975         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
3976         Do not initialize DTV.
3977         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3979 2017-02-03  David S. Miller  <davem@davemloft.net>
3981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
3982         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3983         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
3984         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3985         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
3986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
3988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3989         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3990         (libm-sysdep_routines): Update.
3991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
3992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
3993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
3995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3996         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
3997         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
3998         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
3999         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4001         Likewise.
4002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4004         Likewise.
4005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4007         Likewise.
4008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4010         Likewise.
4011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4013         (libm-sysdep_routines): Update.
4015 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4017         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4018         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4019         against unrelocated shared library.
4020         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4022 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4024         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4025         * elf/tst-env-setuid-tunables.c
4026         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4027         GLIBC_TUNABLES is removed in a setgid process.
4029         [BZ #21073]
4030         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4031         * elf/dl-tunables.c (tunables_strdup): Remove.
4032         (get_next_env): Also return the previous envp.
4033         (parse_tunables): Erase tunables of category
4034         TUNABLES_SECLEVEL_SXID_ERASE.
4035         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4036         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4037         (__tunables_init)[TUNABLES_FRONTEND ==
4038         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4039         after parsing.
4040         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4041         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4042         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4043         to security_level.
4044         * elf/dl-tunables.list: Add security_level annotations for all
4045         tunables.
4046         * scripts/gen-tunables.awk: Recognize and generate enum values
4047         for security_level.
4048         * elf/tst-env-setuid.c: New test case.
4049         * elf/tst-env-setuid-tunables: new test case.
4050         * elf/Makefile (tests-static): Add them.
4052 2017-02-01  Richard Henderson  <rth@twiddle.net>
4054         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4055         adjusting the byte count.
4057 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4059         * conform/Makefile (linknamespace-libs): Define.
4061         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4062         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4063         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4064         operands.
4066 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4068         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4070 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4072         [BZ #21081]
4073         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4074         (L(stosb)): Add VZEROUPPER before ret.
4076 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4077             Alexey Makhalov <amakhalov@vmware.com>
4078             Florian Weimer <fweimer@redhat.com>
4080         [BZ #20116]
4081         * nptl/pthread_create.c: Document concurrency notes.
4082         Enhance thread creation notes.
4083         (create_thread): Use bool *stopped_start.
4084         (START_THREAD_DEFN): Comment ownership of PD.
4085         (__pthread_create_2_1): Add local bool stopped_start and use
4086         that instead of pd->stopped_start where appropriate.
4087         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4088         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4089         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4090         * nptl/tst-create-detached.c: New file.
4091         * nptl/Makefile (tests): Add tst-create-detached.
4092         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4093         Reference the enhanced thread creation notes.
4094         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4095         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4096         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4097         (__pthread_current_priority): Likewise.
4098         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4099         xpthread_attr_init, xpthread_attr_setdetachstate, and
4100         xpthread_attr_setstacksize.
4101         * support/xpthread_attr_destroy.c: New file.
4102         * support/xpthread_attr_init.c: New file.
4103         * support/xpthread_attr_setdetachstate.c: New file.
4104         * support/xpthread_attr_setstacksize.c: New file.
4105         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4106         xpthread_attr_init, xpthread_attr_setdetachstate, and
4107         xpthread_attr_setstacksize.
4109 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4111         * nptl/Makefile (tests): Add tst-robust-fork.
4112         * nptl/tst-robust-fork.c: New file.
4113         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4114         xpthread_mutex_consistent, xpthread_mutex_destroy,
4115         xpthread_mutex_init, xpthread_mutexattr_destroy,
4116         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4117         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4118         xpthread_mutexattr_settype.
4119         * support/xmmap.c: New file.
4120         * support/xmunmap.c: Likewise.
4121         * support/xpthread_mutex_consistent.c: Likewise.
4122         * support/xpthread_mutex_destroy.c: Likewise.
4123         * support/xpthread_mutex_init.c: Likewise.
4124         * support/xpthread_mutexattr_destroy.c: Likewise.
4125         * support/xpthread_mutexattr_init.c: Likewise.
4126         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4127         * support/xpthread_mutexattr_setpshared.c: Likewise.
4128         * support/xpthread_mutexattr_setrobust.c: Likewise.
4129         * support/xpthread_mutexattr_settype.c: Likewise.
4130         * support/xthread.h (xpthread_mutexattr_destroy)
4131         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4132         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4133         (xpthread_mutexattr_settype, xpthread_mutex_init)
4134         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4135         * support/xunistd.h (xmmap, xmunmap): Likewise.
4137 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4139         * string/Makefile (xtests): Add comment.
4140         (LOCALES): Add en_GB.UTF-8.
4141         (tst-strcoll-overflow.out): Depend on generated locales.
4142         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4143         (SIZE, TIMEOUT): Update comments.
4144         (do_test): Define as static.  Fail test if setlocale fails.
4145         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4146         messages.
4147         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4148         TIMEOUT at 300 seconds should be enough to run this test
4149         successfully.
4151 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4153         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4154         /* FALLTHRU */ comments.
4156 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4158         [BZ #21053]
4159         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4160         constants instead of the old R* ones.
4161         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4162         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4163         (NGREG): ... to this, to fit in with other architectures.
4164         (gpregset_t): Use new NGREG macro.
4165         [__USE_GNU]: Remove condition; all architectures other than tile
4166         are unconditional.
4167         (R*): Rename to REG_R*.
4169 2017-01-20  DJ Delorie  <dj@redhat.com>
4171         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4172         (tunable_set_val_if_valid_range_signed) ... this, and ...
4173         (tunable_set_val_if_valid_range_unsigned) ... this.
4174         (tunable_initialize): Call the correct one of the above based on type.
4176 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4178         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4179         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4180         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4181         * sysdeps/microblaze/libm-test-ulps: Likewise.
4182         * sysdeps/sh/libm-test-ulps: Likewise.
4184         * math/README.libm-test: Update list of characters for input and
4185         output types.
4187 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4189         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4190         (__lll_unlock_elision): Fix adapt_count decrement.
4192 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4194         * README.pretty-printers (Known issues): Warn about printers not
4195         always covering everything.
4196         * nptl/nptl-printers.py (MutexPrinter): Change output.
4197         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4199 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4201         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4202         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4203         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4204         (__lll_lock_elision): Do not test futex before starting a
4205         transaction.  Use __glibc_likely instead of __builtin_expect.
4206         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4207         (__lll_trylock_elision): Do not test futex before starting a
4208         transaction.  Use __glibc_likely instead of __builtin_expect.
4210 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4212         * po/Makefile (update-translations): New target.
4214 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4216         [BZ #21061]
4217         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4219 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4221         * elf/dl-tunables (get_next_env): Always advance envp.
4222         * stdlib/tst-empty-env.c: New test case.
4223         * stdlib/Makefile (tests): Use it.
4225 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4227         [BZ #21047]
4228         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4229         name for instruction.
4230         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4232 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4234         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4235         for make install.
4237 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4239         * po/bg.po: Merge from Translation Project.
4240         * po/fr.po: Likewise.
4241         * po/ko.po: Likewise.
4242         * po/nl.po: Likewise.
4243         * po/sv.po: Likewise.
4245 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4247         * manual/install.texi (Tools for Compilation): Update GCC version
4248         known to work to build glibc.
4249         * INSTALL: Regenerated.
4251 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4253         [BZ #21006]
4254         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4256 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4258         [BZ #21045]
4259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4260         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4261         to __sigprocmask.
4263 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4265         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4266         wrap-around.
4267         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4269         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4271 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4273         * NEWS: Fix typo.
4275 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4277         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4278         barriers and comments.
4279         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4280         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4281         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4283 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4285         [BZ #19402]
4286         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4287         mutexes.
4289 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4291         [BZ #20985]
4292         * nptl/Makefile: Adapt.
4293         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4294         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4295         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4296         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4297         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4298         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4299         lll_robust* functions and adapt.
4300         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4301         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4302         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4303         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4304         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4305         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4306         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4307         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4308         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4309         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4310         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4311         * nptl/lowlevelrobustlock.c: Remove file.
4312         * nptl/lowlevelrobustlock.sym: Likewise.
4313         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4314         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4316 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4318         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4320 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4322         * po/cs.po: Merge translations from the Translation Project.
4323         * po/de.po: Likewise.
4324         * po/pl.po: Likewise.
4325         * po/ru.po: Likewise.
4326         * po/tr.po: Likewise.
4327         * po/uk.po: Likewise.
4328         * po/vi.po: Likewise.
4329         * po/zh_CN.po: Likewise.
4331 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4333         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4335         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4336         object.
4338 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4340         [BZ #16458]
4341         * bits/uintn-identity.h: New file.
4342         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4343         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4344         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4345         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4346         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4347         * string/endian.h: Include <bits/uintn-identity.h>.
4348         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4349         __uint16_identity.
4350         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4351         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4352         __uint32_identity.
4353         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4354         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4355         __uint64_identity.
4356         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4357         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4358         __uint16_identity.
4359         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4360         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4361         __uint32_identity.
4362         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4363         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4364         __uint64_identity.
4365         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4366         * string/Makefile (headers): Add bits/uintn-identity.h.
4367         (tests): Add test-endian-types.
4368         * string/test-endian-types.c: New file.
4369         * inet/Makefile (tests): Add test-hnto-types.
4370         * inet/test-hnto-types.c: New file.
4372 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4374         * po/be.po: Update from Translation Project.
4375         * po/bg.po: Likewise.
4376         * po/ca.po: Likewise.
4377         * po/cs.po: Likewise.
4378         * po/da.po: Likewise.
4379         * po/de.po: Likewise.
4380         * po/el.po: Likewise.
4381         * po/eo.po: Likewise.
4382         * po/es.po: Likewise.
4383         * po/fi.po: Likewise.
4384         * po/fr.po: Likewise.
4385         * po/gl.po: Likewise.
4386         * po/hr.po: Likewise.
4387         * po/hu.po: Likewise.
4388         * po/ia.po: Likewise.
4389         * po/id.po: Likewise.
4390         * po/it.po: Likewise.
4391         * po/ja.po: Likewise.
4392         * po/ko.po: Likewise.
4393         * po/lt.po: Likewise.
4394         * po/nb.po: Likewise.
4395         * po/nl.po: Likewise.
4396         * po/pl.po: Likewise.
4397         * po/pt_BR.po: Likewise.
4398         * po/ru.po: Likewise.
4399         * po/rw.po: Likewise.
4400         * po/sk.po: Likewise.
4401         * po/sl.po: Likewise.
4402         * po/sv.po: Likewise.
4403         * po/tr.po: Likewise.
4404         * po/uk.po: Likewise.
4405         * po/vi.po: Likewise.
4406         * po/zh_CN.po: Likewise.
4407         * po/zh_TW.po: Likewise.
4409 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4411         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4412         -Wformat-truncation instead of -Wformat-length.
4413         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4414         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4415         GCC 7.
4416         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4417         (do_test): Ignore -Wformat-truncation for GCC 7.
4419         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4420         buffer used to print long int value.
4422         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4423         one byte.  Print it with %ld, cast to long int.
4425 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4427         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4428         (re.fullmatch, subprocess.run): Likewise.
4430 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4432         * po/libc.pot: Regenerate.
4434 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4436         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4437         (min_strlen): Likewise.
4438         (disable_tunable): Likewise.
4439         (maybe_disable_malloc_check): Rename to
4440         maybe_enable_malloc_check.
4441         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4442         if /etc/suid-debug file exists.
4443         (__tunables_init): Update caller.
4444         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4445         secure.
4447 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4449         * nptl/DESIGN-rwlock.txt: Remove.
4450         * nptl/lowlevelrwlock.sym: Remove.
4451         * nptl/Makefile: Add new tests.
4452         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4453         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4454         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4455         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4456         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4457         PTHREAD_RWLOCK_FUTEX_USED): New.
4458         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4459         implementation.
4460         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4461         (__pthread_rwlock_rdlock): Adapt.
4462         * nptl/pthread_rwlock_timedrdlock.c
4463         (pthread_rwlock_timedrdlock): Adapt.
4464         * nptl/pthread_rwlock_timedwrlock.c
4465         (pthread_rwlock_timedwrlock): Adapt.
4466         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4467         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4468         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4469         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4470         (__pthread_rwlock_wrlock): Adapt.
4471         * nptl/tst-rwlock10.c: Adapt.
4472         * nptl/tst-rwlock11.c: Adapt.
4473         * nptl/tst-rwlock17.c: New file.
4474         * nptl/tst-rwlock18.c: New file.
4475         * nptl/tst-rwlock19.c: New file.
4476         * nptl/tst-rwlock2b.c: New file.
4477         * nptl/tst-rwlock8.c: Adapt.
4478         * nptl/tst-rwlock9.c: Adapt.
4479         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4480         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4481         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4482         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4483         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4484         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4485         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4486         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4487         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4488         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4489         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4490         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4491         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4492         (pthread_rwlock_t): Adapt.
4493         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4494         (pthread_rwlock_t): Adapt.
4495         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4496         * nptl/nptl-printers.py (): Adapt.
4497         * nptl/nptl_lock_constants.pysym: Adapt.
4498         * nptl/test-rwlock-printers.py: Adapt.
4499         * nptl/test-rwlockattr-printers.c: Adapt.
4500         * nptl/test-rwlockattr-printers.py: Adapt.
4502 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4504         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4505         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4506         (fma_test_data): Likewise.
4507         (hypot_test_data): Likewise.
4508         (log1p_test_data): Likewise.
4509         (modf_test_data): Likewise.
4510         (pow_test_data): Likewise.
4511         (remainder_test_data): Likewise.
4512         (remquo_test_data): Likewise.
4513         (scalb_test_data): Likewise.
4514         (scalbn_test_data): Likewise.
4515         (scalbln_test_data): Likewise.
4516         * math/gen-libm-test.pl (parse_args): Transform
4517         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4518         on the rounding mode.
4520 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4522         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4523         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4524         and those that can underflow to zero.
4525         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4526         add others.
4527         * math/auto-libm-test-out: Regenerated.
4529         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4530         supported.
4531         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4532         modes support if not supported.
4534         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4535         Add libc.so PLT entry.
4536         (__tls_get_addr): Make ld.so PLT entry optional.
4538 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4540         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4541         * string/bits/string3.h: ... here.
4543 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4545         [BZ #21028]
4546         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4547         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4548         if EXCEPTION_TESTS returns false.
4550 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4552         [BZ #20558]
4553         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4554         strings_fortified.h.
4555         [__USE_MISC] (bzero): Likewise.
4556         [__USE_MISC] (explicit_bzero): Likewise.
4557         * string/strings.h: Include strings_fortified.h.
4558         * string/Makefile (headers): Add strings_fortified.h.
4559         * string/bits/strings_fortified.h: New file.
4560         * include/bits/strings_fortified.h: Likewise.
4562 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4564         * elf/tst-tls13.c (TIMEOUT): Remove.
4565         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4566         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4567         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4568         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4569         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4571         [BZ #21026]
4572         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4573         (readahead): New syscall entry.
4575 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4577         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4578         around tests of strncat with large sizes.
4580         * malloc/tst-malloc.c: Include <libc-internal.h>.
4581         (do_test): Disable -Walloc-size-larger-than= around tests of
4582         malloc with negative sizes.
4583         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4584         (do_test): Disable -Walloc-size-larger-than= around tests of
4585         malloc and realloc with negative sizes.
4586         * malloc/tst-realloc.c: Include <libc-internal.h>.
4587         (do_test): Disable -Walloc-size-larger-than= around tests of
4588         realloc with negative sizes.
4590         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4591         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4592         allowed to 16 ulps.
4593         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4594         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4595         * math/auto-libm-test-out: Regenerated.
4597 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4599         * math/Makefile (libm-calls): Move wrappers...
4600         (libm-compat-call-auto): Here.
4601         (libm-routines): Add items in libm-compat-calls-auto.
4602         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4603         the filenames of the wrappers that have been renamed.
4604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4607         * math/w_acos.c: Add _compat suffix to filename.
4608         * math/w_acosf.c: Likewise.
4609         * math/w_acosh.c: Likewise.
4610         * math/w_acoshf.c: Likewise.
4611         * math/w_acoshl.c: Likewise.
4612         * math/w_acosl.c: Likewise.
4613         * math/w_asin.c: Likewise.
4614         * math/w_asinf.c: Likewise.
4615         * math/w_asinl.c: Likewise.
4616         * math/w_atan2.c: Likewise.
4617         * math/w_atan2f.c: Likewise.
4618         * math/w_atan2l.c: Likewise.
4619         * math/w_atanh.c: Likewise.
4620         * math/w_atanhf.c: Likewise.
4621         * math/w_atanhl.c: Likewise.
4622         * math/w_cosh.c: Likewise.
4623         * math/w_coshf.c: Likewise.
4624         * math/w_coshl.c: Likewise.
4625         * math/w_exp10.c: Likewise.
4626         * math/w_exp10f.c: Likewise.
4627         * math/w_exp10l.c: Likewise.
4628         * math/w_exp2.c: Likewise.
4629         * math/w_exp2f.c: Likewise.
4630         * math/w_exp2l.c: Likewise.
4631         * math/w_fmod.c: Likewise.
4632         * math/w_fmodf.c: Likewise.
4633         * math/w_fmodl.c: Likewise.
4634         * math/w_hypot.c: Likewise.
4635         * math/w_hypotf.c: Likewise.
4636         * math/w_hypotl.c: Likewise.
4637         * math/w_j0.c: Likewise.
4638         * math/w_j0f.c: Likewise.
4639         * math/w_j0l.c: Likewise.
4640         * math/w_j1.c: Likewise.
4641         * math/w_j1f.c: Likewise.
4642         * math/w_j1l.c: Likewise.
4643         * math/w_jn.c: Likewise.
4644         * math/w_jnf.c: Likewise.
4645         * math/w_jnl.c: Likewise.
4646         * math/w_log10.c: Likewise.
4647         * math/w_log10f.c: Likewise.
4648         * math/w_log10l.c: Likewise.
4649         * math/w_log2.c: Likewise.
4650         * math/w_log2f.c: Likewise.
4651         * math/w_log2l.c: Likewise.
4652         * math/w_log.c: Likewise.
4653         * math/w_logf.c: Likewise.
4654         * math/w_logl.c: Likewise.
4655         * math/w_pow.c: Likewise.
4656         * math/w_powf.c: Likewise.
4657         * math/w_powl.c: Likewise.
4658         * math/w_remainder.c: Likewise.
4659         * math/w_remainderf.c: Likewise.
4660         * math/w_remainderl.c: Likewise.
4661         * math/w_scalb.c: Likewise.
4662         * math/w_scalbf.c: Likewise.
4663         * math/w_scalbl.c: Likewise.
4664         * math/w_sinh.c: Likewise.
4665         * math/w_sinhf.c: Likewise.
4666         * math/w_sinhl.c: Likewise.
4667         * math/w_sqrt.c: Likewise.
4668         * math/w_sqrtf.c: Likewise.
4669         * math/w_sqrtl.c: Likewise.
4670         * math/w_tgamma.c: Likewise.
4671         * math/w_tgammaf.c: Likewise.
4672         * math/w_tgammal.c: Likewise.
4674         * math/w_acos_compat.c: New file copied from above and
4675         adjusted for new #includes path
4676         * math/w_acosf_compat.c: Likewise.
4677         * math/w_acosh_compat.c: Likewise.
4678         * math/w_acoshf_compat.c: Likewise.
4679         * math/w_acoshl_compat.c: Likewise.
4680         * math/w_acosl_compat.c: Likewise.
4681         * math/w_asin_compat.c: Likewise.
4682         * math/w_asinf_compat.c: Likewise.
4683         * math/w_asinl_compat.c: Likewise.
4684         * math/w_atan2_compat.c: Likewise.
4685         * math/w_atan2f_compat.c: Likewise.
4686         * math/w_atan2l_compat.c: Likewise.
4687         * math/w_atanh_compat.c: Likewise.
4688         * math/w_atanhf_compat.c: Likewise.
4689         * math/w_atanhl_compat.c: Likewise.
4690         * math/w_cosh_compat.c: Likewise.
4691         * math/w_coshf_compat.c: Likewise.
4692         * math/w_coshl_compat.c: Likewise.
4693         * math/w_exp10_compat.c: Likewise.
4694         * math/w_exp10f_compat.c: Likewise.
4695         * math/w_exp10l_compat.c: Likewise.
4696         * math/w_exp2_compat.c: Likewise.
4697         * math/w_exp2f_compat.c: Likewise.
4698         * math/w_exp2l_compat.c: Likewise.
4699         * math/w_fmod_compat.c: Likewise.
4700         * math/w_fmodf_compat.c: Likewise.
4701         * math/w_fmodl_compat.c: Likewise.
4702         * math/w_hypot_compat.c: Likewise.
4703         * math/w_hypotf_compat.c: Likewise.
4704         * math/w_hypotl_compat.c: Likewise.
4705         * math/w_j0_compat.c: Likewise.
4706         * math/w_j0f_compat.c: Likewise.
4707         * math/w_j0l_compat.c: Likewise.
4708         * math/w_j1_compat.c: Likewise.
4709         * math/w_j1f_compat.c: Likewise.
4710         * math/w_j1l_compat.c: Likewise.
4711         * math/w_jn_compat.c: Likewise.
4712         * math/w_jnf_compat.c: Likewise.
4713         * math/w_jnl_compat.c: Likewise.
4714         * math/w_log10_compat.c: Likewise.
4715         * math/w_log10f_compat.c: Likewise.
4716         * math/w_log10l_compat.c: Likewise.
4717         * math/w_log2_compat.c: Likewise.
4718         * math/w_log2f_compat.c: Likewise.
4719         * math/w_log2l_compat.c: Likewise.
4720         * math/w_log_compat.c: Likewise.
4721         * math/w_logf_compat.c: Likewise.
4722         * math/w_logl_compat.c: Likewise.
4723         * math/w_pow_compat.c: Likewise.
4724         * math/w_powf_compat.c: Likewise.
4725         * math/w_powl_compat.c: Likewise.
4726         * math/w_remainder_compat.c: Likewise.
4727         * math/w_remainderf_compat.c: Likewise.
4728         * math/w_remainderl_compat.c: Likewise.
4729         * math/w_scalb_compat.c: Likewise.
4730         * math/w_scalbf_compat.c: Likewise.
4731         * math/w_scalbl_compat.c: Likewise.
4732         * math/w_sinh_compat.c: Likewise.
4733         * math/w_sinhf_compat.c: Likewise.
4734         * math/w_sinhl_compat.c: Likewise.
4735         * math/w_sqrt_compat.c: Likewise.
4736         * math/w_sqrtf_compat.c: Likewise.
4737         * math/w_sqrtl_compat.c: Likewise.
4738         * math/w_tgamma_compat.c: Likewise.
4739         * math/w_tgammaf_compat.c: Likewise.
4740         * math/w_tgammal_compat.c: Likewise.
4742         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4743         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4744         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4745         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4746         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4747         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4748         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4749         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4750         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4751         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4752         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4753         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4754         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4755         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4756         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4757         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4758         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4759         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4760         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4761         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4762         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4763         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4764         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4765         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4766         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4767         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4768         * sysdeps/ia64/fpu/w_log.c: Likewise.
4769         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4770         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4771         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4772         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4773         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4774         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4775         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4776         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4777         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4778         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4779         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4780         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4781         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4782         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4783         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4784         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4785         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4786         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4787         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4788         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4789         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4790         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4791         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4792         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4793         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4794         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4795         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4796         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4797         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4798         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4799         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4800         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4801         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4802         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4803         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4804         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4805         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4806         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4807         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4808         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4809         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4810         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4811         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4812         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4813         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4814         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4815         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4816         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4817         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4818         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4819         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4820         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4821         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4822         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4823         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4824         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4825         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4826         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4827         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4828         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4829         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4830         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4831         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4832         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4833         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4834         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4835         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4836         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4837         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4838         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4839         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4840         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4841         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4843         Likewise.
4844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4845         Likewise.
4846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
4848         Likewise.
4849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
4850         Likewise.
4851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
4852         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4853         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4854         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4855         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4856         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4857         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
4859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
4861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4862         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4863         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4864         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4865         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4867         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
4868         and adjusted for new #includes path
4869         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
4870         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
4871         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
4872         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
4873         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
4874         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
4875         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
4876         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
4877         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
4878         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
4879         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
4880         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
4881         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
4882         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
4883         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
4884         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
4885         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
4886         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
4887         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
4888         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
4889         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
4890         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
4891         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
4892         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
4893         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
4894         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
4895         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
4896         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
4897         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
4898         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
4899         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
4900         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
4901         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
4902         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
4903         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
4904         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
4905         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
4906         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
4907         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
4908         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
4909         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
4910         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
4911         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
4912         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
4913         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
4914         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
4915         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
4916         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
4917         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
4918         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
4919         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
4920         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
4921         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
4922         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
4923         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
4924         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
4925         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
4926         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
4927         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
4928         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4929         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4930         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
4931         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4932         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
4933         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4934         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
4935         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4936         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
4937         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4938         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
4939         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
4940         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
4941         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4942         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
4943         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4944         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
4945         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4946         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
4947         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4948         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
4949         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4950         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
4951         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4952         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
4953         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4954         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
4955         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4956         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
4957         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4958         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
4959         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4960         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
4961         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
4962         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
4963         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4964         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
4965         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4966         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
4967         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4969         Likewise.
4970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4971         Likewise.
4972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4973         Likewise.
4974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4975         Likewise.
4976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4977         Likewise.
4978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4979         Likewise.
4980         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4981         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4982         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4983         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4984         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
4985         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4987         Likewise.
4988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
4989         Likewise.
4990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4991         Likewise.
4992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
4993         Likewise.
4994         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
4995         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4996         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4997         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4999 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5001         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5002         __jmp_buf_internal_tag.
5004         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5005         preserve NaN payload if [__mips_nan2008].
5006         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5008         [BZ #21022]
5009         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5011 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5013         * sysdeps/i386/fpu/libm-test-ulps: Update.
5015 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5017         * sysdeps/ia64/strcat.c: Remove file.
5018         * sysdeps/powerpc/strcat.c: Likewise.
5019         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5020         C implementation.
5021         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5022         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5024 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5025             Steven Munroe  <sjmunroe@us.ibm.com>
5026             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5028         [BZ #20822]
5029         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5030         (__lll_lock_elision): Access adapt_count via C11 atomics.
5031         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5032         (__lll_trylock_elision): Likewise.
5033         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5034         (__lll_unlock_elision):  Update adapt_count variable inside the
5035         critical section using C11 atomics.
5037 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5039         * math/test-fenvinline.c (do_test): Disable tests of raised
5040         exceptions if !EXCEPTION_TESTS (FLOAT).
5042 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5044         [BZ #19390]
5045         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5046         maximum string size.
5047         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5048         in pointer addition.
5049         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5050         Likewise.
5052 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5054         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5055         passed to tst-ldconfig-X.sh.
5057 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5059         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5061 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5063         [BZ #21019]
5064         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5065         New syscall entry.
5066         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5067         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5068         lseek.
5070         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5071         power4 glibc for powerpc-linux-gnu.
5073 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5075         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5076         semctl.
5078 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5080         * math/test-nearbyint-except.c: Include <stdbool.h>.
5081         (any_supported): New variable.
5082         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5083         set any_supported.
5084         (do_test): Return 77 if no floating-point type supported
5085         exceptions.
5087         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5088         condition on [__mips_hard_float].
5090 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5092         [BZ #21014]
5093         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5094         in pointer addition.
5095         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5097 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5099         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5100         new condvar.
5102 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5104         * scripts/build-many-glibcs.py (Context.checkout): Default
5105         binutils version to 2.28 branch.
5107 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5109         * support/support_format_netent.c (support_format_netent): Work
5110         around alpha struct netent definition difference.
5112 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5114         * support/xwrite.c (xwrite): Use %td for pointer difference.
5116 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5118         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5119         have-tunables only.
5120         (tests-static): Add tst-malloc-usable-static-tunables for
5121         have-tunables only.
5123 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5125         * scripts/config.guess: Update to version 2017-01-01.
5126         * scripts/config.sub: Update to version 2017-01-01.
5128         * NEWS: Update copyright dates.
5129         * catgets/gencat.c (print_version): Likewise.
5130         * csu/version.c (banner): Likewise.
5131         * debug/catchsegv.sh: Likewise.
5132         * debug/pcprofiledump.c (print_version): Likewise.
5133         * debug/xtrace.sh (do_version): Likewise.
5134         * elf/ldconfig.c (print_version): Likewise.
5135         * elf/ldd.bash.in: Likewise.
5136         * elf/pldd.c (print_version): Likewise.
5137         * elf/sotruss.sh: Likewise.
5138         * elf/sprof.c (print_version): Likewise.
5139         * iconv/iconv_prog.c (print_version): Likewise.
5140         * iconv/iconvconfig.c (print_version): Likewise.
5141         * locale/programs/locale.c (print_version): Likewise.
5142         * locale/programs/localedef.c (print_version): Likewise.
5143         * login/programs/pt_chown.c (print_version): Likewise.
5144         * malloc/memusage.sh (do_version): Likewise.
5145         * malloc/memusagestat.c (print_version): Likewise.
5146         * malloc/mtrace.pl: Likewise.
5147         * manual/libc.texinfo: Likewise.
5148         * nptl/version.c (banner): Likewise.
5149         * nscd/nscd.c (print_version): Likewise.
5150         * nss/getent.c (print_version): Likewise.
5151         * nss/makedb.c (print_version): Likewise.
5152         * posix/getconf.c (main): Likewise.
5153         * scripts/test-installation.pl: Likewise.
5154         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5156         * All files with FSF copyright notices: Update copyright dates
5157         using scripts/update-copyrights.
5158         * intl/plural.c: Regenerated.
5159         * locale/programs/charmap-kw.h: Likewise.
5160         * locale/programs/locfile-kw.h: Likewise.
5162 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5164         [BZ #20593]
5165         Update DNS RR type definitions.
5166         * scripts/gen-rrtypes.py: New file.
5167         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5168         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5169         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5170         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5171         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5172         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5173         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5174         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5175         ns_t_ta, ns_t_dlv.
5176         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5177         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5178         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5179         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5180         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5181         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5182         Define.
5183         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5184         entry for ns_t_zxfr.
5186 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5188         [BZ #18784]
5189         CVE-2015-5180
5190         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5191         T_UNSPEC.  Adjust value.
5192         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5193         * resolv/res_query.c (__libc_res_nquery): Likewise.
5194         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5195         QTYPEs.
5196         * resolv/tst-resolv-qtypes.c: New file.
5197         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5198         (tst-resolv-qtypes): Link against libresolv and libpthread.
5200 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5202         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5204 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5206         * manual/tunables.texi: New chapter.
5207         * manual/Makefile (chapters): Add it.
5208         * manual/probes.texi (@node): Point to the Tunables chapter.
5210         * Makeconfig (have-tunables): Check for non-negative instead
5211         of positive.
5212         * configure.ac: Add 'valstring' as a valid value for
5213         --enable-tunables.
5214         * configure: Regenerate.
5215         * elf/Makefile (have-tunables): Check for non-negative instead
5216         of positive.
5217         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5218         dl-tunables.c.
5219         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5220         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5221         (tunables_strdup): Likewise.
5222         (disable_tunables): Likewise.
5223         (parse_tunables): Likewise.
5224         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5225         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5226         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5227         (TUNABLES_FRONTEND_yes): New macro, define as
5228         TUNABLES_FRONTEND_valstring by default.
5229         * manual/install.texi: Document new acceptable values for
5230         --enable-tunables.
5231         * INSTALL: Regenerate.
5233         * config.make.in (have-loop-to-function): Define.
5234         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5235         -fno-tree-loop-distribute-patterns.
5236         * elf/dl-tunables.c: Include libc-internals.h.
5237         (GLIBC_TUNABLES): New macro.
5238         (tunables_strdup): New function.
5239         (parse_tunables): New function.
5240         (min_strlen): New function.
5241         (__tunables_init): Use the new functions and macro.
5242         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5243         * malloc/tst-malloc-usable-tunables.c: New test case.
5244         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5245         * malloc/Makefile (tests, tests-static): Add tests.
5247         * manual/install.texi: Add --enable-tunables option.
5248         * INSTALL: Regenerate.
5249         * README.tunables: New file.
5250         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5251         (before-compile): Generate dl-tunable-list.h early.
5252         * config.h.in: Add HAVE_TUNABLES.
5253         * config.make.in: Add have-tunables.
5254         * configure.ac: Add --enable-tunables option.
5255         * configure: Regenerate.
5256         * csu/init-first.c (__libc_init_first): Move
5257         __libc_init_secure earlier...
5258         * csu/init-first.c (LIBC_START_MAIN):... to here.
5259         Include dl-tunables.h, libc-internal.h.
5260         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5261         binaries.
5262         * elf/Makefile (dl-routines): Add dl-tunables.
5263         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5264         namespace.
5265         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5266         only when !HAVE_TUNABLES.
5267         * elf/rtld.c (process_envvars): Likewise.
5268         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5269         (_dl_sysdep_start): Call __tunables_init.
5270         * elf/dl-tunable-types.h: New file.
5271         * elf/dl-tunables.c: New file.
5272         * elf/dl-tunables.h: New file.
5273         * elf/dl-tunables.list: New file.
5274         * malloc/tst-malloc-usable-static.c: New test case.
5275         * malloc/Makefile (tests-static): Add it.
5276         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5277         Define TUNABLE_NAMESPACE.
5278         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5279         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5280         callback functions.
5281         (ptmalloc_init): Set tunable values.
5282         * scripts/gen-tunables.awk: New file.
5283         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5284         (_dl_sysdep_start): Call __tunables_init.
5286 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5288         * resolv/resolv.h (RES_BLAST): Deprecate.
5289         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5290         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5291         to RES_BLAST.
5293 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5295         [BZ #19582]
5296         Deprecate RES_USE_INET6.
5297         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5298         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5299         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5300         RES_USE_INET6.
5301         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5302         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5303         (_nss_nisplus_gethostbyaddr_r): Likewise.
5304         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5305         of res_use_inet6.
5306         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5307         instead of RES_USE_INET6.
5308         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5309         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5310         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5311         Likewise.
5312         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5313         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5314         Likewise.
5315         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5316         (_nss_dns_gethostbyname_r): Likewise.
5317         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5318         alternate RES_USE_INET6 handling.
5319         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5320         instead of RES_USE_INET6.
5321         * resolv/res_init.c (res_setoptions): Likewise.
5322         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5323         * resolv/resolv-internal.h: New file.
5324         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5325         make the deprecation warning non-fatal.
5326         * resolv/README (Using the resolver in multi-threaded code): Drop
5327         reference to RES_USE_INET6.
5328         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5329         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5331 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5333         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5334         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5335         tst-resolv-search.
5336         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5337         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5338         with libresolv and libpthread.
5339         * resolv/tst-bug18665.c: New file.
5340         * resolv/tst-bug18665-tcp: Likewise.
5341         * resolv/tst-res_use_inet6: Likewise.
5342         * resolv/tst-resolv-basic: Likewise.
5343         * resolv/tst-resolv-network: Likewise.
5344         * resolv/tst-resolv-search: Likewise.
5345         * support/Makefile (libsupport-routines): Add check_addrinfo,
5346         check_dns_packet, check_hostent, check_netent, resolv_test,
5347         support_format_address_family, support_format_addrinfo,
5348         support_format_dns_packet, support_format_herrno,
5349         support_format_hostent, support_format_netent, support_run_diff,
5350         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5351         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5352         xstrdup, xwrite.
5353         * support/check_addrinfo.c: New file.
5354         * support/check_dns_packet.c: Likewise.
5355         * support/check_hostent.c: Likewise.
5356         * support/check_netent.c: Likewise.
5357         * support/check_nss.h: Likewise.
5358         * support/format_nss.h: Likewise.
5359         * support/resolv_test.c: Likewise.
5360         * support/resolv_test.h: Likewise.
5361         * support/run_diff.h: Likewise.
5362         * support/support_format_address_family.c: Likewise.
5363         * support/support_format_addrinfo.c: Likewise.
5364         * support/support_format_dns_packet.c: Likewise.
5365         * support/support_format_herrno.c: Likewise.
5366         * support/support_format_hostent.c: Likewise.
5367         * support/support_format_netent.c: Likewise.
5368         * support/support_run_diff.c: Likewise.
5369         * support/xaccept.c: Likewise.
5370         * support/xbind.c: Likewise.
5371         * support/xconnect.c: Likewise.
5372         * support/xfclose.c: Likewise.
5373         * support/xfopen.c: Likewise.
5374         * support/xgetsockname.c: Likewise.
5375         * support/xlisten.c: Likewise.
5376         * support/xmemstream.c: Likewise.
5377         * support/xmemstream.h: Likewise.
5378         * support/xpoll.c: Likewise.
5379         * support/xpthread_once.c: Likewise.
5380         * support/xrecvfrom.c: Likewise.
5381         * support/xsendto.c: Likewise.
5382         * support/xsetsockopt.c: Likewise.
5383         * support/xstdio.h: Likewise.
5384         * support/xstrdup.c: Likewise.
5385         * support/support.h (xstrdup): Declare.
5386         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5387         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5388         * support/xthread.h (xpthread_once): Likwise.
5389         * support/xunistd.h (xwrite): Declare.
5391 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5393         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5394         (test_verbose): Declare.
5395         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5396         * support/support_test_main.c (default_options): Likewise.
5397         (usage, support_test_main): Handle 'v'.
5398         (test_verbose): Define.
5399         * support/tst-support_record_failure.c (do_test): Use
5400         test_verbose.
5401         * support/tst-support_record_failure-2.sh (different_status): Add
5402         --verbose test.
5404 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5406         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5407         test failures are recorded.
5408         * support/check.c (support_print_failure_impl): Call
5409         support_record_failure.
5410         (support_exit_failure_impl): Call support_record_failure if status
5411         indicates failure.
5412         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5413         * support/xasprintf.c (xasprintf): Likewise.
5414         * support/xfork.c (xfork): Likewise.
5415         * support/xpthread_check_return.c (xpthread_check_return):
5416         Likewise.
5417         * support/xsocket.c (xsocket): Likeweise.
5418         * support/xwaitpid.c (xwaitpid): Likewise.
5419         * support/support_record_failure.c (struct test_failures): Adjust
5420         to coding style.
5421         * support/support_test_verify_impl.c (support_test_verify_impl):
5422         Adjust error messages.
5423         * support/tst-support_record_failure-2.sh (different_status):
5424         Adjust error messages.
5426 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5428         * support/namespace.h: New file.
5429         * support/support_become_root.c: Likewise.
5430         * support/support_enter_network_namespace.c: Likewise.
5431         * support/tst-support-namespace.c: Likewise.
5432         * support/xsocket.c: Likewise.
5433         * support/xsocket.h: Likewise.
5434         * support/Makefile (libsupport-routines): Add support_become_root,
5435         support_enter_network_namespace, xsocket.
5436         (tests): Add tst-support-namespace.
5438 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5440         [BZ #17252]
5441         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5442         __USE_GNU.
5444 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5446         [BZ #13165]
5447         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5448         use new algorithm.
5449         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5450         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5451         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5452         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5453         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5454         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5455         __condvar_cleanup_waiting, __condvar_dec_grefs,
5456         __pthread_cond_wait_common): New.
5457         (__condvar_cleanup): Remove.
5458         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5459         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5460         Likewise.
5461         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5462         Likewise.
5463         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5464         * nptl/tst-cond1.c: Add comment.
5465         * nptl/tst-cond20.c (do_test): Adapt.
5466         * nptl/tst-cond22.c (do_test): Likewise.
5467         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5468         structure.
5469         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5470         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5471         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5472         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5473         Likewise.
5474         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5475         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5476         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5477         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5478         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5479         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5480         Likewise.
5481         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5482         Likewise.
5483         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5484         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5485         (COND_CLOCK_BITS): Adapt.
5486         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5487         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5488         __PTHREAD_COND_SHARED_MASK): New.
5489         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5490         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5491         * nptl/nptl_lock_constants.pysym: Adapt.
5492         * nptl/test-cond-printers.py: Adapt.
5493         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5494         cond_compat_check_and_clear): Adapt.
5495         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5496         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5497         (__pthread_cond_timedwait): ... and move here.
5498         * nptl/DESIGN-condvar.txt: Remove file.
5499         * nptl/lowlevelcond.sym: Likewise.
5500         * nptl/pthread_cond_timedwait.c: Likewise.
5501         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5502         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5503         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5504         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5505         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5506         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5507         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5508         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5509         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5510         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5511         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5512         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5513         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5515         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5516         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5518 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5520         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5521         (fromfp): New declaration.
5522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5525         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5530         * math/math.h: Include <bits/types.h>.
5531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5532         constant and macro.
5533         (FP_INT_DOWNWARD): Likewise.
5534         (FP_INT_TOWARDZERO): Likewise.
5535         (FP_INT_TONEARESTFROMZERO): Likewise.
5536         (FP_INT_TONEAREST): Likewise.
5537         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5538         (fromfpf): Likewise.
5539         (fromfpl): Likewise.
5540         (ufromfp): Likewise.
5541         (ufromfpf): Likewise.
5542         (ufromfpl): Likewise.
5543         (fromfpx): Likewise.
5544         (fromfpxf): Likewise.
5545         (fromfpxl): Likewise.
5546         (ufromfpx): Likewise.
5547         (ufromfpxf): Likewise.
5548         (ufromfpxl): Likewise.
5549         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5550         s_fromfpxF and s_ufromfpxF.
5551         * math/gen-fromfp-tests.py: New file.
5552         * math/gen-fromfp-tests-inputs: Likewise.
5553         * math/libm-test.inc: Include <stdint.h>
5554         (check_intmax_t): New function.
5555         (check_uintmax_t): Likewise.
5556         (struct test_fiu_M_data): New type.
5557         (struct test_fiu_U_data): Likewise.
5558         (RUN_TEST_fiu_M): New macro.
5559         (RUN_TEST_LOOP_fiu_M): Likewise.
5560         (RUN_TEST_fiu_U): Likewise.
5561         (RUN_TEST_LOOP_fiu_U): Likewise.
5562         (fromfp_test_data): New array.
5563         (fromfp_test): New function.
5564         (fromfpx_test_data): New array.
5565         (fromfpx_test): New function.
5566         (ufromfp_test_data): New array.
5567         (ufromfp_test): New function.
5568         (ufromfpx_test_data): New array.
5569         (ufromfpx_test): New function.
5570         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5571         ufromfpx_test.
5572         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5573         characters.
5574         * math/test-tgmath-ret.c: Include <stdint.h>.
5575         (rm): New variable.
5576         (width): Likewise.
5577         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5578         called function.
5579         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5580         CHECK_RET_CONST_TYPE.
5581         (CHECK_RET_CONST_DOUBLE): Likewise.
5582         (CHECK_RET_CONST_LDOUBLE): Likewise.
5583         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5584         macros.
5585         (fromfp): New CHECK_RET_CONST call.
5586         (ufromfp): Likewise.
5587         (fromfpx): Likewise.
5588         (ufromfpx): Likewise.
5589         (do_test): Call check_return_fromfp, check_return_ufromfp,
5590         check_return_fromfpx and check_return_ufromfpx.
5591         * math/test-tgmath.c: Include <stdint.h>
5592         (NCALLS): Increase to 138.
5593         (F(compile_test)): Initialize i.  Call fromfp functions.
5594         (F(fromfp)): New function.
5595         (F(fromfpx)): Likewise.
5596         (F(ufromfp)): Likewise.
5597         (F(ufromfpx)): Likewise.
5598         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5599         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5600         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5601         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5602         ufromfpxl.
5603         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5604         ufromfp and ufromfpx.
5605         * math/fromfp.h: New file.
5606         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5607         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5608         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5609         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5610         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5611         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5612         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5613         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5614         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5615         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5616         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5617         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5618         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5619         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5620         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5621         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5622         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5623         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5624         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5625         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5626         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5627         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5628         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5629         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5630         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5631         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5632         ufromfp, fromfpx and ufromfpx.
5633         (CFLAGS-nldbl-fromfp.c): New variable.
5634         (CFLAGS-nldbl-fromfpx.c): Likewise.
5635         (CFLAGS-nldbl-ufromfp.c): Likewise.
5636         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5637         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5638         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5639         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5640         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5641         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5642         * sysdeps/nacl/libm.abilist: Update.
5643         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5644         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5645         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5646         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5647         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5648         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5649         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5650         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5651         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5652         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5653         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5654         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5656         Likewise.
5657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5658         Likewise.
5659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5660         Likewise.
5661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5662         Likewise.
5663         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5664         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5665         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5666         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5667         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5669         Likewise.
5670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5671         Likewise.
5672         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5673         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5674         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5676 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5678         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5679         compat-gethnamaddr.
5680         (CPPFLAGS): Remove.
5681         * resolv/gethnamaddr.c: Rename ...
5682         * resolv/compat-gethnamaddr.c: ... to this file.
5683         (_endhtent): Make static.
5684         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5685         symbol.
5686         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5687         compat symbol.
5688         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5689         symbol.
5690         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5691         Turn into compat symbol.
5692         * include/resolv.h (_endhtent): Remove declaration.
5694 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5696         * bits/types.h (__intmax_t): New typedef.
5697         (__uintmax_t): Likewise.
5698         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5699         (intmax_t): Define using __intmax_t.
5700         (uintmax_t): Define using __uintmax_t.
5702         * support/Makefile (tests-special): Make definition conditional on
5703         [$(run-built-tests) = yes].
5704         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5705         on [$(run-built-tests) = yes].
5707 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5709         * Rules (tests): Add tests-printers-programs to tests to be
5710         built.
5712 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5714         * sysvipc/Makefile (tests): Add test-sysvshm.
5715         * sysvipc/test-sysvshm.c: New file.
5717         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5718         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5719         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5720         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5721         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5722         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5723         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5724         Likewise.
5725         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5726         Likewise.
5727         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5728         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5729         is defined.
5731         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5732         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5733         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5734         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5735         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5736         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5737         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5738         Likewise.
5739         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5740         Likewise.
5741         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5742         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5743         defined.
5745         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5746         oldshmctl.
5747         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5748         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5749         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5750         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5751         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5752         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5753         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5754         Likewise.
5755         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5756         Likewise.
5757         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5758         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5759         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5760         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5761         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5762         implementation.
5763         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5764         if it is defined.
5766         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5767         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5768         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5769         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5770         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5771         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5772         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5773         Likewise.
5774         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5775         Likewise.
5776         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5777         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5778         Define to __NR_osf_shmat.
5779         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5780         defined.
5782         * sysvipc/Makefile (tests): Add test-sysvsem.
5783         * sysvipc/test-sysvsem.c: New file.
5785         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5786         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5787         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5788         Likewise.
5789         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5790         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5791         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5792         Likewise.
5793         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5794         Likewise.
5795         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5796         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5797         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5798         add a comment about s390 syscall difference from default one.
5799         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5800         syscall if it is defined.
5802         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5803         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5804         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5805         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5806         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5807         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5808         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5809         Likewise.
5810         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5811         Likewise.
5812         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5813         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5814         defined.
5816         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5817         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5818         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5819         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5820         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5821         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5822         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5823         Likewise.
5824         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5825         Likewise.
5826         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5827         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5828         if it is defined.
5830         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5831         oldsemctl.
5832         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5833         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5834         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5835         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5836         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5837         implementation.
5838         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5839         syscall if it is defined.
5840         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5841         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5842         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5843         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5844         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5845         Likewise.
5846         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
5848         * sysvipc/Makefile (tests): Add test-sysvmsg.
5849         * sysvipc/test-sysvmsg.c: New file.
5850         * support/check.h (FAIL_UNSUPPORTED): New define.
5852         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
5853         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5854         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
5855         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
5856         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
5857         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
5858         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
5859         Likewise.
5860         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
5861         Likewise.
5862         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
5863         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
5864         define.
5866         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
5867         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
5868         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
5869         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
5870         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
5871         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
5872         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
5873         Likewise.
5874         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
5875         Likewise.
5876         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
5877         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
5878         if defined.
5880         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
5881         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
5882         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5883         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5884         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5885         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
5886         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5887         Likewise.
5888         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
5889         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
5890         Likewise.
5891         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
5892         if defined.
5893         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
5895         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5896         oldmsgctl.
5897         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
5898         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
5899         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
5900         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
5901         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5902         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5903         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5904         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5905         Likewise.
5906         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
5907         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
5908         implementation.
5909         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
5910         if defined.
5912         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
5913         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
5914         definition and define its own.
5915         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
5916         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
5917         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
5918         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
5919         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
5920         definitions to common header.
5921         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
5922         operation from ipc_ops.h.
5924         * sysdeps/unix/sysv/linux/kernel-features.h
5925         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
5926         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5927         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
5928         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5929         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5930         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5931         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5932         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5933         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5934         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5935         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5936         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5937         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5938         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5939         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5941 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5943         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
5944         overflow in pointer addition.
5946 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5948         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5949         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
5950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5951         (strchr): Add __strchr_power8 to list of strchr functions.
5952         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
5953         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
5954         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
5955         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
5956         (strchr): Add __strchr_power8 to ifunc list.
5957         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
5958         (__strchrnul): Add __strchrnul_power8 to ifunc list.
5959         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
5960         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
5962 2016-12-28  Florian Weimer  <fweimer@redhat.com>
5964         * support/Makefile (libsupport-routines): Add
5965         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
5966         (tests): Add tst-support_record_failure.
5967         (tests-special): tst-support_record_failure-2.
5968         (tst-support_record_failure-2.out): Depend on
5969         tst-support_record_failure-2.sh and tst-support_record_failure.
5970         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
5971         (support_test_verify_impl, support_record_failure)
5972         (support_report_failure, support_report_failure_reset): Declare.
5973         * support/support_test_main.c (adjust_exit_status): New function.
5974         (support_test_main): Call it to incorporate record test failures.
5975         * support/support_test_verify_impl.c: New file.
5976         * support/support_record_failure.c: Likewise.
5977         * support/tst-support_record_failure.c: Likewise.
5978         * support/tst-support_record_failure-2.sh: Likewise.
5979         * support/xunistd.h: Likewise.
5980         * support/xfork.c: Likewise.
5981         * support/xwaitpid.c: Likewise.
5983 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
5985         * scripts/check-c++-types.sh: Add comments.
5987 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
5989         [BZ #19514]
5990         * resolv/res_send.c: Fix typo in comment.
5991         * sysdeps/i386/i386-mcount.S: Likewise.
5992         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5993         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5994         * sysdeps/sparc/sparc-mcount.S: Likewise.
5996 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5998         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
5999         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6000         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6001         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6002         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6003         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6004         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6005         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6007 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6009         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6011 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6013         [BZ #17252]
6014         * posix/unistd.h (getentropy): Declare.
6016 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6018         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6019         Remove.
6020         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6021         (cmd): Remove spoof, nospoof, spoofalert.
6022         (parse_line): Ignore spoof-related lines.
6023         (do_init): Do not process RESOLV_SPOOF_CHECK.
6025 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6027         [BZ #20964]
6028         sunrpc: Always obtain AF_INET addresses from NSS.
6029         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6030         * sunrpc/rpc_gethostbyname.c: New file.
6031         * sunrpc/Makefile (routines): Add it.
6032         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6033         * sunrpc/clnt_simp.c (callrpc): Likewise.
6034         * sunrpc/getrpcport.c (getrpcport): Likewise.
6036 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6038         * sunrpc/rpcinfo.c: Remove.
6039         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6041 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6043         [BZ #19387]
6044         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6045         addition.
6046         * string/test-memchr.c (do_test): Remove alignment limitation.
6047         (test_main): Add test that trigger BZ #19387.
6049 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6051         [BZ #7065]
6052         Enable stack protectore if requested by ./configure.
6053         * Makeconfig (+stack-protector): New variable.
6054         (+cflags): Use it.
6056 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6058         [BZ #7065]
6059         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6060         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6061         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6062         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6063         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6065 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6067         [BZ #7065]
6068         * login/Makefile (pt_chown-cflags): Remove.
6069         * nscd/Makefile (CFLAGS-nscd): Likewise.
6070         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6072 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6074         [BZ #7065]
6075         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6076         non-libc-linking testcase.
6078 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6079             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6080             Florian Weimer  <fweimer@redhat.com>
6082         [BZ #7065]
6083         PLT avoidance for __stack_chk_fail*.
6084         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6085         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6086         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6087         __stack_chk_fail_local alias.
6088         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6089         (__stack_chk_fail): Turn into hidden reference to
6090         __stack_chk_fail_local.
6092 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6094         [BZ #7065]
6095         * configure.ac: Add check for unsupported stack-protection level.
6096         (libc_cv_predef_stack_protector): Remove.
6097         (no_ssp): New variable.
6098         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6099         (stack_protector): Set to -fno-stack-protector similarly.
6100         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6101         (libc_cv_asm_set_directive): Likewise.
6102         (libc_cv_protected_data): Likewise.
6103         (libc_cv_z_combreloc): Likewise.
6104         (libc_cv_hashstyle): Likewise.
6105         (libc_cv_has_glob_dat): Likewise.
6106         (libc_cv_output_format): Likewise.
6107         (libc_cv_output_format): Likewise.
6108         (libc_cv_ehdr_start): Likewise.
6109         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6110         (LIBC_LINKER_FEATURE): Likewise.
6111         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6113 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6115         [BZ #7065]
6116         * elf/Makefile (dummy-stack-chk-fail): New.
6117         (librtld.map): Use it.
6119 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6121         [BZ #7065]
6122         Compile the dynamic linker without stack protection.
6123         * elf/Makefile (elide-stack-protector): New.
6124         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6125         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6126         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6127         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6129 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6131         [BZ #7065]
6132         * config.make.in (have-ssp, no-stack-protector): New.
6133         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6134         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6135         (CFLAGS-sbrk.op): Likewise.
6136         (CFLAGS-brk.o): Likewise.
6137         (CFLAGS-brk.op): Likewise.
6138         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6139         (CFLAGS-wordcopy.c): Likewise.
6141 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6143         [BZ #7065]
6144         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6145         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6146         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6147         (__ifunc_resolver): Use it.
6148         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6149         inhibit_stack_protector.
6150         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6151         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6152         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6153         (foo_protected_ifunc): Likewise.
6154         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6155         (foo_protected_ifunc): Likewise.
6156         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6157         * sysdeps/nacl/nacl_interface_query.c
6158         (nacl_interface_query_ifunc): Likewise.
6159         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6160         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6161         Likewise.
6162         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6163         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6164         the generated vDSO syscall resolver.
6166 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6167             Florian Weimer  <fweimer@redhat.com>
6169         [BZ #7065]
6170         Initialize the stack guard earlier when linking statically.
6171         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6172         (__pthread_initialize_minimal): Declare.
6173         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6174         declaration.
6175         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6176         stack canary and apply_irel initialization up.  Call
6177         __pthread_initialize_minimal only if linked in.
6178         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6179         constant values.
6180         (__pthread_initialize_minimal): Remove.
6181         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6182         (__pthread_initialize_minimal_internal): Do not call
6183         __libc_setup_tls.
6185 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6187         [BZ #7065]
6188         * configure.ac (libc_cv_ssp): Move up.
6189         (libc_cv_ssp_strong): Likewise.
6190         (libc_cv_ssp_all): New.
6191         (stack_protector): Augment, adding -fstack-protector-all.
6192         (no_stack_protector): New.
6193         (STACK_PROTECTOR_LEVEL): New.
6194         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6195         * manual/install.texi (--enable-stack-protector): Document it.
6196         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6198 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6200         * README.pretty-printers: Must specify CPPFLAGS-* also.
6201         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6202         (CPPFLAGS-test-mutex-printers.c): Define.
6203         (CPPFLAGS-test-condattr-printers.c): Define.
6204         (CPPFLAGS-test-cond-printers.c): Define.
6205         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6206         (CPPFLAGS-test-rwlock-printers.c): Define.
6208         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6209         (tests): Add tst-cancel-getpwuid_r.
6210         * nss/tst-cancel-getpwuid_r.c: New file.
6212         [BZ #11941]
6213         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6214         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6215         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6216         tst-nodelete-dlclose.
6217         (modules-names): Add tst-nodelete-dlclose-dso and
6218         tst-nodelete-dlclose-plugin.
6219         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6220         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6221         ($(objpfx)tst-nodelete-dlclose): Define.
6222         ($(objpfx)tst-nodelete-dlclose.out): Define.
6224 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6226         * scripts/test_printers_common.py: Log GDB output in case of
6227         Python detection failure.
6229 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6231         * configure.ac: Check for python3 or python.
6232         * configure: Regenerated.
6233         * config.make.in (PYTHON): New variable.
6234         * benchtests/Makefile: Don't define PYTHON.
6235         (bench): Define target only if PYTHON was defined.
6236         * Rules: Don't define PYTHON.
6237         Define pretty printer targets only if PYTHON was defined.
6238         (tests-printers): Add to tests-unsupported if PYTHON is not
6239         found.
6240         (python-flags, python-invoke): Remove.
6241         (tests-printers-out): Use PYTHON instead of python-invoke.
6243 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6245         [BZ #20978]
6246         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6247         Compare name == NULL, not name != NULL.
6249         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6250         trailing whitespace removed.
6251         * scripts/config.guess: Update to version 2016-10-02.
6252         * scripts/config.sub: Update to version 2016-11-19.
6253         * scripts/install-sh: Update to version 2016-01-11.22.
6254         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6255         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6257 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6259         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6260         (do_one_test) Restore original string so iteration works.
6261         * string/string-inlines.c (do_test): Create better input strings.
6262         (test_main) Reduce number of testruns.
6263         * string/string-inlines.c (__old_strsep_1c): New function.
6264         (__old_strsep_2c): Likewise.
6265         (__old_strsep_3c): Likewise.
6266         * string/strsep.c (__strsep): Remove case of small delim string.
6267         Call strcspn directly rather than strpbrk.
6268         * string/bits/string2.h (__strsep): Remove define.
6269         (__strsep_1c): Remove.
6270         (__strsep_2c): Remove.
6271         (__strsep_3c): Remove.
6272         (strsep): Remove.
6273         * sysdeps/unix/sysv/linux/internal_statvfs.c
6274         (__statvfs_getflags): Rename to __strsep.
6276 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6278         * csu/libc-tls.c (_dl_tls_setup): Remove.
6279         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6280         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6281         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6283 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6285         [BZ #7065]
6286         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6287         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6289 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6290             Florian Weimer  <fweimer@redhat.com>
6292         [BZ #7065]
6293         * csu/Makefile (tests): Empty assignment and document it.
6294         (tests-static): Remove.
6295         * csu/tst-empty.c: Move to...
6296         * misc/tst-empty.c: ... here.  Switch to new test driver.
6297         * csu/tst-atomic.c: Move to...
6298         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6299         * csu/tst-atomic-long.c: Move to...
6300         * misc/tst-atomic-long.c: ... here.
6301         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6302         tst-atomic-long.
6303         (tests-static): Add tst-empty.
6305 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6307         * manual/nss.texi: Change incorrect @vtable to @table.
6308         * manual/arith.texi: Convert @tables of variables to @vtables
6309         and remove unnecessary indexing.
6310         * manual/filesys.texi: Likewise.
6311         * manual/llio.texi: Likewise.
6312         * manual/memory.texi: Likewise.
6313         * manual/process.texi: Likewise.
6314         * manual/resource.texi: Likewise.
6315         * manual/search.texi: Likewise.
6316         * manual/signal.texi: Likewise.
6317         * manual/socket.texi: Likewise.
6318         * manual/stdio.texi: Likewise.
6319         * manual/sysinfo.texi: Likewise.
6320         * manual/syslog.texi: Likewise.
6321         * manual/terminal.texi: Likewise.
6322         * manual/time.texi: Likewise.
6323         * manual/users.texi: Likewise.
6325 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6327         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6328         (roundeven): New declaration.
6329         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6330         macro.
6331         * math/Versions (roundeven): New libm symbol at version
6332         GLIBC_2.25.
6333         (roundevenf): Likewise.
6334         (roundevenl): Likewise.
6335         * math/Makefile (libm-calls): Add s_roundevenF.
6336         * math/libm-test.inc (roundeven_test_data): New array.
6337         (roundeven_test): New function.
6338         (main): Call roundeven_test.
6339         * math/test-tgmath.c (NCALLS): Increase to 134.
6340         (F(compile_test)): Call roundeven.
6341         (F(roundeven)): New function.
6342         * manual/arith.texi (Rounding Functions): Document roundeven,
6343         roundevenf and roundevenl.
6344         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6345         * include/math.h (roundeven): Use libm_hidden_proto.
6346         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6347         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6348         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6349         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6350         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6351         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6352         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6353         roundeven.
6354         (CFLAGS-nldbl-roundeven.c): New variable.
6355         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6356         * sysdeps/nacl/libm.abilist: Update.
6357         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6358         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6359         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6360         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6361         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6362         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6363         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6364         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6365         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6366         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6367         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6368         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6370         Likewise.
6371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6372         Likewise.
6373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6374         Likewise.
6375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6376         Likewise.
6377         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6378         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6379         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6380         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6381         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6383         Likewise.
6384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6385         Likewise.
6386         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6387         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6388         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6390 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6392         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6393         preprocessor indentation inside #if.
6395 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6397         * math/libm-test.inc (fmt_ftostr): New function.
6398         (print_float, check_float_internal): Replace some uses of
6399         FTOSTR with uses of fmt_ftostr.
6400         (print_max_error, print_complex_max_error, print_function_ulps)
6401         (print_complex_function_ulps): Remove uses of the macros
6402         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6403         * math/test-double.h (FTOSTR): Define to strfromd.
6404         (PRINTF_EXPR): Delete.
6405         (PRINTF_XEXPR): Likewise.
6406         (PRINTF_NEXPR): Likewise.
6407         * math/test-float.h (FTOSTR): Define to strfromf.
6408         (PRINTF_EXPR): Delete.
6409         (PRINTF_XEXPR): Likewise.
6410         (PRINTF_NEXPR): Likewise.
6411         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6412         (PRINTF_EXPR): Delete.
6413         (PRINTF_XEXPR): Likewise.
6414         (PRINTF_NEXPR): Likewise.
6416 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6418         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6419         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6420         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6421         (__lll_lock_elision): Decrement adapt_count while unlocking
6422         instead of before locking.
6423         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6424         (__lll_trylock_elision): Likewise.
6425         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6426         (__lll_unlock_elision): Likewise.
6428 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6430         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6431         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6432         Use __libc_tbegin_retry macro.
6434 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6436         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6437         Add -msoft-float.
6438         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6439         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6440         Use __libc_t* transaction macros instead of __builtin_t*.
6441         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6442         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6444 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6446         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6447         (__lll_lock_elision): Use atomics to load / store adapt_count.
6448         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6449         (__lll_trylock_elision): Likewise.
6451 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6453         Do not require memset elimination in explicit_bzero test.
6454         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6455         (enum test_expectation): Add NO_EXPECTATIONS.
6456         (subtests): NO_EXPECTATIONS for ordinary clear.
6457         (check_test_buffer): Handle NO_EXPECTATIONS.
6458         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6460 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6462         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6463         (fmaxmag): New declaration.
6464         (fminmag): Likewise.
6465         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6466         macro.
6467         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6468         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6469         (fmaxmagf): Likewise.
6470         (fmaxmagl): Likewise.
6471         (fminmag): Likewise.
6472         (fminmagf): Likewise.
6473         (fminmagl): Likewise.
6474         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6475         * math/s_fmaxmag_template.c: New file.
6476         * math/s_fminmag_template.c: Likewise.
6477         * math/libm-test.inc (fmaxmag_test_data): New array.
6478         (fmaxmag_test): New function.
6479         (fminmag_test_data): New array.
6480         (fminmag_test): New function.
6481         (main): Call fmaxmag_test and fminmag_test.
6482         * math/test-tgmath.c (NCALLS): Increase to 132.
6483         (F(compile_test)): Call fmaxmag and fminmag.
6484         (F(fminmag)): New function.
6485         (F(fmaxmag)): Likewise.
6486         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6487         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6488         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6489         fminmag.
6490         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6491         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6492         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6493         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6494         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6495         and fminmag.
6496         (CFLAGS-nldbl-fmaxmag.c): New variable.
6497         (CFLAGS-nldbl-fminmag.c): Likewise.
6498         * sysdeps/nacl/libm.abilist: Update.
6499         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6500         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6501         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6502         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6503         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6504         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6505         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6506         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6507         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6508         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6509         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6510         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6512         Likewise.
6513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6514         Likewise.
6515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6516         Likewise.
6517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6518         Likewise.
6519         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6520         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6521         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6522         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6523         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6525         Likewise.
6526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6527         Likewise.
6528         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6529         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6530         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6532 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6534         [BZ #20973]
6535         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6536         wake-up in robust mutexes.
6537         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6539 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6541         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6542         (CFLAGS-bench-fmaxf.c): New rule.
6543         (CFLAGS-bench-fminf.c): Likewise.
6544         * benchtests/fmaxf-inputs: New file.
6545         * benchtests/fminf-inputs: Likewise.
6547         * benchtests/Makefile (bench-math): Add fmin and fmax.
6548         (CFLAGS-bench-fmax.c): New rule.
6549         (CFLAGS-bench-fmin.c): Likewise.
6550         * benchtests/fmax-inputs: New file.
6551         * benchtests/fmin-inputs: Likewise.
6553         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6554         parenthesis.
6555         (CMDLINE_PROCESS): Define using function instead of macro.
6556         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6557         of test-skeleton.
6558         * benchtests/bench-memchr.c: Likewise.
6559         * benchtests/bench-memcmp.c: Likewise.
6560         * benchtests/bench-memcpy-large.c: Likewise.
6561         * benchtests/bench-memcpy.c: Likewise.
6562         * benchtests/bench-memmem.c: Likewise.
6563         * benchtests/bench-memmove-large.c: Likewise.
6564         * benchtests/bench-memmove.c: Likewise.
6565         * benchtests/bench-memset-large.c: Likewise.
6566         * benchtests/bench-memset.c: Likewise.
6567         * benchtests/bench-rawmemchr.c: Likewise.
6568         * benchtests/bench-strcasecmp.c: Likewise.
6569         * benchtests/bench-strcasestr.c: Likewise.
6570         * benchtests/bench-strcat.c: Likewise.
6571         * benchtests/bench-strchr.c: Likewise.
6572         * benchtests/bench-strcmp.c: Likewise.
6573         * benchtests/bench-strcpy.c: Likewise.
6574         * benchtests/bench-strcpy_chk.c: Likewise.
6575         * benchtests/bench-strlen.c: Likewise.
6576         * benchtests/bench-strncasecmp.c: Likewise.
6577         * benchtests/bench-strncmp.c: Likewise.
6578         * benchtests/bench-strncpy.c: Likewise.
6579         * benchtests/bench-strnlen.c: Likewise.
6580         * benchtests/bench-strpbrk.c: Likewise.
6581         * benchtests/bench-strrchr.c: Likewise.
6582         * benchtests/bench-strsep.c: Likewise.
6583         * benchtests/bench-strspn.c: Likewise.
6584         * benchtests/bench-strstr.c: Likewise.
6585         * benchtests/bench-strtok.c: Likewise.
6587 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6589         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6590         stepping identification.
6591         (init_cpu_features): Add handle of Haswell.
6593 2016-11-25  Jim Meyering  <meyering@fb.com>
6595         [BZ #20386]
6596         Let gcc detect assert(a = 1) errors.
6597         * assert/assert.h (assert): Rewrite, retaining the old definintion
6598         when required, but otherwise putting the expression as-is in an "if"
6599         expression (hence, with no added parentheses) within a statement
6600         expression.
6602 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6604         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6605         DSO.
6607 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6609         * Rules (python-flags, python-invoke): New.
6610         ($(test-printers-out)): Use $(python-flags).
6612 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6614         * manual/arith.texi (Math Error Reporting): Document that sNaN
6615         arguments are not considered domain errors.
6617 2016-12-16  Zack Weinberg <zackw@panix.com>
6618             Florian Weimer <fweimer@redhat.com>
6619             Nick Mathewson <nickm@torproject.org>
6621         * string/explicit_bzero.c: New routine.
6622         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6623         * string/Makefile (routines, strop-tests, tests): Add them.
6624         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6625         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6627         * debug/explicit_bzero_chk.c: New routine.
6628         * debug/Makefile (routines): Add it.
6629         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6630         * string/bits/string3.h: Fortify explicit_bzero.
6632         * manual/string.texi: Document explicit_bzero.
6633         * NEWS: Mention addition of explicit_bzero.
6635         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6636         data before returning, using explicit_bzero.
6637         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6638         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6639         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6641         * include/string.h: Redirect internal uses of explicit_bzero
6642         to __explicit_bzero_chk[_internal].
6643         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6644         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6645         * sysdeps/arm/nacl/libc.abilist
6646         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6647         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6648         * sysdeps/unix/sysv/linux/arm/libc.abilist
6649         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6650         * sysdeps/unix/sysv/linux/i386/libc.abilist
6651         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6652         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6653         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6654         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6655         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6656         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6657         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6658         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6659         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6664         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6665         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6666         * sysdeps/unix/sysv/linux/sh/libc.abilist
6667         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6668         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6671         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6672         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6673         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6674         Add entries for explicit_bzero and __explicit_bzero_chk.
6676 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6678         * math/fenv.h
6679         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6680         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6681         * math/test-fe-snans-always-signal.c: New file.
6682         * math/Makefile (tests): Add test-fe-snans-always-signal.
6683         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6684         * manual/arith.texi (Infinity and NaN): Document
6685         FE_SNANS_ALWAYS_SIGNAL.
6687 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6689         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6690         bracket.
6692 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6694         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6695         before calling execv.
6697 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6699         [BZ #20971]
6700         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6701         overflow in pointer addition.
6702         * string/test-memchr.c (do_test): Add an argument to pass as
6703         the size on memchr.
6704         (test_main): Add check for SIZE_MAX.
6706 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6708         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6709         (libm-calls): Add w_scalblnF.
6710         * math/w_scalbln.c: Remove.
6711         * math/w_scalblnf.c: Likewise.
6712         * math/w_scalblnl.c: Likewise.
6713         * math/w_scalbln_template.c: New file with type-generic
6714         implementation based on math/w_scalbln.c.
6715         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6716         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6718 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6720         [BZ #20947]
6721         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6722         either is a signaling NaN.
6723         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6724         follow fmaxl more closely.
6725         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6726         when either is a signaling NaN.
6727         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6728         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6729         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6730         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6731         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6732         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6733         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6734         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6735         (fmin_test_data): Likewise.
6737 2016-12-15  Andreas Schwab  <schwab@suse.de>
6739         * support/support_test_main.c (support_test_main): Don't shadow
6740         file-local variable test_pid.
6742 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6744         [BZ #20947]
6745         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6746         either is a signaling NaN.
6747         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6749 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6751         [BZ #20947]
6752         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6753         when either is a signaling NaN.
6754         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6756         * bits/long-double.h: New file.
6757         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6758         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6759         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6760         * sysdeps/mips/bits/long-double.h: Likewise.
6761         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6762         * math/Makefile (headers): Add bits/long-double.h.
6763         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6764         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6765         <bits/wordsize.h>.
6766         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6767         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6768         * math/math.h: Do not include <bits/mathdef.h>.
6769         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6770         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6771         inclusion.
6772         * sysdeps/ia64/bits/mathdef.h: Remove file.
6773         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6774         * sysdeps/mips/bits/mathdef.h: Likewise.
6775         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6776         * sysdeps/s390/bits/mathdef.h: Likewise.
6777         * sysdeps/sparc/bits/mathdef.h: Likewise.
6778         * sysdeps/x86/bits/mathdef.h: Likewise.
6779         * sysdeps/s390/s390-32/bits/wordsize.h
6780         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6781         conditional code.
6782         * sysdeps/s390/s390-64/bits/wordsize.h
6783         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6784         Likewise.
6785         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6786         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6787         Likewise.
6788         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6789         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6790         Likewise.
6791         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6792         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6793         Likewise.
6795         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6796         <linux/falloc.h>.
6797         (FALLOC_FL_KEEP_SIZE): Remove.
6798         (FALLOC_FL_PUNCH_HOLE): Likewise.
6799         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6800         (FALLOC_FL_ZERO_RANGE): Likewise.
6802 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6804         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6806 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6808         * sysdeps/unix/sysv/linux/renameat.c: New file.
6809         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6811         * sysdeps/unix/sysv/linux/rename.c: New file.
6812         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6814 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6816         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6817         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6818         * string/strtok_r.c (__strtok_r): Optimize for performance.
6819         * string/string-inlines.c (__old_strtok_r_1c): New function.
6820         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6822 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6824         * math/Makefile (gen-libm-calls): Add w_log1pF.
6825         (libm-calls): Remove w_log1pF.
6826         * math/w_log1p.c: Remove.
6827         * math/w_log1pf.c: Likewise.
6828         * math/w_log1pl.c: Likewise.
6829         * math/w_log1p_template.c: New file with type-generic
6830         implementation based on math/w_log1p.c.
6831         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6832         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6834 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6836         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6838 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6840         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6841         kernel version to 4.9.
6843 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6845         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6846         ($(inst_libdir)/libm.a): Fix rule to create the target only.
6848 2016-12-13  Andreas Schwab  <schwab@suse.de>
6850         * sysdeps/powerpc/dl-procinfo.c: Don't define
6851         _dl_powerpc_platforms.
6852         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
6853         constants instead of referencing _dl_powerpc_platforms.
6854         (_dl_platform_string): Remove.
6856 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6858         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
6860 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6862         * Rules (binaries-shared-tests, binaries-pie-tests)
6863         (binaries-static-tests): Link with $(link-extra-libs-tests).
6864         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
6865         Remove $(link-extra-libs-tests).
6867 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6869         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6870         (sysdep_routines): Add strncmp_power9.
6871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6872         (strncmp): Add __strncmp_power9 to list of strncmp functions.
6873         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
6874         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6875         (strncmp): Add __strncmp_power9 to ifunc list.
6876         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
6878 2016-12-12  Florian Weimer  <fweimer@redhat.com>
6880         [BZ #17252]
6881         Add getentropy, getrandom.
6882         * stdlib/sys/random.h: New file.
6883         (headers): Add it.
6884         * stdlib/Makefile (routines): Add getentropy, getrandom.
6885         (tests): Add tst-getrandom.
6886         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
6887         * stdlib/getentropy.c: New file.
6888         * stdlib/getrandom.c: Likewise.
6889         * stdlib/tst-getrandom.c: Likewise.
6890         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
6891         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
6892         * manual/crypt.texi (Unpredictable Bytes): New section.
6893         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
6894         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
6895         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6896         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6897         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6898         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6899         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6900         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6901         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6902         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6903         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6904         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6905         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6906         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6907         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6910         Likewise.
6911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6912         Likewise.
6913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6915         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6916         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6917         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6922         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6923         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6924         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6926 2016-12-10  Florian Weimer  <fweimer@redhat.com>
6928         [BZ #20956]
6929         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
6930         as additional compiler barriers.
6931         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
6932         (fn2, do_test): Declare with external linkage.
6933         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
6934         (do_test): Declare with external linkage.
6935         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
6936         (do_test): Declare with external linkage.
6937         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
6938         (do_test): Declare with external linkage.
6940 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
6942         * support/support_test_main.c (support_test_main): Use correct
6943         timeout.
6945 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
6946             Florian Weimer  <fweimer@redhat.com>
6948         [BZ #16421]
6949         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
6950         and __u6_addr32 members.
6951         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
6952         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
6953         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
6954         Use __u6_addr32.
6955         * inet/tst-checks.c: Use <support/test-driver.c>
6956         * inet/tst-checks-posix.c: New file.
6957         * inet/Makefile (tests): Add it.
6958         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
6960 2016-12-09  Florian Weimer  <fweimer@redhat.com>
6962         New subdirectory support for build and test infrastructure.
6963         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
6964         setting install-lib.
6965         * Makeconfig (link-extra-libs-tests): Define.
6966         (+link-pie-tests, +link-static-tests, +link-tests): Use
6967         link-extra-libs-tests.
6968         (rpath-dirs, all-subdirs): Add support.
6969         (built-modules): Add libsupport.
6970         (libsupport): Define.
6971         * support: New directory.
6972         * support/Makefile: New file.
6973         * support/check.c: Likewise.
6974         * support/check.h: Likewise.
6975         * support/delayed_exit.c: Likewise.
6976         * support/ignore_stderr.c: Likewise.
6977         * support/oom_error.c: Likewise.
6978         * support/set_fortify_handler.c: Likewise.
6979         * support/support.h: Likewise.
6980         * support/temp_file-internal.h: Likewise.
6981         * support/temp_file.c: Likewise.
6982         * support/test-driver.c: Likewise.
6983         * support/test-driver.h: Likewise.
6984         * support/test_main.c: Likewise.
6985         * support/write_message.c: Likewise.
6986         * support/xasprintf.c: Likewise.
6987         * support/xcalloc.c: Likewise.
6988         * support/xmalloc.c: Likewise.
6989         * support/xpthread_barrier_destroy.c: Likewise.
6990         * support/xpthread_barrier_init.c: Likewise.
6991         * support/xpthread_barrier_wait.c: Likewise.
6992         * support/xpthread_cancel.c: Likewise.
6993         * support/xpthread_check_return.c: Likewise.
6994         * support/xpthread_cond_wait.c: Likewise.
6995         * support/xpthread_create.c: Likewise.
6996         * support/xpthread_detach.c: Likewise.
6997         * support/xpthread_join.c: Likewise.
6998         * support/xpthread_mutex_lock.c: Likewise.
6999         * support/xpthread_mutex_unlock.c: Likewise.
7000         * support/xpthread_sigmask.c: Likewise.
7001         * support/xpthread_spin_lock.c: Likewise.
7002         * support/xpthread_spin_unlock.c: Likewise.
7003         * support/xrealloc.c: Likewise.
7004         * support/xsignal.h: Likewise.
7005         * support/xthread.h: Likewise.
7006         * support_tempfile.h: Likewise.
7007         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7008         (TEST_DATA_LIMIT): Remove unused macro.
7009         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7010         <support/check.h>.
7011         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7012         (ignore_stderr, set_fortify_handler): Remove.  Now in
7013         <support/support.h>.
7014         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7015         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7016         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7017         (xpthread_join): Remove.  Now in <support/xthread.h>.
7018         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7019         Introduce legacy wrappers.
7020         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7021         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7022         (write_message): Remove.
7023         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7024         test-skeleton.c.
7025         * io/test-open-tmpfile: Likewise.
7026         * io/tst-posix_fallocate-common.c: Likewise.
7027         * libio/tst-fseek.c: Likewise.
7028         * malloc/tst-malloc-backtrace.c: Likewise.
7029         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7030         * malloc/tst-malloc-thread-exit.c: Likewise.
7031         * nptl/tst-cancel7.c: Likewise.
7032         * nptl/tst-cleanup0.c: Likewise.
7033         * posix/tst-posix_fadvise-common.c: Likewise.
7034         * rt/tst-shm.c: Likewise.
7035         * time/bug-getdate1.c: Likewise.
7036         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7037         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7038         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7040 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7042         * Rules [$(run-built-tests) != no] (tests-expected): Add
7043         $(tests-printers).
7044         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7046 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7048         [BZ #20539]
7049         * math/Makefile (install-lib-ldscripts): Add libm.a.
7050         (install_subdir): Remove.
7051         (install-others): Add.
7052         ($(inst_libdir)/libm.a): Add rule for installation as
7053         linker script.
7054         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7056 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7058         * INSTALL: Regenerated.
7059         * Makeconfig: Add comments and whitespace to make the control flow
7060         clearer.
7061         (+link-printers-tests, +link-pie-printers-tests,
7062         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7063         built-rtld-LDFLAGS, link-libc-rpath,
7064         link-libc-tests-after-rpath-link,
7065         link-libc-printers-tests): New.
7066         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7067         link-libc-tests): Use the new variables as required.
7068         * Makerules ($(py-const)): New rule.
7069         generated: Add $(py-const).
7070         * README.pretty-printers: New file.
7071         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7072         (others): Depend on $(py-const).
7073         (tests): Depend on $(tests-printers-programs) or
7074         $(tests-printers-out),
7075         as required.  Pass $(tests-printers) to merge-test-results.sh.
7076         * manual/install.texi: Add requirements for testing the pretty
7077         printers.
7078         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7079         tests-printers, CFLAGS-test-mutexattr-printers.c
7080         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7081         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7082         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7083         * nptl/nptl-printers.py: New file.
7084         * nptl/nptl_lock_constants.pysym: Likewise.
7085         * nptl/test-cond-printers.c: Likewise.
7086         * nptl/test-cond-printers.py: Likewise.
7087         * nptl/test-condattr-printers.c: Likewise.
7088         * nptl/test-condattr-printers.py: Likewise.
7089         * nptl/test-mutex-printers.c: Likewise.
7090         * nptl/test-mutex-printers.py: Likewise.
7091         * nptl/test-mutexattr-printers.c: Likewise.
7092         * nptl/test-mutexattr-printers.py: Likewise.
7093         * nptl/test-rwlock-printers.c: Likewise.
7094         * nptl/test-rwlock-printers.py: Likewise.
7095         * nptl/test-rwlockattr-printers.c: Likewise.
7096         * nptl/test-rwlockattr-printers.py: Likewise.
7097         * scripts/gen-py-const.awk: Likewise.
7098         * scripts/test_printers_common.py: Likewise.
7099         * scripts/test_printers_exceptions.py: Likewise.
7101 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7103         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7104         argument.
7105         (Glibc.build_glibc): Strip installed shared libraries if
7106         requested.
7107         (get_parser): Add --strip option.
7108         (main): Update Context call.
7110 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7111             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7113         [BZ #20847]
7114         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7115         array bounds for else branch.
7116         (__execvpe): Style fixes.
7117         * posix/tst-vfork3.c (run_script): New function.
7118         (create_script): Likewise.
7119         (do_test): Use run_script internal function.
7120         (do_prepare): Use create_script internal function.
7122 2016-12-07  Andreas Schwab  <schwab@suse.de>
7124         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7125         (__elision_available): Don't declare.
7126         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7127         (__elision_available): Don't define.
7128         (elision_init): Don't set __elision_available.
7130 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7132         [BZ #20940]
7133         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7134         return Inf for arguments Inf and sNaN.
7135         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7136         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7137         Likewise.
7138         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7139         Likewise.
7140         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7141         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7142         for arguments Inf and sNaN.  When returning a NaN, compute it by
7143         arithmetic on the arguments.
7144         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7145         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7146         arguments.
7148 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7150         [BZ #20916]
7151         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7152         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7153         to compute result.
7154         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7155         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7157 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7159         * include/atomic.h (__atomic_check_size_ls): New.
7160         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7161         atomic_store_release): Use it.
7162         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7163         (elision_adapt, ELIDE_LOCK): Use atomics.
7164         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7165         atomics and improve code comments.
7166         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7167         (__lll_trylock_elision): Likewise.
7169 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7171         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7172         programs.
7174 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7176         [BZ #20916]
7177         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7178         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7179         arguments to compute result.
7180         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7181         1 for arguments (sNaN, 0) or (1, sNaN).
7182         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7183         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7185         [BZ #20919]
7186         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7187         NaN first argument when raised to power 0.
7188         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7189         raising to power zero.
7190         * math/w_powf.c (__powf): Likewise.
7191         * math/w_powl.c (__powl): Likewise.
7192         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7193         pow (0, 0) or pow (NaN, 0).
7195 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7197         [BZ #20918]
7198         * configure.ac: Test for static NSS cryptographic libraries and set
7199         libc_cv_static_nss_crypt.
7200         * configure: Regenerate.
7201         * config.make.in (static-nss-crypt): Define.
7202         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7203         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7204         (CFLAGS-tst-linkall-static.c): Define.
7205         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7206         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7207         ($(objpfx)tst-linkall-static): Define.
7208         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7209         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7211 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7213         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7214         (one-hundred, tst-tls-many-dynamic-modules): Define.
7215         (modules-names): Add $(tst-tls-many-dynamic-modules).
7216         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7217         macros.
7218         (tst-tls-manydynamic): Link against libdl, libpthread.
7219         (tst-tls-manydynamic.out): The test needs the test modules at run
7220         time.
7221         * elf/tst-tls-manydynamic.c: New file.
7222         * elf/tst-tls-manydynamic.h: Likewise.
7223         * elf/tst-tls-manydynamicmod.c: Likewise.
7225 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7227         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7228         (TLS_DTV_UNALLOCATED): Add.
7229         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7230         offsets.
7232 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7234         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7236 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7238         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7239         Add -fno-optimize-sibling-calls.
7241 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7243         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7244         New declaration.
7245         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7246         macro.
7247         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7248         New macro.
7249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7251         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7252         (llogbf): Likewise.
7253         (llogbl): Likewise.
7254         * math/Makefile (gen-libm-calls): Add w_llogbF.
7255         (tests): Add test-fp-llogb-constants.
7256         * math/w_llogb_template.c: New file.  Based on
7257         math/w_ilogb_template.c.
7258         * math/libm-test.inc (llogb_test_data): New array.
7259         (llogb_test): New function.
7260         (main): Call llogb_test.
7261         * math/test-fp-llogb-constants.c: New file.  Based on
7262         math/test-fp-ilogb-constants.c.
7263         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7264         (do_test): Call check_return_llogb.
7265         * math/test-tgmath.c (NCALLS): Increase to 126.
7266         (F(compile_test)): Call llogb.
7267         (F(llogb)): New function.
7268         * manual/math.texi (Exponents and Logarithms): Document llogb,
7269         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7270         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7271         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7272         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7273         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7274         (CFLAGS-nldbl-llogb.c): New variable.
7275         * sysdeps/nacl/libm.abilist: Update.
7276         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7277         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7278         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7279         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7280         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7281         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7282         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7283         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7284         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7285         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7286         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7287         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7289         Likewise.
7290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7291         Likewise.
7292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7293         Likewise.
7294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7295         Likewise.
7296         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7297         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7298         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7299         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7300         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7302         Likewise.
7303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7304         Likewise.
7305         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7306         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7307         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7309 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7311         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7312         _Float128 instead of long double.
7313         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7315         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7316         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7317         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7318         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7319         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7320         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7321         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7322         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7323         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7324         Likewise.
7326 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7328         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7329         Remove redirection to __strrchr_ppc.
7331 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7333         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7334         (sysdep_routines): Add strcmp_power9.
7335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7336         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7337         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7338         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7339         (strcmp): Add __strcmp_power9 to ifunc list.
7340         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7342 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7344         * bits/fp-logb.h: New file.
7345         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7346         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7347         * sysdeps/x86/bits/fp-logb.h: Likewise.
7348         * math/Makefile (headers): Add bits/fp-logb.h.
7349         * math/math.h: Include <bits/fp-logb.h>.
7350         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7351         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7352         * bits/mathdef.h (FP_ILOGB0): Remove.
7353         (FP_ILOGBNAN): Likewise.
7354         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7355         (FP_ILOGBNAN): Likewise.
7356         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7357         (FP_ILOGBNAN): Likewise.
7358         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7359         (FP_ILOGBNAN): Likewise.
7360         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7361         (FP_ILOGBNAN): Likewise.
7362         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7363         (FP_ILOGBNAN): Likewise.
7364         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7365         (FP_ILOGBNAN): Likewise.
7366         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7367         (FP_ILOGBNAN): Likewise.
7368         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7369         (FP_ILOGBNAN): Likewise.
7370         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7371         (FP_ILOGBNAN): Likewise.
7373         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7374         time module.
7375         (Context.__init__): Initialize self.logsdir_old.
7376         (Context.run_builds): Handle bot action.
7377         (Context.bot_cycle): Copy logs directory before running builds.
7378         (Context.bot_run_self): Take argument for whether to check
7379         subprocess result.  Flush stdout before running subprocess.
7380         (Context.bot): New function.
7381         (get_parser): Allow bot action.
7383 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7385         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7386         Import email.mime.text, email.utils and smtplib modules.
7387         (Context.__init__): Initialize self.bot_config_json.
7388         (Context.run_builds): Handle bot-cycle action.
7389         (Context.load_bot_config_json): New function.
7390         (Context.part_build_old): Likewise.
7391         (Context.bot_cycle): Likewise.
7392         (Context.bot_build_mail): Likewise.
7393         (Context.bot_run_self): Likewise.
7394         (get_parser): Allow bot-cycle action.
7396 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7398         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7399         Remove redirection to __stpcpy_ppc.
7401 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7403         Remove __libc_memalign from ld.so because it is unused.
7404         * elf/dl-minimal.c: Update comment on the malloc implementation.
7405         (malloc): Renamed from __libc_memalign, replacing the original
7406         malloc implementation.  Replace the align parameter with
7407         MALLOC_ALIGNMENT.
7408         * elf/Versions (ld): Update comment and remove __libc_memalign.
7409         * sysdeps/nacl/ld.abilist: Likewise.
7410         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7411         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7412         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7413         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7414         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7415         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7416         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7417         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7418         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7419         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7420         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7421         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7422         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7426         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7427         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7428         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7429         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7430         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7433         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7434         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7435         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7436         * sysdeps/generic/localplt.data (ld.so): Likewise.
7437         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7438         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7439         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7440         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7441         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7442         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7443         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7444         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7445         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7447         (ld.so): Likewise.
7448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7449         (ld.so): Likewise.
7450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7451         Likewise.
7452         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7453         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7454         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7455         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7456         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7458 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7460         [BZ #16628]
7461         Implement _dl_catch_error, _dl_signal_error in libc.so.
7462         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7463         (catch_hook): Define as thread-local or regular variable,
7464         depending on DL_ERROR_BOOTSTRAP.
7465         (CATCH_HOOK): Remove.
7466         (dl_signal_error, _dl_catch_error): Use
7467         catch_hook.  Add hidden definition for libc.
7468         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7469         for DL_ERROR_BOOTSTRAP only.
7470         * elf/dl-error.c: New file.
7471         * elf/dl-error-minimal.c: Likewise.
7472         * elf/tst-latepthread.c: Likewise.
7473         * elf/tst-latepthreadmod.c: Likewise.
7474         * elf/Makefile (routines): Add dl-error.
7475         (dl-routines): Remove dl-error.
7476         (rtld-routines): Add dl-error-minimal.
7477         [build-shared] (tests): Add tst-latepthread.
7478         (module-names): Add tst-latepthreadmod.
7479         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7480         symbol.
7481         (tst-latepthreadmod.so): Link against libpthread.
7482         (tst-latepthread): Link against libdbl.
7483         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7484         _dl_catch_error.
7485         [ld] (GLIBC_PRIVATE): Likewise.
7486         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7487         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7488         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7489         directly.
7490         * elf/dl-tsd.c: Remove file.
7491         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7492         _dl_catch_error, _dl_signal_error.
7493         (_dl_initial_error_catch_tsd): Remove definition.
7494         (do_preload): Remove initialization of dl_error_catch_tsd.
7495         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7496         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7497         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7498         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7499         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7500         set dl_error_catch_tsd.
7501         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7502         _dl_error_catch_tsd member.
7503         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7504         members.
7505         (_dl_initial_error_catch_tsd): Remove declaration.
7506         (_dl_dprintf): Provide definition for use outside of ld.so.
7507         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7508         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7509         prototype for libc.
7510         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7511         _dl_catch_error.
7512         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7513         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7514         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7515         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7516         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7517         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7518         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7519         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7520         Likewise.
7521         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7523         (ld.so): Likewise.
7524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7525         (ld.so): Likewise.
7526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7527         Likewise.
7528         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7529         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7530         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7531         Likewise.
7532         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7533         Likewise.
7534         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7536 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7538         [BZ #4099]
7539         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7540         _IO_BUFSIZ (8192).
7542 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7544         * PROJECTS: Remove file.
7546 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7548         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7550 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7551             Steve Ellcey  <sellcey@caviumnetworks.com>
7553         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7554         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7555         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7556         fxstatat.
7557         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7558         lxstat.
7559         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7560         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7561         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7562         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7563         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7564         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7565         __xstat.
7567 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7569         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7570         Define.
7571         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7572         definition.
7574 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7576         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7577         version and turn into strong alias.  Remove compat symbol.
7579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7580         (__longjmp): Remove.
7582 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7584         * bits/fp-fast.h: New file.
7585         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7586         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7587         * math/Makefile (headers): Add bits/fp-fast.h.
7588         * math/math.h: Include <bits/fp-fast.h>.
7589         * bits/mathdef.h (FP_FAST_FMA): Remove.
7590         (FP_FAST_FMAF): Likewise.
7591         (FP_FAST_FMAL): Likewise.
7592         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7593         (FP_FAST_FMAF): Likewise.
7594         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7595         (FP_FAST_FMAF): Likewise.
7596         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7597         (FP_FAST_FMAF): Likewise.
7598         (FP_FAST_FMAL): Likewise.
7599         * sysdeps/arm/bits/mathdef.h: Remove file.
7600         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7601         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7602         * sysdeps/tile/bits/mathdef.h: Likewise.
7604 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7606         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7607         * math/w_ilogb.c: Remove.
7608         * math/w_ilogbf.c: Likewise.
7609         * math/w_ilogbl.c: Likewise.
7610         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7611         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7612         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7613         (libm-calls): Remove w_ilogbF.
7614         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7615         (LDOUBLE_ilogbl_libm_version): New macro.
7617         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7619         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7620         [!__STRICT_ANSI__ && !__cplusplus].
7622 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7624         [BZ #20750]
7625         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7626         of PIC.
7628 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7629             Yury Norov  <ynorov@caviumnetworks.com>
7630             Steve Ellcey  <sellcey@caviumnetworks.com>
7632         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7633         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7634         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7635         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7636         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7637         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7638         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7639         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7640         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7641         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7642         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7643         to get correct reg name for ILP32.
7644         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7645         (RELA_SIZE): New Macro.
7646         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7647         to support ILP32.
7648         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7649         cast for ILP32 mode.
7650         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7651         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7652         * sysdeps/aarch64/memset.S (__memset): Ditto.
7653         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7654         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7655         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7656         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7657         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7658         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7659         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7660         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7661         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7662         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7663         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7664         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7665         change PTR_MANGLE call to use register numbers instead of names.
7666         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7667         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7668         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7669         * sysdeps/aarch64/start.S (_start): Ditto.
7670         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7671         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7672         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7673         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7674         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7675         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7676         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7677         Make defined values dependent on __ILP32__.
7678         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7679         (sem_t): Change __align type.
7680         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7681         PTR_SIZE): New Macros.
7682         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7683         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7684         Set when in ILP32 mode.
7685         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7686         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7687         Set elf flags for ILP32.
7688         (add_system_dir): Set ILP32 library directories.
7689         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7690         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7691         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7692         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7693         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7694         New Macros.
7695         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7697 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7699         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7700         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7701         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7703 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7705         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7706         <asm/cachectl.h>.
7708 2016-11-27  Zack Weinberg  <zackw@panix.com>
7710         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7711         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7713 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7715         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7716         error_t to fix usage in C++ programs.
7718 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7720         * scripts/build-many-glibcs.py: Import datetime module.
7721         (Context.__init__): Load JSON build state.  Initialize list of
7722         status logs.
7723         (Context.run_builds): Update saved build state.
7724         (Context.add_makefile_cmdlist): Update list of status logs.
7725         (Context.load_build_state_json): New function.
7726         (Context.store_build_state_json): Likewise.
7727         (Context.clear_last_build_state): Likewise.
7728         (Context.update_build_state): Likewise.
7729         (CommandList.status_logs): Likewise.
7731 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7733         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7734         script being executed.
7735         (Context.get_script_text): New function.
7736         (Context.exec_self): Likewise.
7737         (Context.checkout): Re-exec script if changed by checkout process.
7739 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7741         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7742         (setpayloadsig): New declaration.
7743         * math/Versions (setpayloadsig): New libm symbol at version
7744         GLIBC_2.25.
7745         (setpayloadsigf): Likewise.
7746         (setpayloadsigl): Likewise.
7747         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7748         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7749         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7750         (setpayloadsig_test_data): New array.
7751         (setpayloadsig_test): New function.
7752         (main): Call setpayloadsig_test.
7753         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7754         setpayloadsigf and setpayloadsigl.
7755         * manual/libm-err-tab.pl: Update comment on interfaces without
7756         ulps tabulated.
7757         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7758         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7759         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7760         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7761         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7762         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7763         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7764         setpayloadsig.
7765         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7766         * sysdeps/nacl/libm.abilist: Update.
7767         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7768         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7769         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7770         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7771         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7772         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7773         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7774         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7775         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7776         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7777         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7778         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7780         Likewise.
7781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7782         Likewise.
7783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7784         Likewise.
7785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7786         Likewise.
7787         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7788         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7789         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7790         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7791         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7793         Likewise.
7794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7795         Likewise.
7796         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7797         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7798         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7800         * scripts/build-many-glibcs.py: Import json module.
7801         (Context.__init__): Take replace_sources argument.  Load
7802         versions.json.
7803         (Context.load_versions_json): New function.
7804         (Context.store_json): Likewise.
7805         (Context.store_versions_json): Likewise.
7806         (Context.set_component_version): Likewise.
7807         (Context.checkout): Update versions.json.  Check for and handle
7808         changes of version.  Prefer previously explicitly specified
7809         version to default version.
7810         (Context.checkout_vcs): Return a revision identifier.
7811         (Context.git_checkout): Likewise.
7812         (Context.gcc_checkout): Likewise.
7813         (get_parser): Add --replace-sources option.
7814         (main): Pass replace_sources argument to Context call.
7816 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7818         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7819         * nptl/allocatestack.c (allocate_stack): Likewise.
7820         (__reclaim_stacks): Likewise.
7821         (setxid_signal_thread): Obtain pid through syscall.
7822         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7823         (sighandle_setxid): Likewise.
7824         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7825         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7826         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7827         Likewise.
7828         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7829         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7830         comment.
7831         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7832         * nptl/descr.h (struct pthread): Change comment about pid value.
7833         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7834         pid assert.
7835         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7836         Do not set pid value.
7837         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7838         pid cache check.
7839         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7840         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7841         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7842         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7843         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7844         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7845         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7846         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7847         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
7848         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
7849         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
7850         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7851         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
7852         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7853         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
7854         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
7855         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7856         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
7857         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
7858         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
7859         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
7860         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7861         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
7862         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
7863         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
7864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7866         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7867         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7868         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7869         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
7870         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7871         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
7872         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7873         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
7874         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7875         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
7876         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7877         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
7878         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
7879         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7880         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
7881         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
7882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7884         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7885         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7886         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7887         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7888         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7889         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
7890         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7891         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
7892         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
7893         struct access.
7894         (clone_test): Remove function.
7895         (do_test): Rewrite to take in consideration pid is not cached anymore.
7897 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7899         * bits/flt-eval-method.h: New file.
7900         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
7901         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
7902         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
7903         * math/Makefile (headers): Add bits/flt-eval-method.h.
7904         * math/math.h: Include <bits/flt-eval-method.h>.
7905         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
7906         [__USE_ISOC99] (double_t): Likewise.
7907         * bits/mathdef.h (float_t): Remove.
7908         (double_t): Likewise.
7909         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
7910         (double_t): Likewise.
7911         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
7912         (double_t): Likewise.
7913         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
7914         (double_t): Likewise.
7915         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
7916         (double_t): Likewise.
7917         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
7918         (double_t): Likewise.
7919         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
7920         (double_t): Likewise.
7921         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
7922         (double_t): Likewise.
7923         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
7924         (double_t): Likewise.
7925         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
7926         (double_t): Likewise.
7927         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
7928         (double_t): Likewise.
7929         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
7930         (double_t): Likewise.
7931         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
7932         (double_t): Likewise.
7933         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
7934         (double_t): Likewise.
7936 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
7938         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
7939         instead of PIC.
7941 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7943         [BZ #20859]
7944         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
7945         (-0x7fffffff) instead of 0x80000001.
7946         * math/test-fp-ilogb-constants.c: New file.
7947         * math/Makefile (tests): Add test-fp-ilogb-constants.
7949 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
7951         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
7952         (_init): Use it in place of hardcoded R_MIPS_JALR.
7953         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
7954         (_init): Use it in place of hardcoded R_MIPS_JALR.
7955         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
7956         (_init): Use it in place of hardcoded R_MIPS_JALR.
7958 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7960         [BZ #20787]
7961         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
7962         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
7963         (double_t): Do not define to double if [__x86_64__] when
7964         __FLT_EVAL_METHOD__ is nonzero.
7965         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
7966         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
7967         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7968         test-flt-eval-method-387 and test-flt-eval-method-sse.
7969         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
7970         variable.
7971         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
7973 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
7975         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
7976         use of -fno-isolate-erroneous-paths options for tilepro.
7978 2016-11-23  Florian Weimer  <fweimer@redhat.com>
7980         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
7981         structure initialization is no longer needed.
7983 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7985         [BZ #20855]
7986         * bits/mathdef.h (float_t): Define to float.
7987         * math/test-flt-eval-method.c: New file.
7988         * math/Makefile (tests): Add test-flt-eval-method.
7989         (CFLAGS-test-flt-eval-method.c): New variable.
7991 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
7993         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
7994         and __fstatfs.  Make them aliases of __fstatfs64 if
7995         STATFS_IS_STATFS64 is set to non-zero.
7996         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
7997         and __statfs64.
7998         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
7999         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8000         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8001         for __statfs and statfs.
8002         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8003         to 0.
8004         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8005         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8006         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8007         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8008         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8009         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8012         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8013         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8014         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8015         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8017 2016-11-22  Andreas Schwab  <schwab@suse.de>
8019         * misc/mkstemp.c: Include <fcntl.h>.
8020         * misc/mkstemps.c: Likewise.
8021         * misc/mkostemp.c: Likewise.
8022         * misc/mkostemps.c: Likewise.
8024 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8026         [BZ #20847]
8027         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8028         array bounds.
8029         (__execvpe): Likewise.
8031 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8033         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8034         -fno-isolate-erroneous-paths options for tilepro.
8036 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8038         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8039         to 0 when in 32 bit mode.
8040         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8041         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8042         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8043         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8045         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8046         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8047         XSTAT_IS_XSTAT64 test.
8048         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8049         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8050         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8051         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8052         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8053         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8054         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8055         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8056         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8057         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8058         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8060 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8062         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8063         (setpayload): New declaration.
8064         * math/Versions (setpayload): New libm symbol at version
8065         GLIBC_2.25.
8066         (setpayloadf): Likewise.
8067         (setpayloadl): Likewise.
8068         * math/Makefile (libm-calls): Add s_setpayloadF.
8069         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8070         test_Ff_b1_data.
8071         (RUN_TEST_Ff_b1): New macro.
8072         (RUN_TEST_LOOP_Ff_b1): Likewise.
8073         (canonicalize_test_data): Update type.
8074         (setpayload_test_data): New array.
8075         (setpayload_test): New function.
8076         (main): Call setpayload_test.
8077         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8078         setpayloadf and setpayloadl.
8079         * manual/libm-err-tab.pl: Update comment on interfaces without
8080         ulps tabulated.
8081         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8082         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8083         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8084         Likewise.
8085         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8086         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8087         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8088         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8089         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8090         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8091         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8092         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8093         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8094         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8095         setpayload.
8096         (CFLAGS-nldbl-setpayload.c): New variable.
8097         * sysdeps/nacl/libm.abilist: Update.
8098         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8099         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8100         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8101         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8102         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8103         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8104         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8105         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8106         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8107         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8108         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8109         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8111         Likewise.
8112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8113         Likewise.
8114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8115         Likewise.
8116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8117         Likewise.
8118         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8119         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8120         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8121         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8122         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8124         Likewise.
8125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8126         Likewise.
8127         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8128         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8129         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8131 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8133         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8134         * include/unistd.h: Extend comment about __access_noerrno return
8135         semantics.
8136         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8137         (access_common): Correct typo for EACCES.
8139 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8141         * sysdeps/tile/math-tests.h: New file.
8143         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8144         (__old_set_dataplane): Rename from set_dataplane and make a
8145         compatibility symbol.
8146         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8147         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8148         sys/dataplane.h.
8150 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8152         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8153         script quote words in command output to log suitably for input to
8154         the shell.
8156 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8157             Maciej W. Rozycki  <macro@imgtec.com>
8159         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8160         `.Lno_weak_fn' label.
8161         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8162         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8164 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8165             Yury Norov  <ynorov@caviumnetworks.com>
8167         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8168         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8169         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8170         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8171         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8172         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8173         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8174         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8175         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8176         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8177         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8178         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8179         (sysdep_routines): Remove oldgetrlimit64.
8180         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8181         (sysdep_routines): Likewise.
8182         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8183         (sysdep_routines): Likewise.
8184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8185         [$(subdir) = resource] (sysdep_routines): Likewise.
8186         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8187         [$(subdir) = resource] (sysdep_routines): Likewise.
8188         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8189         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8190         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8191         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8192         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8193         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8194         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8195         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8196         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8197         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8198         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8199         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8200         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8201         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8202         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8203         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8204         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8205         setrlimit and getrlimit.
8206         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8207         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8208         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8211         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8212         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8213         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8214         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8215         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8216         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8217         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8218         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8219         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8220         (__old_getrlimit64): Add compatibility symbol.
8221         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8223 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8225         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8226         newly built gmp, mpfr and mpc.
8228         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8230 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8232         * conform/Makefile (linknamespace-libs): Rename to
8233         linknamespace-libs-thr.
8234         (linknamespace-libs-posix): New variable.
8235         (linknamespace-libs-xsi): Likewise.
8236         (linknamespace-libs-XPG3): Include libcrypt.a.
8237         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8238         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8239         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8240         (linknamespace-libs-XOPEN2K): Likewise.
8241         (linknamespace-libs-XOPEN2K8): Likewise.
8242         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8244         [BZ #20829]
8245         * stdio-common/Versions (__snprintf): Add to version
8246         GLIBC_PRIVATE.
8247         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8248         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8249         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8250         of snprintf.
8251         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8253 2016-11-16  Zack Weinberg  <zackw@panix.com>
8255         * string/string.h: Remove obsolete comment stating that
8256         strcoll_l and strxfrm_l have not yet been standardized.
8258 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8260         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8261         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8262         __access_noerrno.
8263         * io/access.c (__access_noerrno): New function.
8264         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8265         (hurd_fail_seterrno): Likewise.
8266         (access_common): Likewise.
8267         (__access_noerrno): Likewise.
8268         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8269         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8270         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8271         macro.
8273 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8275         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8276         Only declare fpregs if [__SH_FPU_ANY__].
8278 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8280         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8281         Make code unconditional.
8282         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8284 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8286         * manual/sysinfo.texi (S_APPEND): Delete.
8287         (S_IMMUTABLE): Likewise.
8289 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8290             Magnus Granberg  <zorry@gentoo.org>
8291             Mike Frysinger  <vapier@gentoo.org>
8293         [BZ #20662]
8294         * configure.ac (libc_cv_predef_stack_protector): Also check for
8295         __stack_chk_fail_local symbols.
8296         * configure: Regenerated.
8298 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8300         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8301         (libc_hidden_def): Remove redefinition.
8302         (__sigsetjmp): Add hidden definition.
8303         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8304         (libc_hidden_def): Remove redefinition.
8305         (__sigsetjmp): Add hidden definition.
8307 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8309         * scripts/build-many-glibcs.py (os.path): Do not import.
8310         (Context): Inherit explicitly from object.  Remove blank line
8311         between class and docstring.
8312         (Config): Likewise.
8313         (Glibc): Likewise.
8314         (Command): Likewise.
8315         (CommandList): Likewise.
8316         (Context.write_files): Store chmod mode in a variable.
8318         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8319         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8320         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8322 2016-11-14  Zack Weinberg  <zackw@panix.com>
8324         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8325         creating or re-creating it.
8327         * string/bits/string2.h: Fix typo in comment.
8329 2016-11-14  Zack Weinberg  <zackw@panix.com>
8331         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8332         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8333         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8334         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8335         of redirected function names.
8337         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8338         as well.  Document that MESSAGE must be a single string literal.
8340 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8342         * scripts/build-many-glibcs.py: New file.
8344         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8345         (do_test): Disable -Wmaybe-uninitialized around uses of
8346         except_mask.
8348         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8350 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8352         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8353         (atomic_store_release): Provide tilepro-specific implementations.
8355 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8357         * math/math.h (__MATH_TG): New macro.
8358         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8359         [__USE_ISOC99] (signbit): Likewise.
8360         [__USE_ISOC99] (isfinite): Likewise.
8361         [__USE_ISOC99] (isnan): Likewise.
8362         [__USE_ISOC99] (isinf): Likewise.
8363         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8364         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8365         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8366         __MATH_TG and __MATH_EVAL_FMT2.
8367         * sysdeps/generic/math_private.h (fabs_tg): Define using
8368         __MATH_TG.
8369         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8370         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8371         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8372         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8373         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8374         macro.
8375         (__iscanonical): Likewise.
8376         (iscanonical): Define using __MATH_TG.
8378 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8380         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8381         guards.
8383         * sysdeps/unix/sysv/linux/access.c: New file.
8384         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8386 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8388         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8389         and __WORDSIZE32_PTRDIFF_LONG.
8391 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8393         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8395 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8397         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8398         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8399         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8400         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8401         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8403         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8404         * sysdeps/unix/sysv/linux/truncate.c: New file.
8405         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8406         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8407         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8408         Remove.
8409         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8410         Likewise.
8412         * posix/tst-truncate-common.c: New file.
8413         * posix/tst-truncate.c: Use tst-truncate-common.c.
8414         * posix/tst-truncate64.c: Likewise and add LFS tests.
8415         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8416         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8417         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8418         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8419         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8421         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8422         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8423         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8424         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8425         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8426         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8427         Remove.
8428         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8429         Likewise.
8431 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8433         [BZ #20790]
8434         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8435         to MAXLINESIZE.
8436         * sunrpc/bug20790.x: New file.
8437         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8438         variable.
8439         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8440         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8442         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8444         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8446         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8447         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8448         calloc, realloc, free, memalign and __libc_memalign rather than
8449         making them optional.
8451         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8452         for libc.so.
8454 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8456         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8457         ptw-lseek64.
8458         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8459         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8460         Likewise.
8461         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8462         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8463         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8464         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8465         * sysdeps/unix/sysv/linux/lseek.c: New file.
8466         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8467         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8468         __libc_lseek64 from auto-generation.
8469         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8470         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8472 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8474         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8475         * nptl/tst-cleanup1.c (do_test): Likewise.
8476         * nptl/tst-cleanup3.c (do_test): Likewise.
8477         * nptl/tst-key1.c (do_test): Likewise.
8478         * nptl/tst-key2.c (tf, do_test): Likewise.
8479         * nptl/tst-key3.c (tf, do_test): Likewise.
8480         * nptl/tst-stdio1.c (do_test): Likewise.
8481         * nptl/tst-stdio2.c (do_test): Likewise.
8483         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8484         * nptl/tst-kill6.c (handler): Likewise.
8485         * nptl/tst-tls2.c (CB): Likewise.
8486         * nptl/tst-tls3.c (CB): Likewise.
8488 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8490         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8492 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8493             Steve Ellcey  <sellcey@caviumnetworks.com>
8495         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8496           __ASSUME_ST_INO_64_BIT as 0
8497         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8498         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8499           over the code where __ASSUME_ST_INO_64_BIT is used.
8500         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8501         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8502         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8504 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8506         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8507         Document ABI exposure of the __kind offset.
8508         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8509         Mention reason for the __kind offset exposure in the ABI.
8510         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8511         Likewise.
8512         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8513         Likewise.
8514         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8515         Likewise.
8516         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8517         (struct __pthread_mutex_s): Likewise.
8518         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8519         Likewise.
8520         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8521         Likewise.
8522         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8523         Likewise.
8524         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8525         Likewise.
8526         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8527         Likewise.
8528         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8529         Likewise.
8530         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8531         (struct __pthread_mutex_s): Likewise.
8532         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8533         (struct __pthread_mutex_s): Likewise.
8534         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8535         Likewise.
8537 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8539         * test-skeleton.c: Document do_test usage.
8541 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8543         * iconv/gconv.h (__gconv_info): Define __data element using a
8544         zero-length array.
8546 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8548         * math/test-tgmath2.c: Split up test function.
8550 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8552         * Rules (tests-expected): New variable, depending on
8553         $(run-built-tests).
8554         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8555         $(tests).
8557         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8558         $(tests-unsupported).
8560 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8562         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8563         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8565 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8567         [BZ #20768]
8568         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8569         __fegetenv instead of fegetenv.
8571         [BZ #14139]
8572         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8573         (find_files): Obtain platform name from libm-test-ulps-name and
8574         store in %pplatforms.
8575         (canonicalize_platform): Remove.
8576         (print_platforms): Use $pplatforms directly.
8577         (by_platforms): Do not allow for platforms missing from
8578         %pplatforms.
8579         * sysdeps/aarch64/libm-test-ulps-name: New file.
8580         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8581         * sysdeps/arm/libm-test-ulps-name: Likewise.
8582         * sysdeps/generic/libm-test-ulps-name: Likewise.
8583         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8584         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8585         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8586         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8587         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8588         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8589         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8590         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8591         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8592         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8593         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8594         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8595         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8596         * sysdeps/sh/libm-test-ulps-name: Likewise.
8597         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8598         * sysdeps/tile/libm-test-ulps-name: Likewise.
8599         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8601         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8603         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8604         (test-xfail-check-execstack): New variable.
8606         * sysdeps/mips/localplt.data: New file.
8608 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8609             Steve Ellcey  <sellcey@caviumnetworks.com>
8611         * bits/wordsize.h: Add documentation.
8612         * sysdeps/aarch64/bits/wordsize.h : New file
8613         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8614         definitions.
8615         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8616         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8617         with #if instead of #ifdef.
8618         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8619         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8620         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8621         Add or change defines.
8622         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8623         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8624         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8625         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8626         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8627         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8628         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8629         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8630         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8631         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8632         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8633         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8634         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8635         * sysdeps/x86/bits/wordsize.h: Likewise.
8637 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8638             Kevin Petit  <kevin.petit@arm.com>
8640         * sysdeps/aarch64/memchr.S (__memchr): New file.
8642 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8644         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8646 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8648         [BZ #19398]
8649         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8650         $(linknamespace-symlists-tests).
8652 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8654         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8656 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8657             Carlos O'Donell  <carlos@redhat.com>
8659         [Bug #20729]
8660         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8661         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8662         for -Os related change.
8664 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8666         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8668 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8670         [BZ #19673]
8671         * manual/math.texi (Exponents and Logarithms): Correct description
8672         of clog10.
8674 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8676         [Bz #20729]
8677         * locale/weight.h: Include libc-internal.h.
8678         * locale/weightwc.h: Likewise.
8679         * nptl/nptl_dbP.h: Likewise.
8681 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8683         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8684         when it is MACH_PORT_NULL.
8686 2016-10-31  Andreas Schwab  <schwab@suse.de>
8688         [BZ #20707]
8689         * posix/glob.c (glob): Initialize pglob before checking for
8690         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8691         valid brace expression despite GLOB_BRACE.
8692         * posix/globtest.sh: Test it.
8694 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8696         [BZ #20729]
8697         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8698         Define.
8699         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8700         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8701         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8702         for seq2.back_us and seq1.back_us only for -Os compiles.
8703         * locale/weightwc.h (findix): Likewise.
8704         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8705         DB_GET_FIELD_ADDRESS only for -Os compiles.
8706         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8707         for slen only for -Os compiles.
8708         * string/strcoll_l.c (get_next_seq): Ignore
8709         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8710         for -Os compiles.
8712         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8713         * include/crypt.h: New file.
8715 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8717         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8718         from test-skeleton.c.
8719         (statclass): Replace calls to write with calls to write_message.
8721 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8723         * math/math.h
8724         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8725         New macro.
8726         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8727         Likewise.
8728         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8729         Likewise.
8730         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8731         SNANL.
8732         * math/test-double.h (snan_value_MACRO): New macro.
8733         * math/test-float.h (snan_value_MACRO): Likewise.
8734         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8735         * math/libm-test.inc (issignaling_test_data): Add tests of
8736         snan_value_MACRO.
8738 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8740         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8741         behavior when eliding a lock not held by the current thread.
8742         * sysdeps/powerpc/nptl/elide.h: Likewise.
8744 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8746         [BZ #20728]
8747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8748         branch to _exit() by a function call.
8750 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8752         * malloc/malloc.c: Update chunk layout comments.
8753         (chunk_main_arena): Update comment.
8755 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8757         * crypt/sha256.c, crypt/sha256-block.c,
8758         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8759         sha256_process_block to __sha256_process_block.
8760         * crypt/sha512.c, crypt/sha512-block.c,
8761         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8762         sha512_process_block to __sha512_process_block.
8764 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8766         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8768         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8770 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8772         [BZ #20019]
8773         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8774         definition in unrelocated shared library.
8775         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8777 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8779         [BZ #20729]
8780         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8781         * sysdeps/unix/sysv/linux/i386/Makefile
8782         (uses-6-syscall-arguments): Define.
8783         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8784         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8785         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8786         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8787         Likewise.
8788         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8789         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8790         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8791         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8792         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8793         (CFLAGS-fallocate64.os): Likewise.
8794         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8795         (CFLAGS-pthread_rwlock_timedrdlock.os)
8796         (CFLAGS-pthread_rwlock_timedwrlock.o)
8797         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8798         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8799         (CFLAGS-sem_timedwait.os): Likewise.
8801 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8803         * elf/tst-linkall-static.c: New file.
8804         * elf/Makefile (tests-static): Add tst-linkall-static.
8805         (tst-linkall-static): Link against static libraries.
8807 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8809         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8810         mmaped chunks.
8812 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8814         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8815         members to mchunk_prev_size, mchunk_size.
8816         (chunk_main_arena): Reverse sense and rename from
8817         chunk_non_main_arena.
8818         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8819         mchunk_size instead of size.
8820         (set_non_main_arena): Define.
8821         (chunksize): Use chunksize_nomask instead of direct member access.
8822         (chunksize_nomask): Define.
8823         (next_chunk): Use chunksize instead of direct member access.
8824         (prev_size, set_prev_size): Define.
8825         (prev_chunk): Use prev_size instead of direct member access.
8826         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8827         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8828         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8829         (mchunk_prev_size, mchunk_size): Poison tokens.
8830         (unlink): Use chunksize_nomask, prev_size accessors.
8831         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8832         (do_check_free_chunk): Use prev_size accessor.
8833         (sysmalloc): Use set_prev_size, set_head accessors.
8834         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8835         (__libc_free): Use chunksize_nomask accessor.
8836         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8837         chunk_main_arena accessors.
8838         (_int_free): Use chunksize_nomask, prev_size accessors.
8839         (malloc_consolidate): Use chunksize, prev_size accessors.
8840         (_int_realloc): Use chunksize_nomask accessor.
8841         (_int_memalign): Use set_prev_size accessor.
8842         (__malloc_info): Use chunksize_nomask accessor.
8843         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8844         accessors.
8845         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8846         (heap_trim): Use chunksize_nomask, prev_size accessors.
8848 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8850         [BZ #19380]
8851         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
8852         for inexact results.
8853         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
8854         of inexact result where mpfr_subnormalize is the only inexact
8855         step.
8856         * stdlib/tst-strtod-round-data.h: Regenerated.
8857         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
8858         Define to 0.
8859         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
8861 2016-10-27  David S. Miller  <davem@davemloft.net>
8863         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
8865 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8867         * malloc/malloc.c (do_set_mallopt_check): New function.
8868         (do_set_mmap_threshold): Likewise.
8869         (do_set_mmaps_max): Likewise.
8870         (do_set_top_pad): Likewise.
8871         (do_set_perturb_byte): Likewise.
8872         (do_set_trim_threshold): Likewise.
8873         (do_set_arena_max): Likewise.
8874         (do_set_arena_test): Likewise.
8875         (__libc_mallopt): Use them.
8877 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
8879         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8880         (canonicalize): New declaration.
8881         * math/Versions (canonicalize): New libm symbol at version
8882         GLIBC_2.25.
8883         (canonicalizef): Likewise.
8884         (canonicalizel): Likewise.
8885         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
8886         * math/s_canonicalize_template.c: New file.
8887         * math/libm-test.inc: Update comment on functions tested and
8888         testing of NaN payloads.
8889         (TEST_NAN_PAYLOAD): New macro.
8890         (NO_TEST_INLINE): Update value.
8891         (XFAIL_TEST): Likewise.
8892         (ERRNO_UNCHANGED): Likewise.
8893         (ERRNO_EDOM): Likewise.
8894         (ERRNO_ERANGE): Likewise.
8895         (IGNORE_RESULT): Likewise.
8896         (NON_FINITE): Likewise.
8897         (TEST_SNAN): Likewise.
8898         (NO_TEST_MATHVEC): Likewise.
8899         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
8900         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
8901         (struct test_Ffp_b1_data): New type.
8902         (RUN_TEST_Ffp_b1): New macro.
8903         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8904         (canonicalize_test_data): New array.
8905         (canonicalize_test): New function.
8906         (main): Call canonicalize_test.
8907         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
8908         canonicalizef and canonicalizel.
8909         * manual/libm-err-tab.pl: Update comment on interfaces without
8910         ulps tabulated.
8911         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
8912         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
8913         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8914         canonicalize.
8915         (CFLAGS-nldbl-canonicalize.c): New variable.
8916         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
8917         to ...
8918         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
8919         ... here.
8920         (do_test): Also test canonicalizel.
8921         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
8922         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
8923         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
8924         file.
8925         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
8926         Use libm_hidden_def.
8927         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
8928         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
8929         (do_test): Also test canonicalizel.
8930         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
8931         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
8932         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
8933         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
8934         libm_hidden_def.
8935         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
8936         macro.
8937         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
8938         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
8939         * sysdeps/nacl/libm.abilist: Update.
8940         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8941         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8942         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8943         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8944         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8945         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8946         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8947         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8948         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8949         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8950         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8951         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8953         Likewise.
8954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8955         Likewise.
8956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8957         Likewise.
8958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8959         Likewise.
8960         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8961         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8962         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8963         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8964         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8966         Likewise.
8967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8968         Likewise.
8969         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8970         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8971         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8973         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
8974         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8975         getpayload.
8976         (CFLAGS-nldbl-getpayload.c): New variable.
8978 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8980         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
8981         integer from the format string.
8983 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8985         [BZ #19473]
8986         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
8987         declarations.
8988         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
8989         weak aliases.
8990         * malloc/hooks.c (__malloc_get_state): Remove definition.
8991         (malloc_get_state): New stub implementation as
8992         compatibility symbol.
8993         (malloc_set_state): Rename from __malloc_set_state.  Turn into
8994         compat symbol.
8995         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
8996         malloc_set_state.
8997         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
8999 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9001         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9002         (names): Turn into concatenation of strings.
9003         (gconv_init): Adapt iteration over names.
9005 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9007         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9008         make const.
9009         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9010         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9011         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9012         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9013         character in sbconv.
9014         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9015         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9016         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9018 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9020         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9022         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9023         (M_TRIM_THRESHOLD): Likewise.
9025         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9026         (M_ARENA_MAX): Likewise.
9027         * malloc/malloc.c: Remove obsolete comment.
9029         * manual/memory.texi: Add environment variable alternatives to
9030         setting mallopt parameters.
9032 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9034         * include/atomic.h
9035         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9036         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9038 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9040         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9041         * stdlib/tst-strfrom.h: New file.
9042         * stdlib/tst-strfrom.c: New file.
9043         * stdlib/tst-strfrom-locale.c: New file.
9045         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9046         * stdlib/bug-strtod2.c: Likewise.
9047         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9048         * stdlib/tst-strtod6.c: Likewise.
9049         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9051 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9053         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9054         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9055         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9056         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9057         * stdlib/stdlib.h (strfromd): New declaration.
9058         (strfromf): Likewise.
9059         (strfroml): Likewise.
9060         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9061         strfrom.
9062         * stdlib/strfromd.c: New file.
9063         * stdlib/strfromf.c: Likewise.
9064         * stdlib/strfroml.c: Likewise.
9065         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9066         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9067         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9068         * sysdeps/arm/nacl/libc.abilist: Update.
9069         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9070         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9071         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9072         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9073         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9074         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9075         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9076         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9077         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9078         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9079         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9080         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9081         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9082         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9087         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9088         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9089         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9090         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9091         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9094         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9095         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9096         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9098 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9100         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9101         instead of cmpli.
9102         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9103         instead of cmpli.
9105 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9107         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9108         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9109         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9110         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9111         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9112         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9114 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9116         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9117         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9118         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9119         SYSCALL_LL64_PRW.
9120         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9121         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9122         __ASSUME_PRW_DUMMY_ARG.
9123         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9124         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9125         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9126         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9127         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9128         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9130 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9132         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9134 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9136         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9137         "C++", to override a potential extern "C" directive around the
9138         header file inclusion.
9140 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9142         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9144 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9146         * sysdeps/powerpc/fpu/fenv_private.h:
9147         (_FPU_MASK_ALL): Rename to...
9148         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9149         XE FPSCR bits.
9151         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9153         (_FPU_MASK_ROUNDING): Rename to...
9154         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9155         NI bits.
9157         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9158         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9159         bits and rounding bits.
9161         (__libc_feholdbits_ppc): New inline function to mask, set,
9162         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9163         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9164         (libc_feholdexcept_setround_ppc): Likewise.
9166         (__libc_femergeenv_ppc): New function to dynamically mask both
9167         old and new FP environments and merge.
9168         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9169         (libc_feresetround_ppc): Likewise.
9170         (libc_feupdateenv_test_ppc): Likewise.
9171         (libc_feupdateenv_ppc): Likewise.
9173         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9174         of ISA RN bits, and update macro names.
9175         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9176         effectively the same as the previously mentioned function.
9178         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9179         usage with fe_resetround_ppc.
9181         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9182         to be used.
9183         (libc_feholdexcept_setround_ctxf): Likewise.
9184         (libc_feholdexcept_setround_ctxl): Likewise.
9186 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9188         [BZ #20715]
9189         * math/math.h [__cplusplus] (iszero): Define as function template.
9190         * math/Makefile [CXX] (tests): Add test-math-iszero.
9191         (CFLAGS-test-math-iszero.cc): Set.
9192         * math/test-math-iszero.cc: New file.
9194 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9196         [BZ #20660]
9197         * sysdeps/arm/e_sqrt.c: New file.
9198         * sysdeps/arm/e_sqrtf.c: Likewise.
9200 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9202         [BZ #20718]
9203         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9204         not use floating-point comparisons to test sign.
9205         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9206         Likewise.
9208         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9209         (getpayload): New declaration.
9210         * math/Versions (getpayload): New libm symbol at version
9211         GLIBC_2.25.
9212         (getpayloadf): Likewise.
9213         (getpayloadl): Likewise.
9214         * math/Makefile (libm-calls): Add s_getpayloadF.
9215         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9216         (struct test_f_f_data): Add comment.
9217         (RUN_TEST_fp_f): New macro.
9218         (RUN_TEST_LOOP_fp_f): Likewise.
9219         (getpayload_test_data): New array.
9220         (getpayload_test): New function.
9221         (main): Call getpayload_test.
9222         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9223         descriptor.
9224         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9225         getpayloadf and getpayloadl.
9226         * manual/libm-err-tab.pl: Update comment on interfaces without
9227         ulps tabulated.
9228         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9229         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9230         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9231         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9232         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9233         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9234         * sysdeps/nacl/libm.abilist: Update.
9235         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9236         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9237         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9238         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9239         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9240         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9241         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9242         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9243         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9244         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9245         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9246         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9248         Likewise.
9249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9250         Likewise.
9251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9252         Likewise.
9253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9254         Likewise.
9255         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9256         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9257         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9258         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9259         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9261         Likewise.
9262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9263         Likewise.
9264         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9265         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9266         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9268 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9270         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9271         tst-fallocate{64}.
9272         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9273         on syscall return.
9275 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9277         [BZ #20689]
9278         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9279         usable.
9281 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9283         * sysdeps/generic/nan-high-order-bit.h: New file.
9284         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9285         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9286         * sysdeps/hppa/math_private.h: Remove file.
9287         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9288         not define here.
9289         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9290         <nan-high-order-bit.h>.
9291         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9292         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9293         <nan-high-order-bit.h>.
9294         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9295         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9296         <nan-high-order-bit.h>.
9297         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9298         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9299         <nan-high-order-bit.h>.
9300         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9301         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9302         <nan-high-order-bit.h>.
9303         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9304         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9305         <nan-high-order-bit.h>.
9306         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9307         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9308         <nan-high-order-bit.h>.
9309         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9310         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9311         <nan-high-order-bit.h>.
9312         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9313         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9314         <nan-high-order-bit.h>.
9315         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9316         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9317         <nan-high-order-bit.h>.
9318         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9319         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9320         <nan-high-order-bit.h>.
9321         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9322         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9323         <nan-high-order-bit.h>.
9324         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9325         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9326         <nan-high-order-bit.h>.
9327         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9328         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
9329         <nan-high-order-bit.h>.
9330         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9331         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
9332         <nan-high-order-bit.h>.
9333         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9334         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
9335         <nan-high-order-bit.h>.
9336         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9337         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9338         <nan-high-order-bit.h>.
9339         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9340         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9341         <nan-high-order-bit.h>.
9342         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9344 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9346         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9348 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9350         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9351         abort-instr.h.
9352         (EFAULT): Remove conditional define.
9353         (ENOSYS): Likewise.
9354         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9355         instead of conditional branch instructions.
9357 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9359         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9360         (totalordermag): New declaration.
9361         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9362         New macro.
9363         * math/Versions (totalordermag): New libm symbol at version
9364         GLIBC_2.25.
9365         (totalordermagf): Likewise.
9366         (totalordermagl): Likewise.
9367         * math/Makefile (libm-calls): Add s_totalordermagF.
9368         * math/libm-test.inc (totalordermag_test_data): New array.
9369         (totalordermag_test): New function.
9370         (main): Call totalordermag_test.
9371         * math/test-tgmath.c (NCALLS): Increase to 125.
9372         (F(compile_test)): Call totalordermag.
9373         (F(totalordermag)): New function.
9374         * manual/arith.texi (FP Comparison Functions): Document
9375         totalordermag, totalordermagf and totalordermagl.
9376         * manual/libm-err-tab.pl: Update comment on interfaces without
9377         ulps tabulated.
9378         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9379         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9380         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9381         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9382         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9383         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9384         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9385         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9386         totalordermag.
9387         (CFLAGS-nldbl-totalordermag.c): New variable.
9388         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9389         (do_test): Also test totalordermagl.
9390         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9391         Likewise.
9392         * sysdeps/nacl/libm.abilist: Update.
9393         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9395         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9396         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9397         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9398         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9399         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9400         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9401         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9402         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9403         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9404         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9406         Likewise.
9407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9408         Likewise.
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9410         Likewise.
9411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9412         Likewise.
9413         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9414         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9415         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9416         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9417         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9419         Likewise.
9420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9421         Likewise.
9422         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9423         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9424         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9426 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9428         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9429         boolean.
9431 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9433         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9434         raising FE_INVALID with feraisexcept in case where part of
9435         argument is infinite, subtract that part of argument from itself.
9436         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9437         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9438         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9440 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9442         * math/libm-test.inc (totalorder_test_data): Add more tests.
9444 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9446         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9447         Undefine weak_alias and add a comment why mips64 require
9448         versioning.
9450 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9452         [BZ #20647]
9453         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9454         maximum CPUID level is less than 2.
9456 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9458         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9459         (totalorder): New declaration.
9460         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9461         New macro.
9462         * math/Versions (totalorder): New libm symbol at version
9463         GLIBC_2.25.
9464         (totalorderf): Likewise.
9465         (totalorderl): Likewise.
9466         * math/Makefile (libm-calls): Add s_totalorderF.
9467         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9468         string.
9469         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9470         (qnan_value_pl): Likewise.
9471         (snan_value_pl): Likewise.
9472         (qnan_value): Define using qnan_value_pl.
9473         (snan_value): Define using snan_value_pl.
9474         (struct test_ff_i_data): Add comment about which tests use this
9475         structure.
9476         (RUN_TEST_ff_b): New macro.
9477         (RUN_TEST_LOOP_ff_b): Likewise.
9478         (totalorder_test_data): New array.
9479         (totalorder_test): New function.
9480         (main): Call totalorder_test.
9481         * math/test-tgmath.c (NCALLS): Increase to 122.
9482         (F(compile_test)): Call totalorder.
9483         (F(totalorder)): New function.
9484         * manual/arith.texi (FP Comparison Functions): Document
9485         totalorder, totalorderf and totalorderl.
9486         * manual/libm-err-tab.pl: Update comment on interfaces without
9487         ulps tabulated.
9488         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9489         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9490         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9491         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9492         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9493         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9494         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9495         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9496         totalorder.
9497         (CFLAGS-nldbl-totalorder.c): New variable.
9498         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9499         file.
9500         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9501         Add test-totalorderl-ldbl-128ibm.
9502         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9503         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9504         test-totalorderl-ldbl-96.
9505         * sysdeps/nacl/libm.abilist: Update.
9506         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9507         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9508         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9509         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9510         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9511         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9512         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9513         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9514         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9515         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9516         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9517         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9519         Likewise.
9520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9521         Likewise.
9522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9523         Likewise.
9524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9525         Likewise.
9526         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9528         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9529         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9530         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9532         Likewise.
9533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9534         Likewise.
9535         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9536         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9537         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9539 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9541         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9542         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9543         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9544         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9545         remove ENOSYS implementation.
9546         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9547         Consolidate all Linux implementations.
9549 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9551         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9552         * resolv/herror.c (herror): Cast away const-ness.
9553         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9554         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9556 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9558         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9559         instead of M_NAN + M_NAN.
9560         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9562 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9564         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9565         unused variable 'p'.
9567 2016-10-09  Alan Modra  <amodra@gmail.com>
9568             Andreas Schwab  <schwab@linux-m68k.org>
9570         [BZ #20554]
9571         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9572         [PIC && !SHARED]: Set up PIC register for PLT call.
9574 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9576         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9577         conditional on value of [__FLT_EVAL_METHOD__].
9578         * math/test-iseqsig-excess-precision.c: New file.
9579         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9581 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9583         * math/s_iseqsig_template.c: Include math-private.h.
9585         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9586         * posix/tst-posix_fadvise.c: New file.
9587         * posix/tst-posix_fadvise64.c: Likewise.
9588         * posix/tst-posix_fadvise-common.c: Likewise.
9589         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9590         (__ASSUME_FADVISE64_64_6ARG): Define.
9591         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9592         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9593         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9594         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9595         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9596         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9597         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9598         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9599         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9600         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9601         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9602         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9605         Likewise.
9606         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9607         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9608         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9609         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9610         Alias to __posix_fadvise64_l32.
9611         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9612         Add compat definition to posix_fadvise64.
9613         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9614         Add versioned definition to posix_fadvise64.
9615         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9616         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9617         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9618         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9619         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9621         * io/Makefile (tests): Add tst-posix_fallocate and
9622         tst-posix_fallocate64.
9623         * io/tst-posix_fallocate-common.c: New file.
9624         * io/tst-posix_fallocate.c: Likewise.
9625         * io/tst-posix_fallocate64.c: Likewise.
9626         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9627         file.
9628         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9629         Likewise.
9630         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9631         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9632         Likewise.
9633         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9634         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9635         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9636         SYSCALL_LL to pass both offset and len arguments.
9637         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9638         Likewise.
9639         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9640         __libc_pwrite64 alias used by posix_fallocate64.
9642         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9643         tst-fallocate64.
9644         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9645         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9646         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9647         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9648         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9649         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9650         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9651         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9652         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9653         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9654         macro on offset argument.
9655         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9656         SYSCALL_LL64 on offset argument.
9658         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9659         tst-fallocate64.
9660         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9661         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9662         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9663         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9664         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9665         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9666         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9667         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9668         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9669         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9670         macro on offset argument.
9671         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9672         SYSCALL_LL64 on offset argument.
9673         * test-skeleton.c (FAIL_RET): Add macro.
9674         (FAIL_EXIT): Likewise.
9675         (FAIL_EXIT1): Likewise.
9676         (_FAIL): Likewise.
9678 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9680         [BZ #20629]
9681         resolv: Remove RES_USEBSTRING and its implementation.
9682         * resolv/resolv.h (RES_USEBSTRING): Remove.
9683         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9684         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9685         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9686         (labellen): Remove extended label types support.
9687         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9688         * resolv/res_init.c (res_setoptions): Likewise.
9689         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9691 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9693         resolv: Remove RES_NOIP6DOTINT and its implementation.
9694         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9695         (RES_NOIP6DOTINT): Remove.
9696         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9697         handling.
9698         * resolv/res_debug.c (p_option): Likewise.
9699         * resolv/res_init.c (res_setoptions): Likewise.
9700         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9702 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9704         resolv: Deprecate unimplemented flags.
9705         * misc/sys/cdefs.h (__glibc_macro_warning1)
9706         (__glibc_macro_warning): Define.
9707         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9708         (RES_KEEPTSIG): Mark as deprecated.
9709         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9710         RES_NOCHECKNAME, RES_KEEPTSIG.
9711         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9713 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9715         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9716         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9717         Use strong_alias to create symbols for glibc verison 2.19.
9719 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9721         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9723 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9725         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9727 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9729         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9731 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9733         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9734         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9735         in header for using it as type for ifunc function because __GI_* symbols
9736         for ppc32 do not target the ifunc symbols.
9737         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9739 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9741         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9742         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9743         libc_ifunc_hidden_def.
9744         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9745         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9746         Redirect ifunced function in header for using it as type of ifunc'ed
9747         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9748         function for __GI_* symbol.
9749         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9750         * include/libc-symbols.h
9751         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9753 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9755         [BZ #20478]
9756         * sysdeps/s390/multiarch/ifunc-resolve.h
9757         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9758         to create ifunc symbols.
9759         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9760         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9761         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9762         for using it as type for ifunc function.
9763         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9764         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9765         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9766         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9767         * sysdeps/s390/multiarch/strcat.c: Likewise.
9768         * sysdeps/s390/multiarch/strchr.c: Likewise.
9769         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9770         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9771         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9772         * sysdeps/s390/multiarch/strlen.c: Likewise.
9773         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9774         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9775         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9776         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9777         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9778         * sysdeps/s390/multiarch/strspn.c: Likewise.
9779         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9780         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9781         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9782         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9783         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9784         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9785         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9786         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9787         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9788         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9789         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9790         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9792 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9794         * include/libc-symbols.h (__ifunc_resolver):
9795         New macro is used by __ifunc* macros.
9796         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9797         depending on HAVE_GCC_IFUNC.
9798         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9799         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9801         Redirect ifunced function in header for using as type for ifunc function.
9802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9806         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9807         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9808         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9809         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9810         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9811         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9812         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9813         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9814         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9815         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9821         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9822         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9823         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9824         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9825         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9826         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9827         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9828         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9829         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9830         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9831         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9832         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9833         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9834         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9836         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9837         instead of libc_ifunc() macro.
9838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9839         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9841 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9843         * config.h.in (HAVE_GCC_IFUNC): New undef.
9844         * configure.ac: Add check if gcc supports attribute ifunc feature.
9845         * configure: Regenerated.
9846         * manual/install.texi: Add recommendation for gcc with
9847         indirect-function support.
9848         * INSTALL: Regenerated.
9850 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
9852         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
9853         macro.
9854         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9855         (__iseqsig): New declaration.
9856         * math/s_iseqsig_template.c: New file.
9857         * math/Versions (__iseqsigf): New libm symbol at version
9858         GLIBC_2.25.
9859         (__iseqsig): Likewise.
9860         (__iseqsigl): Likewise.
9861         * math/libm-test.inc (iseqsig_test_data): New array.
9862         (iseqsig_test): New function.
9863         (main): Call iseqsig_test.
9864         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
9865         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
9866         * manual/libm-err-tab.pl: Update comment on interfaces without
9867         ulps tabulated.
9868         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
9869         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
9870         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
9871         * sysdeps/nacl/libm.abilist: Update.
9872         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9873         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9874         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9875         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9876         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9877         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9878         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9879         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9880         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9881         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9882         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9883         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9885         Likewise.
9886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9887         Likewise.
9888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9889         Likewise.
9890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9891         Likewise.
9892         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9893         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9894         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9895         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9896         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9898         Likewise.
9899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9900         Likewise.
9901         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9902         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9903         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9905 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9907         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
9908         do_sincos_2, sloww, sloww1): Update comments.
9910         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
9911         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
9913         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
9914         K boolean and rename it.
9915         (__sin): Adjust.
9916         (__cos): Adjust.
9918 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9919             Siddhesh Poyarekar  <siddhesh@sourceware.org>
9921         * manual/nss.texi: Fix typos in the manual.
9923 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9925         * manual/contrib.texi: Fix typos in the manual.
9927         * manual/maint.texi: Fix typos in the manual.
9929         * manual/install.texi: Fix typos in the manual.
9930         * INSTALL: Regenerated.
9932         * manual/lang.texi: Fix typos in the manual.
9934         * manual/probes.texi: Fix typos in the manual.
9936         * manual/threads.texi: Fix typos in the manual.
9938         * manual/debug.texi: Fix typos in the manual.
9940         * manual/crypt.texi: Fix typos in the manual.
9942         * manual/conf.texi: Fix typos in the manual.
9944         * manual/sysinfo.texi: Fix typos in the manual.
9946         * manual/users.texi: Fix typos in the manual.
9948         * manual/job.texi: Fix typos in the manual.
9950         * manual/process.texi: Fix typos in the manual.
9952         * manual/argp.texi: Fix typos in the manual.
9953         * manual/getopt.texi: Likewise.
9954         * manual/startup.texi: Likewise.
9956         * manual/signal.texi: Fix typos in the manual.
9958         * manual/setjmp.texi: Fix typos in the manual.
9960         * manual/resource.texi: Fix typos in the manual.
9962         * manual/time.texi: Fix typos in the manual.
9964         * manual/arith.texi: Fix typos in the manual.
9966         * manual/math.texi: Fix typos in the manual.
9968         * manual/syslog.texi: Fix typos in the manual.
9970         * manual/terminal.texi: Fix typos in the manual.
9972         * manual/socket.texi: Fix typos in the manual.
9974         * manual/filesys.texi: Fix typos in the manual.
9976         * manual/llio.texi: Fix typos in the manual.
9978         * manual/stdio.text: Fix typos in the manual.
9980 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9982         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
9983         instead of K1.
9985         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
9986         SHIFT_QUADRANT and make it bool.
9987         (do_sincos_2): Likewise.
9988         (sloww): Likewise.
9989         (sloww1): Likewise.
9990         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
9991         (__cos): Likewise.
9993 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9995         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9997 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
9999         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10000         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10001         0x7fffffffL].
10002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10004 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10006         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10007         inline by __inline__.
10008         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10009         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10010         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10011         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10012         sigset_t from signal.h.
10013         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10014         which is already required.
10016 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10018         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10020 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10022         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10023         (struct tcp_repair_window): New type.
10025 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10027         * libio/tst-memstream3.c: Include string.h.
10029 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10031         [BZ #18241]
10032         [BZ #20181]
10033         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10034         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10035         write position is at the end the buffer.
10036         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10037         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10038         (_IO_str_seekoff): Set correct offset from negative displacement and
10039         set EINVAL for invalid ones.
10040         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10041         buffer length.
10042         (_IO_wstr_switch_to_get_mode): New function.
10043         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10044         set EINVAL for invalid ones.
10045         * libio/tst-memstream3.c: New file.
10046         * libio/tst-wmemstream3.c: Likewise.
10047         * manual/examples/memstrm.c: Remove warning when priting size_t.
10049 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10051         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10052         macro to use __builtin_fma.
10053         * sysdeps/x86_64/fpu/dla.h: Remove file.
10055         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10056         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10057         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10059 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10061         [BZ #20292]
10062         * elf/Makefile (routines): Add dl-addr-obj.
10063         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10064         tst-_dl_addr_inside_object.
10065         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10066         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10067         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10068         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10069         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10070         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10071         * elf/dl-open.c: Likewise.
10072         * elf/dl-addr-obj.c: New file.
10073         * elf/tst-_dl_addr_inside_object.c: New file.
10075 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10077         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10078         <bits/iscanonical.h>.
10079         * bits/iscanonical.h: New file.
10080         * math/s_iscanonicall.c: Likewise.
10081         * math/Versions (__iscanonicall): New libm symbol at version
10082         GLIBC_2.25.
10083         * math/libm-test.inc (iscanonical_test_data): New array.
10084         (iscanonical_test): New function.
10085         (main): Call iscanonical_test.
10086         * math/Makefile (headers): Add bits/iscanonical.h.
10087         (type-ldouble-routines): Add s_iscanonicall.
10088         * manual/arith.texi (Floating Point Classes): Document
10089         iscanonical.
10090         * manual/libm-err-tab.pl: Update comment on interfaces without
10091         ulps tabulated.
10092         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10093         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10094         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10095         Likewise.
10096         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10097         test-iscanonical-ldbl-128ibm.
10098         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10099         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10100         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10101         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10102         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10103         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10104         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10106         Likewise.
10107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10108         Likewise.
10109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10110         Likewise.
10111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10112         Likewise.
10113         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10114         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10116 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10118         * string/bits/string3.h: Remove C++ style comments.
10120 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10122         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10123         instead of ternary condition.
10124         (do_sincos_2): Likewise.
10125         (__sin): Likewise.
10126         (__cos): Likewise.
10127         (slow): Likewise.
10128         (sloww): Likewise.
10129         (sloww1): Likewise.
10130         (bsloww): Likewise.
10131         (bsloww1): Likewise.
10133         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10134         instead of ternary condition.
10135         (do_sin_slow): Likewise.
10136         (do_sincos_1): Likewise.
10137         (do_sincos_2): Likewise.
10138         (__cos): Likewise.
10139         (sloww): Likewise.
10140         (sloww1): Likewise.
10141         (sloww2): Likewise.
10142         (bsloww): Likewise.
10143         (bsloww1): Likewise.
10144         (bsloww2): Likewise.
10146         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10147         check from here...
10148         (slow2): ... and here...
10149         (__sin): ... to here.
10151 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10153         * math/math.h
10154         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10155         Cast argument to its own type.
10156         * math/test-iszero-excess-precision.c: New file.
10157         * math/Makefile (tests): Add test-iszero-excess-precision.
10158         (CFLAGS-test-iszero-excess-precision.c): New variable.
10160 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10162         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10163         field, add err field.
10164         (__spawni_child): Report error through err member instead of pipe.
10165         (__spawnix): Likewise.
10167 2016-09-28  Zack Weinberg  <zackw@panix.com>
10169         * scripts/check-installed-headers.sh: Generalize treatment of
10170         sys/elf.h to all target architectures.
10172         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10173         deleted typedef ucontext_t.
10175 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10177         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10178         (__INTERNAL_SYSCALL1): Likewise.
10179         (__INTERNAL_SYSCALL2): Likewise.
10180         (__INTERNAL_SYSCALL3): Likewise.
10181         (__INTERNAL_SYSCALL4): Likewise.
10182         (__INTERNAL_SYSCALL5): Likewise.
10183         (__INTERNAL_SYSCALL6): Likewise.
10184         (__INTERNAL_SYSCALL7): Likewise.
10185         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10186         (__INTERNAL_SYSCALL_NARGS): Likewise.
10187         (__INTERNAL_SYSCALL_DISP): Likewise.
10188         (INTERNAL_SYSCALL_CALL): Likewise.
10189         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10190         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10191         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10192         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10193         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10194         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10195         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10196         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10197         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10198         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10199         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10200         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10201         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10203 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10205         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10206         macro.
10207         * math/libm-test.inc (iszero_test_data): New array.
10208         (iszero_test): New function.
10209         (main): Call iszero_test.
10210         * manual/arith.texi (Floating Point Classes): Document iszero.
10211         * manual/libm-err-tab.pl: Update comment on interfaces without
10212         ulps tabulated.
10214 2016-09-23  Zack Weinberg  <zackw@panix.com>
10216         * scripts/check-installed-headers.sh: New script.
10217         * Rules: In each directory that defines header files to be installed,
10218         run check-installed-headers.sh on them as a special test.
10219         * Makefile: Likewise for the headers installed at top level.
10221         * include/aliases.h, include/alloca.h, include/argz.h
10222         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10223         * include/elf.h, include/envz.h, include/err.h
10224         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10225         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10226         * include/link.h, include/malloc.h, include/mcheck.h
10227         * include/mntent.h, include/netinet/ether.h
10228         * include/nss.h, include/obstack.h, include/printf.h
10229         * include/pty.h, include/resolv.h, include/rpc/auth.h
10230         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10231         * include/rpc/clnt.h, include/rpc/des_crypt.h
10232         * include/rpc/key_prot.h, include/rpc/netdb.h
10233         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10234         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10235         * include/rpc/rpc_msg.h, include/rpc/svc.h
10236         * include/rpc/svc_auth.h, include/rpc/xdr.h
10237         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10238         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10239         * include/rpcsvc/ypupd.h, include/shadow.h
10240         * include/stdio_ext.h, include/sys/epoll.h
10241         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10242         * include/sys/prctl.h, include/sys/profil.h
10243         * include/sys/statfs.h, include/sys/sysctl.h
10244         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10245         * sysdeps/arm/nacl/include/bits/setjmp.h
10246         * sysdeps/mips/include/sys/asm.h
10247         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10248         * sysdeps/unix/sysv/linux/include/sys/timex.h
10249         * sysdeps/x86/fpu/include/bits/fenv.h:
10250         Add #ifndef _ISOMAC guard around internal declarations.
10251         Add multiple-inclusion guard if not already present.
10253 2016-09-23  Zack Weinberg  <zackw@panix.com>
10255         * sysdeps/generic/sys/ucontext.h
10256         * sysdeps/arm/sys/ucontext.h
10257         * sysdeps/i386/sys/ucontext.h
10258         * sysdeps/m68k/sys/ucontext.h
10259         * sysdeps/mips/sys/ucontext.h
10260         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10261         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10262         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10263         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10264         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10265         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10266         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10267         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10268         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10269         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10270         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10271         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10272         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10273         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10274         Include both bits/sigcontext.h and bits/sigstack.h.
10275         Fix grammar error in comment, if present.
10277         * bits/sigstack.h
10278         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10279         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10280         * sysdeps/unix/sysv/linux/bits/sigstack.h
10281         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10282         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10283         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10284         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10285         * bits/sigcontext.h
10286         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10287         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10288         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10289         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10290         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10291         as well as signal.h, if this was not already allowed.  Request
10292         definition of size_t if necessary.  Minimize semantically-null
10293         differences across files.
10295 2016-09-23  Zack Weinberg  <zackw@panix.com>
10297         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10298         Remove all logic conditional on __need macros.  Move all the
10299         conditionally defined types to their own headers...
10300         * time/bits/types/clock_t.h: Define clock_t here.
10301         * time/bits/types/clockid_t.h: Define clockid_t here.
10302         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10303         * time/bits/types/struct_timespec.h: Define struct timespec here.
10304         * time/bits/types/struct_timeval.h: Define struct timeval here.
10305         * time/bits/types/struct_tm.h: Define struct tm here.
10306         * time/bits/types/time_t.h: Define time_t here.
10307         * time/bits/types/timer_t.h: Define timer_t here.
10308         * time/Makefile: Install the new headers.
10310         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10311         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10312         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10313         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10314         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10315         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10316         * sysdeps/unix/sysv/linux/bits/resource.h
10317         * sysdeps/unix/sysv/linux/bits/timex.h
10318         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10319         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10320         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10321         * sysdeps/unix/sysv/linux/sys/acct.h
10322         * sysdeps/unix/sysv/linux/sys/timerfd.h
10323         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10324         * time/sys/time.h, time/sys/timeb.h
10325         Use the new bits/types headers.
10327         * include/time.h: Remove __need logic.
10328         * include/bits/time.h
10329         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10330         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10331         * include/bits/types/struct_itimerspec.h
10332         * include/bits/types/struct_timespec.h
10333         * include/bits/types/struct_timeval.h
10334         * include/bits/types/struct_tm.h:
10335         New wrapper headers.
10337 2016-09-23  Zack Weinberg  <zackw@panix.com>
10339         * sysdeps/mach/hurd/net/if_ppp.h
10340         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10341         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10342         if __USE_MISC is defined, to ensure struct ifreq is declared.
10344         * inet/netinet/ether.h: Condition all function prototypes
10345         on __USE_MISC, to ensure struct ether_addr is declared.
10347         * socket/bits/types/struct_osockaddr.h: New header.
10348         * include/bits/types/struct_osockaddr.h: New wrapper.
10349         * socket/Makefile: Install the new header.
10350         * socket/sys/socket.h, inet/protocols/talkd.h:
10351         Refer to bits/types/struct_osockaddr.h for the definition of
10352         struct osockaddr.
10354 2016-09-23  Zack Weinberg  <zackw@panix.com>
10356         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10357         * inet/protocols/routed.h, inet/protocols/talkd.h
10358         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10359         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10360         * sysdeps/generic/netinet/if_ether.h
10361         * sysdeps/generic/netinet/in_systm.h
10362         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10363         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10364         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10365         * sysdeps/mach/hurd/net/if_arp.h
10366         * sysdeps/mach/hurd/net/if_ppp.h
10367         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10368         * sysdeps/unix/sysv/linux/bits/in.h
10369         * sysdeps/unix/sysv/linux/net/ethernet.h
10370         * sysdeps/unix/sysv/linux/net/if_arp.h
10371         * sysdeps/unix/sysv/linux/net/if_ppp.h
10372         * sysdeps/unix/sysv/linux/net/if_shaper.h
10373         * sysdeps/unix/sysv/linux/net/route.h
10374         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10375         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10376         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10377         * sysdeps/unix/sysv/linux/netipx/ipx.h
10378         * sysdeps/unix/sysv/linux/sys/acct.h
10379         * include/arpa/nameser.h, include/resolv.h:
10380         Change all uses of u_char to unsigned char,
10381         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10382         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10383         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10384         and u_int64_t and u_quad_t to uint64_t.
10386         * mach/sys/reboot.h: Remove two casts of integer literals
10387         to the types they already have.
10389         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10390         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10391         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10392         from referring to 'unsigned char' to 'uint8_t' for consistency with
10393         the macro definition below.
10395         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10396         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10397         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10398         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10399         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10400         * sysdeps/unix/sysv/linux/sys/acct.h
10401         * include/arpa/nameser.h, include/resolv.h:
10402         Fix indentation disrupted by mechanical edits.
10404         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10405         * sysdeps/generic/netinet/in_systm.h
10406         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10407         * sysdeps/gnu/netinet/udp.h
10408         * sysdeps/unix/sysv/linux/net/ethernet.h
10409         * sysdeps/unix/sysv/linux/net/if_arp.h
10410         * sysdeps/unix/sysv/linux/net/if_ppp.h
10411         * sysdeps/unix/sysv/linux/net/if_shaper.h
10412         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10413         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10414         * sysdeps/unix/sysv/linux/netipx/ipx.h
10415         * sysdeps/unix/sysv/linux/sys/acct.h
10416         Include stdint.h for uintNN_t definitions.
10417         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10419 2016-09-23  Zack Weinberg  <zackw@panix.com>
10421         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10422         * sysdeps/unix/sysv/linux/netrose/rose.h:
10423         Include sys/socket.h and netax25/ax25.h.
10425         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10426         * resolv/arpa/nameser_compat.h:
10427         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10429         * sysdeps/unix/sysv/linux/sys/quota.h:
10430         Use __caddr_t instead of caddr_t.
10431         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10432         Use __clockid_t instead of clockid_t.
10434         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10436         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10437         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10438         expanding it.
10440         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10441         Define __glibc_c99_flexarr_available to 1 when the compiler
10442         supports C99-compatible flexible array members, 0 otherwise.
10443         * sysdeps/unix/sysv/linux/bits/socket.h
10444         * sysdeps/mach/hurd/bits/socket.h
10445         * bits/socket.h: Use __glibc_c99_flexarr_available in
10446         definitions of struct cmsghdr and CMSG_DATA.
10448 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10450         * manual/nss.texi (NSS Modules Interface): Adjust function return
10451         type to enum nss_status.  Document errnop argument.  Clarify
10452         h_errnop semantics.  Fix cross-reference formatting.
10453         (NSS Module Function Internals): Mention that *errnop needs to be
10454         set on failure, but not to zero.
10456 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10458         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10459         (get_random_name): New functions.
10460         (check_wrapper_flags_mode): Use linkat to give the new file a name
10461         determined by get_random_name.
10462         (do_test): Add calls to test open64 and openat64.
10464 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10466         * test-skeleton.c: Remove #include <stdarg.h>.
10468 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10470         [BZ #19826]
10471         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10472         initialization of static TLS entries.
10473         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10474         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10476 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10478         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10479         _hurd_malloc_fork_prepare.
10480         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10481         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10482         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10483         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10484         (_hurd_fork_child_hook): Drop malloc_fork_child.
10485         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10486         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10487         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10488         after locking locks (notably hurd_dtable_lock). Call
10489         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10490         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10491         __malloc_fork_unlock_child.
10492         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10494 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10496         * soft-fp/extendhftf2.c: New.
10497         * soft-fp/fixhfti.c: Likewise.
10498         * soft-fp/fixunshfti.c: Likewise.
10499         * soft-fp/floattihf.c: Likewise.
10500         * soft-fp/floatuntihf.c: Likewise.
10501         * soft-fp/half.h: Likewise.
10502         * soft-fp/trunctfhf2.c: Likewise.
10504 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10506         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10507         macro.
10508         * math/libm-test.inc (issubnormal_test_data): New array.
10509         (issubnormal_test): New function.
10510         * manual/arith.texi (Floating Point Classes): Document
10511         issubnormal.
10512         * manual/libm-err-tab.pl: Update comment on interfaces without
10513         ulps tabulated.
10515         * sysdeps/generic/stdint.h: Define
10516         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10517         <bits/libc-header-start.h> instead of including <features.h>.
10518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10535         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10541         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10544         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10547         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10548         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10550         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10551         * manual/arith.texi (Integers): Document these macros for types
10552         specified by width properties.
10553         * manual/lang.texi (Width of Type): Document these macros for
10554         other standard typedefs.
10555         * stdlib/tst-width-stdint.c: New file.
10556         * stdlib/Makefile (tests): Add tst-width-stdint.
10558 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10560         [BZ #20016]
10561         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10562         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10563         Move ...
10564         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10565         ... here, as compatibility symbols in a new file.
10566         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10567         * resolv/res_init.c (__res_vinit): Adjust member names.
10568         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10569         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10570         (res_send_rhook): Remove.
10571         (struct __res_state): Rename qhook, rhook members.
10573 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10575         malloc: Use __libc_lock wrappers.
10576         * malloc/arena.c (list_lock, free_list_lock): Define using
10577         __libc_lock_define_initialized.
10578         (arena_lock): Adjust formatting.
10579         * malloc/malloc.c (struct malloc_state): Define mutex using
10580         __libc_lock_define.
10581         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10582         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10583         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10584         (mutex_unlock, mutex_trylock): Remove.
10585         (__pthread_initialize): Remove unused macro.
10586         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10587         (mutex_unlock, mutex_trylock): Remove.
10589 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10591         [BZ #20592]
10592         Remove RR type classification macros.
10593         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10594         (ns_t_udp_p, ns_t_xfr_p): Remove.
10596 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10598         Remove misleading version information.
10599         * resolv/arpa/nameser.h (__NAMESER): Remove.
10600         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10602 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10604         Remove the always-defined BIND_4_COMPAT macro.
10605         * resolv/arpa/nameser.h: Unconditionally include
10606         <arpa/nameser_compat.h>.
10607         (BIND_4_COMPAT): Remove.
10608         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10610 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10612         [BZ #20591]
10613         Remove obsolete DNSSEC support.
10614         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10615         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10616         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10617         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10618         (ns_cert_types): Add comment.
10619         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10620         separately.
10621         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10622         (dst_s_dns_key_id): Remove.
10623         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10624         variables.
10626 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10628         [BZ #20524]
10629         * manual/string.texi (String/Array Comparison): Clarify the
10630         strverscmp behavior.
10632 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10634         * test-skeleton.c (xasprintf): Add function.
10635         * io/tst-open-tmpfile.c: New test.
10636         * io/Makefile (tests): Add it.
10638 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10640         Avoid running $(CXX) during build to obtain header file paths.
10641         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10642         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10643         * Makerules (cstdlib, cmath): Remove variables.  Use
10644         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10645         * configure: Regenerate.
10647 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10649         * Makeconfig (all-object-suffixes): Include .op only if
10650         $(build-profile).
10652 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10654         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10655         conditionals.  Do not define PATH_MAX.
10657 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10659         * posix/Makefile (tests): Add tst-spawn3.
10660         * posix/tst-spawn3.c: New file.
10661         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10662         if it is already opened for open action.
10664         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10665         all signals when executing the clone vfork child.
10666         (SIGALL_SET): Remove macro.
10668         * nptl/Makefile (tests): Add tst-exec5.
10669         * nptl/tst-exec5.c: New file.
10670         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10671         asynchronous cancellation.
10673 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10675         * hurd/exc2signal.c: #include <hurd/signal.h>
10676         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10677         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10678         accordingly.
10679         * mach/mach_error.c (mach_error): Fix old-style function definition.
10680         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10682 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10684         * math/Makefile (libm-calls): Remove s_nanF.
10685         (gen-libm-calls): Add s_nanF.
10687         * math/s_nan.c: Refactor into ...
10688         * math/s_nan_template.c: New file.
10690         * math/s_nanf.c: Removed.
10691         * math/s_nanl.c: Removed.
10692         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10693         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10695         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10696         (LDOUBLE_nanl_libm_version): New macro.
10698         * sysdeps/generic/math-type-macros-double.h:
10699         (M_STRTO_NAN): New macro.
10700         * sysdeps/generic/math-type-macros-float.h: Likewise.
10701         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10703         * sysdeps/generic/math-type-macros.h: Document
10704         M_STRTO_NAN.
10706 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10708         * math/s_nanf.c: Remove __nanf undef.
10709         * math/s_nan.c: Remove __nan undef.
10710         * math/s_nanl.c: Remove __nanl undef.
10712         * sysdeps/generic/math_private.h (__nan): Remove macro
10713         override.
10714         (__nanf): Likewise.
10715         (__nanl): Likewise.
10717 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10719         * math/Makefile (gen-all-calls): New variable.
10720         (generated): Replace gen-libm-calls with gen-all-calls.
10721         (gen-libm-templates.stmp): Likewise.  Also, ensure
10722         the output directory exists or is created and add
10723         dependency on the Makefile.
10724         (calls): Move s_ldexpF into gen-calls.
10725         (gen-calls): New variable.
10727         * math/s_ldexpf.c: Removed.
10728         * math/s_ldexpl.c: Removed.
10729         * math/s_ldexp.c: Refactored into ...
10730         * math/s_ldexp_template.c: New file.
10732         * sysdeps/generic/math-type-macros-double.h: Remove
10733         redundant fall-through definition of declare_mgen_alias.
10734         (declare_mgen_alias_2): New macro.
10736         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10737         New macro for function aliased to two exported symbols.
10739         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10740         new template file.
10741         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10743 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10745         * Makeconfig (all-object-suffixes): Remove .og.
10746         * Makerules (elide-routines.og): Remove.
10747         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10748         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10749         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10751 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10753         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10754         .os objects.
10756 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10758         [BZ #20615]
10759         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10760         fpu directory by non-fpu.
10761         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10762         on non-fpu directory from a fpu directory.
10764 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10766         * include/limits.h: Define
10767         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10768         <bits/libc-header-start.h> instead of including <features.h>.
10769         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10770         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10771         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10772         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10773         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10774         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10775         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10777         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10778         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10779         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10780         * manual/lang.texi (Width of Type): Document these macros.
10781         * stdlib/tst-width.c: New file.
10782         * stdlib/Makefile (tests): Add tst-width.
10784 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10786         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10787         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10789 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10791         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10792         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10793         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10795 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10797         [BZ #18243]
10798         * rt/Makefile (test): Add tst-shm-cancel.
10799         * rt/tst-shm-cancel.c: New file.
10800         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10802         [BZ #18243]
10803         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10804         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10805         definition.
10806         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10807         uncontended case.
10808         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10809         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10810         (tf): Fix check for uncontended case.
10811         (do_test): Likewise.
10812         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10813         (tf): Fix check for uncontended case.
10814         (do_test): Likewise.
10815         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10816         (tf): Fix check for uncontended case.
10817         (do_test): Likewise.
10818         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10819         (tf): Fix check for uncontended case.
10820         (do_test): Likewise.
10822         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10823         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10825         [BZ #15765]
10826         * nptl/Makefile (tests): Add tst-sem16.
10827         * nptl/tst-sem16.c: New file.
10828         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10830         * nptl/sem_open.c (sem_open): Init pad value to 0.
10831         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10832         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10834 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10836         [BZ #20611]
10837         * inet/Makefile (routines): Add inet6_scopeid_pton.
10838         (tests): Add tst-inet6_scopeid_pton.
10839         * inet/inet6_scopeid_pton.c: New file.
10840         * inet/net-internal.h: Likewise.
10841         * inet/tst-inet6_scopeid_pton.c: New test.
10842         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10843         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10846 2016-09-14  Florian Weimer  <fweimer@redhat.com>
10848         Remove support for compiling wrappers with PTW.
10849         * sysdeps/nptl/Makeconfig: Drop ptw- support.
10850         * nptl/Makefile (pthread-compat-wrappers): Define.
10851         (libpthread-routines): Use pthread-compat-wrappers.
10852         * sysdeps/unix/sysv/linux/alpha/Makefile
10853         (libpthread-routines, libpthread-shared-only-routines): Remove
10854         ptw- prefix.
10855         * sysdeps/s390/nptl/Makefile
10856         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10857         * sysdeps/ia64/nptl/Makefile
10858         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10859         * sysdeps/nacl/Makefile (libpthread-routines): Use
10860         pthread-compat-wrappers to filter the routines list instead of the
10861         ptw- prefix.
10863 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10865         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
10866         with L() and remove explicit suffix, convert real literals
10867         which can be equivalentally substituted with integers, and
10868         transform -L(x) to L(-x).
10870         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10871         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10872         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10873         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10874         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10875         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10876         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10877         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10878         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10879         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10880         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10881         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10882         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10883         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10884         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10885         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10886         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10887         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10888         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10889         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10890         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10891         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10892         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10893         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10894         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10895         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10896         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10897         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10898         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10899         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10900         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10901         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10902         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10903         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10904         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10905         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10906         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10907         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10908         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10909         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10910         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10911         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10912         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10913         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10914         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10915         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10916         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10917         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10918         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10919         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10921 2016-09-13  Florian Weimer  <fweimer@redhat.com>
10923         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
10925 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10927         * malloc/Makefile (tests): Remove individual static test names
10928         and just add all of tests-static.
10930         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
10932 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
10934         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
10935         file.
10937         * sysdeps/sparc/fpu/fegetmode.c: New file.
10938         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
10940         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
10941         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
10943         * sysdeps/s390/fpu/fegetmode.c: New file.
10944         * sysdeps/s390/fpu/fesetmode.c: Likewise.
10946         * sysdeps/powerpc/fpu/fegetmode.c: New file.
10947         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
10948         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
10949         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
10950         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
10951         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
10953         * sysdeps/mips/fpu/fegetmode.c: New file.
10954         * sysdeps/mips/fpu/fesetmode.c: Likewise.
10956         * sysdeps/m68k/fpu/fegetmode.c: New file.
10957         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
10959         * sysdeps/ia64/fpu/fegetmode.c: New file.
10960         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
10962         * sysdeps/hppa/fpu/fegetmode.c: New file.
10963         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
10965         * sysdeps/arm/fegetmode.c: New file.
10966         * sysdeps/arm/fesetmode.c: Likewise.
10968         * sysdeps/alpha/fpu/fegetmode.c: New file.
10969         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
10971         * sysdeps/aarch64/fpu/fegetmode.c: New file.
10972         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
10974         * math/fegetmode.c: New file.
10975         * math/fesetmode.c: Likewise.
10976         * sysdeps/i386/fpu/fegetmode.c: Likewise.
10977         * sysdeps/i386/fpu/fesetmode.c: Likewise.
10978         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
10979         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
10980         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
10981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
10982         declaration.
10983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
10984         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
10985         typedef.
10986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10987         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10988         (femode_t): New typedef.
10989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10990         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10991         (femode_t): New typedef.
10992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10993         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10994         (femode_t): New typedef.
10995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10996         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10997         (femode_t): New typedef.
10998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10999         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11000         (femode_t): New typedef.
11001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11002         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11003         (femode_t): New typedef.
11004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11005         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11006         (femode_t): New typedef.
11007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11008         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11009         (femode_t): New typedef.
11010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11011         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11012         (femode_t): New typedef.
11013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11014         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11015         (femode_t): New typedef.
11016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11017         declaration.
11018         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11019         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11020         (femode_t): New typedef.
11021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11022         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11023         (femode_t): New typedef.
11024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11025         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11026         (femode_t): New typedef.
11027         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11028         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11029         (femode_t): New typedef.
11030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11031         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11032         (femode_t): New typedef.
11033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11034         * manual/arith.texi (FE_DFL_MODE): Document macro.
11035         (fegetmode): Document function.
11036         (fesetmode): Likewise.
11037         * math/Versions (fegetmode): New libm symbol at version
11038         GLIBC_2.25.
11039         (fesetmode): Likewise.
11040         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11041         (tests): Add test-femode and test-femode-traps.
11042         * math/test-femode-traps.c: New file.
11043         * math/test-femode.c: Likewise.
11044         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11045         alias for __fe_dfl_env.
11046         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11047         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11048         (__fe_dfl_mode): Likewise.
11049         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11050         version GLIBC_2.25.
11051         * sysdeps/nacl/libm.abilist: Update.
11052         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11053         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11054         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11055         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11056         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11057         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11058         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11059         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11060         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11061         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11062         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11063         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11065         Likewise.
11066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11067         Likewise.
11068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11069         Likewise.
11070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11071         Likewise.
11072         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11073         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11074         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11075         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11076         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11078         Likewise.
11079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11080         Likewise.
11081         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11082         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11083         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11085 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11087         [BZ #20495]
11088         [BZ #20508]
11089         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11090         processors, set Use_dl_runtime_resolve_slow and set
11091         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11092         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11093         New.
11094         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11095         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11096         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11097         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11098         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11099         if Use_dl_runtime_resolve_opt is set.  Use
11100         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11101         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11102         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11103         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11104         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11105         New.
11106         (_dl_runtime_resolve_opt): Likewise.
11107         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11108         defined.
11110 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11112         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11113         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11115 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11117         Convert malloc to __libc_lock.  Automated part, using this Perl
11118         s/// command:
11119           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11120             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11121         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11122         conversion.
11124 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11126         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11127         (linknamespace-symlists-tests): Likewise.
11128         (linknamespace-header-tests): Likewise.
11130 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11132         [BZ #19810]
11133         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11134         * elf/tst-noload.c: New test case.
11135         * elf/Makefile (tests): Add tst-noload.
11137 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11139         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11141         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11142         not any more.
11144         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11146 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11148         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11149         (do_cos_slow): Likewise.
11150         (do_sin): Likewise.
11151         (do_sin_slow): Likewise.
11152         (slow): Likewise.
11153         (slow1): Likewise.
11154         (slow2): Likewise.
11155         (sloww): Likewise.
11156         (sloww1): Likewise.
11157         (sloww2): Likewise.
11158         (bsloww): Likewise.
11159         (bsloww1): Likewise.
11160         (bsloww2): Likewise.
11161         (cslow2): Likewise.
11163         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11165         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11166         arguments.  Consolidate input partitioning from callers here.
11167         (do_cos_slow): Likewise.
11168         (do_sin): Likewise.
11169         (do_sin_slow): Likewise.
11170         (do_sincos_1): Remove the no longer necessary input partitioning.
11171         (do_sincos_2): Likewise.
11172         (__sin): Likewise.
11173         (__cos): Likewise.
11174         (slow1): Likewise.
11175         (slow2): Likewise.
11176         (sloww1): Likewise.
11177         (sloww2): Likewise.
11178         (bsloww1): Likewise.
11179         (bsloww2): Likewise.
11180         (cslow2): Likewise.
11182 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11184         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11185         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11186         outside of allocated array.
11188 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11190         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11191         instead of MB_CUR_MAX to avoid variable-length array.
11193 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11195         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11196         (type-double-routines): Add k_rem_pio2.
11197         (type-float-routines): Add k_rem_pio2f.
11199         * sysdeps/generic/math_private.h:
11200         (__kernel_rem_pio2l): Removed.
11202         * math/k_rem_pio2l.c: Removed.
11203         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11204         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11205         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11206         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11208 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11210         * math/Makefile (gen-libm-calls): Add s_fmin
11211         (libm-calls): Remove above.
11213         * math/s_fmin.c: Refactor into ...
11214         * math/s_fmin_template.c: New file.
11216         * math/s_fminf.c: Removed.
11217         * math/s_fminl.c: Removed.
11218         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11219         (LDOUBLE_fmin_libm_version): New macro.
11221         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11222         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11224 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11226         * math/Makefile: (gen-libm-calls): Add s_fmax.
11227         (libm-calls): Remove above.
11229         * math/s_fmax.c: Refactor into ...
11230         * math/s_fmax_template.c: New file.
11231         * math/s_fmaxf.c: Removed.
11232         * math/s_fmaxl.c: Removed.
11234         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11235         (LDOUBLE_fmaxl_libm_version): New macro.
11237         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11238         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11240         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11241         s_fmin.c to pick the aarch64 version of the file.
11242         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11243         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11245 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11247         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11248         (libm-calls): Remove above.
11250         * math/s_nextdown.c: Refactor into ...
11251         * math/s_nextdown_template.c: New file.
11252         * math/s_nextdownf.c: Removed.
11253         * math/s_nextdownl.c: Removed.
11255         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11257 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11259         * math/Makefile (gen-libm-calls): Add s_fdim.
11260         (libm-calls): Move to above.
11262         * math/s_fdim.c: Renamed and refactored into to ...
11263         * math/s_fdim_template.c: New file.
11264         * math/s_fdiml.c: Removed.
11265         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11266         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11268         * sysdeps/generic/math-type-macros-double.h:
11269         (declare_mgen_alias): Don't declare if already declared.
11270         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11271         Likewise.
11273         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11274         (declare_mgen_alias): Don't declare if already declared.
11275         (M_LIBM_NEED_COMPAT): Likewise.
11276         (declare_mgen_libm_compat): Likewise.
11277         (LDOUBLE_fdiml_libm_version): New macro.
11279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11280         Include math/s_fdim.c now that ldbl-opt version is not needed.
11281         (declare_mgen_alias): New macro to disable aliasing.
11283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11284         (declare_mgen_alias): Likewise.
11285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11286         (declare_mgen_alias): Likewise.
11287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11288         (declare_mgen_alias): Likewise.
11289         (M_LIBM_NEED_COMPAT): Likewise.
11291 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11293         [BZ #20525]
11294         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11295         Include <linux/quota.h>.
11296         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11297         and btodb.
11298         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11299         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11300         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11301         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11302         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11303         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11304         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11305         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11306         types.
11307         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11308         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11310 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11312         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11313         (gammal_positive): Fix spacing.
11314         (__ieee754_gammal_r): Likewise.
11316 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11318         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11319         (_Float128): Define as long double, always.
11320         (L): Apply long double type suffix, always.
11322         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11323         _Float128, excepting comments.
11325         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11326         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11327         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11328         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11329         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11330         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11331         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11332         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11333         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11334         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11335         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11336         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11337         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11338         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11339         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11340         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11341         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11342         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11343         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11344         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11345         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11346         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11347         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11348         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11349         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11350         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11351         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11352         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11353         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11354         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11355         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11356         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11357         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11358         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11359         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11360         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11361         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11362         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11363         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11364         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11365         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11366         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11367         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11368         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11369         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11370         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11371         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11372         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11373         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11374         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11375         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11376         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11377         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11378         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11379         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11380         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11381         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11382         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11383         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11384         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11385         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11386         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11387         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11388         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11389         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11390         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11391         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11392         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11394         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11395         _Float128, and include math_private.h.
11396         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11398         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11399         long double semantics.
11400         (_Float128): Likewise.
11401         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11402         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11403         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11404         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11406 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11408         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11409         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11410         * sysdeps/s390/configure: Regenerated.
11411         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11412         instruction for raising over-/underflow if z196 zarch is supported
11413         by default.
11414         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11416 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11418         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11419         it point to a dumb buffer for RPC to fill it.
11421 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11423         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11424         instead of if/else.
11425         (do_sin_slow): Likewise.
11426         (do_sincos_1): Use fabs instead of if/else.
11427         (do_sincos_2): Likewise.
11428         (__sin): Likewise.
11429         (__cos): Likewise.
11430         (slow2): Likewise.
11431         (sloww): Likewise.
11432         (sloww1): Likewise.  Drop argument M.
11433         (sloww2): Use fabs instead of if/else.
11434         (bsloww): Likewise.
11435         (bsloww1): Likewise.
11436         (bsloww2): Likewise.
11438         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11439         fall through comment.
11440         (do_sincos_1): Likewise.
11442         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11443         Consolidate switch cases 0 and 2.
11445 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11447         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11448         (libm-calls): Remove the above.
11450         * math/s_cexp_template.c: Update using type-generic macros.
11451         * math/s_clog10_template.c: Likewise.
11452         * math/s_cpow_template.c: Likewise.
11453         * math/s_clog_template.c: Likewise.
11454         * math/s_cproj_template.c: Likewise.
11455         * math/s_csqrt_template.c: Likewise.
11457         * math/s_cexp.c: Removed.
11458         * math/s_cexpf.c: Removed.
11459         * math/s_cexpl.c: Removed.
11460         * math/s_clog10.c: Removed.
11461         * math/s_clog10f.c: Removed.
11462         * math/s_clog10l.c: Removed.
11463         * math/s_cpow.c: Removed.
11464         * math/s_cpowf.c: Removed.
11465         * math/s_cpowl.c: Removed.
11466         * math/s_clog.c: Removed.
11467         * math/s_clogf.c: Removed.
11468         * math/s_clogl.c: Removed.
11469         * math/s_cproj.c: Removed.
11470         * math/s_cprojf.c: Removed.
11471         * math/s_cprojl.c: Removed.
11472         * math/s_csqrt.c: Removed.
11473         * math/s_csqrtf.c: Removed.
11474         * math/s_csqrtl.c: Removed.
11476         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11477         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11478         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11479         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11480         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11481         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11483         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11484         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11485         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11486         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11487         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11488         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11489         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11490         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11491         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11492         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11493         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11495         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11496         version.
11498         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11499         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11500         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11501         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11503 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11505         * s_cexp_template.c: Copy of s_cexp.c.
11506         * s_clog_template.c: Copy of s_clog.c.
11507         * s_clog10_template.c: Copy of s_clog10.c.
11508         * s_cpow_template.c: Copy of s_cpow.c.
11509         * s_cproj_template.c: Copy of s_cproj.c.
11510         * s_csqrt_template.c: Copy of s_csqrt.c.
11512 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11514         [BZ #20517]
11515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11516         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11517         exported.
11519 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11521         * math/fetestexceptflag.c: New file.
11522         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11523         Stefan Liebler.
11524         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11525         (fetestexceptflag): New function declaration.
11526         * manual/arith.texi (fetestexceptflag): Document function.
11527         * math/Versions (fetestexceptflag): New libm symbol at version
11528         GLIBC_2.25.
11529         * math/Makefile (libm-support): Add fetestexceptflag.
11530         (tests): Add test-fetestexceptflag.
11531         * math/test-fetestexceptflag.c: New file.
11532         * sysdeps/nacl/libm.abilist: Update.
11533         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11534         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11535         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11536         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11537         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11538         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11539         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11540         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11541         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11542         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11543         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11544         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11546         Likewise.
11547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11548         Likewise.
11549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11550         Likewise.
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11552         Likewise.
11553         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11554         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11555         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11556         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11557         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11559         Likewise.
11560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11561         Likewise.
11562         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11563         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11564         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11566 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11568         [BZ #20432]
11569         Avoid strong references to malloc-internal symbols when linking
11570         statically, to support statically interposed mallocs.
11571         * include/libc-symbols.h (call_function_static_weak): New macro.
11572         * malloc/Makefile (tests): Add tst-interpose-nothread,
11573         tst-interpose-thread, tst-interpose-static-nothread,
11574         tst-interpose-static-thread.
11575         (tests-static): Add tst-interpose-static-nothread,
11576         tst-interpose-static-thread.
11577         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11578         tst-interpose-aux-thread.o.
11579         (test-extras): Add tst-interpose-aux-nothread,
11580         tst-interpose-aux-thread.
11581         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11582         tst-interpose-aux-nothread.o.
11583         (tst-interpose-thread, tst-interpose-static-thread): Link with
11584         tst-interpose-aux-thread.o and libthread.
11585         * malloc/tst-interpose-aux-nothread.c: New file.
11586         * malloc/tst-interpose-aux-thread.c: Likewise.
11587         * malloc/tst-interpose-aux.c: Likewise.
11588         * malloc/tst-interpose-aux.h: Likewise.
11589         * malloc/tst-interpose-nothread.c: Likewise.
11590         * malloc/tst-interpose-skeleton.c: Likewise.
11591         * malloc/tst-interpose-static-nothread.c: Likewise.
11592         * malloc/tst-interpose-static-thread.c: Likewise.
11593         * malloc/tst-interpose-thread.c: Likewise.
11594         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11595         * sysdeps/mach/hurd/fork.c (__fork): Only call
11596         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11597         __malloc_fork_unlock_child if defined.
11598         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11600 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11602         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11603         timespec C99 designated initialization.
11605 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11607         [BZ #19946]
11608         Avoid expected SIGALRM signals.
11609         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11610         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11611         (xpthread_create, xpthread_detach, xpthread_join)
11612         (delayed_exit_thread, delayed_exit): New functions.
11613         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11614         (tf): Use xpthread_cond_wait.
11615         (do_test): Likewise.  Replace alarm with delayed_exit.
11616         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11617         (do_test): Call delayed_exit.  Report failure.
11618         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11619         (do_test): Call delayed_exit.
11620         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11621         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11622         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11623         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11624         error.
11625         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11626         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11627         error.
11628         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11629         (do_test): Call delayed_exit.
11630         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11631         (do_test): Call delayed_exit.
11632         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11633         (do_test): Call delayed_exit instead of alarm.  Use
11634         xpthread_mutex_lock.
11635         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11636         (do_test): Call delayed_exit instead of alarm.  Use
11637         xpthread_mutex_lock.
11638         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11639         (do_test): Call delayed_exit instead of alarm.
11640         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11641         (do_test): Call delayed_exit instead of alarm.  Use
11642         xpthread_spin_lock.
11643         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11644         (do_test): Call delayed_exit instead of alarm.  Use
11645         xpthread_join.
11647 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11649         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11650         adjust CFA when allocating register save area on re-aligned
11651         stack.
11653 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11655         * string/tst-cmp.c: New test.
11656         * string/Makefile (tests): Add it.
11658 2016-08-25  Mark Wielaard  <mark@klomp.org>
11660         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11661         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11662         (check_tree_recurse): Use newly defined accessors.
11663         (check_tree): Likewise.
11664         (maybe_split_for_insert): Likewise.
11665         (__tfind): Likewise.
11666         (__tdelete): Likewise.
11667         (trecurse): Likewise.
11668         (tdestroy_recurse): Likewise.
11669         (__tsearch): Likewise. And add asserts for malloc alignment.
11670         (__twalk): Cast root to node in case CHECK_TREE is defined.
11672 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11674         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11676 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11678         * math/Makefile (libm-gen-calls): Add
11679         catan, catanh, ctan, ctanh.
11680         (libm-calls): Remove the above.
11682         * math/s_catan_template.c: Update using type-generic macros.
11683         * math/s_catanh_template.c: Likewise.
11684         * math/s_ctan_template.c: Likewise.
11685         * math/s_ctanh_template.c: Likewise.
11687         * math/s_catanf.c: Removed.
11688         * math/s_catan.c: Removed.
11689         * math/s_catanl.c: Removed.
11690         * math/s_catanhf.c: Removed.
11691         * math/s_catanh.c: Removed.
11692         * math/s_catanhl.c: Removed.
11693         * math/s_ctanf.c: Removed.
11694         * math/s_ctan.c: Removed.
11695         * math/s_ctanl.c: Removed.
11696         * math/s_ctanhf.c: Removed.
11697         * math/s_ctanh.c: Removed.
11698         * math/s_ctanhl.c: Removed.
11700         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11701         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11702         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11703         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11704         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11705         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11707         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11708         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11709         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11710         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11712 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11714         * s_catan_template.c: Copy of s_catan.c.
11715         * s_catanh_template.c: Copy of s_catanh.c.
11716         * s_ctan_template.c: Copy of s_ctan.c.
11717         * s_ctanh_template.c: Copy of s_ctanh.c.
11719 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11721         * math/Makefile (gen-libm-calls): Move
11722         casin, casinh, csin, csinh here.
11723         (libm-calls): Remove the above.
11725         * math/s_casin_template.c: Update using type-generic macros.
11726         * math/s_casinh_template.c: Likewise.
11727         * math/s_csin_template.c: Likewise.
11728         * math/s_csinh_template.c: Likewise.
11729         * math/k_casinh_template.c: Likewise.
11731         * math/s_casinf.c: Removed.
11732         * math/s_casin.c: Removed.
11733         * math/s_casinl.c: Removed.
11734         * math/s_casinh.c: Removed.
11735         * math/s_casinhf.c: Removed.
11736         * math/s_casinhl.c: Removed.
11737         * math/s_csin.c: Removed.
11738         * math/s_csinf.c: Removed.
11739         * math/s_csinl.c: Removed.
11740         * math/s_csinh.c: Removed.
11741         * math/s_csinhf.c: Removed.
11742         * math/s_csinhl.c: Removed.
11743         * math/k_casinh.c: Removed.
11744         * math/k_casinhf.c: Removed.
11745         * math/k_casinhl.c: Removed.
11747         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11748         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11749         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11750         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11752         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11753         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11754         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11755         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11756         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11757         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11758         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11759         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11761         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11762         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11763         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11764         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11766         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11767         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11768         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11769         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11771 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11773         * s_casin_template.c: Copy of s_casin.c.
11774         * s_casinh_template.c: Copy of s_casinh.c.
11775         * s_csin_template.c: Copy of s_csin.c.
11776         * s_csinh_template.c: Copy of s_csinh.c.
11777         * k_casinh_template.c: Copy of k_casinh.c.
11779 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11781         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11783 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11785         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11786         (mul_split) Remove, rename as mul_splitl, remove
11787         redundant float.h include, and include via mul_splitl.h
11789         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11790         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11791         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11792         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11793         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11795         * math/mul_splitl.h: New file.
11797         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11798         Move into mul_split.h, and remove redundant float.h include.
11800         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11801         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11802         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11803         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11805         * math/mul_split.h: New file.
11807 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11809         * math/Makefile (libm-gen-calls): Move
11810         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11811         (libm-calls): Remove above.
11813         * math/s_cacos_template.c: Update using type-generic macros.
11814         * math/s_cacosh_template.c: Likewise.
11815         * math/s_ccos_template.c: Likewise.
11816         * math/s_ccosh_template.c: Likewise.
11818         * math/s_cacosf.c: Removed.
11819         * math/s_cacos.c: Removed.
11820         * math/s_cacosl.c: Removed.
11821         * math/s_cacoshf.c: Removed.
11822         * math/s_cacosh.c: Removed.
11823         * math/s_cacoshl.c: Removed.
11824         * math/s_ccosf.c: Removed.
11825         * math/s_ccos.c: Removed.
11826         * math/s_ccosl.c: Removed.
11827         * math/s_ccoshf.c: Removed.
11828         * math/s_ccosh.c: Removed.
11829         * math/s_ccoshl.c: Removed.
11831         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11832         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11833         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11834         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11835         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11836         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11838         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11839         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11840         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11841         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11843         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11844         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11845         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11846         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
11848 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11850         * s_cacos_template.c: Copy of s_cacos.c.
11851         * s_cacosh_template.c: Copy of s_cacosh.c.
11852         * s_ccos_template.c: Copy of s_ccos.c.
11853         * s_ccosh_template.c: Copy of s_ccosh.c.
11855 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11857         * stdlib/tst-strtod-round-skeleton.c:
11858         Refactored from tst-strtod-round.c.
11860         (L_): New macro to apply literal modifier.
11861         (FNPFX): New macro to select str or wcs prefix.
11862         (CHAR): New macro to choose wchar_t or char.
11863         (STRM): New macro to choose printf for tested character type.
11865         (STRTO): New macro to choose appropriate string -> real function.
11866         (FNPFXS): Stringitized version of FNPFX.
11867         (STR): Support for above macro.
11868         (STRX): Likewise.
11870         (TEST): Update with above macros.
11871         (test): Likewise.
11872         (GEN_ONE_TEST): Likewise.
11873         (test_in_one_mode): Likewise.
11875         * stdlib/tst-strtod-round.c: New file.
11876         * wcsmbs/tst-wcstod-round.c: New file.
11878         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
11879         (tst-wcstod-round): Add libm depencency for fesetround.
11881 2016-08-19  Zack Weinberg  <zackw@panix.com>
11883         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
11885 2016-08-18  Torvald Riegel  <triegel@redhat.com>
11887         [BZ #20477]
11888         * resolv/res_hconf.c (do_init): Use atomic access.
11889         * resolv/res_hconf.h: Add comments.
11890         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
11891         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
11892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11894 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11896         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11897         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
11898         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11899         Likewise.
11901 2016-08-18  Florian Weimer  <fweimer@redhat.com>
11903         [BZ #16907]
11904         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
11905         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
11906         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
11907         (__attribute__): Remove definition.
11909 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11911         * sysdeps/ieee754/ldbl-128/e_asinl.c:
11912         Remove unused sqrtl declaration.
11914 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11916         * math/Makefile: (gen-libm-templates.stmp): New rule.
11917         (libm-calls): Move carg conj cimag and cabs into ...
11918         (gen-libm-calls): New variable.
11919         (generated): Inform Make objects from gen-libm-calls
11920         may be generated.
11922         * sysdeps/generic/math-type-macros.h: New file.
11923         * sysdeps/generic/math-type-macros-float.h: Likewise.
11924         * sysdeps/generic/math-type-macros-double.h: Likewise.
11925         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11926         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
11927         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
11929         * math/cabs.c: Refactor into
11930         * math/cabs_template.c: new file.
11931         * math/cabsf.c: Removed.
11932         * math/cabsl.c: Removed.
11933         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
11934         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
11936         * math/carg.c: Refactor into
11937         * math/carg_template.c: new file.
11938         * math/cargf.c: Removed.
11939         * math/cargl.c: Removed.
11940         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
11941         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
11943         * math/conj.c: Refactor into
11944         * math/conj_template.c: new file.
11945         * math/conjf.c: Removed.
11946         * math/conjl.c: Removed.
11947         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
11948         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
11950         * math/cimag.c: Refactor into
11951         * math/cimag_template.c: new file.
11952         * math/cimagf.c: Removed.
11953         * math/cimagl.c: Removed.
11954         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11955         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11957         * math/cimag.c: Refactor into
11958         * math/cimag_template.c: new file.
11959         * math/cimagf.c: Removed.
11960         * math/cimagl.c: Removed.
11961         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11962         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11964 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11966         Reduce time to expected nptl/tst-once5 failure.
11967         * nptl/tst-once5.cc (TIMEOUT): Define.
11969 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11971         [BZ #20452]
11972         Avoid additional copies of objects in libc.a in static libraries.
11973         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
11974         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
11975         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
11976         rt-sysdep.
11977         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
11978         Add nptl-sysdep.
11979         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
11980         Add ptw-sysdep.
11981         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
11982         rt-sysdep.
11983         * sysdeps/unix/sysv/linux/alpha/Makefile
11984         (libpthread-shared-only-routines): Add ptw-sysdep,
11985         ptw-sigprocmask, ptw-rt_sigaction.
11986         * sysdeps/unix/sysv/linux/ia64/Makefile
11987         (librt-shared-only-routines): Add rt-sysdep.
11988         * sysdeps/unix/sysv/linux/i386/Makefile
11989         (libpthread-shared-only-routines): Add libc-do-syscall.
11990         * sysdeps/unix/sysv/linux/microblaze/Makefile
11991         (libpthread-shared-only-routines): Add sysdep.
11992         * sysdeps/unix/sysv/linux/powerpc/Makefile
11993         (librt-shared-only-routines): Add rt-sysdep.
11994         (libpthread-shared-only-routines): Add sysdep.
11995         * sysdeps/unix/sysv/linux/s390/Makefile
11996         (librt-shared-only-routines): Add rt-sysdep.
11997         * sysdeps/unix/sysv/linux/sparc/Makefile
11998         (librt-shared-only-routines): Add rt-sysdep.
11999         (libpthread-shared-only-routines): Add sysdep.
12000         * sysdeps/unix/sysv/linux/tile/Makefile
12001         (libpthread-shared-only-routines): Likewise.
12003 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12005         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12006         Mask implicit bit out of unpacked value.
12007         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12009         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12011         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12013         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12015         * sysdeps/s390/fpu/fesetexcept.c: New file.
12017         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12018         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12019         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12021         * sysdeps/mips/fpu/fesetexcept.c: New file.
12023         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12025         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12027         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12029         * sysdeps/arm/fesetexcept.c: New file.
12031         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12033         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12035         * math/fesetexcept.c: New file.
12036         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12037         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12038         * math/fenv.h: Define
12039         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12040         <bits/libc-header-start.h> instead of including <features.h>.
12041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12042         declaration.
12043         * manual/arith.texi (fesetexcept): Document function.
12044         * math/Versions (fesetexcept): New libm symbol at version
12045         GLIBC_2.25.
12046         * math/Makefile (libm-support): Add fesetexcept.
12047         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12048         * math/test-fesetexcept.c: New file.
12049         * math/test-fesetexcept-traps.c: Likewise.
12050         * sysdeps/nacl/libm.abilist: Update.
12051         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12052         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12053         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12054         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12055         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12056         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12057         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12058         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12059         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12060         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12061         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12062         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12064         Likewise.
12065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12066         Likewise.
12067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12068         Likewise.
12069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12070         Likewise.
12071         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12072         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12073         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12074         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12075         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12077         Likewise.
12078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12079         Likewise.
12080         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12081         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12082         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12084 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12086         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12087         New.
12088         (do_test): Apply default_stack_size_in_mb if not set.
12089         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12091 2016-08-15  Andreas Schwab  <schwab@suse.de>
12093         [BZ #20435]
12094         CVE-2016-6323
12095         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12096         as .cantunwind.
12098 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12100         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12101         comment from fraiseexcpt.c.
12103         * math/test-fexcept.c (feraiseexcept_exact): New function.
12104         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12105         (test_except): Likewise.
12107 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12109         [BZ #20455]
12110         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12111         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12112         to be restored.
12114         * math/test-fexcept-traps.c: New file.
12115         * math/test-fexcept.c: Likewise.
12116         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12117         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12118         macro.
12119         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12120         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12122 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12124         * include/atomic.h (atomic_fetch_and_relaxed,
12125         atomic_fetch_and_release, atomic_fetch_or_release,
12126         atomic_fetch_xor_release): New.
12128 2016-08-06  Christian Seiler  <christian@iwakd.de>
12130         [BZ #20444]
12131         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12132         MACH_PORT_NULL.
12134 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12136         * math/s_fdim.c: Avoid alias renamed.
12137         * math/s_fdimf.c: Likewise.
12138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12139         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12140         Add s_fdimf-vis3, s_fdim-vis3.
12141         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12142         (CFLAGS-s_fdim-vis3.c): Likewise.
12143         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12144         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12146 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12149         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12150         Remove s_fdimf-vis3, s_fdim-vis3.
12151         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12152         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12159         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12160         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12162 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12164         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12165         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12166         -Wa,-Av9a -mvis.
12168 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12170         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12171         LIT() to individual constants in simple expressions
12172         after splitting on spaces.
12173         (_apply_lit): Rename replaced version, and use it to
12174         apply to what appears to be a token.
12176         * math/libm-test.inc: Fix many, many issues with
12177         spacing.
12179 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12181         * math/math.h: Move comment about <bits/mathdef.h> definitions
12182         above inclusion of <bits/mathdef.h>.  Do not mention
12183         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12185 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12187         * include/atomic.h (atomic_exchange_relaxed): New.
12189 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12191         * math/e_scalb.c: Do not include <fenv.h>.
12192         (invalid_fn): Do calculation resulting in NaN instead of raising
12193         FE_INVALID and returning a NaN explicitly.
12194         * math/e_scalbf.c: Do not include <fenv.h>.
12195         (invalid_fn): Do calculation resulting in NaN instead of raising
12196         FE_INVALID and returning a NaN explicitly.
12197         * math/e_scalbl.c: Do not include <fenv.h>.
12198         (invalid_fn): Do calculation resulting in NaN instead of raising
12199         FE_INVALID and returning a NaN explicitly.
12201 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12203         * po/de.po: Updated from Translation Project.
12204         * po/fi.po: Likewise.
12205         * po/sv.po: Likewise.
12207 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12209         [BZ #20452]
12210         Use sysdep.o from libc.a in static libraries.
12211         * sysdeps/unix/sysv/linux/i386/Makefile
12212         (libpthread-shared-only-routines): Add sysdep.
12213         (librt-shared-only-routines): Likewise.
12215 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12217         * math/tgmath.h (nextdown): Define if
12218         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12219         (nextup): Likewise.
12221         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12222         macro.
12223         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12224         Document.
12225         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12226         Document macro.
12227         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12228         (exp10f): Likewise.
12229         (exp10l): Likewise.
12230         * math/bits/mathcalls.h (exp10): Declare if
12231         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12233         * manual/arith.texi (nextup): Fix typo in last change.
12235 2016-08-03  Zack Weinberg  <zackw@panix.com>
12237         [BZ #19239]
12238         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12239         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12240         define major, minor, and makedev to issue deprecation warnings on use.
12241         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12242         previously-activated deprecation warnings for these macros and prevent
12243         subsequent inclusions of this header from having any effect.
12244         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12245         including <sys/sysmacros.h>, and undefine it again afterward.
12247 2016-08-03  Zack Weinberg  <zackw@panix.com>
12249         * sysdeps/generic/sys/sysmacros.h: Delete file.
12250         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12251         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12252         * bits/sysmacros.h: ... here; this encoding is now the generic
12253         encoding.  Now defines only the following macros:
12254         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12255         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12256         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12258         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12259         bits/sysmacros.h and the above new macros to generate the
12260         public implementations of major, minor, and makedev.
12261         * misc/tst-makedev.c: New test.
12262         * include/sys/sysmacros.h: New wrapper.
12264         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12265         (routines): Add makedev.
12266         (tests): Add tst-makedev.
12267         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12268         gnu_dev_makedev.
12269         * posix/Makefile (headers): Remove sys/sysmacros.h.
12270         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12272         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12273         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12274         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12275         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12276         * sysdeps/unix/sysv/linux/arm/libc.abilist
12277         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12278         * sysdeps/unix/sysv/linux/i386/libc.abilist
12279         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12280         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12281         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12282         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12283         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12284         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12285         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12286         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12287         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12292         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12293         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12294         * sysdeps/unix/sysv/linux/sh/libc.abilist
12295         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12296         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12299         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12300         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12301         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12302         Add GLIBC_2.25.
12304         * include/features.h (__glibc_clang_prereq): New macro.
12305         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12306         (__attribute_deprecated_msg__): New macros.
12308 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12310         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12311         macro.
12312         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12313         * manual/arith.texi (issignaling): Document as ISO from TS
12314         18661-1:2014.
12315         (nextup): Likewise.
12316         (nextupf): Likewise.
12317         (nextupl): Likewise.
12318         (nextdown): Likewise.
12319         (nextdownf): Likewise.
12320         (nextdownl): Likewise.
12321         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12322         macro.
12323         * math/math.h: Define
12324         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12325         <bits/libc-header-start.h> instead of including <features.h>.
12326         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12327         [__USE_GNU].
12328         * math/bits/mathcalls.h (nextdown): Declare if
12329         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12330         (nextup): Likewise.
12331         (__issignaling): Likewise.
12333 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12335         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12336         check, and remove __glibc_likely hint
12337         from FP_INFINITE check.
12338         * s_csinhf.c (__csinhf): Likewise.
12340         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12341         hint from FP_INFINITE check.
12342         * s_csinhl.c (__csinhl): Likewise.
12344 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12346         * math/Makefile (libm-calls): Insert F placeholder into
12347         object names.  Move w_lgamma_compat* routines into
12348         (libm-compat-calls): New variable.
12349         (libm-compat-calls-ldouble-yes): New variable.
12350         (calls): Insert F placeholder.
12351         (generated): Redefine using new type-foreach macro call.
12352         (routines): Likewise.
12354         (types): New variable to hold a list of symbolic names
12355         for each type supported by the target machine.
12356         (libm-routines): Redefine using new types variable.
12357         (type-foreach): macro to replace fooF with the
12358         appropriately suffixed foo for each types.
12360         (type-ldouble-suffix): New variable.
12361         (type-ldouble-routines): Likewise.
12362         (type-ldouble-yes): Likewise.
12363         (type-double-suffix): Likewise.
12364         (type-double-routines): Likewise.
12365         (type-float-suffix): Likewise.
12366         (type-float-routines): Likewise.
12368         (dbl-only-routines): Remove.
12369         (long-c-yes): Likewise.
12370         (long-m-routines): Likewise.
12371         (long-m-support): Likewise.
12372         (long-m-yes): Likewise.
12373         (test-longdouble-yes): Likewise.
12375         (test-float.o): Simplify by increasing the scope of the
12376         recipe which adds libm-test.stmp to the vector types.
12377         (test-ifloat.o): Likewise.
12378         (test-float-finite.o): Likewise.
12379         (test-double.o): Likewise
12380         (test-idouble.o): Likewise.
12381         (test-double-finite.o): Likewise.
12382         (test-ldouble.o): Likewise
12383         (test-ildoubl.o): Likewise.
12384         (test-ldouble-finite.o): Likewise.
12386         (libm-tests): Redefine type tests using foreach and the
12387         list of types in types.
12389         (CPPFLAGS-test-ildoubl.c): Rename to
12390         (CPPFLAGS-test-ildouble.c): New variable
12392         * math/test-ildoubl.c: Rename to
12393         * math/test-ildouble.c: New file.
12395 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12397         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12398         Use fabsl instead of fabs.
12399         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12400         Likewise.
12401         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12402         Add long double suffix to constant to ensure proper
12403         promotion to long double.
12405 2016-08-03  Tom Tromey  <tom@tromey.com>
12407         [BZ #20311]
12408         * nptl_db/Makefile (headers): Add proc_service.h.
12409         * nptl_db/proc_service.h: Add include guard.  Use
12410         __BEGIN/__END_DECLS.
12411         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12412         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12413         arguments.
12416 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12418         [BZ #17730]
12419         Avoid using memalign for TCB allocations.
12420         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12421         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12422         Avoid alignment gap in the TLS_DTV_AT_TP case.
12423         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12424         determine the pointer to free.
12425         * nptl/tst-tls3-malloc.c: New test.
12426         * nptl/Makefile (tests): Add it.
12427         (tst-tls3-malloc): Link with libdl, libpthread.
12428         (LDFLAGS-tst-tls3-malloc): Set.
12429         (tst-tls3-malloc.out): Depend on DSO used in test.
12431 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12433         [BZ #17730]
12434         Avoid using memalign for TLS allocations.
12435         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12436         is_static member with to_free member.
12437         (union dtv): Use struct dtv_pointer.
12438         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12439         dtv_pointer instead of is_static.
12440         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12441         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12442         instead of val.
12443         (allocate_dtv_entry): New function.
12444         (allocate_and_init): Return struct dtv_pointer.  Call
12445         allocate_dtv_entry instead of __libc_memalign.
12446         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12447         instead of val.
12448         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12449         instead of is_static.  Adjust call to allocate_and_init.
12450         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12451         struct dtv_pointer instead of val.
12453 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12455         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12456         (MALLOC_ALIGN_MASK): Move ...
12457         * malloc/malloc-internal.h: ... to here.
12458         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12460 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12462         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12463         (UDP_ENCAP_GTP1U): Likewise.
12465         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12466         (PF_MAX): Update value.
12467         (AF_QIPCRTR): New macro.
12469 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12471         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12472         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12473         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12474         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12475         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12476         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12477         s_truncf-vis3, s_trunc-vis3.
12478         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12479         (CFLAGS-s_ceil-vis3.c): Likewise.
12480         (CFLAGS-s_floorf-vis3.c): Likewise.
12481         (CFLAGS-s_floor-vis3.c): Likewise.
12482         (CFLAGS-s_truncf-vis3.c): Likewise.
12483         (CFLAGS-s_trunc-vis3.c): Likewise.
12484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12487         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12492         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12493         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12494         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12495         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12497 2016-08-02  David S. Miller  <davem@davemloft.net>
12499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12500         (__nearbyint_vis3): Don't check for sNaN before float register is
12501         loaded with the incoming argument.
12502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12503         (__nearbyintf_vis3): Likewise.
12504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12505         Likewise.
12506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12507         Likewise.
12509         * string/test-strncmp.c (do_test_limit): Make sure the test data
12510         stream is aligned as required for the type "CHAR".
12511         (do_test): Likewise.
12513 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12515         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12516         by beq instructions jumping to the end of the function.
12517         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12518         clobber list. Use "i" constraint instead of "X".
12519         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12520         of "X".
12522 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12524         * bits/libc-header-start.h: New file.
12525         * Makefile (headers): Add bits/libc-header-start.h.
12526         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12527         (__GLIBC_USE): New macro.
12528         * libio/stdio.h: Define
12529         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12530         <bits/libc-header-start.h> instead of including <features.h>.
12531         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12532         (open_memstream): Likewise.
12533         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12534         (__asprintf): Likewise.
12535         (asprintf): Likewise.
12536         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12537         (getdelim): Likewise.
12538         (getline): Likewise.
12539         * string/string.h: Define
12540         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12541         <bits/libc-header-start.h> instead of including <features.h>.
12542         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12543         (strndup): Likewise.
12544         * wcsmbs/wchar.h: Define
12545         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12546         <bits/libc-header-start.h> instead of including <features.h>.
12547         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12548         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12550 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12552         Support linking against compatibility symbols, for use in tests.
12553         * include/libc-symbols.h (symbol_version_reference): New macro.
12554         (symbol_version): Use it.
12555         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12556         (compat_symbol): Use compat_symbol_reference.
12557         (compat_symbol_1, compat_symbol_2): Remove.
12558         (compat_symbol_reference, compat_symbol_reference_1)
12559         (compat_symbol_reference_2): New macro.  Use
12560         symbol_version_reference.
12562 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12564         [BZ #19469]
12565         * malloc/Makefile (CPPFLAGS): Compile tests with
12566         -DTEST_NO_MALLOPT.
12567         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12569 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12571         [BZ #20033]
12572         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12573         finite version.
12574         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12575         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12576         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12577         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12578         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12579         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12580         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12581         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12582         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12583         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12584         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12585         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12586         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12587         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12588         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12589         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12590         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12591         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12592         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12593         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12594         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12595         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12596         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12597         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12598         in zero power.
12600 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12602         [BZ #20370]
12603         * malloc/arena.c (get_free_list): Update comment.  Assert that
12604         arenas on the free list have no attached threads.
12605         (remove_from_free_list): New function.
12606         (reused_arena): Call it.
12608 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12610         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12611         when it is a NaN.
12612         [_IEEE_FP_INEXACT] Remove.
12613         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12614         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12615         when it is a NaN.
12616         [_IEEE_FP_INEXACT] Remove.
12617         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12618         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12619         when it is a NaN.
12620         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12621         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12622         when its absolute value is greater than 0x1.0p52.
12623         [_IEEE_FP_INEXACT] Remove.
12624         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12625         when its absolute value is greater than 0x1.0p23.
12626         [_IEEE_FP_INEXACT] Remove.
12628 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12630         * version.h (RELEASE): Set to "development"
12631         (VERSION): Set to 2.24.90.
12632         * NEWS: Add 2.25 section.
12634         * version.h (RELEASE): Set to "stable"
12635         (VERSION): Set to 2.24.
12636         * include/features.h (__GLIBC_MINOR__): Set to 24.
12638         * NEWS: Add 2.24 fixed bugs.
12639         * po/libc.pot: Regenerate.
12641 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12644         [$(subdir) = math] (libm-sysdep_routines): Remove.
12645         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12646         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12647         s_truncf-vis3, s_trunc-vis3.
12648         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12650         file.
12651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12674         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12675         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12676         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12683         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12684         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12685         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12686         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12687         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12688         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12689         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12690         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12691         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12692         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12693         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12695 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12697         [BZ #20384]
12698         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12699         test-double-libmvec-sincos-avx-main.o,
12700         test-double-libmvec-sincos-avx2-main.o,
12701         test-double-libmvec-sincos-main.o,
12702         test-float-libmvec-sincosf-avx-main.o,
12703         test-float-libmvec-sincosf-avx2-main.o and
12704         test-float-libmvec-sincosf-main.o.
12705         test-float-libmvec-sincosf-avx512-main.o.
12706         ($(objpfx)test-double-libmvec-sincos): Also link with
12707         $(objpfx)test-double-libmvec-sincos-main.o.
12708         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12709         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12710         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12711         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12712         ($(objpfx)test-float-libmvec-sincosf): Also link with
12713         $(objpfx)test-float-libmvec-sincosf-main.o.
12714         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12715         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12716         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12717         test-double-libmvec-sincos-avx512-main.o and
12718         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12719         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12720         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12721         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12722         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12723         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12724         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12725         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12726         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12727         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12728         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12729         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12730         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12731         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12732         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12733         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12734         -DREQUIRE_AVX2.
12735         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12736         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12737         -DREQUIRE_AVX512F.
12738         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12739         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12740         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12741         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12742         file.
12743         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12744         Likewise.
12745         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12746         Likewise.
12747         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12748         Likewise.
12749         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12750         Likewise.
12751         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12752         Likewise.
12753         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12754         Likewise.
12755         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12756         Likewise.
12758 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12760         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12762 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12764         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12765         and typo in a comment about AT_HWCAP entry.
12767 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12769         * sysdeps/aarch64/libm-test-ulps: Updated.
12771 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12773         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12774         of r13 as it is not restored in mvcle case.
12776 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12778         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12779         Rename "ret" to "__ret".
12780         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12781         inline_syscall5, inline_syscall6): Likewise.
12783 2016-07-19   Will Newton  <will.newton@gmail.com>
12785         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12786         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12787         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12788         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12789         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12791 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12793         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12794         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12795         -mfpmath=387 with $(rtld-CFLAGS).
12796         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12797         $(rtld-CFLAGS).
12799 2016-07-18   Ross Burton  <ross.burton@intel.com>
12800              Khem Raj  <raj.khem@gmail.com>
12802         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12803         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12804         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12805         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12806         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12807         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12808         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12809         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12810         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12811         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12812         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12813         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12814         R_METAG_TLS_DTPOFF): New.
12816 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12817             Matt Clay  <mclay@lycos.com>
12819         [BZ #20357]
12820         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12821         to call __mpsin/__mpcos and to negate values.
12822         * math/auto-libm-test-in: Add test.
12823         * math/auto-libm-test-out: Regenerate.
12825 2016-07-18  Zack Weinberg  <zackw@panix.com>
12827         * grp/Makefile: Don't install the internal header grp-merge.h.
12829 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12831         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12833 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12835         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12837 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12839         [BZ #15368]
12840         * sysdeps/unix/sysv/linux/nptl-signals.h
12841         (__nptl_clear_internal_signals): New function.
12842         (__libc_signal_block_all): Likewise.
12843         (__libc_signal_block_app): Likewise.
12844         (__libc_signal_restore_set): Likewise.
12845         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12846         implementation.
12847         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
12848         the cached pid/tid value in pthread structure.
12850 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
12852         [BZ #20347]
12853         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12855 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12857         [BZ #20348]
12858         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
12859         preadv64, pwrite64 and pwritev64.
12861 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12863         [BZ #20350]
12864         * posix/tst-preadwrite.c: Renamed to ...
12865         * posix/tst-preadwrite-common.c: This.
12866         (PREAD): Removed.
12867         (PWRITE): Likewise.
12868         (STRINGIFY): Likewise.
12869         (STRINGIFY2): Likewise.
12870         (do_prepare): Make it static and remove function arguments.
12871         (do_test): Likewise.
12872         (PREPARE): Updated.
12873         (TEST_FUNCTION): New.
12874         (name): Make it static.
12875         (fd): Likewise.
12876         (do_prepare): Use create_temp_file.
12877         (do_test): Renamed to ...
12878         (do_test_with_offset): This.  Make it static and accept offset.
12879         Properly check return value of PWRITE and PREAD.  Return bytes
12880         read.  Don't close fd nor unlink name.
12881         * posix/tst-preadwrite.c: Rewrite.
12882         * posix/tst-preadwrite64.c: Likewise.
12884 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12886         [BZ #20309]
12887         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
12888         -mtls-dialect=gnu2 works.
12889         * configure: Regenerated.
12890         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
12891         (tests): Add tst-gnu2-tls1.
12892         (modules-names): Add tst-gnu2-tls1mod.
12893         ($(objpfx)tst-gnu2-tls1): New.
12894         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
12895         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
12896         * elf/tst-gnu2-tls1.c: New file.
12897         * elf/tst-gnu2-tls1mod.c: Likewise.
12898         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
12899         bytes for push in the PLT entry to align the stack.
12901 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12903         [BZ #20349]
12904         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
12906 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12908         [BZ #18707]
12909         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
12910         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
12912 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12914         * sysdeps/unix/sysv/linux/sysdep.h
12915         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
12916         guards.
12917         * misc/tst-preadvwritev-common.c: New file.
12918         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
12919         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
12920         a check for files larger than 2GB.
12922         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12923         (__ASSUME_OFF_DIFF_OFF64): Remove define.
12924         * sysdeps/unix/sysv/linux/pread.c
12925         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
12926         __OFF_T_MATCHES_OFF64_T.
12927         * sysdeps/unix/sysv/linux/pread64.c
12928         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
12929         * sysdeps/unix/sysv/linux/preadv.c
12930         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
12931         * sysdeps/unix/sysv/linux/preadv64.c
12932         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
12933         * sysdeps/unix/sysv/linux/pwrite.c
12934         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
12935         * sysdeps/unix/sysv/linux/pwrite64.c
12936         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
12937         * sysdeps/unix/sysv/linux/pwritev.c
12938         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
12939         * sysdeps/unix/sysv/linux/pwritev64.c
12940         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
12942 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
12944         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12945         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
12947 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12949         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
12951 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12953         [BZ #20240]
12954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
12955         (CFLAGS-s_modf-ppc32.c): New variable.
12956         (CFLAGS-s_modff-ppc32.c): Likewise.
12957         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12958         (CFLAGS-s_modf-ppc64.c): Likewise.
12959         (CFLAGS-s_modff-ppc64.c): Likewise.
12961 2016-07-07  Andreas Schwab  <schwab@suse.de>
12963         [BZ #20263]
12964         * nptl/tst-robust10.c: New test.
12965         * nptl/Makefile (tests): Add tst-robust10.
12967 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
12969         [BZ #20263]
12970         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
12972 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12974         * sysdeps/s390/linkmap.h (struct link_map_machine):
12975         Remove member gotplt and add member jmprel.
12976         * sysdeps/s390/s390-32/dl-machine.h
12977         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
12978         instead of gotplt with &got[3].
12979         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
12980         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12982 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
12984         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
12986 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12988         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
12989         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
12990         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12991         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
12992         * libio/vtables.c (_IO_vtable_check)
12993         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12994         * libio/libioP.h (IO_set_accept_foreign_vtables)
12995         [!PTR_MANGLE]: Do not call PTR_MANGLE.
12997 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
12999         [BZ #20314]
13000         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13001         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13002         $(common-objpfx)cmath.
13003         ($(common-objpfx)cstdlib): New target.
13004         ($(common-objpfx)cmath): Likewise.
13006 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13008         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13010 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13012         [BZ #20327]
13013         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13014         are not part of the string.
13016 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13018         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13019         * nptl/tst-cancel4-common.h (fifoname): New variable.
13020         (fifofd): Likewise.
13021         (cl_fifo): New function.
13022         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13023         SIGINT.
13024         (tf_open): Add early cancel test.
13026 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13028         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13030 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13032         * sysdeps/generic/ldsodefs.h
13033         (dl_symbol_visibility_binds_local_p): New inline function.
13034         * elf/dl-addr.c (determine_info): Treat hidden and internal
13035         symbols as local.
13036         * elf/dl-lookup.c (do_lookup_x): Likewise.
13037         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13039 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13041         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13042         invalid exception for a sNaN input.
13043         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13044         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13045         (__nearbyint_vis3): Likewise
13046         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13047         (__nearbyintf_vis3): Likewise
13048         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13049         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13050         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13051         Likewise.
13052         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13053         Likewise.
13055 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13057         [BZ #20139]
13058         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13059         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13060         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13061         2.24 or above.
13062         (HAVE_AVX512_ASM_SUPPORT): Removed.
13063         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13064         * sysdeps/x86_64/configure: Regenerated.
13065         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13066         check unconditional.
13067         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13068         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13069         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13070         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13071         Likewise.
13072         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13073         Likewise.
13074         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13075         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13076         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13077         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13078         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13079         Likewise.
13080         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13081         Likewise.
13082         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13083         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13084         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13085         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13086         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13087         Likewise.
13088         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13089         Likewise.
13090         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13091         Likewise.
13092         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13093         Likewise.
13094         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13095         Likewise.
13096         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13097         Likewise.
13098         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13099         Likewise.
13100         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13101         Likewise.
13102         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13103         Likewise.
13104         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13105         Likewise.
13106         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13107         Likewise.
13109 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13111         [BZ #20024]
13112         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13114         of this implementation of vector function.
13115         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13116         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13117         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13118         Likewise.
13119         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13120         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13121         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13122         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13123         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13124         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13125         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13126         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13127         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13128         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13129         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13130         for testing vector sincos with fixed ABI.
13131         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13132         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13133         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13134         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13135         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13136         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13137         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13138         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13139         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13140         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13141         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13142         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13143         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13144         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13145         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13146         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13148 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13150         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13152 2016-06-30  Anton Blanchard  <anton@samba.org>
13154         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13155         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13156         s_sinf-ppc64.
13157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13160         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13162 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13165         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13166         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13167         e_expf-ppc64.
13168         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13169         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13170         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13171         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13173 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13175         [BZ #20277]
13176         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13177         when SHARED is defined.
13179 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13181         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13182         (index_arch_Prefer_ERMS): Likewise.
13183         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13184         __memcpy_erms for Prefer_ERMS.
13185         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13186         (__memmove_erms): Enabled for libc.a.
13187         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13188         __memmove_erms or Prefer_ERMS.
13189         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13190         __mempcpy_erms for Prefer_ERMS.
13191         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13192         __memset_erms for Prefer_ERMS.
13194 2016-06-30  Andreas Schwab  <schwab@suse.de>
13196         [BZ #20262]
13197         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13198         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13199         of memory.
13201 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13203         [BZ #18645]
13204         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13205         (test-extras): Add tst-cleanupx4aux.
13206         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13207         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13208         tst-cleanupx4aux.o.
13209         * nptl/tst-cleanupx4aux.c: New file.
13211 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13213         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13215 2016-06-29  Andreas Schwab  <schwab@suse.de>
13217         [BZ #20260]
13218         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13219         address before the beginning of the string as an integer to avoid
13220         array-bounds warning.
13222 2016-06-28  Richard Henderson  <rth@redhat.com>
13224         * elf/elf.h (EM_BPF): New.
13225         (EM_NUM): Update.
13226         (R_BPF_NONE, R_BPF_MAP_FD): New.
13228         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13229         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13230         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13231         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13232         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13233         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13234         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13235         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13236         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13237         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13238         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13239         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13240         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13241         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13242         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13243         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13244         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13245         (EM_NUM): Update.
13247 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13249         [BZ #18960]
13250         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13251         Set _nl_current_LC_CATEGORY_used to two instead of one.
13253 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13255         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13256         (do_test): ... this.
13257         (TEST_FUNCTION): New macro.
13258          Include test-skeleton.c.
13259         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13260         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13262 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13264         [BZ #15479]
13265         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13266         floating-point environment rather than just control word.
13267         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13268         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13269         floating-point environment, with "invalid" exceptions merged in,
13270         rather than just control word.
13271         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13272         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13273         "inexact" exceptions.
13275         [BZ #15479]
13276         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13277         floating-point environment rather than just control word.
13278         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13279         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13280         floating-point environment, with "invalid" exceptions merged in,
13281         rather than just control word.
13282         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13283         * math/libm-test.inc (floor_test_data): Do not allow spurious
13284         "inexact" exceptions.
13286         [BZ #15479]
13287         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13288         floating-point environment rather than just control word.
13289         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13290         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13291         floating-point environment, with "invalid" exceptions merged in,
13292         rather than just control word.
13293         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13294         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13295         "inexact" exceptions.
13297 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13299         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13300         __libc_vfork.
13301         (__vfork) [IS_IN (libc)]: Remove alias.
13302         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13303         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13304         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13306 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13308         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13309         of atomic_compare_and_exchange_bool_rel.
13310         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13311         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13312         catomic_compare_and_exchange_bool_rel): Remove.
13313         * sysdeps/aarch64/atomic-machine.h
13314         (atomic_compare_and_exchange_bool_rel): Likewise.
13315         * sysdeps/alpha/atomic-machine.h
13316         (atomic_compare_and_exchange_bool_rel): Likewise.
13317         * sysdeps/arm/atomic-machine.h
13318         (atomic_compare_and_exchange_bool_rel): Likewise.
13319         * sysdeps/mips/atomic-machine.h
13320         (atomic_compare_and_exchange_bool_rel): Likewise.
13321         * sysdeps/microblaze/atomic-machine.h
13322         ( __arch_compare_and_exchange_bool_8_rel,
13323         __arch_compare_and_exchange_bool_16_rel): Likewise.
13324         * sysdeps/powerpc/atomic-machine.h
13325         ( __arch_compare_and_exchange_bool_8_rel,
13326         __arch_compare_and_exchange_bool_16_rel): Likewise.
13327         * sysdeps/powerpc/powerpc32/atomic-machine.h
13328         ( __arch_compare_and_exchange_bool_32_rel,
13329         __arch_compare_and_exchange_bool_64_rel): Likewise.
13330         * sysdeps/powerpc/powerpc64/atomic-machine.h
13331         ( __arch_compare_and_exchange_bool_32_rel,
13332         __arch_compare_and_exchange_bool_64_rel): Likewise.
13333         * sysdeps/tile/atomic-machine.h
13334         (atomic_compare_and_exchange_bool_rel): Likewise.
13336 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13338         [BZ #20296]
13339         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13340         when either argument is a NaN.
13341         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13342         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13344         * math/libm-test.inc (snan_value_ld): New macro.
13345         (isgreater_test_data): Add sNaN tests.
13346         (isgreaterequal_test_data): Likewise.
13347         (isless_test_data): Likewise.
13348         (islessequal_test_data): Likewise.
13349         (islessgreater_test_data): Likewise.
13350         (isunordered_test_data): Likewise.
13351         (nextafter_test_data): Likewise.
13352         (nexttoward_test_data): Likewise.
13353         (remainder_test_data): Likewise.
13354         (remquo_test_data): Likewise.
13355         (significand_test_data): Likewise.
13356         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13358 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13360         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13361         environment macros are defined.
13362         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13364 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13366         [BZ #20191]
13367         Implement vtable verification in libio.
13368         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13369         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13370         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13371         _IO_new_file_init_internal instead of _IO_file_init.
13372         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13373         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13374         * libio/Makefile (routines): Add vtables.
13375         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13376         (_IO_init): Remove, not for internal use.
13377         (_IO_init_internal): Declare, internal replacement for _IO_init.
13378         (_IO_file_init): Remove, not for internal use.
13379         (_IO_new_file_init): Remove, not for internal use.
13380         (_IO_new_file_init_internal): Declare, internal replacement for
13381         _IO_new_file_init.
13382         (_IO_old_file_init): Remove, not for internal use.
13383         (_IO_old_file_init_internal): Declare, internal replacement for
13384         _IO_old_file_init.
13385         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13386         internal use.
13387         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13388         Declare.
13389         (libio_vtable): New macro.
13390         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13391         functions.
13392         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13393         _IO_new_file_init.
13394         (_IO_new_file_init): New externally visible wrapper which disables
13395         vtable verification.
13396         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13397         Define as vtables.
13398         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13399         (_IO_init): New externally visible wrapper which disables
13400         vtable verification.
13401         * libio/iofdopen.c (_IO_new_fdopen): Call
13402         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13403         comment.
13404         * libio/iofopen.c (__fopen_internal): Call
13405         _IO_new_file_init_internal instead of _IO_file_init.
13406         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13407         Define as vtables.
13408         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13409         _IO_new_file_init_internal instead of _IO_file_init.
13410         * libio/iopopen.c (_IO_new_popen): Likewise.
13411         (_IO_proc_jumps): Define as vtable.
13412         * libio/iovdprintf.c (_IO_vdprintf): Call
13413         _IO_new_file_init_internal instead of _IO_file_init.
13414         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13415         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13416         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13417         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13418         _IO_old_file_init.
13419         (_IO_old_file_init): New externally visible wrapper which disables
13420         vtable verification.
13421         (_IO_old_file_jumps): Define as vtable.
13422         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13423         _IO_old_file_init_internal instead of _IO_old_file_init.
13424         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13425         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13426         (_IO_old_proc_jumps): Define as vtable.
13427         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13428         Define as vtables.
13429         * libio/vtables.c: New file.
13430         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13431         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13432         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13433         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13434         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13435         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13436         instead of _IO_init.
13438 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13440         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13442 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13444         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13445         potentially unused.
13447 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13449         * test-skeleton.c (write_message): New function.
13450         * malloc/tst-mallocfork2.c (write_message): Remove.
13451         * debug/tst-longjmp_chk2.c (write_indented): New function.
13452         (write_message): Remove.
13453         (stackoverflow_handler): Call write_indented.
13455 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13457         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13458         "inexact" exceptions after fnstenv.
13459         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13460         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13461         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13463 2015-06-22  Zack Weinberg  <zackw@panix.com>
13465         * sysdeps/generic/bits/hwcap.h: Moved to ...
13466         * bits/hwcap.h: Here.
13468 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13470         * sysdeps/aarch64/memcpy.S (memcpy):
13471         Further tuning for performance.
13473 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13475         [BZ #20284]
13476         * malloc/arena.c (reused_arena): Do not return NULL if we start
13477         out with a non-corrupted arena.
13479 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13481         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13482         * misc/tst-preadvwritev.c: New file.
13483         * misc/tst-preadvwritev64.c: Likewise.
13484         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13485         usage.
13486         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13487         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13488         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13489         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13491 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13493         [BZ #19654]
13494         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13495         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13496         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13497         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13498         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13499         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13500         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13501         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13502         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13503         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13504         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13505         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13506         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13507         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13508         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13509         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13510         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13511         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13512         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13513         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13514         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13515         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13516         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13517         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13518         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13519         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13521 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13523         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13524         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13526 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13528         * sysdeps/aarch64/memcpy.S (memcpy):
13529         Rewrite of optimized memcpy and memmove.
13530         * sysdeps/aarch64/memmove.S (memmove): Remove
13531         memmove code (merged into memcpy.S).
13533 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13535         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13536         * sysdeps/generic/dl-dtv.h: New file.
13537         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13538         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13539         (dtv_t): Remove.
13540         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13541         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13542         (dtv_t): Remove.
13543         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13544         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13545         (dtv_t): Remove.
13546         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13547         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13548         (dtv_t): Remove.
13549         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13550         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13551         (dtv_t): Remove.
13552         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13553         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13554         (dtv_t): Remove.
13555         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13556         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13557         (dtv_t): Remove.
13558         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13559         (dtv_t): Remove.
13560         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13561         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13562         (dtv_t): Remove.
13563         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13564         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13565         (dtv_t): Remove.
13566         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13567         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13568         (dtv_t): Remove.
13569         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13570         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13571         (dtv_t): Remove.
13572         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13573         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13574         (dtv_t): Remove.
13575         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13576         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13577         (dtv_t): Remove.
13578         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13579         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13580         (dtv_t): Remove.
13581         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13582         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13583         (dtv_t): Remove.
13585 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13587         Revert symbol poisoning of  __malloc_initialize_hook.
13588         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13589         poisoning.
13590         * malloc/Makefile: Remove un-poisoning.
13591         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13592         instead of old__malloc_initialize_hook.
13593         * malloc/malloc-hooks.h: Likewise.
13594         * malloc/malloc.c: Likewise.
13595         * malloc/mcheck-init.c: Likewise.
13597 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13599         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13601 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13603         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13604         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13605         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13606         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13608 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13610         * NEWS: Mention addition of nextup and nextdown.
13611         * manual/arith.texi: Document nextup and nextdown.
13612         * manual/libm-err-tab.pl: Add nextup and nextdown.
13613         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13614         * math/Versions (libm): Add GLIBC_2.24.
13615         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13616         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13617         Add new test.
13618         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13619         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13620         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13621         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13622         (nextup_test_data): Likewise.
13623         (nextdown_test_data): Likewise.
13624         * math/s_nextdown.c: New file.
13625         * math/s_nextdownf.c: Likewise.
13626         * math/s_nextdownl.c: Likewise.
13627         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13628         F(nextup): New function.
13629         F(nextdown): Likewise.
13630         * math/tgmath.h: Add nextup and nextdown.
13631         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13632         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13633         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13634         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13635         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13636         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13637         Add nextup and nextdown.
13638         (CFLAGS-nldbl-nextup.c): New variable.
13639         (CFLAGS-nldbl-nextdown.c): Likewise.
13640         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13641         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13642         * sysdeps/nacl/libm.abilist: Update.
13643         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13644         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13645         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13646         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13647         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13648         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13649         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13650         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13651         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13652         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13653         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13654         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13657         Likewise.
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13660         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13661         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13662         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13663         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13664         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13667         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13668         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13669         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13670         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13672 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13674         * manual/pattern.texi: Fix typos & grammar errors.
13676 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13678         * manual/search.texi: Fix typos & grammar errors.
13680 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13682         * manual/message.texi: Fix typos & grammar errors.
13684 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13686         * manual/contrib.texi: Fix spelling typos.
13687         * manual/crypt.texi: Likewise.
13688         * manual/filesys.texi: Likewise.
13689         * manual/locale.texi: Likewise.
13690         * manual/message.texi: Likewise.
13691         * manual/nss.texi: Likewise.
13692         * manual/string.texi: Likewise.
13694 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13696         * manual/locale.texi: Fix typos & grammar errors.
13698 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13700         * manual/charset.texi: Fix typos & grammar errors.
13702 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13704         * manual/string.texi: Fix typos.
13706 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13708         * manual/ctype.texi: Fix typos.
13710 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13712         * manual/memory.texi: Fix various typos & grammar errors.
13714 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13716         [BZ #20255]
13717         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13718         * math/libm-test.inc (fdim_test_data): Add another test.
13720         [BZ #6796]
13721         [BZ #20255]
13722         [BZ #20256]
13723         * math/s_fdim.c: Include <math_private.h>.
13724         (__fdim): Use math_narrow_eval on result.
13725         * math/s_fdimf.c: Include <math_private.h>.
13726         (__fdimf): Use math_narrow_eval on result.
13727         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13728         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13729         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13730         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13731         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13732         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13733         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13734         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13735         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13736         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13737         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13738         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13739         overflow.  Add sNaN tests.
13741         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13742         fpclassify.
13743         * math/s_fdimf.c (__fdimf): Likewise.
13744         * math/s_fdiml.c (__fdiml): Likewise.
13746 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13748         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13749         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13751         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13752         ifunc'ed strcasecmp/strncasecmp.
13753         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13754         [EALIGN]: Removed.
13755         [END]: Likewise.
13756         [__strcasecmp]: Define instead of the above to control symbol name.
13757         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13758         for __strcasecmp_power8.
13759         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13760         for __strncasecmp_power8.
13761         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13762         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13763         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13764         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13765         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13766         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13768 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13770         [BZ #20252]
13771         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13772         arguments when second argument is a NaN.
13773         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13774         qNaN tests.
13776         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13777         (conj_test_data): Likewise.
13778         (copysign_test_data): Likewise.
13779         (creal_test_data): Likewise.
13780         (fma_test_data): Likewise.
13781         (fmod_test_data): Likewise.
13783         [BZ #20250]
13784         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13785         itself.
13786         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13787         zero input to itself.
13788         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13789         Likewise.
13790         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13791         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13792         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13793         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13794         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13796 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13798         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13799         * nptl/tst-cancel4-common.c: New file.
13800         * nptl/tst-cancel4-common.h: Likewise.
13801         * nptl/tst-cancel4.c: Move common definitions to
13802         tst-cancel4-common.{c,h} file.
13803         * nptl/tst-cancel4_1.c: New test.
13804         * nptl/tst-cancel4_2.c: New test.
13806 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13808         [BZ #20248]
13809         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13810         (write_message): New function.
13811         (stackoverflow_handler): Call it instead of printf, to avoid
13812         excessive stack usage by printf.
13813         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13815 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13817         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13818         (prio_inherit_missing): Remove define.
13819         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13820         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13821         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13822         Likewise.
13823         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13824         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13825         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13826         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13827         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13828         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13830 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13832         [BZ #19670]
13833         [BZ #19672]
13835         * io/test-lfs.c (do_prepare): Use xmalloc.
13836         * io/tst-fcntl.c (do_prepare): Likewise.
13837         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13838         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13839         * login/tst-utmp.c (do_prepare): Likewise.
13840         * posix/tst-exec.c (do_prepare): Likewise.
13841         * posix/tst-pathconf.c (prepare): Likewise.
13842         * posix/tst-spawn.c (do_prepare): Likewise.
13843         * posix/tst-truncate.c (do_prepare): Likewise.
13844         * rt/tst-aio.c (do_prepare): Likewise.
13845         * rt/tst-aio64.c (do_prepare): Likewise.
13847 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13849         [BZ #20237]
13850         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
13851         (get*ent): Set entidx to NULL during initialization.  If entidx is
13852         NULL, start iteration from the beginning.
13854 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13856         * malloc/malloc.c (musable): Return correct size for dumped fake
13857         mmapped chunk.
13859 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13861         [BZ #20222]
13862         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
13863         (_IO_cookie_write): Likewise.
13864         (_IO_cookie_seek): Likewise.
13865         (_IO_cookie_close): Likewise.
13866         (_IO_old_cookie_seek): Likewise.
13867         (set_callbacks): New function.
13868         (_IO_cookie_init): Call set_callbacks to copy callbacks.
13870 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
13872         * locale/programs/localedef.c (oldstyle_tables): Remove.
13873         * locale/programs/localedef.h (oldstyle_tables): Likewise.
13875 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
13877         [BZ #20240]
13878         * math/Makefile (CFLAGS-s_modf.c): New variable.
13879         (CFLAGS-s_modff.c): Likewise.
13880         (CFLAGS-s_modfl.c): Likewise.
13881         * math/libm-test.inc (modf_test_data): Add sNaN tests.
13883 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
13885         [BZ #20215]
13886         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
13887         [!__GNUC_PREREQ (3,2)]: Likewise.
13889 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13891         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
13892         (msghdr.msg_controllen): Likewise.
13893         (cmsghdr.cmsg_len): Likewise.
13894         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
13895         ptw-oldsendmsg.
13896         (CFLAGS-oldrecvmsg.c): Remove rule.
13897         (CFLAGS-oldsendmsg.c): Likewise.
13898         (CFLAGS-recvmsg.c): Add rule.
13899         (CFLAGS-sendmsg.c): Likewise.
13900         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
13901         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
13902         (CFLAGS-recvmsg.c): Remove rule.
13903         (CFLAGS-sendmsg.c): Likewise.
13904         (CFLAGS-oldrecvmsg.c): Likewise.
13905         (CFLAGS-oldsendmsg.c): Likewise.
13906         (CFLAGS-recvmmsg.c): Likewise.
13907         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
13908         to kernel defined interfaces.
13909         (msghdr.msg_controllen): Likewise.
13910         (cmsghdr.cmsg_len): Likewise.
13911         (msghdr.__glibc_reserved1): Remove member.
13912         (msghdr.__glibc_reserved2): Likewise.
13913         (cmsghdr.__glibc_reserved1): Likewise.
13914         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
13915         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
13916         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13917         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13918         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
13919         version.
13920         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13921         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
13922         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13923         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
13924         Remove recvmsg and sendmsg.
13925         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
13926         Likewise.
13927         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13928         Likewise.
13929         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13930         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13931         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13932         Likewise.
13933         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13934         Likewise.
13935         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
13936         [libc] (GLIBC_2.24): Likewise.
13937         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13938         Likewise.
13939         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13940         Likewise.
13941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13942         [libc] (GLIBC_2.24): Likewise.
13943         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13944         Likewise.
13945         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13946         Likewise.
13947         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13948         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13949         Likewise.
13950         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13951         Likewise.
13952         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13953         Likewise.
13954         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
13955         Likewise.
13956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
13957         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
13958         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
13959         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
13960         version for {recv,send,recm,sendm}msg.
13961         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13962         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13963         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13964         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13965         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13966         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13967         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13968         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13969         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13970         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13971         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13972         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13974         Likewise.
13975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13976         Likewise.
13977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13979         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13980         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13981         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13982         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13983         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13984         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13987         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13988         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13989         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13991 2016-06-10  Florian Weimer  <fweimer@redhat.com>
13993         [BZ #19564]
13994         Remove __malloc_initialize_hook from the API.
13995         * malloc/malloc.h (__malloc_initialize_hook): Remove.
13996         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
13997         #pragma GCC poison.
13998         * malloc/malloc-hooks.h: New file.
13999         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14000         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14001         (old__malloc_initialize_hook): Rename from
14002         __malloc_initialize_hook to evade poisoning.  Turn into compat
14003         symbol.
14004         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14005         __malloc_initialize_hook.
14006         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14007         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14008         * manual/memory.texi (Hooks for Malloc): Remove
14009         __malloc_initialize_hook.  Adjust hook example.
14011 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14013         [BZ #20235]
14014         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14015         itself.
14016         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14017         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14019         [BZ #20234]
14020         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14021         infinity or NaN input to itself.
14023         [BZ #20233]
14024         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14025         to itself.
14027         [BZ #20232]
14028         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14029         itself.
14031 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14033         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14034         __libc_start_main via GOT.
14036 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14038         * sysdeps/x86_64/memcopy.h: New file.
14039         * sysdeps/x86_64/wordcopy.c: Likewise.
14041 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14043         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14044         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14045         <cstdlib>.
14046         (optimization_barrier): New.
14047         (do_test): Use it.  Call quick_exit in the global namespace.
14048         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14049         instead of <cstdlib>, <thread>.
14050         (optimization_barrier): New.
14051         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14052         Call quick_exit in the global namespace.
14053         (do_test): Call optimization_barrier.  Use pthread_create,
14054         pthread_join instead of std::thread.
14056 2016-06-09  Andreas Schwab  <schwab@suse.de>
14058         [BZ #19755]
14059         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14060         new entries in auto-propagate mode.
14061         * nscd/grpcache.c (cache_addgr): Likewise.
14063 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14065         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14066         New functions.
14067         (add_temp_file): Use them.
14069 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14071         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14073 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14075         [BZ #20229]
14076         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14077         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14078         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14080         [BZ #20228]
14081         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14082         itself.
14083         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14084         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14086         [BZ #20227]
14087         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14088         itself.
14089         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14090         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14091         * math/libm-test.inc (log_test_data): Add sNaN tests.
14093         [BZ #20226]
14094         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14095         itself.
14096         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14097         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14098         (exp10_test_data): Likewise.
14099         (expm1_test_data): Likewise.
14101         [BZ #20225]
14102         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14103         itself.
14104         * math/s_ldexpf.c (__ldexpf): Likewise.
14105         * math/s_ldexpl.c (__ldexpl): Likewise.
14106         * math/w_scalbln.c (__w_scalbln): Likewise.
14107         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14108         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14109         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14110         (scalbln_test_data): Likewise.
14112         [BZ #20224]
14113         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14114         argument to itself.
14115         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14117 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14119         [BZ #19776]
14120         * sysdeps/x86_64/memcpy.S: Make it dummy.
14121         * sysdeps/x86_64/mempcpy.S: Likewise.
14122         * sysdeps/x86_64/memmove.S: New file.
14123         * sysdeps/x86_64/memmove_chk.S: Likewise.
14124         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14125         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14126         * sysdeps/x86_64/memmove.c: Removed.
14127         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14128         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14129         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14130         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14131         Likewise.
14132         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14133         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14135         memcpy-sse2-unaligned, memmove-avx-unaligned,
14136         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14138         (__libc_ifunc_impl_list): Replace
14139         __memmove_chk_avx512_unaligned_2 with
14140         __memmove_chk_avx512_unaligned.  Remove
14141         __memmove_chk_avx_unaligned_2.  Replace
14142         __memmove_chk_sse2_unaligned_2 with
14143         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14144         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14145         with __memmove_avx512_unaligned.  Replace
14146         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14147         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14148         with __memcpy_chk_avx512_unaligned.  Remove
14149         __memcpy_chk_avx_unaligned_2.  Replace
14150         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14151         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14152         Replace __memcpy_avx512_unaligned_2 with
14153         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14154         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14155         with __mempcpy_chk_avx512_unaligned.  Remove
14156         __mempcpy_chk_avx_unaligned_2.  Replace
14157         __mempcpy_chk_sse2_unaligned_2 with
14158         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14159         Replace __mempcpy_avx512_unaligned_2 with
14160         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14161         Replace __mempcpy_sse2_unaligned_2 with
14162         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14163         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14164         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14165         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14166         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14167         (ENTRY): Removed.
14168         (END): Likewise.
14169         (ENTRY_CHK): Likewise.
14170         (libc_hidden_builtin_def): Likewise.
14171         Don't include ../memcpy.S.
14172         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14173         __memcpy_chk_avx512_unaligned_erms and
14174         __memcpy_chk_avx512_unaligned.  Use
14175         __memcpy_chk_avx_unaligned_erms and
14176         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14177         Default to __memcpy_chk_sse2_unaligned.
14178         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14179         Change function suffix from unaligned_2 to unaligned.
14180         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14181         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14182         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14183         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14184         (ENTRY): Removed.
14185         (END): Likewise.
14186         (ENTRY_CHK): Likewise.
14187         (libc_hidden_builtin_def): Likewise.
14188         Don't include ../mempcpy.S.
14189         (mempcpy): New.  Add a weak alias.
14190         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14191         __mempcpy_chk_avx512_unaligned_erms and
14192         __mempcpy_chk_avx512_unaligned.  Use
14193         __mempcpy_chk_avx_unaligned_erms and
14194         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14195         Default to __mempcpy_chk_sse2_unaligned.
14197 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14199         [BZ #19881]
14200         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14201         into ...
14202         * sysdeps/x86_64/memset.S: This.
14203         (__bzero): Removed.
14204         (__memset_tail): Likewise.
14205         (__memset_chk): Likewise.
14206         (memset): Likewise.
14207         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14208         defined.
14209         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14210         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14211         (__memset_zero_constant_len_parameter): Check SHARED instead of
14212         PIC.
14213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14214         memset-avx2 and memset-sse2-unaligned-erms.
14215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14216         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14217         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14218         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14219         (__bzero): Enabled.
14220         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14221         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14222         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14223         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14224         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14225         (memset): Removed.
14226         (__memset_chk): Likewise.
14227         (MEMSET_SYMBOL): New.
14228         (libc_hidden_builtin_def): Replace __memset_sse2 with
14229         __memset_sse2_unaligned.
14230         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14231         __memset_chk_sse2 and __memset_chk_avx2 with
14232         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14233         Use __memset_chk_sse2_unaligned_erms or
14234         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14235         __memset_chk_avx512_unaligned_erms and
14236         __memset_chk_avx512_unaligned.
14238 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14240         * math/gen-auto-libm-test.c (fp_format_desc): remove
14241         suffix member.
14242         (output_generic_value): Remove usage of suffix member,
14243         and the resulting unuse of the fp_format argument.
14244         (output_for_one_input_case): Remove unused fp_format
14245         parameter.
14247         * math/auto-libm-test-out: Regenerate.
14249         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14250         usage with TEST_COND_ibm128.
14251         (TEST_COND_flt_32): Remove.
14252         (TEST_COND_dbl_64): Remove.
14253         (TEST_COND_ldbl_96_intel): Remove.
14254         (TEST_COND_ldbl_96_m68k): Remove.
14255         (TEST_COND_ldbl_128): Remove.
14257 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14259         * auto-libm-test-in:
14260         Replace flt-32 usage with binary32.
14261         Replace dbl-64 usage with binary64.
14262         Replace ldbl-intel-96 usage with intel96.
14263         Replace ldbl-m68k-96 usage with m68k96.
14264         Replace ldbl-128ibm usage with ibm128.
14265         Replace ldbl-128 usage with binary128.
14267         * auto-libm-test-out: Regenerate.
14269 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14271         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14272         (parse_ulps): Dynamically generate type name matching
14273         string from all_floats.
14274         (get_ulps): Generate the ulps as an array instead.
14275         (output_ulps): Dynamically compose the type based
14276         on the number of supported formats, and print
14277         the indices as type specific helper macros.
14279         * math/libm-test.inc: Remove comment about CHOOSE.
14280         (ulp_data): Generate the type in libm-test-ulps.h.
14281         (ULP_IDX): New macro.
14282         (find_ulps): Update usage of max_ulp.
14284         * math/test-double-vlen2.h (CHOOSE): Remove.
14285         * math/test-double-vlen4.h (CHOOSE): Likewise.
14286         * math/test-double-vlen8.h (CHOOSE): Likewise.
14287         * math/test-float.c (CHOOSE): Likewise.
14288         * math/test-float-finite.c (CHOOSE): Likewise.
14289         * math/test-double.c (CHOOSE): Likewise.
14290         * math/test-double-finite.c (CHOOSE): Likewise.
14291         * math/test-idouble.c (CHOOSE): Likewise.
14292         * math/test-ifloat.c (CHOOSE): Likewise.
14293         * math/test-ildoubl.c (CHOOSE): Likewise.
14294         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14295         * math/test-ldouble.c (CHOOSE): Likewise.
14297         * math/test-float.h (TEST_FLOAT): Remove.
14298         * math/test-double.h (TEST_DOUBLE): Likewise.
14299         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14301 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14303         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14304         (parse_args): Strip C suffix from floating point literals
14305         typed with 'f' and wrap them with LIT().
14307         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14308         (test_ff_f_data_nexttoward): Rename to
14309         (test_fj_f_data): New struct.
14310         (nexttoward_test_data): Relabel tests as
14311         TEST_fj_f instead of TEST_ff_f.
14313 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14315         Emacs bug 23726.
14316         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14317         (__libc_realloc): Correct size computation for dumped fake mmapped
14318         chunks.
14320 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14322         [BZ #20219]
14323         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14324         to itself.
14325         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14327         [BZ #20218]
14328         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14329         to itself.
14330         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14332 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14334         [BZ #20195]
14335         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14336         check to ...
14337         (init_cpu_features): Here.
14339 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14341         [BZ #20214]
14342         * sysdeps/unix/sysv/linux/bits/in.h
14343         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14344          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14345         Define to 1.
14346         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14347          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14348         Define to 0.
14349         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14350         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14352 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14354         [BZ #20198]
14355         * stdlib/Makefile (tests): Add tst-quick_exit, and
14356         tst-thread-quick_exit.
14357         [ifeq ($(have-cxx-thread_local),yes)]
14358         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14359         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14360         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14361         (LDLIBS-tst-thread-quick_exit): Likewise.
14362         [ifneq ($(have-cxx-thread_local),yes)]
14363         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14364         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14365         If run_dtors is true call __call_tls_dtors.
14366         (exit): Call __run_exit_handlers with run_dtors set to true.
14367         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14368         definition.
14369         * stdlib/quick_exit.c (quick_exit): Remove function.
14370         (__new_quick_exit): New function.
14371         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14372         function.
14373         * stdlib/tst-quick_exit.cc: New file.
14374         * stdlib/tst-thread-quick_exit.cc: New file.
14375         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14376         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14377         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14378         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14379         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14380         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14381         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14382         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14383         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14384         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14385         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14386         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14387         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14388         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14389         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14390         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14395         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14396         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14397         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14398         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14399         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14402         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14403         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14404         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14406 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14408         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14409         a typo in comments.
14411 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14413         [BZ #20213]
14414         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14415         argument to itself.
14416         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14418 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14420         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14421         required flags.
14422         (CFLAGS-pwritev64.c): Likewise.
14423         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14424         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14425         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14426         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14427         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14428         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14429         syscall from auto-generation.
14430         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14431         [WORDSIZE == 64] (pwritev64): Remove macro.
14432         [!PWRITEV] (PWRITEV): Likewise.
14433         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14434         [!PWRITEV] (PWRITE): Likewise.
14435         [!PWRITEV] (OFF_T): Likewise.
14436         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14437         (LO_HI_LONG): Remove macro.
14438         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14439         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14440         (PWRITEV): Remove macro.
14441         (PWRITEV_REPLACEMENTE): Likewise.
14442         (PWRITE): Likewise.
14443         (OFF_T): Likewise.
14444         (pwritev64): New function.
14445         * nptl/tst-cancel4.c (tf_writev): Add test.
14447         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14448         required flags.
14449         (CFLAGS-preadv64.c): Likewise.
14450         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14451         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14452         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14453         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14454         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14455         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14456         syscall from auto-generation.
14457         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14458         [WORDSIZE == 64] (preadv64): Remove macro.
14459         [!PREADV] (PREADV): Likewise.
14460         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14461         [!PREADV] (PREAD): Likewise.
14462         [!PREADV] (OFF_T): Likewise.
14463         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14464         (LO_HI_LONG): Remove macro.
14465         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14466         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14467         (PREADV): Remove macro.
14468         (PREADV_REPLACEMENTE): Likewise.
14469         (PREAD): Likewise.
14470         (OFF_T): Likewise.
14471         (preadv64): New function.
14472         * nptl/tst-cancel4.c (tf_preadv): Add test.
14474 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14476         [BZ #20212]
14477         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14478         argument to itself.
14479         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14481 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14483         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14484         New symbol defined as libc_hidden_def.
14485         (strcasestr): Became a weak alias to __strcasestr.
14486         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14487         according to multi-arch support.  Move __stpncpy hidden
14488         definition from here to...
14489         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14490         symbol stpncpy.
14491         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14492         libc_hidden_builtin_def.
14493         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14494         memset symbol to use when multi-arch support is available.
14496 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14498         * dlfcn/tst-rec-dlopen.c: Include string.h.
14500 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14502         * manual/install.texi: Remove mention of --without-tls
14503         * INSTALL: Regenerate.
14505 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14507         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14508         Remove.
14509         (call_function, interposed_malloc_called): New variables.
14510         (malloc): New function.
14511         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14512         and clear call_function as needed.
14514 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14516         * include/wchar.h (__wmemset): Use __typeof.
14518 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14520         * include/wchar.h (__wmemset): Declare function without typeof.
14522 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14524         [BZ #20205]
14525         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14526         exponent when incrementing negative subnormal with low mantissa
14527         word zero.
14528         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14529         Add another test.
14531 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14533         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14534         __wmemset instead of wmemset.
14536 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14538         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14539         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14540         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14541         __USE_KERNEL_IPV6_DEFS to 0.
14542         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14543         Update comment.
14545 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14547         [BZ #19861]
14548         Do not use IFUNC resolver with potentially unrelocated symbol.
14549         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14550         (DEFINE_FORK): Remove macro and inline definition.
14551         (fork_alias): Renamed from fork_ifunc.
14552         (__fork_alias): Renamed from __fork_ifunc.
14554 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14556         [BZ 19653]
14557         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14558         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14560 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14562         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14563         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14564         i386-linux-gnu).
14565         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14566         Set to no.
14567         * sysdeps/mach/hurd/configure: Refresh.
14569 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14571         [BZ #20178]
14572         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14573         on failure instead of exit.
14575 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14577         [BZ #3629]
14578         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14579         of POSIX.1-2008.
14581 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14583         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14584           Use PLT entry for calling _hurd_self_sigstate.
14586 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14588         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14589         available logical processors with SMT level type sharing L2
14590         cache for Intel processors.
14592 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14594         [BZ #20160]
14595         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14596         argument to itself before returning the result.
14597         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14598         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14599         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14600         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14601         Likewise.
14602         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14603         Likewise.
14604         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14605         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14606         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14607         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14608         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14609         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14611         [BZ #20160]
14612         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14613         argument to itself before returning the result.
14614         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14615         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14616         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14617         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14618         Likewise.
14619         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14620         Likewise.
14621         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14622         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14623         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14624         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14625         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14626         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14628 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14630         * libm-test.inc: Replace usage of M_El with
14631         (lit_e): New macro.
14633 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14635         * libm-test.inc: Replace usage of M_PI_4l with
14636         (lit_pi_4_d): New macro.
14638 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14640         * libm-test.inc: Replace usage of M_PIl with
14641         (lit_pi): New macro.
14643 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14645         * libm-test.inc: Replace usage of M_PI2l with
14646         (lit_pi_2_d): New macro.
14648         * math/test-double.h (LITM): New macro.
14649         * math/test-float.h (LITM): Likewise.
14650         * math/test-ldouble.h (LITM): Likewise.
14652 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14654         * libm-test.inc (M_PI_34l): Rename to
14655         (lit_pi_3_m_4_d): New Macro.
14656         (M_PI_34_LOG10El): Rename to
14657         (lit_pi_3_m_4_ln10_m_d): New Macro.
14658         (M_PI2_LOG10El): Rename to
14659         (lit_pi_2_ln10_m_d):  New Macro.
14660         (M_PI4_LOG10El): Rename to
14661         (lit_pi_4_ln10_m_d):  New Macro.
14662         (M_PI_LOG10El): Rename to
14663         (lit_pi_ln10_d):  New Macro.
14665 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14667         [BZ #20157]
14668         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14669         determine whether to negate low half if [_ARCH_PPCGR], and integer
14670         comparison otherwise.
14671         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14672         determine whether to negate low half.
14674         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14675         (NO_TEST_INLINE_DOUBLE): Likewise.
14676         (TEST_COND_x86_64): Likewise.
14677         (TEST_COND_x86): Likewise.
14678         (M_PI_6l): Likewise.
14680 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14682         * math/libm-test.inc:
14683         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14684         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14685         (TEST_LDOUBLE): Update usage to evaluate as true if
14686         the guarded tests match the property being tested.
14687         (LDBL_MAX_EXP): Change to MAX_EXP.
14688         (LDBL_MIN_EXP): Change to MIN_EXP.
14689         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14690         nexttoward tests.
14692 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14694         * math/libm-test.inc:
14695         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14696         (TYPE_MIN): Likewise.
14697         (TYPE_TRUE_MIN): Likewise.
14698         (TYPE_MAX): Likewise.
14699         (MIN_EXP): Likewise.
14700         (MAX_EXP): Likewise.
14701         (MANT_DIG): Likewise.
14703         (FSTR_MAX): New macro.
14704         (__CONCATX): Likewise.
14705         (QTYPE_STR): Likewise.
14706         (TEST_COND_binary32): Likewise.
14707         (TEST_COND_binary64): Likewise.
14708         (TEST_COND_binary128): Likewise.
14709         (TEST_COND_ibm128): Likewise.
14710         (TEST_COND_intel96): Likewise.
14711         (TEST_COND_m68k96): Likewise.
14713         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14714         (TEST_COND_dbl_64): Likewise.
14715         (TEST_COND_ldbl_96_intel): Likewise.
14716         (TEST_COND_ldbl_96_m68k): Likewise.
14717         (TEST_COND_ldbl_128): Likewise.
14718         (TEST_COND_ldbl_128ibm): Likewise.
14720         (plus_zero): Redefine using LIT macro.
14721         (minus_zero): Likewise.
14722         (plus_infty): Redefine as (INF).
14723         (minux_infty): Redefine as (-INF).
14724         (max_value): Redefine as TYPE_MAX.
14725         (min_value): Redefine as TYPE_MIN.
14726         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14728         (print_float): Refactor to use snprintf to convert FLOAT values
14729         to string. This brings it closer to dropin replacement of strtof
14730         for the TS 18661 defined types.
14731         (update_stats): Likewise.
14732         (print_complex_function_ulps): Likewise.
14733         (print_max_error): Likewise.
14734         (print_complex_max_error): Likewise.
14735         (check_float_internal): Likewise.
14737         * math/test-float.h (PREFIX): New macro.
14738         (LIT): Likewise.
14739         (TYPE_STR): Likewise.
14740         (FTOSTR): Likewise.
14742         * math/test-double.h (PREFIX): New macro.
14743         (LIT): Likewise.
14744         (TYPE_STR): Likewise.
14745         (FTOSTR): Likewise.
14747         * math/test-ldouble.h (PREFIX): New macro.
14748         (LIT): Likewise.
14749         (TYPE_STR): Likewise.
14750         (FTOSTR): Likewise.
14752 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14754         [BZ #20156]
14755         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14756         to itself when zero or not finite.
14757         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14758         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14759         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14760         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14762 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14764         [BZ #20153]
14765         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14766         x * x + x for infinities and NaNs.
14768         [BZ #20151]
14769         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14770         argument to itself before returning result.
14771         (__ieee754_y0l): Likewise.
14772         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14773         (__ieee754_y1l).
14775         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14776         (atan_test_data): Likewise.
14777         (ceil_test_data): Likewise.
14778         (cos_test_data): Likewise.
14779         (cosh_test_data): Likewise.
14780         (erf_test_data): Likewise.
14781         (exp2_test_data): Likewise.
14782         (fabs_test_data): Likewise.
14783         (floor_test_data): Likewise.
14784         (ilogb_test_data): Likewise.
14785         (j0_test_data): Likewise.
14786         (j1_test_data): Likewise.
14787         (jn_test_data): Likewise.
14788         (lgamma_test_data): Likewise.
14789         (lrint_test_data): Likewise.
14790         (llrint_test_data): Likewise.
14791         (logb_test_data): Likewise.
14792         (lround_test_data): Likewise.
14793         (llround_test_data): Likewise.
14794         (nearbyint_test_data): Likewise.
14795         (rint_test_data): Likewise.
14796         (round_test_data): Likewise.
14797         (sin_test_data): Likewise.
14798         (sincos_test_data): Likewise.
14799         (sinh_test_data): Likewise.
14800         (sqrt_test_data): Likewise.
14801         (tan_test_data): Likewise.
14802         (tanh_test_data): Likewise.
14803         (tgamma_test_data): Likewise.
14804         (trunc_test_data): Likewise.
14805         (y0_test_data): Likewise.
14806         (y1_test_data): Likewise.
14807         (yn_test_data): Likewise.
14809         * math/libm-test.inc: Update comment about NaN testing.
14810         (TEST_SNAN): New macro.
14811         (snan_value): Likewise.
14812         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14813         (fpclassify_test_data): Add sNaN tests.
14814         (isfinite_test_data): Likewise.
14815         (isinf_test_data): Likewise.
14816         (isnan_test_data): Likewise.
14817         (isnormal_test_data): Likewise.
14818         (issignaling_test_data): Likewise.
14819         (signbit_test_data): Likewise.
14820         * math/gen-libm-test.pl (%beautify): Add snan_value.
14821         (show_exceptions): Add argument $test_snan.
14822         (parse_args): Handle snan_value as non-finite.  Update call to
14823         show_exceptions.
14824         * math/Makefile (libm-test-no-inline-cflags): Add
14825         -fsignaling-nans.
14827 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14829         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14830         (CFLAGS-oldsendmsg.c): Add rule.
14831         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14832         Correct recvmsg symbol name.
14833         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14834         Likewise.
14836 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14838         * sysdeps/unix/sysv/linux/Makefile
14839         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14840         oldsendmmsg.
14841         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14842         sendmmsg.
14843         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14844         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14845         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14846         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14848         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14849         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14851         Likewise.
14852         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14853         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
14854         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14855         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
14856         iovlen and controllen fields to adjust to POSIX specification.
14857         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14859         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
14860         and change to correct expected type.
14861         (msghdr.msg_controllen): Likewise.
14862         (cmsghdr.cmsg_len): Likewise.
14863         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
14864         expected POSIX assumption about the size.
14865         (msghdr.msg_controllen): Likewise.
14866         (msghdr.__glibc_reserved1): Likewise.
14867         (msghdr.__glibc_reserved2): Likewise.
14868         (cmsghdr.cmsg_len): Likewise.
14869         (cmsghdr.__glibc_reserved1): Likewise.
14870         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
14871         Add ptw-oldrecvmsg and ptw-oldsendmsg.
14872         (CFLAGS-sendmsg.c): Remove rule.
14873         (CFLAGS-recvmsg.c): Likewise.
14874         (CFLAGS-oldsendmsg.c): Add rule.
14875         (CFLAGS-oldrecvmsg.c): Likewise.
14876         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
14877         recvmsg and sendmsg.
14878         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
14879         Likewise.
14880         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
14881         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
14882         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14883         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
14884         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14885         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14886         Likewise.
14887         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14888         Likewise.
14889         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
14890         Likewise.
14891         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
14892         Likewise.
14893         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14894         Likewise.
14895         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14896         Likewise.
14897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
14898         (GLIBC_2.24): Likewise.
14899         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14900         Likewise.
14901         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14902         Likewise.
14903         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14904         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14905         Likewise.
14906         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14907         Likewise.
14908         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14909         Likewise.
14910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
14911         (GLIBC_2.24): Likewise.
14912         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
14913         Likewise.
14914         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
14915         Likewise.
14916         * sysdeps/unix/sysv/linux/Makefile
14917         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
14918         (CFLAGS-sendmsg.c): Add rule.
14919         (CFLAGS-recvmsg.c): Likewise.
14920         (CFLAGS-oldsendmsg.c): Likewise.
14921         (CFLAGS-oldrecvmsg.c): Likewise.
14922         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
14923         initialization.
14924         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14925         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14926         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
14927         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14928         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
14929         iovlen and controllen fields to adjust to POSIX specification.
14930         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
14931         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
14932         added recvmsg and sendmsg.
14933         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14934         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14935         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14936         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14937         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14938         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14939         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14940         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14941         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14942         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14943         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14944         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14946         Likewise.
14947         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14949         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14950         Likewise.
14951         Likewise.
14952         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14953         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14954         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14955         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14956         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14957         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14959         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14961         Likewise.
14962         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14963         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14965         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
14966         from auto-generation.
14967         (sendmsg): Likewise.
14968         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
14969         (sendmsg): Likewise.
14970         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
14971         (sendmsg): Likewise.
14972         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
14973         (sendmsg): Likewise.
14974         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
14975         (sendmsg): Likewise.
14976         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
14977         (sendmsg): Likewise.
14978         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
14979         Likewise.
14980         (sendmsg): Likewise.
14981         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
14982         (sendmsg): Likewise.
14983         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14984         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14985         Remove.
14986         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14987         Likewise.
14988         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14989         Undefine.
14990         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14991         Likewise.
14992         * sysdeps/unix/sysv/linux/kernel-features.h
14993         (__ASSUME_SENDMSG_SYSCALL): Define.
14994         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14995         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14996         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14997         Remove.
14998         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14999         Likewise.
15000         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15001         Undefine.
15002         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15003         Likewise.
15004         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15005         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15006         Remove.
15007         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15008         Likewise.
15009         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15010         Undefine.
15011         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15012         Likewise.
15013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15014         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15015         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15016         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15017         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15018         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15019         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15020         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15021         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15023 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15025         * stdlib/gen-tst-strtod-round.c: Add backslash to
15026         compile command in comment.
15027         (printfp): Remove the literal suffix, and define an infinite
15028         value as INF to avoid expansion clash with INFINITY.
15029         (round_str): Remove the literal suffix.
15030         (round_for_all): Likewise, remove the now duplicate ldbl-64
15031         entry, and remove some magic constants.
15033         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15034         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15035         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15036         (_CONCAT): New macro.
15037         (CONCAT): Likewise.
15038         (CHOOSE_ld): Likewise.
15039         (CHOOSE_f): Likewise.
15040         (CHOOSE_d): Likewise.
15041         (FTYPE_MEMBER): Likewise.
15042         (BOOL_MEMBER): Likewise.
15043         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15044         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15045         (_XNTRY): Likewise.
15046         (XNTRY): Likewise.
15047         (_ENTRY): Likewise.
15048         (ENTRY): Likewise.
15049         (test_exactness): Generate members via macro.
15050         (test_results): Likewise.
15051         (test): Update members.
15052         (TEST): Redefine using new macros.
15053         (INF): New macro.
15054         (fetestmodes): New structure.
15055         (do_test): Refactor to be type generic.
15056         (test_in_one_mode): Refactor duplicate code into
15057         (GEN_ONE_TEST): New macro.
15059         * stdlib/tst-strtod-round-data.h: Regenerate.
15061         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15062         Extend to pass additional arbitrary parameters to
15063         generators.
15065 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15067         [BZ #15479]
15068         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15069         floating-point state after first floating-point operation on
15070         input.  Restore full floating-point state instead of just rounding
15071         mode.
15072         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15073         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15074         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15075         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15076         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15078         [BZ #15479]
15079         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15080         floating-point state after first floating-point operation on
15081         input.  Restore full floating-point state instead of just rounding
15082         mode.
15083         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15084         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15085         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15086         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15087         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15089 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15091         [BZ #19727]
15092         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15093         valid high surrogate.
15094         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15095         of an utf16 surrogate.
15096         * iconv/gconv_simple.c (BODY): Likewise.
15097         * iconvdata/bug-iconv12.c: New file.
15098         * iconvdata/Makefile (tests): Add bug-iconv12.
15100 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15102         [BZ #19726]
15103         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15104         outptrp in case of an illegal input.
15105         * iconv/tst-iconv6.c: New file.
15106         * iconv/Makefile (tests): Add tst-iconv6.
15108 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15110         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15111         an error in case of a value in range of an utf16 low surrogate.
15113 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15115         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15116         an error in case of a value in range of an utf16 low surrogate.
15118 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15120         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15121         Move to ...
15122         * sysdeps/s390/Makefile: ... here.
15123         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15124         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15125         (BRANCH_ON_COUNT): New define.
15126         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15127         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15128         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15129         run on s390-32, too.
15130         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15131         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15132         run on s390-32, too.
15133         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15134         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15135         run on s390-32, too.
15137 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15139         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15140         etf3eh or new vector loop-variant.
15142 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15144         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15145         etf3eh or new vector loop-variant.
15147 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15149         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15150         or new vector loop-variant.
15152 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15154         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15155         Rename to TR_LOOP and usage of tr instead of troo instruction.
15157 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15159         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15160         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15162 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15164         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15165         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15166         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15167         New override define.
15168         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15170 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15172         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15173         * sysdeps/s390/configure.ac: Add test for S390 vector register
15174         support in gcc.
15175         * sysdeps/s390/configure: Regenerated.
15177 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15179         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15180         Install file from $(objpfx)gconv-modules.
15181         ($(objpfx)gconv-modules): Concatenate architecture specific file
15182         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15183         * sysdeps/s390/gconv-modules: New file.
15184         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15185         Deleted.
15186         ($(objpfx)gconv-modules-s390): Deleted.
15187         (sysdeps-gconv-modules): New variable.
15189 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15191         [BZ #15479]
15192         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15193         of immediate operand to rounding instruction.
15194         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15195         Likewise.
15196         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15197         Likewise.
15198         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15199         Likewise.
15201 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15203         * math/libm-test.inc (MIN_EXP): Directly define as
15204         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15206 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15208         * math/libm-test.inc (MANT_DIG): Directly define as
15209         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15211 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15213         * stdlib/gen-tst-strtod-round.c (main):
15214           Change usage to more closely match the generated
15215           output.  Add usage and compilation instructions.
15216           (string_to_fp): Add and use FILE* parameter as
15217           output target.
15218           (print_fp): Likewise.
15219           (round_str): Likewise.
15220           (round_for_all): Likewise.
15221         * stdlib/tst-strtod-round.c (tests): Move into
15222         * stdlib/tst-strtod-round-data.h: New file.
15224 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15226         [BZ #15479]
15227         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15228         (__round): Do not force "inexact" exception.
15229         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15230         variable.
15231         (__round): Do not force "inexact" exception.
15232         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15233         (__roundf): Do not force "inexact" exception.
15234         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15235         (__roundl): Do not force "inexact" exception.
15236         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15237         (__roundl): Do not force "inexact" exception.
15238         * math/libm-test.inc (round_test_data): Do not allow spurious
15239         "inexact" exceptions.
15241         [BZ #15479]
15242         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15243         exception in comment.
15244         (huge): Remove variable.
15245         (__floor): Do not force "inexact" exception.
15246         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15247         "inexact" exception in comment.
15248         (huge): Remove variable.
15249         (__floor): Do not force "inexact" exception.
15250         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15251         exception in comment.
15252         (huge): Remove variable.
15253         (__floorf): Do not force "inexact" exception.
15254         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15255         exception in comment.
15256         (huge): Remove variable.
15257         (__floorl): Do not force "inexact" exception.
15259         [BZ #15479]
15260         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15261         exception in comment.
15262         (huge): Remove variable.
15263         (__ceil): Do not force "inexact" exception.
15264         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15265         "inexact" exception in comment.
15266         (huge): Remove variable.
15267         (__ceil): Do not force "inexact" exception.
15268         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15269         (__ceilf): Do not force "inexact" exception.
15270         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15271         exception in comment.
15272         (huge): Remove variable.
15273         (__ceill): Do not force "inexact" exception.
15275 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15277         * config.h.in (BIND_NOW): New.
15278         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15279         * configure: Regenerated.
15280         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15281         indirect branch via the GOT slot.
15283 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15285         [BZ #19765]
15286         * sysdeps/s390/mempcpy.S: New File.
15287         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15288         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15289         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15290         Add mempcpy variants.
15291         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15292         (memcpy): Adjust to be usable from mempcpy entry point.
15293         (__memcpy_mvcle): Likewise.
15294         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15295         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15296         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15297         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15298         (__memcpy_z10): Likewise.
15299         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15301 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15303         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15304         Remove __GI_ symbol.
15305         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15306         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15307         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15308         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15309         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15310         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15312 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15314         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15315         Use cghi instead of chi to compare 64bit value.
15317 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15319         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15320         Jump to 1MB check before executing mvc-loop.
15322 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15324         [BZ #6527]
15325         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15326         unconditionally.
15327         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15329 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15331         * stdlib/tst-strtod6.c (do_test): Use new type generic
15332         invocation of the test function.
15333         (test): Refactor into ...
15334         (TEST_STRTOD): New macro base function.
15336 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15338         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15339         (TEST_STRTOD): New macro.
15340         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15342 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15344         * stdlib/tst-strtod6.c (do_test): Use new type generic
15345         invocation of the test function.
15346         (test): Refactor into ...
15347         (TEST_STRTOD): New macro base function.
15349 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15351         CVE-2016-4429
15352         [BZ #20112]
15353         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15354         payload.
15356 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15358         [BZ #20111]
15359         * bits/sockaddr.h (_SS_SIZE): Define.
15360         * bits/socket.h (_SS_SIZE): Remove.
15361         (_SS_PADSIZE): Adjust to account for all padding.
15362         (struct sockaddr_storage): Update comment.  Avoid implicit
15363         padding.
15364         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15365         (_SS_PADSIZE): Adjust to account for all padding.
15366         (struct sockaddr_storage): Update comment.  Avoid implicit
15367         padding.
15368         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15369         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15370         (_SS_PADSIZE): Adjust to account for all padding.
15371         (struct sockaddr_storage): Update comment.  Avoid implicit
15372         padding.
15373         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15374         __SS_SIZE is 126 in this version.
15375         * inet/tst-sockaddr.c: New file.
15376         * inet/Makefile (tests): Add tst-sockaddr.c
15377         (tst-sockaddr.c): Compile with non-strict aliasing.
15379 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15381         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15382         [XPG3 || XPG4].
15383         (NL_ARGMAX): Also expect for [XPG3].
15384         (NL_LANGMAX): Likewise.
15385         (NL_MSGMAX): Likewise.
15386         (NL_NMAX): Likewise.
15387         (NL_SETMAX): Likewise.
15388         (NL_TEXTMAX): Likewise.
15389         (NZERO): Likewise.
15390         (TMP_MAX): Likewise.
15391         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15392         variable.
15394         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15395         (PF_MAX): Update value.
15396         (AF_KCM): New macro.
15397         (SOL_NETBEUI): Likewise.
15398         (SOL_LLC): Likewise.
15399         (SOL_DCCP): Likewise.
15400         (SOL_NETLINK): Likewise.
15401         (SOL_TIPC): Likewise.
15402         (SOL_RXRPC): Likewise.
15403         (SOL_PPPOL2TP): Likewise.
15404         (SOL_BLUETOOTH): Likewise.
15405         (SOL_PNPIPE): Likewise.
15406         (SOL_RDS): Likewise.
15407         (SOL_IUCV): Likewise.
15408         (SOL_CAIF): Likewise.
15409         (SOL_ALG): Likewise.
15410         (SOL_NFC): Likewise.
15411         (SOL_KCM): Likewise.
15412         (MSG_BATCH): New enum value and macro.
15414 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15416         [BZ #18185]
15417         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15418         sharing L2 cache to 2 for Knights Landing.
15420 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15422         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15423         (FTW_DP): Do not expect for [XPG3 || XPG4].
15424         (FTW_SL): Do not expect for [XPG3].
15425         (FTW_SLN): Likewise.
15426         (FTW_PHYS): Likewise.
15427         (FTW_MOUNT): Likewise.
15428         (FTW_DEPTH): Likewise.
15429         (FTW_CHDIR): Likewise.
15430         (nftw): Likewise.
15431         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15432         variable.
15434 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15436         * manual/errno.texi: Fix various typos & grammar errors.
15438 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15440         * manual/intro.texi: Fix duplicated typo.
15442 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15444         [BZ #13304]
15445         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15446         <float.h>, <math_private.h> and <stdlib.h>.
15447         (add_split): New function.
15448         (mul_split): Likewise.
15449         (ext_val): New typedef.
15450         (store_ext_val): New function.
15451         (mul_ext_val): New function.
15452         (compare): New function.
15453         (add_split_ext): New function.
15454         (__fmal): After checking for Inf, NaN and zero, compute result as
15455         an exact sum of scaled double values in round-to-nearest before
15456         adding those up and adjusting for other rounding modes.
15457         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15458         tests of fma.
15459         * math/auto-libm-test-out: Regenerated.
15461 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15463         [BZ #20119]
15464         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15465         processor level type mask for CPUID with EAX == 11.
15467 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15469         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15470         logical threads if the HTT bit is 0.
15471         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15472         (index_cpu_HTT): Likewise.
15473         (reg_HTT): Likewise.
15475 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15477         [BZ #20115]
15478         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15479         Remove alignments on jump targets.
15481 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15483         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15484         (getpwent): Likewise.
15485         (setpwent): Likewise.
15486         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15487         variable.
15489         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15490         (remque): Likewise.
15491         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15492         variable.
15494 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15496         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15497         not being tested.
15499 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15501         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15502         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15503         call.
15504         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15505         (__condvar_cleanup1): Likewise.
15507 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15509         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15510         New
15511         (__pthread_unwind): Renamed to ...
15512         (PTHREAD_UNWIND): This.
15513         (__pthread_enable_asynccancel): Replace
15514         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15516 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15518         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15519         (CLONE_NEWCGROUP): New macro.
15521         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15522         (Q_GETNEXTQUOTA): New macro.
15524 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15526         [BZ #19907]
15527         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15528         buffer updated by the previous run.
15529         * string/test-memcpy.c (do_one_test): Likewise.
15530         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15531         * string/test-memmove.c (do_one_test): Likewise.
15533 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15535         [BZ #20094]
15536         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15537         not [__USE_XOPEN].
15538         (unlockpt): Likewise.
15539         (ptsname): Likewise.
15540         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15541         variable.
15543         [BZ #20076]
15544         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15545         instead of [__USE_UNIX98].
15546         (S_ISSOCK): Likewise.
15547         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15548         variable.
15550         [BZ #20074]
15551         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15552         [__USE_POSIX].
15553         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15554         variable.
15556         [BZ #20051]
15557         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15558         (ttyslot): Do not declare.
15559         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15560         (ttyslot): New prototype.
15561         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15562         variable.
15563         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15565 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15567         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15569 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15571         Fix race condition in tst-mallocfork2, use fewer resources.
15572         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15573         to current process group.
15574         (signal_sender): Yield in the non-sleeping case.
15576 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15578         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15579         (ecvt): Likewise.
15580         (fcvt): Likewise.
15581         (gcvt): Likewise.
15582         (getsubopt): Likewise.
15583         (grantpt): Likewise.
15584         (initstate): Likewise.
15585         (l64a): Likewise.
15586         (mktemp): Likewise.
15587         (mkstemp): Likewise.
15588         (ptsname): Likewise.
15589         (random): Likewise.
15590         (realpath): Likewise.
15591         (setstate): Likewise.
15592         (srandom): Likewise.
15593         (ttyslot): Likewise.
15594         (unlockpt): Likewise.
15595         (valloc): Likewise.
15597         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15598         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15599         variable.
15601 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15603         [BZ #20072]
15604         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15605         init_cpu_features only if SHARED is defined.
15606         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15608 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15610         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15611         non-inclusive caches on Intel processors.
15613 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15615         * malloc/malloc.c (dumped_main_arena_start)
15616         (dumped_main_arena_end): New variables.
15617         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15618         (do_check_chunk): Skip dumped fake mmapped chunks.
15619         (munmap_chunk): Likewise.
15620         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15621         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15622         mmapped chunks.
15623         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15624         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15625         and dumped_main_arena_end to cover the dumped heap.
15627 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15629         * conform/data/time.h-data (getdate_err): Do not expect for
15630         [XPG3].
15631         (getdate): Likewise.
15632         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15633         variable.
15635         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15636         (F_ULOCK): Likewise.
15637         (F_TEST): Likewise.
15638         (F_TLOCK): Likewise.
15639         (useconds_t): Likewise.
15640         (intptr_t): Do not expect for [XPG3] or [XPG4].
15641         (brk): Do not expect for [XPG3]
15642         (fchown): Likewise.
15643         (fchdir): Likewise.
15644         (ftruncate): Likewise.
15645         (getdtablesize): Likewise.
15646         (gethostid): Likewise.
15647         (getpagesize): Likewise.
15648         (getpgid): Likewise.
15649         (getsid): Likewise.
15650         (getwd): Likewise.
15651         (lchown): Likewise.
15652         (lockf): Likewise.
15653         (readlink): Likewise.
15654         (sbrk): Likewise.
15655         (setpgrp): Likewise.
15656         (setregid): Likewise.
15657         (setreuid): Likewise.
15658         (symlink): Likewise.
15659         (sync): Likewise.
15660         (truncate): Likewise.
15661         (ualarm): Likewise.
15662         (usleep): Likewise.
15663         (vfork): Likewise.
15664         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15665         variable.
15667         [BZ #20054]
15668         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15669         not [__USE_UNIX98].
15670         * conform/data/unistd.h-data (gethostname): Do not expect for
15671         [XPG3].
15673         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15674         [!POSIX] (S_IFBLK): Likewise.
15675         [!POSIX] (S_IFCHR): Likewise.
15676         [!POSIX] (S_IFIFO): Likewise.
15677         [!POSIX] (S_IFREG): Likewise.
15678         [!POSIX] (S_IFDIR): Likewise.
15679         [!POSIX] (S_IFLNK): Likewise.
15680         [!POSIX] (S_IFSOCK): Likewise.
15681         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15682         variable.
15683         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15685 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15687         * sysdeps/aarch64/memset.S (__memset):
15688         Rewrite of optimized memset.
15690 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15692         [BZ #19703]
15693         Partially async-signal-safe fork for single-threaded processes.
15694         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15695         variable.  Do not acquire and reset/release malloc and libio locks
15696         in single-threaded processes.
15697         * malloc/tst-mallocfork2.c: New file.
15698         * malloc/Makefile (tests): Add it.
15700 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15702         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15703         argument.  Use scratch buffer instead of extend_alloca.
15704         (gethosts): Use scratch buffer instead of extend_alloca.
15705         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15706         extend_alloca.
15707         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15709 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15711         [BZ #20055]
15712         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15713         instead of [__USE_UNIX98].
15714         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15715         [__USE_UNIX98].
15716         * conform/data/termios.h-data (tcgetsid): Do not expect for
15717         [XPG3].
15718         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15719         variable.
15720         (test-xfail-XPG4/termios.h/conform): Likewise.
15722 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15724         Do not use mcheck in localedef.
15725         * locale/programs/localedef.c (turn_on_mcheck)
15726         (__malloc_initialize_hook): Remove.
15728 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15730         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15731         * sysdeps/s390/s390-64/Makefile: Likewise.
15733 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15735         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15736         Remove ifunc-defines.sym.
15737         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15738         Likewise.
15739         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15740         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15741         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15742         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15743         rtld-global-offsets.sym.
15744         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15745         * sysdeps/x86/cpu-features-offsets.sym: This.
15746         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15747         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15749 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15751         [BZ #20073]
15752         * io/sys/stat.h (fchmod): Declare for
15753         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15754         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15755         variable.
15757         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15758         [XPG3] (S_IFSOCK): Likewise.
15759         [XPG3] (S_ISVTX): Likewise.
15760         [XPG3] (S_ISLNK): Likewise.
15761         [XPG3] (S_ISSOCK): Likewise.
15762         [XPG3] (fchmod): Likewise.
15763         [XPG3] (lstat): Likewise.
15764         [XPG3] (mknod): Likewise.
15766         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15767         [XPG3].  Expect type long and XFAIL for [XPG4].
15768         (st_blocks): Likewise.
15770         [BZ #20044]
15771         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15772         (pthread_atfork): New prototype.
15773         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15774         variable.
15776         [BZ #20043]
15777         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15778         prototype.
15780 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15782         [BZ #20017]
15783         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15784         gmtime.
15786 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15788         [BZ #19994]
15789         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15790         flag in _res.options.
15792 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15794         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15795         [XPG3 || XPG4].
15796         (blksize_t): Likewise.
15797         (clockid_t): Likewise.
15798         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15799         variable.
15800         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15802 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15804         * sysdeps/unix/sysv/linux/s390/init-first.c:
15805         Add VDSO_SYMBOL(getcpu).
15806         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15807         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15808         Add VDSO_SYMBOL(getcpu).
15809         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15810         New define HAVE_GETCPU_VSYSCALL.
15811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15813 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15815         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15816         instead of <sysdeps/x86_64/cacheinfo.c>.
15817         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15818         * sysdeps/x86/cacheinfo.c: Here.
15820 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15822         * malloc/malloc-internal.h: Adjust header file guard.
15824 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15826         [BZ #19787]
15827         * inet/getnameinfo.c (check_sprintf_result): New function.
15828         (CHECKED_SNPRINTF): New macro.
15829         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15830         to the host buffer.
15831         (gni_host_local): Use checked_copy to copy the host name.
15832         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15833         (gni_serv_local): Use checked_copy to copy the service name.
15834         (getnameinfo): Remove unnecessary truncation of result buffers.
15836 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15838         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15839         in case of inet_ntop failure.
15841 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15843         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15844         avoid long lines.
15845         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15846         variables.
15847         (gni_host_inet, gni_host_local): Add comment.
15848         (gni_host): Add comment.  Use temporary to avoid long lines.
15850 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15852         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
15853         registers specifiers where general purpose registers specifiers should
15854         have been used.
15856 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15858         [BZ #19779]
15859         CVE-2016-1234
15860         Avoid copying names of directory entries.
15861         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
15862         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
15863         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
15864         (struct readdir_result): New type.
15865         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
15866         (GL_READDIR): New macros.
15867         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
15868         (convert_dirent, convert_dirent64): New functions.
15869         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
15870         convert_dirent64.  Adjust references to the readdir result.
15871         * sysdeps/unix/sysv/linux/i386/glob64.c:
15872         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
15873         * posix/bug-glob2.c (LONG_NAME): Define.
15874         (filesystem): Add LONG_NAME.
15875         (my_DIR): Increase the size of room_for_dirent.
15877 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
15879         [BZ #20041]
15880         * misc/sys/select.h (__need_timespec): Only define if
15881         [__USE_XOPEN2K].
15882         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
15883         variable.
15884         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15885         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15886         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15888 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15889             Segher Boessenkool  <segher@gcc.gnu.org>
15891         [BZ #20004]
15892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
15893         (__novec_swapcontext): Add missing load.
15895 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
15897         [BZ #20023]
15898         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
15899         <time.h>.
15900         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
15901         variable.
15902         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15904 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
15907         flags CLONE_VM compare.
15909 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15911         [BZ #20031]
15912         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
15913         completely empty.
15915 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15917         [BZ #19573]
15918         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
15919         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
15920         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
15921         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
15922         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
15923         (hesiod_free_list): Mark as hidden.
15924         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
15925         res_set, res_get.
15926         * hesiod/hesiod.c: Remove unnecessary forward declarations.
15927         (init, __hesiod_res_get, __hesiod_res_set): Remove.
15928         (hesiod_init): Remove obsolete res_ninit call.
15929         (hesiod_end): Do not free resolver state.  Do not invoke callback.
15930         (hesiod_bind): Do not call init.
15931         (get_txt_records): Use res_mkquery, res_send instead of
15932         res_nmkquery, res_nsend.
15933         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
15934         instead of _nss_hesiod_init.
15935         (_nss_hesiod_initgroups_dyn): Likewise.
15936         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
15937         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
15938         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
15940 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15942         * hesiod/hesiod_p.h (DEF_RHS): Remove.
15943         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
15945 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15947         * hesiod/hesiod.h: Remove RCS keyword.
15948         * hesiod/hesiod_p.h: Likewise.
15950         * hesiod/hesiod.c: Likewise.
15952 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
15954         [BZ #12450]
15955         * locale/iso-639.def: Add Samogitian/sgs.
15957 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15959         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
15961         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
15963 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
15964             Carlos O'Donell  <carlos@redhat.com>
15966         [BZ #19072]
15967         * grp/Makefile (headers): Add grp-merge.h
15968         (routines): Add grp-merge.
15969         * grp/getgrgid_r.c: Include grp-merge.h.
15970         (DEEPCOPY_FN): Define.
15971         (MERGE_FN): Define.
15972         * grp/getgrname_r.c: Include grp-merge.h.
15973         (DEEPCOPY_FN): Define.
15974         (MERGE_FN): Define.
15975         * grp/grp-merge.c: New file.
15976         * grp/grp-merge.h: New file.
15977         * include/grp-merge.h: New file.
15978         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
15979         __copy_grp@GLIBC_PRIVATE.
15980         * manual/nss.texi (Actions in the NSS configuration): Describe
15981         return, continue, and merge.
15982         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
15983         (DEEPCOPY_FN): Define.
15984         (MERGE_FN): Define.
15985         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
15986         (DEEPCOPY_FN): Define.
15987         (MERGE_FN): Define.
15988         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
15989         [!MERGE_FN]: Define __merge_einval.
15990         (CHECK_MERGE): Define.
15991         (REENTRANT_NAME): Process merge if do_merge is true.
15992         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
15993         (__nss_getent_r): Likewise.
15994         * nss/nsswitch.c (nss_parse_service_list): Likewise.
15995         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
15997 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15999         [BZ #20012]
16000         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16001         length to calculate the buffer to read.
16002         (fmemopen_write): Set the buffer position based on bytes written.
16003         (fmemopen_seek): Return EINVAL for invalid whence modes.
16005         [BZ #19957]
16006         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16007         tst-getpid2.
16008         (test): Add tst-clone2.
16009         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16010         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16011         pid/tid fields for CLONE_VM.
16012         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16013         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16014         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16015         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16016         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16017         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16018         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16019         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16021         Likewise.
16022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16023         Likewise.
16024         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16025         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16026         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16027         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16028         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16029         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16030         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16031         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16033 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16035         [BZ #19642]
16036         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16037         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16038         (gni_serv_local, gni_serv): New functions extracted from
16039         getnameinfo.
16040         (getnameinfo): Call gni_host and gni_serv to perform the
16041         processing.  Always free scratch buffer.
16043 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16045         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16046         remaining bytes in the dest string, with zeros.
16048 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16050         [BZ #20010]
16051         CVE-2016-3706
16052         * sysdeps/posix/getaddrinfo.c
16053         (convert_hostent_to_gaih_addrtuple): New function.
16054         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16055         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16056         AF_INET data.
16058 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16060         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16061         callback function gl_readdir.
16062         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16063         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16064         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16065         memcpy to copy the name.
16066         * manual/pattern.texi (Calling Glob): Document requirements for
16067         implementations of the gl_readdir callback function.
16068         * manual/examples/mkdirent.c: New example.
16069         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16070         per the manual guidance.
16071         * posix/tst-gnuglob.c (my_readdir): Likewise.
16073 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16075         [BZ #20014]
16076         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16077         not [__USE_POSIX].
16078         (getchar_unlocked): Likewise.
16079         (putc_unlocked): Likewise.
16080         (putchar_unlocked): Likewise.
16081         (flockfile): Likewise.
16082         (ftrylockfile): Likewise.
16083         (funlockfile): Likewise.
16084         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16085         variable.
16086         (test-xfail-XPG4/stdio.h/conform): Likewise.
16088         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16089         Expect constant.
16090         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16091         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16092         variable.
16093         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16094         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16096         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16097         [__USE_LARGEFILE64] (off64_t): Likewise.
16098         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16099         variable.
16101 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16103         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16105 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16107         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16108         * resolv/res_init.c: Likewise.
16109         * resolv/res_mkquery.c: Likewise.
16111 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16113         * resolv/res_init.c (isascii): Do not define.  Use definition in
16114         <ctype.h>.
16115         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16116         (LOG_AUTH): Remove.
16117         (SPRINTF): Remove, adjust caller.
16118         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16120 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16122         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16123         SUNSECURITY conditional.
16124         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16126 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16128         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16129         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16130         Remove BSD-related preprocessor conditionals.
16131         * conf/portability.h: Remove.
16133 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16135         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16136         * resolv/res_data.c: Likewise.
16138 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16140         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16141         * resolv/res_data.c: Remove code conditional on ultrix.
16143 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16145         * resolv/res_init.c (RFC1535): Do not define.  Remove
16146         RFC1535 preprocessor conditionals.
16147         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16148         because there configuration options which make the resolver
16149         behavior different.
16151 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16153         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16154         RESOLVSORT preprocessor conditionals.
16155         * resolv/nss_dns/dns-host.c: Likewise.
16156         * resolv/res_init.c: Likewise.
16158 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16160         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16161         is never defined.
16163 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16165         * inet/inet_lnaof.c: Remove SCSS keyword.
16166         * inet/inet_mkadr.c: Likewise.
16167         * inet/inet_net.c: Likewise.
16168         * inet/inet_netof.c: Likewise.
16169         * inet/rcmd.c: Likewise.
16170         * inet/rexec.c: Likewise.
16171         * inet/ruserpass.c: Likewise.
16173 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16175         * resolv/inet_addr.c: Remove _LIBC conditionals.
16176         * resolv/res_data.c: Likewise.
16177         * resolv/res_init.c: Likewise.
16178         * resolv/res_mkquery.c: Likewise.
16179         * resolv/res_libc.c: Update comment.
16180         * resolv/README: Update.
16182 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16184         * resolv/gethnamaddr.c: Remove SCSS keyword.
16185         * resolv/herror.c: Likewise.
16186         * resolv/inet_addr.c: Likewise.
16187         * resolv/inet_net_ntop.c: Likewise.
16188         * resolv/inet_net_pton.c: Likewise.
16189         * resolv/inet_neta.c: Likewise.
16190         * resolv/inet_ntop.c: Likewise.
16191         * resolv/inet_pton.c: Likewise.
16192         * resolv/ns_date.c: Remove RCS keyword.
16193         * resolv/ns_name.c: Likewise.
16194         * resolv/ns_netint.c: Likewise.
16195         * resolv/ns_parse.c: Likewise.
16196         * resolv/ns_print.c: Likewise.
16197         * resolv/ns_samedomain.c: Likewise.
16198         * resolv/ns_ttl.c: Likewise.
16199         * resolv/nsap_addr.c: Likewise.
16200         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16201         * resolv/res_data.c: Remove RCS keyword.
16202         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16203         * resolv/res_init.c: Likewise.
16204         * resolv/res_mkquery.c: Likewise.
16205         * resolv/res_query.c: Likewise.
16206         * resolv/res_send.c: Likewise.
16208 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16210         * conform/data/stdio.h-data (fdopen): Expect also for
16211         [XPG3 || XPG4].
16213         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16214         (fseeko): Likewise.
16215         (ftello): Likewise.
16216         (ftrylockfile): Likewise.
16217         (funlockfile): Likewise.
16218         (getc_unlocked): Likewise.
16219         (getchar_unlocked): Likewise.
16220         (putc_unlocked): Likewise.
16221         (putchar_unlocked): Likewise.
16223 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16225         [BZ #19868]
16226         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16227         DNS packet syntax checks (which were not needed before).  Skip
16228         over non-PTR records.
16230 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16232         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16233         definition.  Include <stddef.h> instead.
16235 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16237         [BZ #19831]
16238         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16239         function.
16240         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16241         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16243 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16245         [BZ #19862]
16246         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16247         (getanswer_r): Do not call syslog.
16248         (gaih_getanswer_slice): Likewise.
16249         * resolv/gethnamaddr.c (AskedForGot): Remove.
16250         (getanswer): Do not call syslog.
16251         (gethostbyaddr): Likewise.
16253 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16255         * conform/data/signal.h-data (union sigval): Expect also if
16256         [XOPEN2K].
16257         (struct sigevent): Likewise.
16258         (SIGEV_NONE): Likewise.
16259         (SIGEV_SIGNAL): Likewise.
16260         (SIGEV_THREAD): Likewise.
16261         (SIGRTMIN): Likewise.
16262         (SIGRTMAX): Likewise.
16263         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16264         variable.
16265         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16267 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16269         [BZ #19830]
16270         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16271         (gaih_getanswer_slice): Likewise.
16272         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16273         Also check for availability of RR metadata.
16275 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16277         [BZ #19825]
16278         * resolv/res_send.c (send_vc): Remove early *resplen2
16279         initialization.  Set *resplen2 on socket error.  Call
16280         close_and_return_error for other errors.
16282 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16284         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16285         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16286         (SCM_IUCV_TRGCLS): New define.
16288 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16290         [BZ #20005]
16291         * libio/fmemopen.c (fmemopen_write): Update internal position after
16292         write.
16293         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16294         * stdio-common/tst-fmemopen4.c: New file..
16296 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16298         [BZ #19996]
16299         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16300         not [__USE_XOPEN2K].
16301         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16302         variable.
16304         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16305         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16306         variable.
16308         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16309         [__USE_XOPEN2K8].
16310         [__USE_LARGEFILE64] (off64_t): Likewise.
16311         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16312         variable.
16314 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16316         [BZ #19989]
16317         * libio/stdio.h (cuserid): Do not declare if
16318         [__USE_XOPEN2K && !__USE_GNU].
16319         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16320         variable.
16322 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16324         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16325         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16327         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16328         ifunc'ed strcspn.
16329         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16330         [EALIGN]: Removed.
16331         [END]: Likewise
16332         [STRSPN]: Define instead of the above to control symbol name.
16333         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16334         New file.
16335         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16336         Likewise.
16337         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16338         Likewise.
16339         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16340         Likewise.
16341         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16342         [INITIAL_MASK]: New macro.
16343         [STRCSPN]: Likewise.
16344         [UPDATE_MASK]: Likewise.
16345         [USE_AS_STRCSPN]: Likewise.
16347 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16349         [BZ #19931]
16350         * stdio-common/tst-vfprintf-width-prec.c: New file.
16351         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16352         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16353         (generated): Add mtrace-related files.
16354         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16355         (tst-%-mem.out): New pattern rule, replaces
16356         tst-printf-bz18872-mem.out.
16357         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16358         specifier, deallocate any previously allocated work buffer.
16360 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16362         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16363         Add nop before __startcontext, add explaining comments.
16365 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16367         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16368         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16369         completely different API.
16371         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16372         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16373         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16374         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16375         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16376         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16377         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16378         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16379         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16380         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16382 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16384         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16386 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16388         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16389         when it is the default of 0.
16391 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16393         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16394         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16395         (sysdep_routines): Add new strcasestr targets.
16396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16397         (__libc_ifunc_impl_list): Likewise.
16398         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16399         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16400         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16401         * sysdeps/powerpc/powerpc64/power8/Makefile:
16402         New file to add strcasestr-ppc64 to sysdep_routines.
16403         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16404         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16406 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16408         * benchtests/Makefile (wcsmbs-benchset): Include only for
16409         native builds and runs.
16410         (LOCALES): Likewise.
16411         (bench-build): Build timing-type here instead of the bench
16412         target.  Generate locale only for native builds.
16413         * benchtests/README: Add note for cross-building.
16415         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16417         * benchtests/README: Update README to include instructions on
16418         using bench-build.
16420         * Makefile.in (bench-build): New target.
16421         * Rules (PHONY): Add bench-build target.
16422         * benchtests/Makefile (bench): Depend on bench-build.
16423         (bench-build): New target.
16425 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16427         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16428         profil_reply_port.
16429         (profile_waiter): Do not initialize profil_reply_port.
16430         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16431         frequency instead of tick length in us.
16433 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16435         [BZ #18712]
16436         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16437         (__old_mempcpy_small): Likewise.
16438         (__old_strcpy_small): Likewise.
16439         (__old_stpcpy_small): Likewise.
16440         (__old_strpbrk_c2): Fix compat symbol name.
16441         (__old_strpbrk_c3): Likewise.
16442         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16443         (__mempcpy_small): Remove.
16444         (__strcpy_small): Remove.
16445         (__stpcpy_small): Remove.
16447 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16449         [BZ #19400]
16450         * locale/iso-639.def: Add the Talossan/tzl language.
16452 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16454         [BZ #16983]
16455         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16456         comment.  Add "ln" to strchr check on postal_fmt.
16458 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16460         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16461         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16462         tel_dom_fmt.
16464 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16466         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16467         (sysdep_routines): Added __strlen_power8.
16468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16469         __strlen_power8 entry.
16470         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16471         Implementation for POWER8.
16472         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16473         for __strlen_power8.
16474         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16475         Implementation for POWER8.
16477 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16479         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16481 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16483         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16484         Goldmont and Airmont processors.
16486 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16488         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16489         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16490         (__STRING2_SMALL_GET32): Remove.
16491         (memset): Remove.
16492         (__memset_1): Remove.
16493         (__memset_gc): Remove.
16494         (__mempcpy): Remove.
16495         (mempcpy): Remove.
16496         (__mempcpy_args): Remove.
16497         (strchr): Remove.
16498         (strcpy): Remove.
16499         (strcpy_args): Remove.
16500         (__stpcpy_args): Remove.
16501         (__strcmp_cc): Remove.
16502         (__strcmp_gc): Remove.
16503         (strstr): Remove.
16505 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16507         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16508         * nis/nis_call.c (nis_server_cache_add): Likewise.
16510 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16512         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16514 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16516         * malloc/arena.c (__malloc_fork_lock_parent)
16517         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16518         internal_function attribute.
16520 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16522         * stdio-common/printf_fp.c (__printf_fp_l):
16523         Rename ___printf_fp_l to __printf_fp_l and
16524         remove strong alias. Use libc_hidden_def instead
16525         of ldbl_hidden_def macro.
16527 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16529         Remove malloc hooks from fork handler.  They are no longer needed
16530         because malloc runs right before fork, and no malloc calls from
16531         other fork handlers are not possible anymore.
16532         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16533         declarations.
16534         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16535         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16536         (atfork_recursive_cntr): Remove.
16537         (__malloc_fork_lock_parent): Do not override malloc hooks and
16538         thread_arena.
16539         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16540         thread_arena.
16541         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16542         thread_arena instead of save_arena.
16544 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16546         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16547         (thread_atfork, thread_atfork_static): Remove.
16548         * sysdeps/mach/hurd/malloc-machine.h:
16549         (thread_atfork, thread_atfork_static): Remove.
16551 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16553         [BZ #19431]
16554         Run the malloc fork handler as late as possible to avoid deadlocks.
16555         * malloc/malloc-internal.h: New file.
16556         * malloc/malloc.c: Include it.
16557         * malloc/arena.c (ATFORK_MEM): Remove.
16558         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16559         Update comment.
16560         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16561         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16562         Remove outdated comment.
16563         (ptmalloc_init): Do not call thread_atfork.  Remove
16564         thread_atfork_static.
16565         * malloc/tst-malloc-fork-deadlock.c: New file.
16566         * Makefile (tests): Add tst-malloc-fork-deadlock.
16567         (tst-malloc-fork-deadlock): Link against libpthread.
16568         * manual/memory.texi (Aligned Memory Blocks): Update safety
16569         annotation comments.
16570         * sysdeps/nptl/fork.c (__libc_fork): Call
16571         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16572         __malloc_fork_unlock_child.
16573         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16575 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16577         [BZ #19613]
16578         Remove union wait.
16579         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16580         (w_stopsig, w_stopval): Remove.
16581         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16582         stat_loc argument.
16583         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16584         (__WAIT_STATUS_DEFN): Remove.
16585         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16586         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16587         (wait, wait3, wait4): Use int * for the stat_loc argument.
16588         * posix/wait.c (__wait): Likewise.
16589         * posix/wait3.c (__wait3): Likewise.
16590         * posix/wait4.c (__wait4): Likewise.
16591         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16592         (__WAIT_STATUS_DEFN): Remove.
16593         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16594         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16595         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16596         argument.
16597         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16598         * sysdeps/posix/wait3.c (__wait3): Likewise.
16599         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16600         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16601         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16602         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16603         stat_loc argument.
16604         * manual/process.texi (BSD Wait Functions): Remove union wait.
16606 2016-04-13  Andreas Schwab  <schwab@suse.de>
16608         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16609         (test-extras): Add tst-tlsalign-vars.
16610         * math/Makefile: Wrap long lines.
16611         (libm-vec-test-wrappers): Define.
16612         (test-extras): Add $(libm-vec-test-wrappers).
16613         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16614         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16615         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16616         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16617         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16618         (extra-test-objs): Add corresponding objects.
16620 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16622         [BZ #19928]
16623         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16624         New.
16625         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16626         times of shared cache size.
16627         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16628         (VMOVNT): New.
16629         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16630         (VMOVNT): Likewise.
16631         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16632         (VMOVNT): Likewise.
16633         (VMOVU): Changed to movups for smaller code sizes.
16634         (VMOVA): Changed to movaps for smaller code sizes.
16635         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16636         comments.
16637         (PREFETCH): New.
16638         (PREFETCH_SIZE): Likewise.
16639         (PREFETCHED_LOAD_SIZE): Likewise.
16640         (PREFETCH_ONE_SET): Likewise.
16641         Rewrite to use forward and backward loops, which move 4 vector
16642         registers at a time, to support overlapping addresses and use
16643         non temporal store if size is above the threshold and there is
16644         no overlap between destination and source.
16646 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16648         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16649         Include dl-vdso.
16650         * sysdeps/unix/sysv/linux/mips/Versions: Add
16651         __vdso_clock_gettime.
16652         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16653         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16654         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16655         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16656         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16657         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16658         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16659         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16660         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16662 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16664         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16665         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16666         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16667         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16668         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16669         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16672         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16673         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16674         syscalls generation.
16675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16676         [__NR_pwrite64] (__NR_write): Remove define.
16677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16678         [__NR_pwrite64] (__NR_write): Remove define.
16679         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16680         Remove define.
16681         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16682         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16683         Remove define.
16684         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16685         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16686         Linux implementation as base.
16687         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16689         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16690         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16691         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16692         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16695         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16696         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16697         syscall generation.
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16699         [__NR_pread64] (__NR_pread): Remove define.
16700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16701         [__NR_pread64] (__NR_pread): Likewise.
16702         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16703         define.
16704         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16705         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16706         Remove define.
16707         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16708         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16709         Linux implementation as base.
16710         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16711         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16712         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16714         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16715         definition.
16716         (__ALIGNMENT_COUNT): Likewise.
16717         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16718         (__ALIGNMENT_COUNT): Likewise.
16719         (SYSCALL_LL): New define.
16720         (SYSCALL_LL64): Likewise.
16721         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16722         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16723         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16724         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16727         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16728         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16729         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16730         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16731         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16733 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16735         [BZ #19865]
16736         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16737         original buffer before retry.
16739 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16741         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16742         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16743         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16744         GLRO(dl_auxv) list.
16745         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16746         including <ldsodefs.h>.
16747         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16749 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16751         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16752         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16753         $(CPPFLAGS).
16755 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16757         [BZ #17950]
16758         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16759         Add -mfpmath=387.
16761 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16763         * sysdeps/i386/configure.ac: Change == to = when calling test.
16764         * sysdeps/x86_64/configure.ac: Likewise.
16765         * sysdeps/i386/configure: Regenerated.
16766         * sysdeps/x86_64/configure: Likewise.
16768 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16770         [BZ #16137]
16771         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16772         * benchtests/bench-strcoll.c (input_files): Likewise.
16773         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16774         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16775         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16777 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16779         [BZ #19929]
16780         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16781         [__USE_XOPEN2K8 && !__USE_GNU].
16782         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16783         variable.
16785         [BZ #19925]
16786         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16787         define if [!__USE_MISC && __USE_XOPEN2K].
16788         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16789         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16790         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16791         Likewise.
16792         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16793         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16794         variable.
16795         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16797 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16799         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16800         (sysdep_routines): Add new strspn targets.
16801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16802         (__libc_ifunc_impl_list): Add strspn.
16803         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16804         New file.
16805         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16806         Likewise.
16807         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16808         Likewise.
16809         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16810         Likewise.
16812 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16814         * misc/hsearch_r.c: Include <limits.h>.
16816 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16818         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16820 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16822         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16823         (MEMCPY_SYMBOL): New.
16824         (MEMPCPY_SYMBOL): Likewise.
16825         (MEMMOVE_CHK_SYMBOL): Likewise.
16826         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16827         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16828         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16829         Provide alias for memcpy in libc.a and ld.so.
16831 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16833         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16834         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16835         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16836         Disabled fro now.
16837         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16838         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16840 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16842         * benchtests/Makefile (string-benchset): Add memcpy-large,
16843         memmove-large and memset-large.
16844         * benchtests/bench-memcpy-large.c: New file.
16845         * benchtests/bench-memmove-large.c: Likewise.
16846         * benchtests/bench-memmove-large.c: Likewise.
16847         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
16849 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16851         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
16852         32-bit displacement to avoid long nop between instructions.
16854 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16856         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
16857         a comment on VMOVU and VMOVA.
16859 2016-04-04  Florian Weimer  <fweimer@redhat.com>
16861         [BZ #19633]
16862         Use specified locale for number formatting in strfmon_l.
16863         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
16864         (__nl_lookup_word): New inline functions.
16865         * include/printf.h (__print_fp_l): Declare.
16866         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
16867         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
16868         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
16869         (___printf_fp): New function.
16870         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
16871         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
16872         * stdlib/tst-strfmon_l.c (do_test): New test.
16873         * stdlib/Makefile (tests): Add kt.
16874         (LOCALES): Build additional locales.
16875         (tst-strfmon_l.out): Require locales.
16877 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16879         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
16880         if not in libc.
16881         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16882         Likewise.
16883         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
16884         Likewise.
16885         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16886         Likewise.
16888 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16890         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16891         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
16892         with unaligned_erms.
16893         (__memmove_erms): Skip if source == destination.
16894         (__memmove_unaligned_erms): Don't check source == destination
16895         first.
16897 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16899         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
16900         bit_arch_Fast_Copy_Backward for Intel Core proessors.
16902 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16904         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
16905         * string/strspn.c (strspn): Likewise.
16907 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16909         * benchtests/bench-memset.c (do_test): Support 64-byte
16910         alignment.
16911         (test_main): Test 64-byte alignment.
16913 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16915         * benchtests/bench-memmove.c (test_main): Test 64-byte
16916         alignment.
16918 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16920         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
16922 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16924         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
16925         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
16926         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
16928         * string/strpbrk.c (strpbrk): Rewrite function.
16929         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
16930         (__strpbrk_c2): Likewise.
16931         (__strpbrk_c3): Likewise.
16932         * string/string-inlines.c
16933         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
16934         Likewise.
16935         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
16936         Likewise.
16938         * string/strspn.c (strcspn): Rewrite function.
16939         * string/bits/string2.h (strspn): Use __builtin_strcspn.
16940         (__strspn_c1): Remove inline function.
16941         (__strspn_c2): Likewise.
16942         (__strspn_c3): Likewise.
16943         * string/string-inlines.c
16944         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
16945         compatibility symbol.
16946         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
16947         Likewise.
16948         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
16949         Likewise.
16950         * string/string-inlines.c: Include generic version.
16952 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
16953             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16955         * string/Version (libc): Add GLIBC_2.24.
16956         * string/strcspn.c (strcspn): Rewrite function.
16957         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
16958         (__strcspn_c1): Remove inline function.
16959         (__strcspn_c2): Likewise.
16960         (__strcspn_c3): Likewise.
16961         * string/string-inline.c
16962         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
16963         compatibility symbol.
16964         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
16965         Likewise.
16966         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
16967         Likewise.
16968         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
16970 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16972         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16973         Use ahi instead of aghi to adjust stack pointer.
16975 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16977         [BZ #19853]
16978         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
16979         TEST to take significant digits as second parameter.
16980         [TEST]: Redefine in terms of TEST_N taking 30
16981         significant digits.
16982         (do_test): Add test case to demonstrate precision
16983         failure in the ldbl-128ibm printf.
16984         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
16985         (__mpn_extract_long_double): Carry 7 extra intermediate
16986         bits of precision to aide computing difference when
16987         signs differ.
16989 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16991         [BZ #19881]
16992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16993         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
16994         memset-avx512-unaligned-erms.
16995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16996         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
16997         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
16998         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
16999         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17000         __memset_sse2_unaligned_erms, __memset_erms,
17001         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17002         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17003         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17004         file.
17005         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17006         Likewise.
17007         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17008         Likewise.
17009         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17010         Likewise.
17012 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17014         [BZ #19776]
17015         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17016         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17017         memmove-avx512-unaligned-erms.
17018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17019         (__libc_ifunc_impl_list): Test
17020         __memmove_chk_avx512_unaligned_2,
17021         __memmove_chk_avx512_unaligned_erms,
17022         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17023         __memmove_chk_sse2_unaligned_2,
17024         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17025         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17026         __memmove_avx512_unaligned_erms, __memmove_erms,
17027         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17028         __memcpy_chk_avx512_unaligned_2,
17029         __memcpy_chk_avx512_unaligned_erms,
17030         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17031         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17032         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17033         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17034         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17035         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17036         __mempcpy_chk_avx512_unaligned_erms,
17037         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17038         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17039         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17040         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17041         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17042         __mempcpy_erms.
17043         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17044         file.
17045         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17046         Likewise.
17047         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17048         Likewise.
17049         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17050         Likewise.
17052 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17054         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17055         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17056         (La_s390_64_regs): Likewise.
17057         (La_s390_32_retval): Append vector register lrv_v24.
17058         (La_s390_64_retval): Likeweise.
17059         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17060         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17061         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17062         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17064 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17066         [BZ #19916]
17067         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17068         to create a non-vector/vector version for _dl_runtime_resolve and
17069         _dl_runtime_profile. Move implementation to ...
17070         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17071         (_dl_runtime_resolve) Save and restore fpr/vrs.
17072         (_dl_runtime_profile) Save and restore vrs and fix some issues
17073         if _dl_call_pltexit is called.
17074         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17075         Choose the correct resolver function if running on a machine with vx.
17076         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17077         to create a non-vector/vector version for _dl_runtime_resolve and
17078         _dl_runtime_profile. Move implementation to ...
17079         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17080         (_dl_runtime_resolve) Save and restore fpr/vrs.
17081         (_dl_runtime_profile) Save and restore vrs and fix some issues
17082         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17083         Choose the correct resolver function if running on a machine with vx.
17085 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17087         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17089 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17091         [BZ #19509]
17092         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17093         skip_map != NULL.
17094         * elf/tst-dlsym-error.c: New file.
17095         * elf/Makefile (tests): Add tst-dlsym-error.
17096         (tst-dlsym-error): Link against libdl.
17098 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17100         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17101         (__ASSUME_FUTIMESAT): Remove macro.
17102         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17104 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17106         [BZ #19879]
17107         CVE-2016-3075
17108         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17109         copy name.
17111 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17113         [BZ #19837]
17114         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17115         error if parse_line fails.
17117 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17119         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17120         (index_cpu_ERMS): Likewise.
17121         (reg_ERMS): Likewise.
17123 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17125         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17126         PER_LINUX_FDPIC): Add.
17128 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17131         memcpy-avx512-no-vzeroupper.
17132         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17133         to ...
17134         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17135         (MEMCPY): Don't define.
17136         (MEMCPY_CHK): Likewise.
17137         (MEMPCPY): Likewise.
17138         (MEMPCPY_CHK): Likewise.
17139         (MEMPCPY_CHK): Renamed to ...
17140         (__mempcpy_chk_avx512_no_vzeroupper): This.
17141         (MEMPCPY_CHK): Renamed to ...
17142         (__mempcpy_chk_avx512_no_vzeroupper): This.
17143         (MEMCPY_CHK): Renamed to ...
17144         (__memmove_chk_avx512_no_vzeroupper): This.
17145         (MEMCPY): Renamed to ...
17146         (__memmove_avx512_no_vzeroupper): This.
17147         (__memcpy_avx512_no_vzeroupper): New alias.
17148         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17150 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17152         [BZ #18858]
17153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17154         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17155         and mempcpy-avx512-no-vzeroupper.
17156         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17157         New.
17158         (MEMPCPY): Likewise.
17159         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17160         (MEMPCPY_CHK): New.
17161         (MEMPCPY): Likewise.
17162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17163         (MEMPCPY): Likewise.
17164         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17165         (MEMPCPY): Likewise.
17166         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17167         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17168         Likewise.
17169         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17170         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17172 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17173              Amit Pawar  <Amit.Pawar@amd.com>
17175         [BZ #19583]
17176         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17177         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17178         processors.  Set Fast_Copy_Backward for AMD Excavator
17179         processors.
17180         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17181         New.
17182         (index_arch_Fast_Unaligned_Copy): Likewise.
17183         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17184         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17186 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17188         [BZ #19791]
17189         * resolv/res_send.c (close_and_return_error): New function.
17190         (send_dg): Initialize *resplen2 after reopen failure.  Call
17191         close_and_return_error for error returns.  On error paths without
17192         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17193         successful return.
17195 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17197         [BZ #19860]
17198         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17199         zero if the compiler does not provide the AVX512F bit.
17201 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17203         [BZ #19848]
17204         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17205         from 8 to 4.
17206         (__ieee754_powl): Compare integer exponent against 4 not 8.
17207         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17208         from 8 to 4.
17209         (__ieee754_powl): Compare integer exponent against 4 not 8.
17210         * math/auto-libm-test-in: Add more tests of pow.
17211         * math/auto-libm-test-out: Regenerated.
17212         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17215 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17217         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17218         Make code unconditional.
17219         [!__NR_utimensat]: Remove conditional code.
17220         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17221         Make code unconditional.
17222         [!__NR_utimensat]: Remove conditional code.
17223         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17224         Make code unconditional.
17225         [!__NR_utimensat]: Remove conditional code.
17227 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17229         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17230         Make code unconditional.
17232 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17234         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17235         call-clobbered %eax on retry path.
17236         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17238 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17240         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17241         Don't set %rcx twice before "rep movsb".
17243 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17245         [BZ #19583]
17246         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17247         inline.  Check family before setting family, model and
17248         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17249         bits here.
17250         (init_cpu_features): Replace HAS_CPU_FEATURE and
17251         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17252         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17253         for Intel processors with usable AVX2.  Call get_common_indeces
17254         for other processors with family == NULL.
17255         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17256         (CPU_FEATURES_ARCH_P): Likewise.
17257         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17258         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17260 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17262         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17263         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17264         $(shared-thread-library) instead of hardcoding the path to libpthread.
17266 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17268         * sysdeps/unix/sysv/linux/kernel-features.h
17269         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17270         * sysdeps/unix/sysv/linux/getdents.c
17271         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17272         [!have_no_getdents64_defined]: Likewise.
17273         (__GETDENTS): Remove __have_no_getdents64 conditional.
17275 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17277         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17278         Remove macro.
17279         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17280         <kernel-features.h>.
17281         (signalfd) [__NR_signalfd4]: Make code unconditional.
17282         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17284 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17286         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17287         style.
17289 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17291         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17292         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17293         __pthread_unwind.
17294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17295         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17296         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17297         (__condvar_cleanup1): Likewise.
17299 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17301         [BZ #19822]
17302         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17303         move it to the final $@ location.
17305 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17307         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17308         access where posix_spawn success and pid argument is null.
17309         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17310         success case.
17312 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17314         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17316         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17318         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17319         and __fcntl.
17320         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17321         __fcntl only.
17322         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17323         adding attribute_hidden to __open and __fcntl.
17325         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17326         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17327         depend on libc-modules.h,
17328         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17330 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17332         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17333         Remove macro.
17334         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17335         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17336         entry.
17338         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17339         Remove macro.
17340         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17341         include <kernel-features.h>.
17342         [!__ASSUME_FALLOCATE]: Remove conditional code.
17343         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17345 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17347         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17348         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17349         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17350         (_ZGVdN4v_cos_avx2): Likewise.
17351         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17352         (_ZGVdN4v_cos): Likewise.
17353         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17354         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17355         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17356         (_ZGVdN4v_exp_avx2): Likewise.
17357         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17358         (_ZGVdN4v_exp): Likewise.
17359         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17360         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17361         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17362         (_ZGVdN4v_log_avx2): Likewise.
17363         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17364         (_ZGVdN4v_log): Likewise.
17365         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17366         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17367         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17368         (_ZGVdN4vv_pow_avx2): Likewise.
17369         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17370         (_ZGVdN4vv_pow): Likewise.
17371         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17372         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17373         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17374         (_ZGVdN4v_sin_avx2): Likewise.
17375         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17376         (_ZGVdN4v_sin): Likewise.
17377         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17378         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17379         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17380         (_ZGVdN4vvv_sincos_avx2): Likewise.
17381         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17382         (_ZGVdN4vvv_sincos): Likewise.
17383         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17384         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17385         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17386         (_ZGVbN4v_cosf_sse4): Likewise.
17387         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17388         (_ZGVdN8v_cosf_avx2): Likewise.
17389         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17390         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17391         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17392         (_ZGVbN4v_expf_sse4): Likewise.
17393         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17394         (_ZGVdN8v_expf_avx2): Likewise.
17395         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17396         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17397         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17398         (_ZGVbN4v_logf_sse4): Likewise.
17399         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17400         (_ZGVdN8v_logf_avx2): Likewise.
17401         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17402         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17403         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17404         (_ZGVbN4vv_powf_sse4): Likewise.
17405         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17406         (_ZGVdN8vv_powf_avx2): Likewise.
17407         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17408         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17409         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17410         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17411         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17412         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17413         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17414         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17415         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17416         (_ZGVbN4v_sinf_sse4): Likewise.
17417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17418         (_ZGVdN8v_sinf_avx2): Likewise.
17419         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17420         Use JUMPTARGET to call callee.
17421         (WRAPPER_IMPL_SSE2_ff): Likewise.
17422         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17423         (WRAPPER_IMPL_AVX): Likewise.
17424         (WRAPPER_IMPL_AVX_ff): Likewise.
17425         (WRAPPER_IMPL_AVX_fFF): Likewise.
17426         (WRAPPER_IMPL_AVX512): Likewise.
17427         (WRAPPER_IMPL_AVX512_ff): Likewise.
17428         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17429         Likewise.
17430         (WRAPPER_IMPL_SSE2_ff): Likewise.
17431         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17432         (WRAPPER_IMPL_AVX): Likewise.
17433         (WRAPPER_IMPL_AVX_ff): Likewise.
17434         (WRAPPER_IMPL_AVX_fFF): Likewise.
17435         (WRAPPER_IMPL_AVX512): Likewise.
17436         (WRAPPER_IMPL_AVX512_ff): Likewise.
17437         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17439 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17441         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17442         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17443         qualifier.
17444         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17445         internal_function qualifiers.
17447 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17449         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17450         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17451         * math/atest-exp.c (exp_mpn): Mark chk unused.
17452         * math/atest-exp2.c (exp_mpn): Likewise.
17453         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17454         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17456 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17458         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17459         Remove macro.
17460         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17461         <kernel-features.h>.
17462         [__NR_ppoll]: Make code unconditional.
17463         [!__ASSUME_PPOLL]: Remove conditional code.
17465         * sysdeps/unix/sysv/linux/kernel-features.h
17466         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17467         (__ASSUME_ACCEPT4): Likewise.
17468         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17469         Define.
17470         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17471         Likewise.
17472         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17473         Likewise.
17474         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17475         Likewise.
17476         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17477         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17478         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17479         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17480         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17481         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17482         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17483         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17484         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17485         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17486         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17487         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17488         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17489         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17490         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17491         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17492         Likewise.
17493         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17494         Likewise.
17495         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17496         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17497         0x040300].
17498         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17499         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17501         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17502         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17503         0x030300].
17504         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17505         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17506         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17507         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17508         0x040300].
17509         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17511         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17512         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17514         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17515         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17516         0x030300].
17517         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17518         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17519         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17521         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17522         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17523         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17524         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17525         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17526         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17527         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17528         0x040300].
17529         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17530         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17531         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17532         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17533         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17534         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17535         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17536         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17537         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17538         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17539         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17540         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17541         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17542         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17543         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17544         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17545         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17546         Likewise.
17547         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17548         Likewise.
17550 2016-03-15  Andreas Schwab  <schwab@suse.de>
17552         [BZ #19257]
17553         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17554         statp->_u._ext.nscount as loop count.
17556 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17558         * math/test-signgam-finite-c99.c: Also #undef
17559         __LIBC_INTERNAL_MATH_INLINES.
17560         * math/test-signgam-main.c: Likewise.
17562 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17564         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17565         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17566         (MADV_FREE): Likewise.
17567         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17568         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17569         EPOLLEXCLUSIVE.
17571 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17573         * timezone/README: Remove mention of checktab.awk. Mention wiki
17574         SharedSourceFiles.
17576 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17578         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17579         WUNTRACED.
17581 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17583         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17584         order to match the type of p when calling atomic_exchange_acq().
17586 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17588         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17589         cfi_offset calls.
17590         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17591         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17592         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17593         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17594         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17596 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17598         * timezone/checktab.awk: Removed.
17600 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17602         * manual/math.texi (Errors in Math Functions): Document relaxed
17603         accuracy goals for IBM long double.
17604         * math/libm-test.inc (test_exceptions): Always allow spurious
17605         "underflow" and "inexact" exceptions for IBM long double.
17607 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17609         [BZ #19762]
17610         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17611         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17612         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17613         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17614         (bit_arch_*): This for feature array.
17615         (bit_*): Renamed to ...
17616         (bit_cpu_*): This for cpu array.
17617         (index_*): Renamed to ...
17618         (index_arch_*): This for feature array.
17619         (index_*): Renamed to ...
17620         (index_cpu_*): This for cpu array.
17621         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17622         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17623         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17624         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17625         bit_##name with index_cpu_##name and bit_cpu_##name.
17626         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17627         bit_##name with index_arch_##name and bit_arch_##name.
17629 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17631         [BZ #19792]
17632         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17633         Terminate FDE before return label.
17635 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17637         [BZ #19790]
17638         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17639         (rintl): Define as macro.
17640         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17641         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17642         of fesetround.  Ensure results are evaluated before end of scope.
17643         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17644         USE_AS_NEARBYINTL and include s_rintl.c.
17645         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17646         Disable exception traps in new environment.
17647         (libc_feholdsetround_ppc_ctx): Likewise.
17649 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17651         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17652         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17653         (tst_audit10_aux) [__AVX512F__]: ... here.
17655 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17657         * include/sys/auxv.h: New file.
17659 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17661         [BZ #19759]
17662         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17664 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17666         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17667         operand modifier.
17668         (feclearexcept): Likewise.
17670 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17672         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17673         to reflect the entire 32-bit HWCAP.
17674         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17675         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17677 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17679         [BZ #19783]
17680         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17681         $(test-via-rtld-prefix).
17682         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17684 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17686         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17687         union wait.  Report any non-zero exit status as error.
17689 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17691         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17692         configured with --enable-hardcoded-path-in-tests.
17694 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17696         [BZ #19677]
17697         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17698         (__ieee754_remainderl): Put zero low parts in canonical form.
17699         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17700         file.  Based on
17701         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17702         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17703         with wrapper round test-fmodrem-ldbl-128ibm.c.
17704         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17705         file.
17706         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17707         Likewise.
17708         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17709         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17711 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17713         [BZ #19610]
17714         * elf/ldconfig.c (opt_link): Update comment.
17715         (options): Update help string for option -X.
17716         (search_dir): Unlink stale symbolic link only if updating symbolic
17717         links.
17718         * elf/tst-ldconfig-X.sh: New file.
17719         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17720         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17722 2016-03-07  Andreas Schwab  <schwab@suse.de>
17724         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17725         needed arguments.
17727 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17729         [BZ #15333]
17730         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17731         to lstat64.
17733 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17735         * libio/filedoalloc.c (isatty): Remove.
17736         (local_isatty): Add comment.  Call __isatty directly.
17737         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17738         * libio/wfiledoalloc.c (isatty): Remove.
17739         (_IO_wfile_doallocate): Update comment.
17741 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17743         [BZ #19269]
17744         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17745         tst-audit4-aux.o.
17746         (tst-audit10): Depend on tst-audit10-aux.o.
17747         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17748         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17749         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17750         instead of inline AVX code.
17751         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17752         instead of inline AVX512 code.
17753         * sysdeps/x86_64/tst-audit4-aux.c: New file
17754         * sysdeps/x86_64/tst-audit10-aux.c: New file
17756         [BZ #19648]
17757         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17759 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17761         [BZ #14750]
17762         [BZ #10354]
17763         [BZ #18433]
17764         * include/sched.h (__clone): Add hidden prototype.
17765         (__clone2): Likewise.
17766         * include/unistd.h (__dup): Likewise.
17767         * posix/Makefile (tests): Add tst-spawn2.
17768         * posix/tst-spawn2.c: New file.
17769         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17770         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17771         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17772         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17773         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17774         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17775         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17776         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17777         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17778         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17779         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17781         Likewise.
17782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17783         Likewise.
17784         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17785         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17786         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17787         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17788         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17789         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17790         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17791         * sysdeps/unix/sysv/linux/nptl-signals.h
17792         (____nptl_is_internal_signal): New function.
17793         * sysdeps/unix/sysv/linux/spawni.c: New file.
17795         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17796         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17797         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17798         * posix/tst-execvp2.c (do_test): Likewise.
17799         * posix/tst-execvp3.c (do_test): Likewise.
17800         * posix/tst-execvp4.c (do_test): Likewise.
17801         * posix/tst-execvpe1.c: New file.
17802         * posix/tst-execvpe2.c: Likewise.
17803         * posix/tst-execvpe3.c: Likewise.
17804         * posix/tst-execvpe4.c: Likewise.
17805         * posix/tst-execvpe5.c: Likewise.
17806         * posix/tst-execvpe6.c: Likewise.
17808         [BZ #19534]
17809         * posix/execl.c (execl): Remove dynamic memory allocation.
17810         * posix/execle.c (execle): Likewise.
17811         * posix/execlp.c (execlp): Likewise.
17813 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17815         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17816         Replace .text with .text.avx512.
17817         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17818         Likewise.
17820 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17822         * sysdeps/generic/libnsl.abilist: New file.
17823         * sysdeps/generic/libutil.abilist: New file.
17825 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17827         [BZ #19762]
17828         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17829         HAS_ARCH_FEATURE with Fast_Rep_String.
17830         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17831         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17832         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17833         Likewise.
17834         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17835         Likewise.
17836         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17837         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17838         Likewise.
17839         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17840         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17841         Likewise.
17843 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17845         [BZ #19745]
17846         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17847         with *%rax in call.
17849 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17851         [BZ #19745]
17852         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
17853         with *__libc_start_main@GOTPCREL(%rip) in call.
17855 2016-03-04  Roland McGrath  <roland@hack.frob.com>
17857         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
17858         inside conditional for nonempty $(CXX).
17860         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
17861         nonempty.
17863         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
17864         to test for empty $(CXX) rather than $(CXX) of "no".
17866 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17868         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
17870 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
17871             H.J. Lu  <hongjiu.lu@intel.com>
17873         [BZ #18880]
17874         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
17875         instead of Slow_BSF, and also check for Fast_Copy_Backward to
17876         enable __memcpy_ssse3_back.
17878 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17880         [BZ #19758]
17881         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17882         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
17884 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17886         [BZ #19490]
17887         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
17888         (__fentry__): Likewise.
17890 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17892         * gmon/Makefile (noprof): Add $(sysdep_noprof).
17893         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
17895 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17897         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
17898         __mcount_internal directly.
17899         (C_LABEL(__fentry__)): Likewise.
17900         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
17901         directly.
17903 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17905         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17906         (__start_context): Call __setcontext directly.
17908 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
17910         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17911         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17912         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
17913         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17914         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17915         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17916         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
17917         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17918         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17919         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
17920         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17921         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17922         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17923         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17924         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17925         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17926         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
17927         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17928         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17929         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17930         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
17931         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17932         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17933         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17934         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
17935         Remove conditional code.
17936         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17937         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
17938         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17939         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17940         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
17941         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17942         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17943         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17944         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17945         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17946         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17947         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17949 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
17951         * NEWS (2.23): Fix typo in bug 19048 text.
17953 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
17955         [BZ #14259]
17956         * Makeconfig: Rename msgcatdir to localedir.
17957         Rename inst_msgcatdir to inst_localedir.
17958         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
17959         * config.make.in: Add localedir.
17960         * elf/Makefile ($(objpfx)sotruss): Use localedir.
17961         (ldd-rewrite): Likewise.
17962         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
17963         (install-others): Use inst_localedir.
17964         (CPPFLAGS): Use localedir.
17965         * locale/Makefile (locale-CPPFLAGS): Likewise.
17966         * po/Makefile (mo-installed): Use inst_localedir.
17968         [BZ #19575]
17969         * localedata/charmaps/GB18030: Update comments regarding PAU to
17970         non-PUA mappings.
17972 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
17974         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
17975         test for header.
17976         * sysdeps/unix/sysv/linux/configure: Regenerated.
17977         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
17978         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
17979         Remove conditional code.
17980         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
17982         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17983         Define to 3.2.0.
17984         (arch_minimum_kernel): Likewise.
17985         * sysdeps/unix/sysv/linux/configure: Regenerated.
17986         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
17987         Define to 2.6.32.
17988         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
17989         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
17990         (arch_minimum_kernel): Define to 2.6.32.
17991         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
17992         * README: Document Linux 3.2 requirement.
17993         * manual/install.texi (Linux): Document Linux 3.2 headers
17994         requirement.
17995         * INSTALL: Regenerated.
17997 2016-02-24  Andreas Schwab  <schwab@suse.de>
17999         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18000         if !NO_LONG_DOUBLE.
18002 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18004         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18005         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18007 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18009         [BZ #19512]
18010         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18012 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18014         * posix/tst-dir.c: Include libc-internal.h.
18016 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18018         [BZ #19056]
18019         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18020         * manual/filesys.texi (Reading/Closing Directory): Mention
18021         deprecaion.
18022         * posix/tst-dir.c (main): Disable deprecation warning in test.
18024 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18026         [BZ #19679]
18027         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18028         Renamed to ...
18029         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18030         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18031         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18032         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18033         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18034         * sysdeps/x86_64/dl-trampoline.h
18035         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18036         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18038 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18040         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18042 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18044         * elf/elf.h (R_386_GOT32X): New.
18045         (R_386_NUM): Update.
18046         (R_X86_64_GOTPCRELX: New.
18047         (R_X86_64_REX_GOTPCRELX): New.
18048         (R_X86_64_NUM): Update.
18050 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18052         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18054 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18056         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18057         assign attr->stackaddr to it, and adjust it down when
18058         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18059         [_STACK_GROWS_UP]: Delete assert.
18060         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18061         Implement stack grows up logic.
18062         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18063         stack grows up logic.
18065 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18067         * NEWS: Update with 2.24 template.
18069 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18071         [BZ #19678]
18072         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18073         Ensure +0.0 is returned when taking the next value below the least
18074         positive value.
18076 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18078         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18079         available.  Do not define NO_THREADS.
18080         * malloc/malloc.c: Do not check NO_THREADS.
18081         * malloc/arena.c: Likewise.
18083 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18085         * malloc/malloc.c (__libc_mallinfo): Update comment.
18086         (struct malloc_par): Remove max_total_mem member, it was always 0.
18087         (int_mallinfo): Store 0 into usmblks (no functional change).
18088         * malloc/hooks.c (struct malloc_state): Document that
18089         max_total_mem is always 0.
18090         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18091         always 0.
18092         * manual/memory.texi (Statistics of Malloc): Likewise.
18094 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18096         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18097         * malloc/arena.c (arena_max): Remove.
18098         (heap_trim, _int_new_arena): Do not update arena_max.
18100 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18102         * resolv/res_init.c (res_ninit): Update comment.
18104 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18106         [BZ #19505]
18107         * posix/spawn_int.h: Add headers and include guard.
18108         (__spawn_valid_fd): New function.
18109         * posix/spawn_faction_addopen.c
18110         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18111         * posix/spawn_faction_addclose.c
18112         (posix_spawn_file_actions_addclose): Likewise.
18113         * posix/spawn_faction_adddup2.c
18114         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18115         second file descriptor.
18116         * posix/spawn_valid_fd.c: New file.
18117         * posix/tst-posix_spawn-fd.c: New file.
18118         * posix/Makefile (routines): Add spawn_valid_fd.
18119         (tests): Add tst-posix_spawn-fd.
18121 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18123         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18124         (do_test): Limit the number of arenas, so that we can use fewer
18125         outer threads.  Limit timeout to 3 seconds, in preparation for a
18126         larger TIMEOUT value.
18128 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18130         [BZ #19674]
18131         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18132         sign in overflowing and underflowing results when overflow or
18133         underflow is detected early.  Include sign in result before rather
18134         than after scaling.
18136         [BZ #19603]
18137         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18138         (__ieee754_remainderl): Adjust sign of integer version of low part
18139         when taking absolute value of high part.
18140         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18141         * math/libm-test.inc (remainder_test_data): Add another test.
18142         (remquo_test_data): Likewise.
18144 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18146         [BZ #19602]
18147         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18148         equal high parts and both low parts zero specially.
18149         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18150         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18151         Add test-fmodl-ldbl-128ibm.
18153         [BZ #19595]
18154         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18155         common logic for all cases of shifting subnormal results.  Do not
18156         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18157         exponent to ldbl_insert_mantissa in subnormal case.
18159         [BZ #19594]
18160         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18161         on high and low parts then adjust result and use
18162         ldbl_canonicalize_int if needed.
18164         [BZ #19593]
18165         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18166         on high part and __floor or __ceil on low part then use
18167         ldbl_canonicalize_int if needed.
18169         [BZ #19592]
18170         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18171         high and low parts then use ldbl_canonicalize_int if needed.
18173         [BZ #17899]
18174         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18175         New function.
18176         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18177         on high and low parts then use ldbl_canonicalize_int if needed.
18179 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18181         * configure: Regenerated.
18183         * po/libc.pot: Regenerated.
18185         * po/be.po: Updated translation.
18186         * po/bg.po: Likewise.
18187         * po/ca.po: Likewise.
18188         * po/cs.po: Likewise.
18189         * po/da.po: Likewise.
18190         * po/el.po: Likewise.
18191         * po/eo.po: Likewise.
18192         * po/es.po: Likewise.
18193         * po/fi.po: Likewise.
18194         * po/fr.po: Likewise.
18195         * po/gl.po: Likewise.
18196         * po/hr.po: Likewise.
18197         * po/hu.po: Likewise.
18198         * po/ia.po: Likewise.
18199         * po/id.po: Likewise.
18200         * po/it.po: Likewise.
18201         * po/ja.po: Likewise.
18202         * po/lt.po: Likewise.
18203         * po/nb.po: Likewise.
18204         * po/nl.po: Likewise.
18205         * po/pt_BR.po: Likewise.
18206         * po/rw.po: Likewise.
18207         * po/sk.po: Likewise.
18208         * po/sl.po: Likewise.
18209         * po/sv.po: Likewise.
18210         * po/tr.po: Likewise.
18211         * po/zh_CN.po: Likewise.
18212         * po/zh_TW.po: Likewise.
18214         * version.h (RELEAES): Set to "development".
18215         (VERSION): Set to 2.23.90.
18217         * version.h (RELEASE): Set to "stable".
18218         (VERSION): Set to 2.23.
18219         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18221         * NEWS: Updated fixed bugs.
18223 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18224             Wilco Dijkstra  <wdijkstr@arm.com>
18226         [BZ #19462]
18227         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18228         (_STRING_INLINE_unaligned): This.
18229         * include/string.h: Include <string_private.h>.
18230         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18231         _STRING_INLINE_unaligned.
18232         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18233         (_STRING_INLINE_unaligned): New.
18234         * sysdeps/aarch64/string_private.h: New file.
18235         * sysdeps/generic/string_private.h: Likewise.
18236         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18237         * sysdeps/s390/string_private.h: Likewise.
18238         * sysdeps/x86/string_private.h: Likewise.
18239         * sysdeps/m68k/m680x0/m68020/bits/string.h
18240         (_STRING_ARCH_unaligned): Renamed to ...
18241         (_STRING_INLINE_unaligned): This.
18242         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18243         to ...
18244         (_STRING_INLINE_unaligned): This.
18245         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18246         to ...
18247         (_STRING_INLINE_unaligned): This.
18248         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18249         to ...
18250         (_STRING_INLINE_unaligned): This.
18252 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18253             H.J. Lu  <hongjiu.lu@intel.com>
18255         [BZ #19590]
18256         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18257         relocation.
18259 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18261         [BZ #18665]
18262         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18263         *herrno_p.
18264         (gaih_getanswer): Document functional behviour. Return tryagain
18265         if any result is tryagain.
18266         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18267         when freed.
18268         * resolv/res_send.c: Add copyright text.
18269         (__libc_res_nsend): Document that MAXPACKET is expected.
18270         (send_vc): Document. Remove buffer reuse.
18271         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18272         size of the buffer. Add Dprint for truncated UDP buffer.
18274 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18276         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18277         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18278         * INSTALL: Regenerate.
18280 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18281             Jonathan Wakely  <jwakely@redhat.com>
18282             Carlos O'Donell  <carlos@redhat.com>
18284         [BZ 19439]
18285         * math/Makefile (tests): Add test-math-isinff.
18286         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18287         * math/bits/mathcalls.h [__USE_MISC]: Use
18288         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18289         functions not in C++11 and which don't conflict e.g. isinff,
18290         isinfl etc.
18291         * math/test-math-isinff.cc: New file.
18293 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18295         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18297 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18299         [BZ #19529]
18300         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18302 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18304         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18306 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18308         [BZ #19550]
18309         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18310         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18311         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18312         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18313         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18314         New syscall entry.
18315         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18316         New syscall entry.
18317         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18318         syscall entry.
18320 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18322         [BZ #18240]
18323         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18324         unsigned int wraparound.
18326 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18328         [BZ #18240]
18329         * misc/bug18240.c: New test.
18330         * misc/Makefile (tests): Add it.
18332 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18333             Joseph Myers  <joseph@codesourcery.com>
18335         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18336         load in branch delay slot when less than a word of input left.
18338 2016-01-27  Andreas Schwab  <schwab@suse.de>
18340         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18341         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18342         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18343         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18345 2016-01-26  David S. Miller  <davem@davemloft.net>
18347         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18349 2016-01-25  David S. Miller  <davem@davemloft.net>
18351         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18352         __sqrtl_finite.
18353         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18354         instead using versioned_symbol.
18355         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18356         of entries.
18358         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18359         __sqrtl_finite to GLIBC_2.23
18361 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18363         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18365 2016-01-25  Andreas Schwab  <schwab@suse.de>
18367         [BZ #17514]
18368         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18369         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18370         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18371         * nptl/tst-mutex-errorcheck.c: New file.
18373 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18375         [BZ #18560]
18376         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18377         (IPCOP_semop): Likewise.
18378         (IPCOP_semget): Likewise.
18379         (IPCOP_semctl): Likewise.
18380         (IPCOP_msgsnd): Likewise.
18381         (IPCOP_msgrcv): Likewise.
18382         (IPCOP_msgget): Likewise.
18383         (IPCOP_msgctl): Likewise.
18384         (IPCOP_shmat): Likewise.
18385         (IPCOP_shmdt): Likewise.
18386         (IPCOP_shmget): Likewise.
18387         (IPCOP_shmctl): Likewise.
18389 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18391         * string/tst-endian.c: Include <libc-internal.h>.
18392         (do_test): Ignore tautological-compare warnings around
18393         "htobeXX (beXXtoh (i)) != i" and
18394         "htoleXX (leXXtoh (i)) != i" if-statements.
18396 2016-01-24  David S. Miller  <davem@davemloft.net>
18398         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18399         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18400         alias.
18401         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18402         __sqrtl_finite.
18404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18406 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18408         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18409         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18410         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18412 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18414         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18415         (thread_func): Use new function to simplify barrier check.
18416         (do_test): Use new function to simplify checking barrier exit
18417         code, and actually join the child thread.
18419 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18421         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18422         semicolon.
18423         (__libc_tend): Likewise.
18424         (__libc_tabort): Likewise.
18426 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18428         * sysdeps/nios2/libm-test-ulps: Update.
18429         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18430         (__gtsf2): Likewise.
18431         (__unorddf2): Likewise.
18432         (__unordsf2): Likewise.
18433         (__ledf2): Likewise.
18435 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18437         * nis/nis_table.c (__follow_path): Disable diagnostic for
18438         uninitialized variable that is a false positive for gcc 4.7.
18439         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18441 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18443         * sysdeps/nacl/lowlevellock-futex.h
18444         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18445         Always evaluate PRIVATE argument.
18447 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18449         [BZ #19490]
18450         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18451         (pthread_cond_broadcast): Use ENTRY/END
18452         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18453         (pthread_cond_signal): Likewise.
18454         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18455         Likewise.
18456         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18457         Likewise.
18458         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18459         Likewise.
18461 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18463         * sysdeps/ieee754/dbl-64/s_finite.c
18464         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18465         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18466         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18467         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18468         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18471         (__gtsf2): Add as optional for libc.so.
18472         (__unordsf2): Likewise.
18473         (__signbit): Remove for libc.so.
18474         (__signbitl): Likewise.
18476 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18478         * iconvdata/bug-iconv11.c (test_ibm93x):
18479         Use %zu printf format specifier for size_t argument.
18481 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18483         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18484         already-recorded ulps.
18485         * sysdeps/arm/libm-test-ulps: Regenerated.
18486         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18487         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18488         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18490 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18491             Paul Pluzhnikov  <ppluzhnikov@google.com>
18493         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18494         assembler not supporting AVX-512.
18496 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18498         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18500 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18502         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18503         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18505         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18507         * sysdeps/arm/libm-test-ulps: Regenerated.
18509 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18511         [BZ #19451]
18512         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18514 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18516         [BZ #19486]
18517         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18518         * sysdeps/generic/fix-fp-int-convert-overflow.h
18519         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18520         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18521         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18522         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18523         Likewise.
18524         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18525         Avoid conversions to long int where inexact exceptions
18526         could be raised.
18527         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18528         Likewise.
18529         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18530         Avoid conversions to long long int where inexact exceptions
18531         could be raised.
18532         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18533         Likewise.
18535 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18537         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18538         * configure: Regenerated.
18540 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18542         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18544 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18546         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18547         outside of comment.
18549 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18551         * nptl/tst-barrier1.c: Add description on first line.
18552         * nptl/tst-barrier2.c: Likewise.
18553         * nptl/tst-barrier3.c: Likewise.
18554         * nptl/tst-barrier4.c: Likewise.
18555         * nptl/tst-barrier5.c: Likewise.
18557 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18559         [BZ #18868]
18560         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18562 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18564         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18566         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18567         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18568         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18569         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18570         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18571         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18572         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18573         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18574         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18576 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18578         [BZ #13065]
18579         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18580         new implementation.
18581         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18582         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18583         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18584         (BARRIER_IN_THRESHOLD): New macro.
18585         * nptl/pthread_barrierattr_setpshared.c
18586         (pthread_barrierattr_setpshared): Clean up.
18587         * nptl/tst-barrier4.c: Correct comment.
18588         * nptl/tst-barrier5.c: New file.
18589         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18590         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18591         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18592         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18593         * nptl/lowlevelbarrier.sym: Remove.
18594         * nptl/DESIGN-barrier.txt: Remove.
18595         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18596         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18597         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18598         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18599         error.
18600         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18601         implementation.
18603 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18605         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18606         (do_child): Mask SIGRTMIN while thr is running.
18608 2016-01-15  Martin Sebor  <msebor@redhat.com>
18610         [BZ #19432]
18611         * iconvdata/Makefile: Add bug-iconv11.
18612         * iconvdata/bug-iconv11.c: New test.
18613         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18614         * iconvdata/ibm933.c: Same.
18615         * iconvdata/ibm935.c: Same.
18616         * iconvdata/ibm937.c: Same.
18617         * iconvdata/ibm939.c: Same.
18619 2016-01-15  Martin Sebor  <msebor@redhat.com>
18621         [BZ #19443]
18622         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18623         [DEBUG] (_ufc_set_bits): Declare used.
18624         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18625         [DEBUG] (print_all): Declare used.
18626         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18627         operands of the ternary ?: expression to target type.
18628         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18629         calling the undeclared abort.
18630         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18632 2016-01-15  Martin Sebor  <msebor@redhat.com>
18634         [BZ #18755]
18635         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18636         warnings.
18637         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18638         (__gai_create_helper_thread): Same.
18639         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18640         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18641         to suppress -Wmaybe-uninitialized warnings.
18643 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18645         [BZ #19465]
18646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18647         inside if.
18648         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18649         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18652 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18654         [BZ #19466]
18655         * time/tst-mktime2.c (time_t_max): Removed.
18656         (time_t_min): Likewise.
18657         (TYPE_SIGNED): New.
18658         (TYPE_MINIMUM): Likewise.
18659         (TYPE_MAXIMUM): Likewise.
18660         (TIME_T_MIN): Likewise.
18661         (TIME_T_MAX): Likewise.
18662         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18663         and TIME_T_MIN.
18664         (do_test): Likewise.
18666 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18668         [BZ #19467]
18669         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18670         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18672 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18674         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18676 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18678         * benchtests/Makefile (PYTHON): Define.
18679         (bench-func): Use $(PYTHON) to run python scripts.
18680         ($(objpfx)bench-%.c): Likewise.
18682 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18684         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18685         leading slash when `file_name' is "/".
18687 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18689         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18690         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18691         Likewise.
18692         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18693         Likewise.
18694         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18695         Likewise.
18696         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18697         enum constant and macro.
18698         (PTRACE_SETSIGMASK): Likewise.
18699         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18700         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18701         (PTRACE_GETSIGMASK): Likewise.
18702         (PTRACE_SETSIGMASK): Likewise.
18703         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18704         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18705         Likewise.
18706         (PTRACE_SETSIGMASK): Likewise.
18707         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18708         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18709         (PTRACE_GETSIGMASK): Likewise.
18710         (PTRACE_SETSIGMASK): Likewise.
18711         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18712         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18713         Likewise.
18714         (PTRACE_SETSIGMASK): Likewise.
18715         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18716         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18717         Likewise.
18718         (PTRACE_SETSIGMASK): Likewise.
18719         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18720         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18721         Likewise.
18722         (PTRACE_SETSIGMASK): Likewise.
18723         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18725 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18726             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18728         [BZ #19439]
18729         * math/bits/mathcalls.h
18730         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18731         prototype.
18732         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18734 2016-01-11  Andreas Schwab  <schwab@suse.de>
18736         [BZ #19253]
18737         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18738         cache when TZDEFRULES was used.
18739         * time/tst-tzname.c: New file.
18740         * time/Makefile (test): Add tst-tzname.
18741         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18742         * timezone/Makefile (test-zones): Add $(posixrules-file).
18743         ($(testdata)/$(posixrules-file)): New rule.
18745 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18747         Fix doc quoting problems with Texinfo 5
18748         Without this change, in the info file output, Texinfo 5 quotes code
18749         in text with undirected single quotes 'like this' and generates
18750         code examples that with many PDF readers cannot be cut out of PDFs
18751         and pasted into code.
18752         * manual/libc.texinfo: Configure the libc manual like the GNU
18753         Emacs manual, by using @documentencoding and setting
18754         txicodequoteundirected and txicodequotebacktick.  This way,
18755         Texinfo 5 quotes code in text with directed single quotes ‘like
18756         this’ and produces examples that can be cut out of PDFs.  This
18757         change causes Texinfo 5 to generate info files that contain UTF-8
18758         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18759         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18761 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18763         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18764         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18765         barriers to their respective compiler built-ins.
18766         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18767         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18768         * sysdeps/powerpc/sysdep.h: Likewise.
18769         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18770         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18771         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18773 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18775         * scripts/config.guess: Revert previous shebang change.
18776         * scripts/config.sub: Likewise.
18777         * scripts/mkinstalldirs: Likewise.
18779 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18781         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18782         PPC_FEATURE2_HAS_IEEE128.
18783         * sysdeps/powerpc/dl-procinfo.c:
18784         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18786 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18788         [BZ #19415]
18789         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18790         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18791         (_dl_lookup_address): Rewrite using function resolver trampoline.
18792         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18793         two bits in address.
18795 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18797         * longlong.h: Change !__SHMEDIA__ to
18798         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18799         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18801 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18802             Joseph Myers  <joseph@codesourcery.com>
18803             Mark Shinwell  <shinwell@codesourcery.com>
18804             Andrew Stubbs  <ams@codesourcery.com>
18805             Rich Felker <dalias@libc.org>
18807         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18809 2016-01-07  Richard Henderson  <rth@redhat.com>
18811         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18813 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18815         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18816         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18817         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18818         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18819         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18821 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18822             Joseph Myers  <joseph@codesourcery.com>
18824         * timezone/private.h: Update from tzcode 2015g.
18825         * timezone/tzfile.h: Likewise.
18826         * timezone/tzselect.ksh: Likewise.
18827         * timezone/zdump.c: Likewise.
18828         * timezone/zic.c: Likewise.
18829         * timezone/ialloc.c: Remove file.
18830         * timezone/scheck.c: Likewise.
18831         * timezone/Makefile (extra-objs): Remove variable.
18832         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18833         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18834         -Wno-maybe-uninitialized.
18835         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18836         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18837         (CFLAGS-ialloc.c): Remove variable.
18838         (CFLAGS-scheck.c): Likewise.
18839         * timezone/README: Update list of files from tzcode.
18841 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18843         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18844         instead of __fxprintf when _LIBC is undefined.
18846 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
18848         * catgets/test-gencat.sh: Remove space after shebang.
18849         * conform/GlibcConform.pm: Likewise.
18850         * conform/check-header-lists.sh: Likewise.
18851         * conform/conformtest.pl: Likewise.
18852         * conform/linknamespace.pl: Likewise.
18853         * conform/list-header-symbols.pl: Likewise.
18854         * debug/catchsegv.sh: Likewise.
18855         * elf/genrtldtbl.awk: Likewise.
18856         * elf/tst-pathopt.sh: Likewise.
18857         * elf/tst-rtld-load-self.sh: Likewise.
18858         * grp/tst_fgetgrent.sh: Likewise.
18859         * iconvdata/gen-8bit-gap-1.sh: Likewise.
18860         * iconvdata/gen-8bit-gap.sh: Likewise.
18861         * iconvdata/gen-8bit.sh: Likewise.
18862         * iconvdata/run-iconv-test.sh: Likewise.
18863         * intl/tst-gettext.sh: Likewise.
18864         * intl/tst-gettext2.sh: Likewise.
18865         * intl/tst-gettext4.sh: Likewise.
18866         * intl/tst-gettext6.sh: Likewise.
18867         * intl/tst-translit.sh: Likewise.
18868         * io/ftwtest-sh: Likewise.
18869         * libio/test-freopen.sh: Likewise.
18870         * locale/gen-translit.pl: Likewise.
18871         * malloc/tst-mtrace.sh: Likewise.
18872         * manual/check-safety.sh: Likewise.
18873         * manual/libc-texinfo.sh: Likewise.
18874         * manual/tsort.awk: Likewise.
18875         * manual/xtract-typefun.awk: Likewise.
18876         * nptl/tst-cancel-wrappers.sh: Likewise.
18877         * nptl/tst-tls6.sh: Likewise.
18878         * posix/globtest.sh: Likewise.
18879         * posix/tst-getconf.sh: Likewise.
18880         * posix/wordexp-tst.sh: Likewise.
18881         * scripts/check-c++-types.sh: Likewise.
18882         * scripts/check-local-headers.sh: Likewise.
18883         * scripts/config.guess: Likewise.
18884         * scripts/config.sub: Likewise.
18885         * scripts/cpp: Likewise.
18886         * scripts/cross-test-ssh.sh: Likewise.
18887         * scripts/documented.sh: Likewise.
18888         * scripts/evaluate-test.sh: Likewise.
18889         * scripts/gen-libc-abis: Likewise.
18890         * scripts/gen-sorted.awk: Likewise.
18891         * scripts/list-fixed-bugs.py: Likewise.
18892         * scripts/merge-test-results.sh: Likewise.
18893         * scripts/mkinstalldirs: Likewise.
18894         * scripts/rellns-sh: Likewise.
18895         * scripts/test-installation.pl: Likewise.
18896         * scripts/update-copyrights: Likewise.
18897         * stdio-common/tst-printf.sh: Likewise.
18898         * stdio-common/tst-unbputc.sh: Likewise.
18899         * stdlib/tst-fmtmsg.sh: Likewise.
18900         * stdlib/tst-setcontext3.sh: Likewise.
18901         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
18902         * sysdeps/unix/make-syscalls.sh: Likewise.
18904 2016-01-06  John David Anglin  <dave.anglin@bell.net>
18906         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
18907         asm stw with atomic_exchange_rel.  Add explanatory comment.
18908         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18909         Likewise.
18911 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18913         [BZ #19122]
18914         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
18915         * sysdeps/generic/dl-unistd.h: New file.
18916         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
18918 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18920          [BZ #19122]
18921          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
18922          * sysdeps/generic/dl-mman.h: New file.
18923          * sysdeps/mach/hurd/dl-mman.h: Likewise.
18925 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
18927         * manual/texinfo.tex: Update to version 2016-01-04.21 with
18928         trailing whitespace removed.
18929         * scripts/config.guess: Update to version 2016-01-01.
18930         * scripts/config.sub: Update to version 2016-01-01.
18931         * scripts/move-if-change: Update from gnulib.
18933 2016-01-04  Anton Blanchard  <anton@samba.org>
18935         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
18936         for array indices.
18937         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
18939 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
18941         * NEWS: Update copyright dates.
18942         * catgets/gencat.c (print_version): Likewise.
18943         * csu/version.c (banner): Likewise.
18944         * debug/catchsegv.sh: Likewise.
18945         * debug/pcprofiledump.c (print_version): Likewise.
18946         * debug/xtrace.sh (do_version): Likewise.
18947         * elf/ldconfig.c (print_version): Likewise.
18948         * elf/ldd.bash.in: Likewise.
18949         * elf/pldd.c (print_version): Likewise.
18950         * elf/sotruss.sh: Likewise.
18951         * elf/sprof.c (print_version): Likewise.
18952         * iconv/iconv_prog.c (print_version): Likewise.
18953         * iconv/iconvconfig.c (print_version): Likewise.
18954         * locale/programs/locale.c (print_version): Likewise.
18955         * locale/programs/localedef.c (print_version): Likewise.
18956         * login/programs/pt_chown.c (print_version): Likewise.
18957         * malloc/memusage.sh (do_version): Likewise.
18958         * malloc/memusagestat.c (print_version): Likewise.
18959         * malloc/mtrace.pl: Likewise.
18960         * manual/libc.texinfo: Likewise.
18961         * nptl/version.c (banner): Likewise.
18962         * nscd/nscd.c (print_version): Likewise.
18963         * nss/getent.c (print_version): Likewise.
18964         * nss/makedb.c (print_version): Likewise.
18965         * posix/getconf.c (main): Likewise.
18966         * scripts/test-installation.pl: Likewise.
18967         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18969         * All files with FSF copyright notices: Update copyright dates
18970         using scripts/update-copyrights.
18971         * intl/plural.c: Regenerated.
18972         * locale/programs/charmap-kw.h: Likewise.
18973         * locale/programs/locfile-kw.h: Likewise.
18975 2016-01-02  Helge Deller  <deller@gmx.de>
18977         [BZ #19285]
18978         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
18979         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
18980         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
18981         (MADV_xxK_PAGES): Remove.
18983 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
18985         [BZ #15421]
18986         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
18987         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
18988         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
18989         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
18991 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
18993         [BZ #19408]
18994         * sysdeps/unix/sysv/linux/personality.c: New file.
18995         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
18996         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
18997         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
18998         (sysdep_routines): Add personality.
18999         (tests): Add tst-personality.
19000         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19001         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19002         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19003         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19004         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19005         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19006         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19007         Likewise.
19008         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19009         Likewise.
19010         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19011         Likewise.
19012         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19013         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19014         Likewise.
19016 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19018         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19019         (PATH_ARM_SYSTYPE): Remove.
19020         (PATH_CPUINFO): Likewise.
19021         (IO_BASE_FOOTBRIDGE): Likewise.
19022         (IO_SHIFT_FOOTBRIDGE): Likewise.
19023         (struct platform): Likewise.
19024         (init_iosys): Remove compatibility code for 2.4 kernels.
19025         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19027 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19029         * malloc/tst-malloc-thread-fail.c: New file.
19030         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19031         (tst-malloc-thread-fail): Link against libpthread.
19033 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19035         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19036         (get_parser): New function.
19037         (main): New function.
19039 2015-12-29  Rob Wu  <rob@robwu.nl>
19041         [BZ #19369]
19042         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19044 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19046         [BZ #19270]
19047         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19049 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19051         [BZ #15421]
19052         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19054 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19056         [BZ #13690]
19057         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19058         after releasing it.
19059         (__lll_robust_unlock): Likewise.
19060         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19061         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19062         (lll_robust_unlock): Likewise.
19063         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19064         Prevent warnings in callers.
19066 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19068         * malloc/arena.c (list_lock): Update comment.
19070 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19072         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19073         __parse_hwcap_and_convert_at_platform to libc.a.
19075 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19077         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19078         platform and feature support for POWER9.
19079         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19080         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19081         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19082         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19083         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19084         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19085         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19086         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19088 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19090         Harmonize generic stdio-lock support with nptl
19092         This fixes build when _IO_funlockfile is a macro, fixes build where
19093         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19094         stack unwind.
19096         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19097         _IO_release_lock ): Use cleanup attribute on new
19098         _IO_acquire_lock_file variable instead of assuming that
19099         _IO_release_lock will be called.
19100         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19101         _IO_acquire_lock_needs_exceptions_enabled.
19102         (_IO_acquire_lock_clear_flags2): New macro.
19104 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19106         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19108 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19110         [BZ #19182]
19111         * malloc/arena.c (list_lock): Document lock ordering requirements.
19112         (free_list_lock): New lock.
19113         (ptmalloc_lock_all): Comment on free_list_lock.
19114         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19115         (detach_arena): Update comment.  free_list_lock is now needed.
19116         (_int_new_arena): Use free_list_lock around detach_arena call.
19117         Acquire arena lock after list_lock.  Add comment, including FIXME
19118         about incorrect synchronization.
19119         (get_free_list): Switch to free_list_lock.
19120         (reused_arena): Acquire free_list_lock around detach_arena call
19121         and attached threads counter update.  Add two FIXMEs about
19122         incorrect synchronization.
19123         (arena_thread_freeres): Switch to free_list_lock.
19124         * malloc/malloc.c (struct malloc_state): Update comments to
19125         mention free_list_lock.
19127 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19129         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19130         Remove functions.
19131         (sloww, sloww1): Accept argument to offset quadrant.
19132         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19133         quadrant.
19134         (__sin, __cos): Consolidate common code into new functions.
19135         (reduce_sincos_1, do_sincos_1): New functions.
19136         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19138         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19139         code to new functions.
19140         (reduce_sincos_2, do_sincos_2): New functions.
19141         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19144         common code for sincos.
19145         (__cos) [!IN_SINCOS]: Likewise.
19146         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19147         New function.
19148         (__sincos): Use it.
19150 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19152         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19153         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19154         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19156 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19158         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19161         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19162         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19163         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19164         index_Prefer_No_VZEROUPPER): New feature.
19165         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19166         Prefer_No_VZEROUPPER for Knights Landing.
19168 015-12-18  Torvald Riegel  <triegel@redhat.com>
19170         * math/atest-exp2.c (mp_exp_m1): Remove.
19172 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19174         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19175         syscalls.
19176         (__SYSCALL0): New macro.
19177         (__SYSCALL1): Likewise.
19178         (__SYSCALL2): Likewise.
19179         (__SYSCALL3): Likewise.
19180         (__SYSCALL4): Likewise.
19181         (__SYSCALL5): Likewise.
19182         (__SYSCALL6): Likewise.
19183         (__SYSCALL_CONCAT_X): Likewise.
19184         (__SYSCALL_CONCAT): Likewise.
19185         (__SYSCALL_DIST): Likewise.
19186         (__SYSCALL_CALL): Likewise.
19188 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19190         [BZ #19363]
19191         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19193 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19195         [BZ #19375]
19196         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19197         negative subnormals.
19199 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19202         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19203         (INTERNAL_SYSCALL_NCS): Use it.
19204         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19206 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19208         [BZ #19243]
19209         * malloc/arena.c (get_free_list): Remove assert and adjust
19210         reference count handling.  Add comment about reused_arena
19211         interaction.
19212         (reused_arena): Add comments abount get_free_list interaction.
19213         * malloc/tst-malloc-thread-exit.c: New file.
19214         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19215         (tst-malloc-thread-exit): Link against libpthread.
19217 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19219         [BZ #19367]
19220         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19221         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19222         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19223         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19224         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19226 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19228         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19229         Silvermont optimizations for Knights Landing.
19231 2015-12-15  Andreas Schwab  <schwab@suse.de>
19233         [BZ #17197]
19234         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19235         immediately after emitting SI.
19236         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19237         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19238         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19239         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19240         * iconvdata/bug-iconv10.c: New file.
19241         * iconvdata/Makefile (tests): Add bug-iconv10.
19242         ($(objpfx)bug-iconv10.out): New rule.
19244 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19246         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19247         aliasing violation.
19249 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19251         [BZ #18472]
19252         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19253         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19254         conditionals for them.
19255         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19256         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19257         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19258         sys/kdaemon.h.
19259         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19260         compat-only syscall, obsoleted in glibc 2.23.
19261         (create_module): Likewise.
19262         (get_kernel_syms): Likewise.
19263         (query_module): Likewise.
19264         (uselib): Likewise.
19265         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19267 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19269         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19270         <linux/version.h>.
19271         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19272         conditional code.
19273         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19274         and ioshift_name initialization.
19276 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19278         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19279         Fix indentation.
19281 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19283         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19285 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19287         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19289 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19290             Jakub Wilk  <jwilk@debian.org>
19292         [BZ #19347]
19293         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19294         to change the group of the device to the tty group.
19296 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19298         Split large string section; add truncation advice
19299         * manual/examples/strncat.c: Remove.
19300         This example was misleading, as the code would have undefined
19301         behavior if "hello" was longer than SIZE.  Anyway, the manual
19302         shouldn't encourage strncpy+strncat for this sort of thing.
19303         * manual/string.texi (Copying Strings and Arrays): Split into
19304         three sections Copying Strings and Arrays, Concatenating Strings,
19305         and Truncating Strings, as this section was way too long.  All
19306         cross-referenced changed.  Add advice about string-truncation
19307         functions.  Remove misleading strncat example.
19309 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19311         * manual/nss.texi (NSS Modules Interface): Document
19312         NSS_STATUS_NOTFOUND and SUCCESS.
19314 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19316         [BZ 18568]
19317         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19318         201505L, for Unicode 8.
19320 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19322         * locale/C-translit.h: Regenerate.
19324 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19326         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19327         and U+0153.
19329 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19331         [BZ #19351]
19332         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19333         expanding log(1+z), compare z rather than its square with epsilon
19334         to determine when to avoid evaluating the expansion.
19336         [BZ #19350]
19337         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19338         Increase overflow threshold.
19340         [BZ #19349]
19341         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19342         when small.
19344         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19345         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19346         New macro.
19347         [__LINUX_KERNEL_VERSION >= 0x040300]
19348         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19350         Likewise.
19351         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19352         Likewise.
19353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19354         Likewise.
19355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19356         Likewise.
19357         [__LINUX_KERNEL_VERSION >= 0x040300]
19358         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19359         [__LINUX_KERNEL_VERSION >= 0x040300]
19360         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19361         [__LINUX_KERNEL_VERSION >= 0x040300]
19362         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19363         [__LINUX_KERNEL_VERSION >= 0x040300]
19364         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19365         [__LINUX_KERNEL_VERSION >= 0x040300]
19366         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19367         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19368         Likewise.
19369         [__LINUX_KERNEL_VERSION >= 0x040300]
19370         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19372         Likewise.
19373         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19374         Likewise.
19375         [__LINUX_KERNEL_VERSION >= 0x040300]
19376         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19378         Likewise.
19379         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19380         Likewise.
19381         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19382         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19383         Likewise.
19384         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19385         Likewise.
19386         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19387         Likewise.
19388         [__LINUX_KERNEL_VERSION >= 0x040300]
19389         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19391         Likewise.
19392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19393         Likewise.
19394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19395         Likewise.
19396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19397         Likewise.
19398         [__LINUX_KERNEL_VERSION >= 0x040300]
19399         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19400         [__LINUX_KERNEL_VERSION >= 0x040300]
19401         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19402         [__LINUX_KERNEL_VERSION >= 0x040300]
19403         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19404         [__LINUX_KERNEL_VERSION >= 0x040300]
19405         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19406         [__LINUX_KERNEL_VERSION >= 0x040300]
19407         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19408         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19409         Likewise.
19410         [__LINUX_KERNEL_VERSION >= 0x040300]
19411         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19412         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19413         Likewise.
19414         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19415         Likewise.
19416         [__LINUX_KERNEL_VERSION >= 0x040300]
19417         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19418         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19419         Likewise.
19420         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19421         Likewise.
19422         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19423         (__ASSUME_SOCKET_SYSCALL): Likewise.
19424         (__ASSUME_BIND_SYSCALL): Likewise.
19425         (__ASSUME_CONNECT_SYSCALL): Likewise.
19426         (__ASSUME_LISTEN_SYSCALL): Likewise.
19427         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19428         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19429         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19430         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19431         (__ASSUME_SEND_SYSCALL): Likewise.
19432         (__ASSUME_SENDTO_SYSCALL): Likewise.
19433         (__ASSUME_RECV_SYSCALL): Likewise.
19434         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19435         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19436         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19437         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19438         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19439         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19440         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19441         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19442         Likewise.
19443         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19444         Likewise.
19445         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19446         Likewise.
19447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19448         Likewise.
19449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19450         Likewise.
19451         [__LINUX_KERNEL_VERSION >= 0x020625]
19452         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19453         [__LINUX_KERNEL_VERSION >= 0x020625]
19454         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19455         [__LINUX_KERNEL_VERSION >= 0x020625]
19456         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19457         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19458         Likewise.
19459         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19460         Likewise.
19461         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19462         Likewise.
19463         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19464         Likewise.
19465         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19466         Likewise.
19467         [__LINUX_KERNEL_VERSION >= 0x020625]
19468         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19469         [__LINUX_KERNEL_VERSION >= 0x020625]
19470         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19471         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19472         Likewise.
19473         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19474         Likewise.
19476 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19478         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19479         record the current if the current ABI and CPU support the FP64
19480         extension.
19481         (has-modd-spreg): Define to record the current if the current ABI and
19482         CPU support 32-bit floating point values in odd FPU registers.
19483         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19484         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19485         $(has-modd-spreg) equals yes.
19486         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19487         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19488         $(has-modd-spreg) equal yes.
19490 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19492         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19493         basename.
19495 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19497         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19498         (bench-string): ... here.
19499         (bench): Add bench-string.
19500         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19501         to *-benchset to reflect what they are.
19502         (benchset): Adjust.
19504         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19505         cos-inputs.
19507 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19509         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19510         __attribute__ ((__simd__)) for vector math function declarations.
19512 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19514         Fix typo in strncat, wcsncat manual entries
19515         * manual/string.texi (Copying and Concatenation): Fix typos in
19516         sample implementations of strncat and wcsncat, by having them use
19517         the old value of the destination length, not the new one.
19519 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19521         [BZ #16961]
19522         [BZ #16962]
19523         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19524         string on the stack for strtod.
19525         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19526         a string on the stack for strtof.
19527         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19528         constructing a string on the stack for strtold.
19529         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19530         __strtold_nan to GLIBC_PRIVATE.
19531         * math/test-nan-overflow.c: New file.
19532         * math/test-nan-payload.c: Likewise.
19533         * math/Makefile (tests): Add test-nan-overflow and
19534         test-nan-payload.
19536 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19538         Consistency about byte vs character in string.texi
19539         * manual/string.texi (String and Array Utilities):
19540         Distinguish more carefully among bytes, multibyte characters,
19541         and wide characters.  Use "byte" when talking about C 'char',
19542         to distinguish it more clearly from multibyte characters.
19543         Say "wide character" or "multibyte character" instead of
19544         "character", when a wide or multibyte character is intended.
19545         Similarly for "multibyte string" versus "string".
19546         Define these terms more carefully.
19548 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19550         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19551         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19552         Likewise.
19553         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19554         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19555         * sysdeps/sh/math_private.h: New file.
19556         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19557         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19558         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19559         long double function name.
19560         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19561         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19562         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19563         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19564         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19566         Remove __finitel, __isinfl, and __isnanl.
19567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19568         Likewise.
19569         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19571         Remove __finitel.
19572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19573         Likewise.
19574         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19576 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19578         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19579         installed libmvec_nonshared.a.
19581 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19583         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19584         (sysdep_routines): Likewise.
19585         (sysdep-rtld-routines): Likewise.
19586         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19587         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19588         * sysdeps/powerpc/Versions: Added new
19589         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19590         * sysdeps/powerpc/hwcapinfo.c: New file.
19591         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19592         and parse hwcap, hwcap2 and platform number information.
19593         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19594         to store HWCAP+HWCAP2 and platform number.
19595         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19596         for HWCAP+HWCAP2 and platform number in the TCB.
19597         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19598         the HWCAP, HWCAP2 and platform number in the TCB.
19599         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19600         (TLS_INIT_TP): Included calls to add the hwcap and
19601         at_platform values in the TCB in TP initialization.
19602         (TLS_DEFINE_INIT_TP): Likewise.
19603         (THREAD_GET_HWCAP): New macro.
19604         (THREAD_SET_HWCAP): Likewise.
19605         (THREAD_GET_AT_PLATFORM): Likewise.
19606         (THREAD_SET_AT_PLATFORM): Likewise.
19607         * sysdeps/powerpc/powerpc32/dl-machine.h:
19608         (dl_platform_init): New function that calls
19609         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19610         powerpc32.
19611         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19612         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19613         this functionality, static linking case.
19614         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19615         linking case.
19616         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19617         __parse_hwcap_and_convert_at_platform for the static linking case.
19618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19619         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19620         ABI list for GLIBC 2.23.
19621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19622         Likewise.
19623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19624         Likewise.
19626 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19628         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19629         * configure: Regenerate.
19630         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19631         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19633 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19635         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19636         * iconvdata/ibm933.c: Likewise.
19637         * iconvdata/ibm935.c: Likewise.
19638         * iconvdata/ibm937.c: Likewise.
19639         * iconvdata/ibm939.c: Likewise.
19641 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19643         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19644         pthread_join.
19645         * nptl/tst-cancel21.c (tf): Likewise.
19647 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19649         [BZ #19313]
19650         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19651         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19652         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19653         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19654         Likewise.
19655         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19656         Likewise.
19657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19658         Likewise.
19659         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19660         Likewise.
19661         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19662         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19663         unsigned long int with __CPU_MASK_TYPE.
19665 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19667         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19669 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19671         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19672         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19673         t512.x.
19674         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19676 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19678         [BZ #19214]
19679         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19680         argument to return extended model.  Update family and model
19681         with extended family and model when family == 0x0f.
19682         (init_cpu_features): Updated.
19684 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19686         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19687         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19689         * sysdeps/mach/hurd/mmap64.c: New file.
19691 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19693         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19694         rights for its main user thread in NEWTASK.
19696 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19698         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19699         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19701 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19703         [BZ #14259]
19704         * Makeconfig: Rename localedir to complocaledir.
19705         Rename inst_localedir to inst_complocaledir.
19706         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19707         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19708         * configure.ac: Use libc_cv_complocaledir.
19709         * configure: Regenerate.
19710         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19711         -DCOMPLOCALEDIR.
19712         * locale/findlocale.c: Use COMPLOCALEDIR.
19713         * locale/loadarchive.c: Likewise.
19714         * locale/programs/locale.c: Likewise.
19715         * locale/programs/localedef.c: Likewise.
19716         * locale/programs/locarchive.c: Likewise.
19717         * localedata/Makefile: Use inst_complocaledir.
19718         * sysdeps/gnu/configure: Regenerate.
19719         * sysdeps/hppa/configure: Regenerate.
19720         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19721         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19723         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19724         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19725         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19726         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19728 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19730         [BZ #19058]
19731         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19732         AS_NEEDED.
19733         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19734         workaround.
19735         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19736         libmvec-static-only-routines): Added new file.
19737         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19739 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19741         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19742         of interrupted RPC instead of restoring it.
19744         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19745         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19746         libc_hidden_def.
19747         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19748         into initialized data instead of common. Define rtld_hidden_data_def.
19749         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19750         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19751         libc_hidden_def.
19752         (if_freenameindex): Add libc_hidden_weak.
19753         (if_nameindex): Add libc_hidden_weak.
19754         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19755         __open64.
19756         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19757         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19758         * sysdeps/mach/nanosleep.c: Include <time.h>
19759         (__nanosleep): Rename to __libc_nanosleep.
19760         (__nanosleep): Add weak_alias.
19761         (nanosleep): Update alias.
19763 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19765         * stdlib/strtod_nan.c: New file.
19766         * stdlib/strtod_nan_double.h: Likewise.
19767         * stdlib/strtod_nan_float.h: Likewise.
19768         * stdlib/strtod_nan_main.c: Likewise.
19769         * stdlib/strtod_nan_narrow.h: Likewise.
19770         * stdlib/strtod_nan_wide.h: Likewise.
19771         * stdlib/strtof_nan.c: Likewise.
19772         * stdlib/strtold_nan.c: Likewise.
19773         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19774         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19775         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19776         * wcsmbs/wcstod_nan.c: Likewise.
19777         * wcsmbs/wcstof_nan.c: Likewise.
19778         * wcsmbs/wcstold_nan.c: Likewise.
19779         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19780         strtold_nan.
19781         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19782         wcstof_nan.
19783         * include/stdlib.h (__strtof_nan): Declare and use
19784         libc_hidden_proto.
19785         (__strtod_nan): Likewise.
19786         (__strtold_nan): Likewise.
19787         (__wcstof_nan): Likewise.
19788         (__wcstod_nan): Likewise.
19789         (__wcstold_nan): Likewise.
19790         * include/wchar.h (____wcstoull_l_internal): Declare.
19791         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19792         (____strtoull_l_internal): Remove declaration.
19793         (STRTOF_NAN): Define macro.
19794         (SET_MANTISSA): Remove macro.
19795         (STRTOULL): Likewise.
19796         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19797         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19798         (STRTOF_NAN): Define macro.
19799         (SET_MANTISSA): Remove macro.
19800         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19801         (SET_MANTISSA): Remove macro.
19802         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19803         macro.
19804         (SET_MANTISSA): Remove macro.
19805         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19806         macro.
19807         (SET_MANTISSA): Remove macro.
19808         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19809         (SET_MANTISSA): Remove macro.
19810         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19811         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19812         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19814         [BZ #19266]
19815         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19816         upper case and lower case letters inside NAN(), not using TOLOWER.
19817         * stdlib/tst-strtod-nan-locale-main.c: New file.
19818         * stdlib/tst-strtod-nan-locale.c: Likewise.
19819         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19820         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19821         Depend on $(gen-locales).
19822         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19823         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19824         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19825         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19826         Depend on $(gen-locales).
19827         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19829 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19831         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19833         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19835         __finitel, __isinfl, and __isnanl.
19836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19837         Likewise.
19838         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19840         __finitel.
19841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19842         Likewise.
19843         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19845 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19847         * malloc/memusage.c (me): Remove redundant getenv call.
19849 2015-10-24  Florian Weimer  <fweimer@redhat.com>
19851         [BZ #19143]
19852         [BZ #19164]
19853         * nptl/check-cpuset.h: Remove.
19854         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19855         Remove CPU set size check.
19856         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19857         Likewise.
19858         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
19859         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19860         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
19861         (__pthread_setaffinity_new): Remove CPU set size check.
19862         * sysdeps/unix/sysv/linux/sched_setaffinity.c
19863         (__kernel_cpumask_size): Remove.
19864         (__sched_setaffinity_new): Remove CPU set size check.
19865         * manual/threads.texi (Default Thread Attributes): Remove stale
19866         reference to check_cpuset_attr, determine_cpumask_size in comment.
19867         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
19868         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
19869         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
19870         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
19871         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
19872         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
19873         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
19874         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
19875         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
19876         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
19877         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
19878         skeleton test file.
19879         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
19880         tst-affinity-pid.
19882 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19884         * scripts/update-abilist.sh: New file.
19885         * Makefile (+subdir_targets): Add subdir_update-all-abi.
19886         * Makerules (update-all-abi-%, update-all-abi)
19887         (subdir_update-all-abi): New targets.
19888         * elf/Makefile (update-all-abi): New target.
19890 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19892         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
19893         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
19894         (__libc_lock_define_initialized): Use it.
19895         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
19896         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
19897         * malloc/malloc.c (main_arena): Likewise.
19898         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19899         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19901 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
19903         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19904         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
19905         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19906         (PTRACE_O_MASK): Update value.
19907         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
19908         New value in enum __ptrace_setoptions.
19909         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19910         (PTRACE_O_MASK): Update value.
19911         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19912         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19913         (PTRACE_O_MASK): Update value.
19914         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19915         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19916         (PTRACE_O_MASK): Update value.
19917         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19918         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19919         (PTRACE_O_MASK): Update value.
19920         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
19921         New value in enum __ptrace_setoptions.
19922         (PTRACE_O_MASK): Update value.
19923         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
19924         New value in enum __ptrace_setoptions.
19925         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19926         (PTRACE_O_MASK): Update value.
19928         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
19929         New macro.
19930         (PACKET_AUXDATA): Likewise.
19931         (PACKET_ORIGDEV): Likewise.
19932         (PACKET_VERSION): Likewise.
19933         (PACKET_HDRLEN): Likewise.
19934         (PACKET_RESERVE): Likewise.
19935         (PACKET_TX_RING): Likewise.
19936         (PACKET_LOSS): Likewise.
19937         (PACKET_VNET_HDR): Likewise.
19938         (PACKET_TX_TIMESTAMP): Likewise.
19939         (PACKET_TIMESTAMP): Likewise.
19940         (PACKET_FANOUT): Likewise.
19941         (PACKET_TX_HAS_OFF): Likewise.
19942         (PACKET_QDISC_BYPASS): Likewise.
19943         (PACKET_ROLLOVER_STATS): Likewise.
19944         (PACKET_FANOUT_DATA): Likewise.
19945         (PACKET_MR_UNICAST): Likewise.
19947         [BZ #19242]
19948         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
19949         (TOUPPER): Likewise.
19950         * stdlib/tst-strtol-locale-main.c: New file.
19951         * stdlib/tst-strtol-locale.c: Likewise.
19952         * stdlib/Makefile (tests): Add tst-strtol-locale.
19953         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
19954         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
19955         Depend on $(gen-locales).
19956         * wcsmbs/tst-wcstol-locale.c: New file.
19957         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
19958         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
19959         tr_TR.ISO-8859-9.
19960         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
19961         Depend on $(gen-locales).
19963 2015-11-20  Roland McGrath  <roland@hack.frob.com>
19965         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
19966         __glibc_likely instead of __builtin_expect.  After falling back to
19967         dyncode_create in a non-ET_DYN case, use the allocate_code_data
19968         system interface to register the code pages as occupied.
19970 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
19972         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19973         [!ARM_MATH_PRIVATE_H].
19974         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
19975         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19976         [!HPPA_MATH_PRIVATE_H].
19977         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
19978         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
19979         to [!I386_MATH_PRIVATE_H].
19980         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
19981         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
19982         Change guard to [!M68K_MATH_PRIVATE_H].
19983         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
19984         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
19985         guard to [!MICROBLAZE_MATH_PRIVATE_H].
19986         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
19987         macro.
19988         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19989         [!MIPS_MATH_PRIVATE_H].
19990         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
19991         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19992         [!NIO2_MATH_PRIVATE_H].
19993         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
19994         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19995         [!TILE_MATH_PRIVATE_H].
19996         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
19998         [BZ #15421]
19999         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20000         initialize with 0 and define as weak alias of __signgam.
20001         * include/math.h [!_ISOMAC] (__signgam): Declare.
20002         * math/Makefile (libm-calls): Add w_lgamma_compat.
20003         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20004         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20005         test-signgam-ullong-init.
20006         (tests-static): Add test-signgam-uchar-static,
20007         test-signgam-uchar-init-static, test-signgam-uint-static,
20008         test-signgam-uint-init-static, test-signgam-ullong-static and
20009         test-signgam-ullong-init-static.
20010         (CFLAGS-test-signgam-uchar.c): New variable.
20011         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20012         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20013         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20014         (CFLAGS-test-signgam-uint.c): Likewise.
20015         (CFLAGS-test-signgam-uint-init.c): Likewise.
20016         (CFLAGS-test-signgam-uint-static.c): Likewise.
20017         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20018         (CFLAGS-test-signgam-ullong.c): Likewise.
20019         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20020         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20021         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20022         * math/Versions (libm): Add GLIBC_2.23.
20023         * math/lgamma-compat.h: New file.
20024         * math/test-signgam-main.c: Likewise.
20025         * math/test-signgam-uchar-init-static.c: Likewise.
20026         * math/test-signgam-uchar-init.c: Likewise.
20027         * math/test-signgam-uchar-static.c: Likewise.
20028         * math/test-signgam-uchar.c: Likewise.
20029         * math/test-signgam-uint-init-static.c: Likewise.
20030         * math/test-signgam-uint-init.c: Likewise.
20031         * math/test-signgam-uint-static.c: Likewise.
20032         * math/test-signgam-uint.c: Likewise.
20033         * math/test-signgam-ullong-init-static.c: Likewise.
20034         * math/test-signgam-ullong-init.c: Likewise.
20035         * math/test-signgam-ullong-static.c: Likewise.
20036         * math/test-signgam-ullong.c: Likewise.
20037         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20038         wrapper of w_lgamma_main.c.
20039         * math/w_lgamma_compat.c: New file.
20040         * math/w_lgamma_compatf.c: Likewise.
20041         * math/w_lgamma_compatl.c: Likewise.
20042         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20043         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20044         defining compatibility symbols.
20045         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20046         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20047         wrapper of w_lgammaf_main.c.
20048         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20049         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20050         defining compatibility symbols.
20051         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20052         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20053         wrapper of w_lgammal_main.c.
20054         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20055         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20056         defining compatibility symbols.
20057         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20058         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20059         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20060         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20061         <lgamma-compat.h>.
20062         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20063         (__ieee754_gamma): Define as alias.
20064         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20065         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20066         <lgamma-compat.h>.
20067         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20068         (__ieee754_gammaf): Define as alias.
20069         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20070         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20071         <lgamma-compat.h>.
20072         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20073         (__ieee754_gammal): Define as alias.
20074         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20075         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20076         <math/w_lgamma_compat.c>.
20077         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20078         Define as alias of __lgamma_compat and use in defining lgammal.
20079         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20080         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20081         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20082         (USE_AS_COMPAT): New macro.
20083         (LGAMMA_OLD_VER): Undefine and redefine.
20084         (lgammal): Do not define here.
20085         (gammal): Only define here if [GAMMA_ALIAS].
20086         * conform/linknamespace.pl (@whitelist): Remove signgam.
20087         * sysdeps/nacl/libm.abilist: Update.
20088         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20089         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20090         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20091         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20092         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20093         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20094         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20095         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20096         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20097         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20098         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20099         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20101         Likewise.
20102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20103         Likewise.
20104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20105         Likewise.
20106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20107         Likewise.
20108         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20109         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20110         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20111         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20112         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20114         Likewise.
20115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20116         Likewise.
20117         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20118         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20119         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20121 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20123         [BZ #16364]
20124         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20125         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20127 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20129         * sysdeps/s390/fpu/bits/mathinline.h:
20130         Use __asm__ [__volatile__] instead of asm [volatile].
20131         * sysdeps/s390/abort-instr.h: Likewise.
20132         * sysdeps/s390/atomic-machine.h: Likewise.
20133         * sysdeps/s390/bits/string.h: Likewise.
20134         * sysdeps/s390/dl-tls.h: Likewise.
20135         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20136         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20137         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20138         * sysdeps/s390/fpu/fesetround.c: Likewise.
20139         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20140         * sysdeps/s390/fpu/s_fma.c: Likewise.
20141         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20142         * sysdeps/s390/memusage.h: Likewise.
20143         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20144         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20145         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20146         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20147         * sysdeps/s390/nptl/tls.h: Likewise.
20148         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20149         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20150         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20151         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20152         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20153         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20154         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20155         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20156         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20157         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20158         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20159         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20160         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20161         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20162         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20163         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20164         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20165         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20166         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20167         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20168         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20169         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20170         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20172 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20173             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20175         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20176         Add lwarx hint, and use macro for acquire instruction.
20177         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20178         Likewise.
20179         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20180         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20181         update to use new atomic macros.
20183 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20185         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20186         (__lll_trylock_elision): Fix setting of adapt_count.
20187         * sysdeps/unix/sysv/linux/powerpc/htm.h
20188         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20189         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20190         (_ABORT_SYSCALL): Renumber, and clarify definition.
20191         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20193 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20195         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20196         after system headers to prevent MIN/MAX redefinition.  Define
20197         HAVE_ALLOCA to preserve builtin alloca usage.
20199 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20201         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20202         static and don't set or restore rounding.
20203         (__cos)[IN_SINCOS]: Likewise.
20204         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20205         (__sincos): Set and restore rounding mode.  Remove check for infinite
20206         or NaN input.
20208         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20210         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20211         as used.
20213 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20215         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20217 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20219         * config.make.in (have-glob-dat-reloc): New.
20220         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20221         target supports GLOB_DAT relocaton. AC_SUBST.
20222         * configure: Regenerated.
20223         * elf/Makefile (tests): Add tst-prelink.
20224         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20225         (tst-prelink-ENV): New.
20226         ($(objpfx)tst-prelink-conflict.out): Likewise.
20227         ($(objpfx)tst-prelink-cmp.out): Likewise.
20228         * sysdeps/x86/tst-prelink.c: Moved to ...
20229         * elf/tst-prelink.c: Here.
20230         * sysdeps/x86/tst-prelink.exp: Moved to ...
20231         * elf/tst-prelink.exp: Here.
20232         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20233         (tst-prelink-ENV): Removed.
20234         ($(objpfx)tst-prelink-conflict.out): Likewise.
20235         ($(objpfx)tst-prelink-cmp.out): Likewise.
20236         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20238 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20240         [BZ #14551]
20241         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20242         (__mpn_construct_long_double): If high part overflows to infinity,
20243         set errno and recompute overflowed result of the correct sign.
20244         * sysdeps/ieee754/ldbl-128ibm/Makefile
20245         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20246         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20247         $(libm).
20248         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20250 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20252         [BZ #15479]
20253         [BZ #19238]
20254         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20255         floating-point state after first operation on input.  Restore full
20256         state rather than just rounding mode.
20257         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20258         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20259         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20261         [BZ #19235]
20262         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20263         add 0.5 to integer arguments.
20264         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20265         Likewise.
20266         (.LC2): New object.
20268 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20270         * scripts/pylintrc (reports): Set to no.
20272 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20274         * elf/dl-load.c (open_verify): Take new argument FD.
20275         Skip __open call if passed FD is not -1.
20276         (_dl_map_object, open_path): Update callers.
20277         * elf/dl-sysdep-open.h: New file.
20278         * elf/dl-load.c: Include it.
20279         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20280         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20281         * sysdeps/nacl/dl-sysdep-open.h: New file.
20282         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20283         from libc to rtld.
20285 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20287         [BZ #19228]
20288         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20289         and restore full floating-point state.
20290         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20291         Likewise.
20292         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20293         Likewise.
20294         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20295         Likewise.
20296         * math/test-nearbyint-except-2.c: New file.
20297         * math/Makefile (tests): Add test-nearbyint-except-2.
20299 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20301         [BZ #19178]
20302         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20303         (tst-prelink-ENV): New.
20304         ($(objpfx)tst-prelink-conflict.out): Likewise.
20305         ($(objpfx)tst-prelink-cmp.out): Likewise.
20306         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20307         * sysdeps/x86/tst-prelink.c: New file.
20308         * sysdeps/x86/tst-prelink.exp: Likewise.
20310 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20312         * math/auto-libm-test-in: Add another test of pow.
20313         * math/auto-libm-test-out: Regenerated.
20314         * math/libm-test.inc (pow_test_data): Add another test.
20316 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20318         [BZ #19219]
20319         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20320         weak_alias to nearbyintl.
20322 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20324         * sysdeps/aarch64/bits/string.h: New file.
20325         (_STRING_ARCH_unaligned): Define.
20327 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20329         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20330         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20331         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20332         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20335 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20337         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20338         for original name of the DSO.  Add it to the name list of the DSO
20339         if it is actually given.
20340         (_dl_map_object): Keep track of whether an audit module rewrote
20341         the file name.  If yes, pass the original name to
20342         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20343         debugging is enabled, log the change of the file name.
20344         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20345         _dl_map_object_from_fd.
20346         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20347         * elf/tst-audit11.c: New file
20348         * elf/tst-auditmod11.c: New file.
20349         * elf/tst-audit11mod1.c: New file.
20350         * elf/tst-audit11mod2.c: New file.
20351         * elf/tst-audit11mod2.map: New file.
20352         * elf/tst-audit12.c: New file
20353         * elf/tst-auditmod12.c: New file.
20354         * elf/tst-audit12mod1.c: New file.
20355         * elf/tst-audit12mod2.c: New file.
20356         * elf/tst-audit12mod2.map: New file.
20357         * elf/tst-audit12mod3.c: New file.
20359 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20361         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20362         Don't create weak aliases,
20363         because versioned symbols are created later.
20364         * sysdeps/s390/s390-32/setjmp.S
20365         (setjmp, _setjmp): Remove weak and rename to an unique name
20366         in SHARED case due to existing versioned symbols.
20367         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20368         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20369         (getcontext): Create weak alias only in non SHARED case.
20370         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20372 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20374         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20375         (__ASSUME_*_SYSCALL) Define new macros.
20376         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20377         Remove socketcall syscalls.
20378         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20379         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20380         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20381         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20382         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20383         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20385 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20387         [BZ #12926]
20388         Terminate process on invalid netlink response.
20389         * sysdeps/unix/sysv/linux/netlinkaccess.h
20390         (__netlink_assert_response): Declare.
20391         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20392         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20393         (sysdep_routines): Add netlink_assert_response.
20394         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20395         __netlink_assert_response.
20396         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20397         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20398         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20399         __netlink_assert_response.
20401 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20403         [BZ #19178]
20404         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20405         (RTYPE_CLASS_PLT): Likewise.
20406         (RTYPE_CLASS_COPY): Likewise.
20407         (RTYPE_CLASS_TLS): Likewise.
20408         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20409         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20410         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20411         DL_DEBUG_PRELINK.
20413 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20415         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20416         calls with argument -0.5.
20417         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20419         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20420         (libc_cv_z_nodlopen): Likewise.
20421         (libc_cv_z_initfirst): Likewise.
20422         * configure: Regenerated.
20424 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20426         Simplify abilist format to be line-based.
20427         * scripts/abilist.awk: Collect descriptors in the descs variable.
20428         (emit): Write descs variable and sort it
20429         externally, with sort.
20430         * sysdeps/**/*.abilist: Convert to new format.
20432 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20434         [BZ #11460]
20435         * io/Makefile (routines): Add fts64.
20436         (tests): Add tst-fts and tst-fts-lfs.
20437         (CFLAGS-fts64.c): New.
20438         * io/Versions (GLIBC_2.23): New.
20439         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20440         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20441         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20442         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20443         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20444         (FTSENT64): Likewise.
20445         (fts64_children): Likewise.
20446         (fts64_close): Likewise.
20447         (fts64_open): Likewise.
20448         (fts64_read): Likewise.
20449         (fts64_set): Likewise.
20450         * io/fts64.c: New file.
20451         * io/tst-fts.c: New test.
20452         * io/tst-fts-lfs.c: Likewise.
20453         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20454         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20455         fts64_set.
20456         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20457         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20458         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20459         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20460         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20461         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20462         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20463         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20464         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20465         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20466         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20467         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20468         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20470         Likewise.
20471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20472         Likewise.
20473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20475         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20476         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20477         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20478         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20479         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20482         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20483         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20484         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20485         * sysdeps/wordsize-64/fts.c: New file.
20486         * sysdeps/wordsize-64/fts64.c: Likewise.
20487         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20488         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20489         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20490         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20492 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20494         * math/libm-test.inc (NON_FINITE): New macro.
20495         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20496         * math/gen-libm-test.pl (show_exceptions): Add argument
20497         $non_finite.
20498         (parse_args): Update call to show_exceptions.
20499         * math/test-math-finite.h: New file.
20500         * math/test-math-no-finite.h: Likewise.
20501         * math/test-double-finite.c: Likewise.
20502         * math/test-float-finite.c: Likewise.
20503         * math/test-ldouble-finite.c: Likewise.
20504         * math/test-double.c: Include "test-math-no-finite.h".
20505         * math/test-float.c: Include "test-math-no-finite.h".
20506         * math/test-ldouble.c: Include "test-math-no-finite.h".
20507         * math/test-math-inline.h (TEST_FINITE): New macro.
20508         * math/test-math-vector.h (TEST_FINITE): Likewise.
20509         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20510         (libm-tests): Add test-float-finite and test-double-finite.
20511         ($(objpfx)test-float-finite.o): New dependency on
20512         $(objpfx)libm-test.stmp.
20513         ($(objpfx)test-double-finite.o): Likewise.
20514         ($(objpfx)test-ldouble-finite.o): Likewise.
20515         (libm-test-no-inline-cflags): New variable.
20516         (libm-test-finite-cflags): Likewise.
20517         (CFLAGS-test-float-finite.c): Likewise.
20518         (CFLAGS-test-double-finite.c): Likewise.
20519         (CFLAGS-test-ldouble-finite.c): Likewise.
20520         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20521         (CFLAGS-test-double.c): Likewise.
20522         (CFLAGS-test-ldouble.c): Likewise.
20524 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20526         * io/fcntl.c (__fcntl): Add ... to prototype.
20527         * misc/ioctl.c (__ioctl): Likewise.
20528         * misc/syscall.c (syscall): Likewise.
20530 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20532         * scripts/list-fixed-bugs.py: New file.
20534         [BZ #19213]
20535         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20536         returned for argument 1.
20537         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20538         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20539         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20540         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20541         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20542         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20544         [BZ #19211]
20545         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20546         __USE_XOPEN], not if [!__USE_ISOC99].
20547         (lgammaf): Likewise.
20548         (lgammal): Likewise.
20549         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20550         (gammaf): Likewise.
20551         (gammal): Likewise.
20552         * math/test-signgam-finite-c11.c: New file.
20553         * math/test-signgam-finite-c99.c: Likewise.
20554         * math/test-signgam-finite.c: Likewise.
20555         * math/Makefile (tests): Add test-signgam-finite,
20556         test-signgam-finite-c99 and test-signgam-finite-c11.
20557         (CFLAGS-test-signgam-finite.c): New variable.
20558         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20559         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20561         [BZ #19212]
20562         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20563         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20564         500].
20565         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20566         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20567         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20568         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20569         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20570         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20571         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20572         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20573         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20574         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20576         [BZ #19209]
20577         * math/bits/math-finite.h (ldexp): Remove declaration.
20578         (ldexpf): Likewise.
20579         (ldexpl): Likewise.
20581         [BZ #19205]
20582         * math/bits/math-finite.h (acosf): Condition declaration on
20583         [__USE_ISOC99].
20584         (acosl): Likewise.
20585         (acoshf): Likewise.
20586         (acoshl): Likewise.
20587         (asinf): Likewise.
20588         (asinl): Likewise.
20589         (atan2f): Likewise.
20590         (atan2l): Likewise.
20591         (atanhf): Likewise.
20592         (atanhl): Likewise.
20593         (coshf): Likewise.
20594         (coshl): Likewise.
20595         (expf): Likewise.
20596         (expl): Likewise.
20597         (fmodf): Likewise.
20598         (fmodl): Likewise.
20599         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20600         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20601         (j0l): Likewise.
20602         (y0f): Likewise.
20603         (y0l): Likewise.
20604         (j1f): Likewise.
20605         (j1l): Likewise.
20606         (y1f): Likewise.
20607         (y1l): Likewise.
20608         (jnf): Likewise.
20609         (jnl): Likewise.
20610         (ynf): Likewise.
20611         (ynl): Likewise.
20612         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20613         (lgammal_r): Likewise.
20614         (__lgamma_r_finite): New declaration.
20615         (__lgammaf_r_finite): Likewise.
20616         (__lgammal_r_finite): Likewise.
20617         (lgamma): Use __lgamma_r_finite.
20618         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20619         __lgammaf_r_finite.
20620         (lgammal): Condition definition on [__USE_ISOC99].  Use
20621         __lgammal_r_finite.
20622         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20623         __lgamma_r_finite.
20624         (gammaf): Condition definition on [__USE_ISOC99].  Use
20625         __lgammaf_r_finite.
20626         (gammal): Condition definition on [__USE_ISOC99].  Use
20627         __lgammal_r_finite.
20628         (logf): Condition declaration on [__USE_ISOC99].
20629         (logl): Likewise.
20630         (log10f): Likewise.
20631         (log10l): Likewise.
20632         (ldexpf): Likewise.
20633         (ldexpl): Likewise.
20634         (powf): Likewise.
20635         (powl): Likewise.
20636         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20637         __USE_ISOC99].
20638         (remainderf): Condition declaration on [__USE_ISOC99].
20639         (remainderl): Likewise.
20640         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20641         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20642         (scalbl): Likewise.
20643         (sinhf): Condition declaration on [__USE_ISOC99].
20644         (sinhl): Likewise.
20645         (sqrtf): Likewise.
20646         (sqrtl): Likewise.
20648 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20650         * sysdeps/arm/atomic-machine.h
20651         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20652         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20653         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20654         Remove conditional code.
20655         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20656         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20657         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20658         Change conditional to [__ASSEMBLER__].
20659         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20660         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20661         [!__ASSEMBLER__].
20662         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20663         code.
20664         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20665         conditional macro definitions.
20666         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20667         (__arch_compare_and_exchange_val_16_acq): Likewise.
20668         (__arch_compare_and_exchange_val_32_acq): Likewise.
20669         (atomic_exchange_and_add): Likewise.
20670         (atomic_add): Likewise.
20671         (atomic_add_negative): Likewise.
20672         (atomic_add_zero): Likewise.
20673         (atomic_bit_set): Likewise.
20674         (atomic_bit_test_set): Likewise.
20675         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20676         code unconditional.
20677         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20679         * math/test-math-errno.h: New file.
20680         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20681         empty.
20682         (TEST_ERRNO): New macro.
20683         (TEST_EXCEPTIONS): Likewise.
20684         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20685         (TEST_EXCEPTIONS): Likewise.
20686         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20687         * math/test-double.c: Include "test-math-errno.h".
20688         * math/test-float.c: Likewise.
20689         * math/test-ldouble.c: Likewise.
20690         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20691         code unconditional.
20692         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20693         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20694         unconditional.
20695         (test_errno): Only run code if TEST_ERRNO.
20696         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20698 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20700         * nptl/tst-once5.cc: Remove attribution.
20702 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20704         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20705         sqrt, tan, tanh, y0, y1 and yn.
20706         * math/auto-libm-test-out: Regenerated.
20707         * math/libm-test.inc (scalb_test_data): Add more tests.
20708         (scalbn_test_data): Likewise.
20709         (scalbln_test_data): Likewise.
20710         (signbit_test_data): Likewise.
20711         (sin_test_data): Likewise.
20712         (sincos_test_data): Likewise.
20713         (sinh_test_data): Likewise.
20714         (sqrt_test_data): Likewise.
20715         (tan_test_data): Likewise.
20716         (tanh_test_data): Likewise.
20717         (tgamma_test_data): Likewise.
20718         (y0_test_data): Likewise.
20719         (y1_test_data): Likewise.
20720         (yn_test_data): Likewise.
20721         (significand_test_data): Likewise.
20722         * sysdeps/i386/fpu/libm-test-ulps: Update.
20724 2015-11-03  David Kastrup  <dak@gnu.org>
20726         [BZ #18604]
20727         * assert/assert.h (assert): Don't macro-expand failed assertion
20728         expression in error message.
20729         * malloc/malloc.c (assert): Likewise.
20731 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20733         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20734         test.
20735         * configure: Regenerated.
20737 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20739         * math/libm-test.inc (modf_test_data): Add more tests.
20740         (nearbyint_test_data): Likewise.
20741         (nextafter_test_data): Likewise.
20742         (nexttoward_test_data): Likewise.
20743         (pow_test_data): Likewise.
20744         (remainder_test_data): Likewise.
20745         (remquo_test_data): Likewise.
20746         (rint_test_data): Likewise.
20748         [BZ #19201]
20749         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20750         Check for zero remainder in case of large exponents and ensure
20751         correct sign of result in that case.
20752         * math/libm-test.inc (remainder_test_data): Add more tests.
20754         [BZ #6799]
20755         * math/s_nextafter.c: Include <errno.h>.
20756         (__nextafter): Set errno on overflow and underflow.
20757         * math/s_nexttowardf.c: Include <errno.h>.
20758         (__nexttowardf): Set errno on overflow and underflow.
20759         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20760         (__nextafterl): Set errno on overflow and underflow.
20761         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20762         (__nexttoward): Set errno on overflow and underflow.
20763         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20764         (__nexttowardf): Set errno on overflow and underflow.
20765         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20766         (__nextafterf): Set errno on overflow and underflow.
20767         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20768         (__nextafterl): Set errno on overflow and underflow.
20769         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20770         (__nexttoward): Set errno on overflow and underflow.
20771         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20772         (__nexttowardf): Set errno on overflow and underflow.
20773         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20774         (__nextafterl): Set errno on overflow and underflow.
20775         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20776         (__nexttoward): Set errno on overflow and underflow.
20777         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20778         (__nexttowardf): Set errno on overflow and underflow.
20779         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20780         (__nexttoward): Set errno on overflow and underflow.
20781         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20782         (__nexttowardf): Set errno on overflow and underflow.
20783         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20784         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20785         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20786         (__nextafterl): Set errno on overflow and underflow.
20787         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20788         setting to be missing on overflow.  Add more tests.
20789         (nexttoward_test_data): Likewise.
20791         * configure.ac (libc_cv_initfini_array): Remove configure test.
20792         * configure: Regenerated.
20794 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20796         [BZ #19189]
20797         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20798         non-finite argument handle arguments with negative sign.
20800         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20801         result from infinite argument.
20802         (j1_test_data): Likewise.
20803         (jn_test_data): Likewise.
20804         (y0_test_data): Likewise.
20805         (y1_test_data): Likewise.
20806         (yn_test_data): Likewise.
20808         [BZ #16171]
20809         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20810         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20811         * math/w_remainderf.c (dremf): Define as weak alias of
20812         __remainderf.
20813         * math/w_remainderl.c (dreml): Define as weak alias of
20814         __remainderl.
20815         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20816         __remainder.
20817         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20818         __remainderf.
20819         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20820         __remainderl.
20821         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20822         weak alias of remainderl.
20823         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20824         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20825         alias of __remainder.
20826         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20827         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20828         strong alias of __remainderl.
20829         (dreml): Use long_double_symbol.
20830         * math/Makefile (libm-calls): Remove w_drem.
20831         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20832         (CFLAGS-nldbl-drem.c): Remove variable.
20833         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20834         * math/w_drem.c: Remove file.
20835         * math/w_dremf.c: Likewise.
20836         * math/w_dreml.c: Likewise.
20837         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20838         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20839         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20841         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20842         * sysdeps/i386/configure: Regenerated.
20843         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20844         * sysdeps/x86_64/configure: Regenerated.
20846         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20847         test.
20848         (libc_cv_visibility_attribute): Likewise.
20849         (libc_cv_protected_data): Test unconditionally.
20850         (libc_cv_broken_visibility_attribute): Remove configure test.
20851         (libc_cv_have_sdata_section): Test unconditionally.
20852         * configure: Regenerated.
20854         * include/libc-internal.h (libc_max_align_t): Remove typedef.
20855         * include/scratch_buffer.h: Include <stddef.h> instead of
20856         <libc-internal.h>.
20857         (struct scratch_buffer): Use max_align_t instead of
20858         libc_max_align_t.
20860 2015-10-29  Florian Weimer  <fweimer@redhat.com>
20862         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
20863         instead of extend_alloca.  Change control flow to avoid a goto.
20864         Remove assert which is trivially always true.
20866 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20868         [BZ #16068]
20869         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
20870         (FE_ALL_EXCEPT_X86): New macro.
20871         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20872         FE_ALL_EXCEPT.  Ensure precision control is included in
20873         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20874         handle "denormal operand exception" and clear FZ and DAZ bits.
20875         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
20876         (FE_ALL_EXCEPT_X86): New macro.
20877         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20878         FE_ALL_EXCEPT.  Ensure precision control is included in
20879         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20880         handle "denormal operand exception" and clear FZ and DAZ bits.
20881         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
20882         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
20883         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20884         test-fenv-x87 and test-fenv-sse-2.
20885         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
20887         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
20888         * math/test-double.h (BUILD_COMPLEX): New macro.
20889         * math/test-float.h (BUILD_COMPLEX): Likewise.
20890         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
20892         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
20893         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
20894         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
20895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
20896         instead of DBL_DENORM_MIN in comment.
20897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
20898         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20899         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
20900         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
20901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
20902         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20904 2015-10-28  Florian Weimer  <fweimer@redhat.com>
20906         [BZ #19048]
20907         * malloc/malloc.c (struct malloc_state): Update comment.  Add
20908         attached_threads member.
20909         (main_arena): Initialize attached_threads.
20910         * malloc/arena.c (list_lock): Update comment.
20911         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
20912         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
20913         (deattach_arena): New function.
20914         (_int_new_arena): Initialize arena reference count and deattach
20915         replaced arena.
20916         (get_free_list, reused_arena): Update reference count and deattach
20917         replaced arena.
20918         (arena_thread_freeres): Update arena reference count and only put
20919         unreferenced arenas on the free list.
20921 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20923         [BZ #19181]
20924         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
20925         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
20926         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
20927         * math/test-fenv-clear-main.c: New file.
20928         * math/test-fenv-clear.c: Likewise.
20929         * math/Makefile (tests): Add test-fenv-clear.
20930         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
20931         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20932         test-fenv-clear-sse.
20933         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
20935         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
20936         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
20937         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
20939 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20941         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
20942         static libc.
20944 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20946         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
20947         test.
20948         * sysdeps/i386/configure: Regenerated.
20949         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
20950         test.
20951         * sysdeps/x86_64/configure: Regenerated.
20952         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
20953         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20954         memset-avx2 unconditionally instead of conditionally on
20955         [$(config-cflags-avx2) = yes].
20956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20957         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
20958         unconditional.
20959         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
20960         * sysdeps/x86_64/multiarch/memset_chk.S
20961         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
20962         to [IS_IN (libc) && SHARED].
20964 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20966         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
20967         configure test.
20968         * sysdeps/arm/configure: Regenerated.
20969         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
20970         Define variable if not already defined.
20972         [BZ #17404]
20973         * sysdeps/mips/atomic-machine.h
20974         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
20975         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
20976         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20978         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
20979         unconditional.
20980         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
20981         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20982         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
20983         unconditional.
20984         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20985         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
20986         unconditional.
20987         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20988         * stdlib/setenv.c
20989         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
20990         code unconditional.
20991         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
20992         Remove conditional code.
20993         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
20994         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
20995         unconditional.
20996         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20997         code.
20998         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
20999         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21000         unconditional.
21001         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21002         code.
21003         * sysdeps/ieee754/ldbl-128/k_tanl.c
21004         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21005         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21007         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21008         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21009         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21010         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21011         unconditional.
21012         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21013         code.
21014         * sysdeps/ieee754/ldbl-96/k_tanl.c
21015         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21016         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21018         * nptl/tst-initializers1-c11.c: New file.
21019         * nptl/tst-initializers1-gnu11.c: Likewise.
21020         * nptl/Makefile (tests): Add these new tests.
21021         (CFLAGS-tst-initializers1-c11.c): New variable.
21022         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21024         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21025         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21026         instead of -std=gnu99.
21027         * configure.ac (systemtap): Test with -std=gnu11 instead of
21028         -std=gnu99.
21029         * configure: Regenerated.
21030         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21031         in compilation command in comment.
21033         * sysdeps/nptl/configure.ac: Remove file.
21034         * sysdeps/nptl/configure: Remove generated file.
21035         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21036         * configure: Regenerated.
21037         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21038         * config.make.in (have-forced-unwind): Remove variable.
21039         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21040         unconditional.
21041         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21042         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21043         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21044         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21045         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21046         unconditional.
21048 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21050         [BZ #19174]
21051         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21052         .skip_lock_out_of_tbegin_retries.
21053         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21054         (__lll_lock_elision): Likewise, and respect a value of
21055         try_tbegin <= 0.
21057 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21059         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21060         statement.
21062 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21064         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21065         variable.
21066         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21067         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21069         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21070         of -std=c1x -D_ISOC11_SOURCE.
21072         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21073         * configure: Regenerated.
21074         * manual/install.texi (Tools for Compilation): Document
21075         requirement for GCC 4.7 or later.
21076         * INSTALL: Regenerated.
21078 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21080         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21081         on CNT to a conditional jump to 'puntdata'.
21083 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21085         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21086         (libc_cv_gcc_tls_model_attr): Likewise.
21087         * configure: Regenerated.
21089         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21090         * configure: Regenerated.
21091         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21093 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21095         * configure.ac (old_glibc_headers): Remove configure test.
21096         * configure: Regenerated.
21097         * config.make.in (old-glibc-headers): Remove variable.
21098         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21099         (install): Remove dependency on remove-old-headers.
21100         (headers2_0): Remove variable.
21101         (remove-old-headers): Remove rule.
21103         * configure.ac (libc_cv_dot_text): Remove configure test.
21104         (libc_cv_asm_set_directive): Use .text instead of
21105         ${libc_cv_dot_text} in configure test.
21106         * configure: Regenerated.
21108 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21110         [BZ #19168]
21111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21113 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21115         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21116         not support static linking.
21117         * configure: Regenerate.
21119 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21121         * math/libm-test.inc (check_float_internal): Do not special-case
21122         errors up to 0.5 ulp.
21124         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21125         log2.
21126         * math/auto-libm-test-out: Regenerated.
21127         * math/libm-test.inc (MAX_EXP): New macro.
21128         (ilogb_test_data): Add more tests.
21129         (isfinite_test_data): Likewise.
21130         (isgreater_test_data): Likewise.
21131         (isgreaterequal_test_data): Likewise.
21132         (isinf_test_data): Likewise.
21133         (isless_test_data): Likewise.
21134         (islessequal_test_data): Likewise.
21135         (islessgreater_test_data): Likewise.
21136         (isnan_test_data): Likewise.
21137         (isnormal_test_data): Likewise.
21138         (issignaling_test_data): Likewise.
21139         (isunordered_test_data): Likewise.
21140         (j0_test_data): Likewise.
21141         (j1_test_data): Likewise.
21142         (jn_test_data): Likewise.
21143         (lgamma_test_data): Likewise.
21144         (log_test_data): Likewise.
21145         (log10_test_data): Likewise.
21146         (log1p_test_data): Likewise.
21147         (log2_test_data): Likewise.
21148         (logb_test_data): Likewise.
21149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21151         [BZ #18611]
21152         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21153         avoid excess range and precision on underflow.
21154         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21155         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21156         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21157         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21158         underflow.
21159         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21160         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21161         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21162         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21163         * math/auto-libm-test-in: Do not allow missing errno setting for
21164         tests of j1 and jn.
21165         * math/auto-libm-test-out: Regenerated.
21167 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21169         [BZ #15491]
21170         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21171         floating-point environment instead of clearing all exceptions.
21172         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21173         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21174         merging in "invalid" exceptions from frndint.
21175         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21176         * math/test-nearbyint-except.c: New file.
21177         * math/Makefile (tests): Add test-nearbyint-except.
21179 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21181         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21183         * sysdeps/tile/libm-test-ulps: Regenerated.
21185 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21188         (__NR_sync_file_range2): Assume it is always defined.
21189         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21190         (__NR_sync_file_range): Assume it is always defined.
21192 2015-10-22  Andreas Schwab  <schwab@suse.de>
21194         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21195         INTERNAL_SYSCALL_ERRNO.
21196         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21197         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21198         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21199         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21200         Likewise.
21201         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21203 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21205         * io/tst-fcntl.c (fd): New static variable.
21206         (do_prepare): Open temporary file here....
21207         (do_test): ...not here.
21209         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21211 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21213         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21214         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21215         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21216         Moved before "#ifdef __ASSEMBLER__".
21218 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21220         [BZ #19156]
21221         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21222         arguments very close to 0.
21224 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21226         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21227         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21229 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21231         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21232         New.  Defined for GCC 5 and above when not compiling for
21233         profiling.
21234         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21236         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21237         Renamed to ...
21238         (CFLAGS-epoll_pwait.o): This.
21239         (CFLAGS-mmap.c): Renamed to ...
21240         (CFLAGS-mmap.o): This.
21241         (CFLAGS-mmap64.c): Renamed to ...
21242         (CFLAGS-mmap64.o): This.
21243         (CFLAGS-epoll_pwait.os): New.
21244         (CFLAGS-mmap.os): Likewise.
21245         (CFLAGS-mmap64.os): Likewise.
21246         (CFLAGS-semtimedop.os): Likewise.
21247         (CFLAGS-semtimedop.c): Renamed to ...
21248         (CFLAGS-semtimedop.o): This.
21250 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21252         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21253         warning message.
21255 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21257         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21258         * Makefile ($(objpfx)c++-types-check.out): Filter out
21259         $(+gccwarn-c) instead of -Wstrict-prototypes.
21261         * io/fts.c (fts_open): Convert to prototype-style function
21262         definition.
21263         * malloc/mcheck.c (mcheck): Likewise.
21264         (mcheck_pedantic): Likewise.
21265         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21266         internal_function.
21267         (re_search_internal): Likewise.
21268         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21269         prototype-style function definition.
21270         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21271         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21272         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21273         (xdr_utmpptr): Likewise.
21274         (xdr_utmparr): Likewise.
21275         (xdr_utmpidle): Likewise.
21276         (xdr_utmpidleptr): Likewise.
21277         (xdr_utmpidlearr): Likewise.
21279         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21280         log, log10 and log2.
21281         * math/auto-libm-test-out: Regenerated.
21282         * math/libm-test.inc (fmod_test_data): Add more tests.
21283         (fpclassify_test_data): Likewise.
21284         (frexp_test_data): Likewise.
21285         (hypot_test_data): Likewise.
21286         (ilogb_test_data): Likewise.
21288 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21290         * debug/fortify_fail.c (__fortify_fail): Convert to
21291         prototype-style function definition.  Use internal_function.
21292         * libio/genops.c (save_for_backup): Convert to prototype-style
21293         function definition.
21294         * libio/wgenops.c (save_for_wbackup): Likewise.
21295         * login/grantpt.c (grantpt): Likewise.
21296         * login/ptsname.c (ptsname): Likewise.
21297         (__ptsname_r): Likewise.
21298         * login/unlockpt.c (unlockpt): Likewise.
21299         * mach/msgserver.c (__mach_msg_server): Likewise.
21300         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21301         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21302         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21303         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21304         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21305         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21306         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21307         Likewise.
21308         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21309         internal_function.
21310         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21311         prototype-style function definition.
21312         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21313         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21314         (__pthread_create_2_0): Likewise.
21315         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21316         * nptl/register-atfork.c (__register_atfork): Likewise.
21317         * posix/glob.c (glob): Likewise.
21318         * posix/regcomp.c (re_comp): Likewise.
21319         * posix/regexec.c (re_exec): Likewise.
21320         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21321         [!__STDC__]: Remove conditional code.
21322         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21323         [!__STDC__]: Remove conditional code.
21324         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21325         [!__STDC__]: Remove conditional code.
21326         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21327         [!__STDC__]: Remove conditional code.
21328         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21329         [!__STDC__]: Remove conditional code.
21330         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21331         [!__STDC__]: Remove conditional code.
21332         * stdlib/mul.c [__STDC__]: Make code unconditional.
21333         [!__STDC__]: Remove conditional code.
21334         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21335         [!__STDC__]: Remove conditional code.
21336         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21337         [!__STDC__]: Remove conditional code.
21338         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21339         function definition.
21340         (STRTOF): Likewise.
21341         * stdlib/strtod_l.c (__STRTOF): Likewise.
21342         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21343         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21344         (__strtol_l): Likewise.
21345         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21346         [!__STDC__]: Remove conditional code.
21347         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21348         definition.
21349         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21350         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21351         type.
21352         (__strcasecmp): Convert to prototype-style function definition.
21353         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21354         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21355         type.
21356         (__strncasecmp): Convert to prototype-style function definition.
21357         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21358         * sunrpc/xdr.c (xdr_union): Likewise.
21359         * sunrpc/xdr_array.c (xdr_array): Likewise.
21360         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21361         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21362         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21363         Likewise.
21364         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21365         Likewise.
21366         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21367         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21368         Likewise.
21369         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21370         (LOCALE_PARAM_PROTO): Likewise.
21371         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21372         argument type.
21373         (ut_argument_spec): Remove macro.
21374         (ut_argument_spec_iso): Rename to ut_argument_spec.
21375         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21376         prototype-style function definition.
21377         (memcpy_uppcase): Likewise.
21378         (__strftime_internal): Likewise.
21379         (my_strftime): Likewise.
21380         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21381         (LOCALE_PARAM_DECL): Likewise.
21382         [_LIBC] (LOCALE_PARAM): Include argument type.
21383         (__strptime_internal): Convert to prototype-style function
21384         definition.
21385         (strptime): Likewise.
21386         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21387         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21388         type.
21389         (__wcscasecmp): Convert to prototype-style function definition.
21390         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21391         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21392         type.
21393         (__wcsncasecmp): Convert to prototype-style function definition.
21395         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21396         function definition.
21397         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21398         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21399         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21400         * elf/dl-minimal.c (_itoa): Likewise.
21401         * hurd/hurdmalloc.c (malloc): Likewise.
21402         (free): Likewise.
21403         (realloc): Likewise.
21404         * inet/inet6_option.c (inet6_option_space): Likewise.
21405         (inet6_option_init): Likewise.
21406         (inet6_option_append): Likewise.
21407         (inet6_option_alloc): Likewise.
21408         (inet6_option_next): Likewise.
21409         (inet6_option_find): Likewise.
21410         * io/ftw.c (FTW_NAME): Likewise.
21411         (NFTW_NAME): Likewise.
21412         (NFTW_NEW_NAME): Likewise.
21413         (NFTW_OLD_NAME): Likewise.
21414         * libio/iofwide.c (_IO_fwide): Likewise.
21415         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21416         (_IO_str_init_static): Likewise.
21417         (_IO_str_init_readonly): Likewise.
21418         (_IO_str_overflow): Likewise.
21419         (_IO_str_underflow): Likewise.
21420         (_IO_str_count): Likewise.
21421         (_IO_str_seekoff): Likewise.
21422         (_IO_str_pbackfail): Likewise.
21423         (_IO_str_finish): Likewise.
21424         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21425         (_IO_wstr_overflow): Likewise.
21426         (_IO_wstr_underflow): Likewise.
21427         (_IO_wstr_count): Likewise.
21428         (_IO_wstr_seekoff): Likewise.
21429         (_IO_wstr_pbackfail): Likewise.
21430         (_IO_wstr_finish): Likewise.
21431         * locale/programs/localedef.c (normalize_codeset): Likewise.
21432         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21433         (add_locales_to_archive): Likewise.
21434         (delete_locales_from_archive): Likewise.
21435         * malloc/malloc.c (__libc_mallinfo): Likewise.
21436         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21437         * misc/tsearch.c (__tfind): Likewise.
21438         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21439         * nptl/pthread_attr_getdetachstate.c
21440         (__pthread_attr_getdetachstate): Likewise.
21441         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21442         Likewise.
21443         * nptl/pthread_attr_getinheritsched.c
21444         (__pthread_attr_getinheritsched): Likewise.
21445         * nptl/pthread_attr_getschedparam.c
21446         (__pthread_attr_getschedparam): Likewise.
21447         * nptl/pthread_attr_getschedpolicy.c
21448         (__pthread_attr_getschedpolicy): Likewise.
21449         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21450         Likewise.
21451         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21452         Likewise.
21453         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21454         Likewise.
21455         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21456         Likewise.
21457         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21458         (__pthread_attr_init_2_0): Likewise.
21459         * nptl/pthread_attr_setdetachstate.c
21460         (__pthread_attr_setdetachstate): Likewise.
21461         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21462         Likewise.
21463         * nptl/pthread_attr_setinheritsched.c
21464         (__pthread_attr_setinheritsched): Likewise.
21465         * nptl/pthread_attr_setschedparam.c
21466         (__pthread_attr_setschedparam): Likewise.
21467         * nptl/pthread_attr_setschedpolicy.c
21468         (__pthread_attr_setschedpolicy): Likewise.
21469         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21470         Likewise.
21471         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21472         Likewise.
21473         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21474         Likewise.
21475         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21476         Likewise.
21477         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21478         Likewise.
21479         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21480         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21481         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21482         use internal_function.
21483         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21484         prototype-style function definition.
21485         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21486         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21487         internal_function.
21488         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21489         Convert to prototype-style function definition.
21490         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21491         Likewise.
21492         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21493         Likewise.
21494         (__pthread_mutex_unlock): Likewise.
21495         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21496         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21497         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21498         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21499         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21500         * nss/makedb.c (process_input): Likewise.
21501         * posix/fnmatch.c (__strchrnul): Likewise.
21502         (__wcschrnul): Likewise.
21503         (fnmatch): Likewise.
21504         * posix/fnmatch_loop.c (FCT): Likewise.
21505         * posix/glob.c (globfree): Likewise.
21506         (__glob_pattern_type): Likewise.
21507         (__glob_pattern_p): Likewise.
21508         * posix/regcomp.c (re_compile_pattern): Likewise.
21509         (re_set_syntax): Likewise.
21510         (re_compile_fastmap): Likewise.
21511         (regcomp): Likewise.
21512         (regerror): Likewise.
21513         (regfree): Likewise.
21514         * posix/regexec.c (regexec): Likewise.
21515         (re_match): Likewise.
21516         (re_search): Likewise.
21517         (re_match_2): Likewise.
21518         (re_search_2): Likewise.
21519         (re_search_stub): Likewise.  Use internal_function
21520         (re_copy_regs): Likewise.
21521         (re_set_registers): Convert to prototype-style function
21522         definition.
21523         (prune_impossible_nodes): Likewise.  Use internal_function.
21524         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21525         prototype-style function definition.
21526         (inet_net_pton_ipv4): Likewise.
21527         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21528         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21529         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21530         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21531         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21532         Make variadic.
21533         * time/strptime_l.c (localtime_r): Convert to prototype-style
21534         function definition.
21535         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21536         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21537         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21538         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21540         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21541         definition.
21542         (_ufc_doit_r): Likewise.
21543         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21544         (_ufc_output_conversion_r): Likewise.
21545         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21546         * inet/rcmd.c (rcmd_af): Likewise.
21547         (rcmd): Likewise.
21548         (ruserok_af): Likewise.
21549         (ruserok): Likewise.
21550         (ruserok2_sa): Likewise.
21551         (ruserok_sa): Likewise.
21552         (iruserok_af): Likewise.
21553         (iruserok): Likewise.
21554         (__ivaliduser): Likewise.
21555         (__validuser2_sa): Likewise.
21556         * inet/rexec.c (rexec_af): Likewise.
21557         (rexec): Likewise.
21558         * inet/ruserpass.c (ruserpass): Likewise.
21559         * locale/programs/xmalloc.c (xcalloc): Likewise.
21560         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21561         * math/w_drem.c (__drem): Likewise.
21562         * math/w_dremf.c (__dremf): Likewise.
21563         * math/w_dreml.c (__dreml): Likewise.
21564         * misc/daemon.c (daemon): Likewise.
21565         * resolv/res_debug.c (p_fqnname): Likewise.
21566         * stdlib/div.c (div): Likewise.
21567         * string/memcmp.c (memcmp_bytes): Likewise.
21568         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21569         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21571         * crypt/cert.c (main): Convert to prototype-style function
21572         definition.
21573         * io/pipe.c (__pipe): Likewise.
21574         * io/pipe2.c (__pipe2): Likewise.
21575         * misc/futimesat.c (futimesat): Likewise.
21576         * misc/utimes.c (__utimes): Likewise.
21577         * posix/execve.c (__execve): Likewise.
21578         * posix/execvp.c (execvp): Likewise.
21579         * posix/execvpe.c (__execvpe): Likewise.
21580         * posix/fexecve.c (fexecve): Likewise.
21581         * socket/socketpair.c (socketpair): Likewise.
21582         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21583         * stdlib/erand48.c (erand48): Likewise.
21584         * stdlib/erand48_r.c (__erand48_r): Likewise.
21585         * stdlib/jrand48.c (jrand48): Likewise.
21586         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21587         * stdlib/lcong48.c (lcong48): Likewise.
21588         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21589         * stdlib/nrand48.c (nrand48): Likewise.
21590         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21591         * stdlib/seed48.c (seed48): Likewise.
21592         * stdlib/seed48_r.c (__seed48_r): Likewise.
21593         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21594         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21595         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21597 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21599         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21600         * configure: Regenerated.
21601         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21602         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21603         unconditional.
21604         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21605         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21606         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21607         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21608         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21609         unconditional.
21610         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21612         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21613         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21615         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21616         function definition.
21617         * crypt/crypt_util.c (__encrypt_r): Likewise.
21618         * libio/genops.c (_IO_no_init): Likewise.
21619         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21620         (_IO_old_fopencookie): Likewise.
21621         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21622         * libio/iogetline.c (_IO_getline): Likewise.
21623         (_IO_getline_info): Likewise.
21624         * libio/iogetwline.c (_IO_getwline): Likewise.
21625         (_IO_getwline_info): Likewise.
21626         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21627         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21628         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21629         (find_entry): Likewise.
21630         (iterate_table): Likewise.
21631         (lookup): Likewise.
21632         * login/forkpty.c (forkpty): Likewise.
21633         * misc/hsearch_r.c (__hsearch_r): Likewise.
21634         * misc/select.c (__select): Likewise.
21635         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21636         Likewise.
21637         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21638         Likewise.
21639         * nptl/old_pthread_cond_timedwait.c
21640         (__pthread_cond_timedwait_2_0): Likewise.
21641         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21642         * nptl/pthread_barrierattr_getpshared.c
21643         (pthread_barrierattr_getpshared): Likewise.
21644         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21645         Likewise.
21646         * nptl/pthread_mutex_setprioceiling.c
21647         (pthread_mutex_setprioceiling): Likewise.
21648         * nptl/pthread_mutexattr_getprioceiling.c
21649         (pthread_mutexattr_getprioceiling): Likewise.
21650         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21651         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21652         Likewise.
21653         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21654         Likewise.
21655         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21656         Likewise.
21657         * socket/recvfrom.c (__recvfrom): Likewise.
21658         * socket/sendto.c (__sendto): Likewise.
21659         * socket/setsockopt.c (__setsockopt): Likewise.
21660         * stdio-common/_itoa.c (_itoa): Likewise.
21661         * stdio-common/_itowa.c (_itowa): Likewise.
21662         * stdio-common/reg-printf.c (__register_printf_specifier):
21663         Likewise.
21664         (__register_printf_function): Likewise.
21665         * stdio-common/tempname.c (__path_search): Likewise.
21666         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21667         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21668         * stdlib/random_r.c (__initstate_r): Likewise.
21669         * stdlib/setenv.c (__add_to_environ): Likewise.
21670         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21671         * streams/getpmsg.c (getpmsg): Likewise.
21672         * streams/putmsg.c (putmsg): Likewise.
21673         * streams/putpmsg.c (putpmsg): Likewise.
21674         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21675         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21676         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21677         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21678         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21679         * sunrpc/svc_udp.c (cache_get): Likewise.
21680         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21681         * sysdeps/mach/hurd/getcwd.c
21682         (__canonicalize_directory_name_internal): Likewise.
21683         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21684         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21685         * sysdeps/mach/hurd/select.c (__select): Likewise.
21686         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21687         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21688         * sysdeps/sparc/nptl/pthread_barrier_init.c
21689         (__pthread_barrier_init): Likewise.
21690         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21691         (__pthread_cond_timedwait): Likewise.
21692         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21693         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21694         Likewise.
21695         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21696         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21697         Likewise.
21698         * sysvipc/semtimedop.c (semtimedop): Likewise.
21699         * time/setitimer.c (__setitimer): Likewise.
21700         * time/strftime_l.c (emacs_strftime): Likewise.
21702 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21704         * config.make.in (have-ssp): Delete.
21705         (stack-protector): New variable.
21706         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21707         cache test for -fstack-protector-strong.  Export stack_protector to
21708         the best ssp flag.
21709         * configure: Regenerated.
21710         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21711         * nscd/Makefile (CFLAGS-nscd): Likewise.
21712         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21714 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21716         [BZ #19122]
21717         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21718         attribute_hidden.
21720 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21722         [BZ #18743]
21723         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21724         code to...
21725         (ELIDE_LOCK): ...here.
21726         (__get_new_count): New function with part of the code from
21727         __elide_lock that updates the value of adapt_count after a
21728         transaction abort.
21729         (__elided_trylock): Moved this code to...
21730         (ELIDE_TRYLOCK): ...here.
21732 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21734         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21735         * configure: Regenerate.
21736         * INSTALL: Regenerate.
21737         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21738         and tweak grammar.
21740 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21742         * login/programs/pt_chown.c: Include signal.h
21743         (main): Clear any signal mask from the parent process.
21745 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21747         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21748         * configure: Regenerated.
21749         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21750         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21751         $(gnu89-inline-CFLAGS).
21753         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21754         test.
21755         (libc_cv_asm_weakext_directive): Likewise.
21756         * configure: Regenerated.
21757         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21758         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21759         * include/libc-symbols.h
21760         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21761         #error.
21762         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21763         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21765         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21766         prototype-style function definition.
21767         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21768         * sysdeps/i386/ffs.c (__ffs): Likewise.
21769         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21770         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21771         Likewise.
21772         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21773         Likewise.
21774         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21775         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21776         Likewise.
21777         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21778         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21779         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21780         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21781         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21782         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21783         * sysdeps/mach/hurd/access.c (__access): Likewise.
21784         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21785         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21786         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21787         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21788         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21789         (cthread_getspecific): Likewise.
21790         (cthread_setspecific): Likewise.
21791         (__libc_getspecific): Likewise.
21792         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21793         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21794         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21795         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21796         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21797         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21798         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21799         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21800         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21801         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21802         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21803         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21804         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21805         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21806         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21807         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21808         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21809         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21810         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21811         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21812         * sysdeps/mach/hurd/link.c (__link): Likewise.
21813         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21814         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21815         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21816         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21817         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21818         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21819         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21820         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21821         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21822         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21823         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21824         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21825         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21826         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21827         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21828         * sysdeps/mach/hurd/send.c (__send): Likewise.
21829         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21830         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21831         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21832         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21833         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21834         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21835         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21836         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21837         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21838         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21839         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21840         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21841         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21842         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21843         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21844         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21845         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21846         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21847         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
21848         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21849         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
21850         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
21851         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
21852         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
21853         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
21854         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
21855         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
21856         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
21857         * sysdeps/posix/alarm.c (alarm): Likewise.
21858         * sysdeps/posix/cuserid.c (cuserid): Likewise.
21859         * sysdeps/posix/dirfd.c (dirfd): Likewise.
21860         * sysdeps/posix/dup.c (__dup): Likewise.
21861         * sysdeps/posix/dup2.c (__dup2): Likewise.
21862         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
21863         (main): Likewise.
21864         * sysdeps/posix/flock.c (__flock): Likewise.
21865         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
21866         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21867         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
21868         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
21869         * sysdeps/posix/isatty.c (__isatty): Likewise.
21870         * sysdeps/posix/killpg.c (killpg): Likewise.
21871         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21872         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
21873         * sysdeps/posix/raise.c (raise): Likewise.
21874         * sysdeps/posix/remove.c (remove): Likewise.
21875         * sysdeps/posix/rename.c (rename): Likewise.
21876         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
21877         * sysdeps/posix/seekdir.c (seekdir): Likewise.
21878         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
21879         * sysdeps/posix/sigignore.c (sigignore): Likewise.
21880         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
21881         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
21882         * sysdeps/posix/sigset.c (sigset): Likewise.
21883         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
21884         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
21885         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
21886         * sysdeps/posix/time.c (time): Likewise.
21887         * sysdeps/posix/ttyname.c (getttyname): Likewise.
21888         (ttyname): Likewise.
21889         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
21890         * sysdeps/posix/utime.c (utime): Likewise.
21891         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
21892         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21893         Likewise.
21894         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
21895         (pthread_spin_trylock): Likewise.
21896         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
21897         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
21898         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
21899         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
21900         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
21901         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
21902         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
21903         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
21904         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
21905         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
21906         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
21907         * sysdeps/s390/ffs.c (__ffs): Likewise.
21908         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
21909         Likewise.
21910         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21911         Likewise.
21912         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
21913         Likewise.
21914         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
21915         (pthread_barrier_destroy): Likewise.
21916         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21917         (__pthread_barrier_wait): Likewise.
21918         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
21919         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21920         (__pthread_barrier_wait): Likewise.
21921         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
21922         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
21923         (memcmp_not_common_alignment): Likewise.
21924         (MEMCMP): Likewise.
21925         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
21926         (_wordcopy_fwd_dest_aligned): Likewise.
21927         (_wordcopy_bwd_aligned): Likewise.
21928         (_wordcopy_bwd_dest_aligned): Likewise.
21929         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
21930         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
21931         * sysdeps/unix/bsd/stty.c (stty): Likewise.
21932         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
21933         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
21934         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
21935         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
21936         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
21937         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
21938         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
21939         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
21940         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21941         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
21942         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
21943         * sysdeps/unix/stime.c (stime): Likewise.
21944         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
21945         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
21946         Likewise.  Use internal_function.
21947         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
21948         Convert to prototype-style function definition.
21949         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21950         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21951         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
21952         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21953         Likewise.  Use internal_function.
21954         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
21955         prototype-style function definition
21956         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21957         Likewise.
21958         (__getlogin_r): Likewise.
21959         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
21960         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
21961         (__pthread_cond_broadcast): Likewise.
21962         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
21963         (__pthread_cond_destroy): Likewise.
21964         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
21965         (__pthread_cond_init): Likewise.
21966         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
21967         (__pthread_cond_signal): Likewise.
21968         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
21969         (__pthread_cond_wait): Likewise.
21970         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
21971         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21972         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
21973         Likewise.
21974         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
21975         Likewise.
21976         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
21977         Likewise.
21978         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
21979         Likewise.
21980         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
21981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
21982         (__ftruncate64): Likewise.
21983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
21984         (truncate64): Likewise.
21985         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
21986         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
21987         (pthread_getcpuclockid): Likewise.
21988         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21989         Likewise.
21990         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21991         Likewise.
21992         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
21993         Likewise.
21994         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
21995         Likewise.
21996         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
21997         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
21998         (__libc_sigaction): Likewise.
21999         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22000         Likewise.
22001         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22002         (__sigprocmask): Likewise.
22003         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22004         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22005         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22006         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22007         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22008         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22009         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22010         Likewise.
22011         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22012         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22013         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22014         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22015         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22016         Likewise.
22017         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22018         (__sigprocmask): Likewise.
22019         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22020         (cfgetispeed): Likewise.
22021         (cfsetospeed): Likewise.
22022         (cfsetispeed): Likewise.
22023         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22024         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22025         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22026         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22027         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22028         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22029         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22030         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22031         Likewise.
22032         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22033         Likewise.
22034         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22035         Likewise.
22036         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22037         Likewise.
22038         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22040 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22042         sunrpc: Rewrite with explicit TLS access using __thread.
22043         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22044         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22045         directly.
22046         (__rpc_thread_variables): Access thread_rpc_vars directly.
22047         Eliminate redundant assignment of the tvp variable.
22049 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22051         malloc: Rewrite with explicit TLS access using __thread.
22052         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22053         (tsd_setspecific, tsd_getspecific): Remove.
22054         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22055         (tsd_setspecific, tsd_getspecific): Likewise.
22056         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22057         (tsd_setspecific, tsd_getspecific): Likewise.
22058         * malloc/arena.c (thread_arena): New TLS variable.
22059         (arena_key): Remove variable.
22060         (arena_get): Use thread_arena.
22061         (arena_lookup): Remove macro.
22062         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22063         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22064         (_int_new_arena, get_free_list, reused_arena)
22065         (arena_thread_freeres): Use thread_arena.
22066         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22067         tsd_getspecific, tsd_setspecific from safety annotations.
22068         (Allocating Cleared Space): Remove arena_lookup from safety
22069         annotations.
22071 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22073         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22074         struct scratch_buffer instead of extend_alloca.
22076 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22078         * sysdeps/unix/sysv/linux/kernel-features.h
22079         (__ASSUME_SOCK_CLOEXEC): Remove.
22080         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22081         (__have_paccept): Remove unused macro.
22082         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22083         * misc/syslog.c (openlog_internal): Remove fallback code for
22084         !__ASSUME_SOCK_CLOEXEC.
22085         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22086         missing SOCK_CLOEXEC.
22087         * nscd/connections.c (have_sock_cloexec): Remove definition.
22088         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22089         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22090         !__ASSUME_SOCK_CLOEXEC.
22091         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22092         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22093         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22094         definition.
22095         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22096         code for !__ASSUME_SOCK_CLOEXEC.
22098 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22100         [BZ #18982]
22101         * manual/stdio.texi (Variable Arguments Output): Add portability
22102         note, explaining that vfprintf clobbers the va_list pointer.
22104 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22106         * math/libm-test.inc (fabs_test_data): Add more tests.
22107         (fdim_test_data): Likewise.
22108         (fma_test_data): Likewise.
22109         (fmax_test_data): Likewise.
22110         (fmin_test_data): Likewise.
22111         (fmod_test_data): Likewise.
22113 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22115         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22116         data.
22118 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22120         * math/libm-test.inc (ceil_test_data): Add more tests and more
22121         expectations for "inexact".
22122         (floor_test_data): Add more tests.
22123         (round_test_data): Likewise.
22124         (trunc_test_data): Likewise.
22126         * crypt/cert.c (good_bye): Convert to prototype-style function
22127         definition.
22128         (get8): Likewise.
22129         (put8): Likewise.
22130         * crypt/crypt-entry.c (crypt): Likewise.
22131         (__fcrypt): Likewise.
22132         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22133         (_ufc_set_bits): Likewise.
22134         (_ufc_clearmem): Likewise.
22135         (__init_des_r): Likewise.
22136         (shuffle_sb): Likewise.
22137         (shuffle_sb): Likewise.
22138         (_ufc_setup_salt_r): Likewise.
22139         (_ufc_mk_keytab_r): Likewise.
22140         (_ufc_dofinalperm_r): Likewise.
22141         (encrypt): Likewise.
22142         (__setkey_r): Likewise.
22143         (setkey): Likewise.
22144         * crypt/md5.c (md5_init_ctx): Likewise.
22145         (md5_read_ctx): Likewise.
22146         (md5_finish_ctx): Likewise.
22147         (md5_stream): Likewise.
22148         (md5_buffer): Likewise.
22149         (md5_process_bytes): Likewise.
22150         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22151         (__sha256_finish_ctx): Likewise.
22152         (__sha256_process_bytes): Likewise.
22153         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22154         (__sha512_finish_ctx): Likewise.
22155         (__sha512_process_bytes): Likewise.
22156         * ctype/isctype.c (__isctype): Likewise.
22157         * debug/backtrace.c (__backtrace): Likewise.
22158         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22159         * debug/fgets_chk.c (__fgets_chk): Likewise.
22160         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22161         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22162         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22163         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22164         * debug/memset_chk.c (__memset_chk): Likewise.
22165         * debug/strcat_chk.c (__strcat_chk): Likewise.
22166         * debug/strncat_chk.c (__strncat_chk): Likewise.
22167         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22168         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22169         * dirent/dirfd.c (dirfd): Likewise.
22170         * dirent/getdents.c (__getdirentries): Likewise.
22171         * dirent/getdents64.c (getdirentries64): Likewise.
22172         * dirent/rewinddir.c (__rewinddir): Likewise.
22173         * dirent/seekdir.c (seekdir): Likewise.
22174         * dirent/telldir.c (telldir): Likewise.
22175         * elf/sln.c (makesymlinks): Likewise.
22176         (makesymlink): Likewise.
22177         * gmon/gmon.c (__moncontrol): Likewise.
22178         (__monstartup): Likewise.
22179         (write_hist): Likewise.
22180         (write_call_graph): Likewise.
22181         (write_bb_counts): Likewise.
22182         * grp/setgroups.c (setgroups): Likewise.
22183         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22184         * inet/inet_net.c (inet_network): Likewise.
22185         * inet/inet_netof.c (inet_netof): Likewise.
22186         * inet/rcmd.c (rresvport_af): Likewise.
22187         (rresvport): Likewise.
22188         * io/access.c (__access): Likewise.
22189         * io/chdir.c (__chdir): Likewise.
22190         * io/chmod.c (__chmod): Likewise.
22191         * io/chown.c (__chown): Likewise.
22192         * io/close.c (__close): Likewise.
22193         * io/creat.c (creat): Likewise.
22194         * io/creat64.c (creat64): Likewise.
22195         * io/dup.c (__dup): Likewise.
22196         * io/dup2.c (__dup2): Likewise.
22197         * io/dup3.c (__dup3): Likewise.
22198         * io/euidaccess.c (__euidaccess): Likewise.
22199         * io/faccessat.c (faccessat): Likewise.
22200         * io/fchmod.c (__fchmod): Likewise.
22201         * io/fchmodat.c (fchmodat): Likewise.
22202         * io/fchown.c (__fchown): Likewise.
22203         * io/fchownat.c (fchownat): Likewise.
22204         * io/fcntl.c (__fcntl): Likewise.
22205         * io/flock.c (__flock): Likewise.
22206         * io/fts.c (fts_load): Likewise.
22207         (fts_close): Likewise.
22208         (fts_read): Likewise.
22209         (fts_set): Likewise.
22210         (fts_children): Likewise.
22211         (fts_build): Likewise.
22212         (fts_stat): Likewise.
22213         (fts_sort): Likewise.
22214         (fts_alloc): Likewise.
22215         (fts_lfree): Likewise.
22216         (fts_palloc): Likewise.
22217         (fts_padjust): Likewise.
22218         (fts_maxarglen): Likewise.
22219         (fts_safe_changedir): Likewise.
22220         * io/getwd.c (getwd): Likewise.
22221         * io/isatty.c (__isatty): Likewise.
22222         * io/lchown.c (__lchown): Likewise.
22223         * io/link.c (__link): Likewise.
22224         * io/linkat.c (linkat): Likewise.
22225         * io/lseek.c (__libc_lseek): Likewise.
22226         * io/mkdir.c (__mkdir): Likewise.
22227         * io/mkdirat.c (mkdirat): Likewise.
22228         * io/mkfifo.c (mkfifo): Likewise.
22229         * io/mkfifoat.c (mkfifoat): Likewise.
22230         * io/open.c (__libc_open): Likewise.
22231         * io/open64.c (__libc_open64): Likewise.
22232         * io/readlink.c (__readlink): Likewise.
22233         * io/readlinkat.c (readlinkat): Likewise.
22234         * io/rmdir.c (__rmdir): Likewise.
22235         * io/symlink.c (__symlink): Likewise.
22236         * io/symlinkat.c (symlinkat): Likewise.
22237         * io/ttyname.c (ttyname): Likewise.
22238         * io/ttyname_r.c (__ttyname_r): Likewise.
22239         * io/umask.c (__umask): Likewise.
22240         * io/unlink.c (__unlink): Likewise.
22241         * io/unlinkat.c (unlinkat): Likewise.
22242         * io/utime.c (utime): Likewise.
22243         * libio/clearerr.c (clearerr): Likewise.
22244         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22245         * libio/feof.c (_IO_feof): Likewise.
22246         * libio/feof_u.c (feof_unlocked): Likewise.
22247         * libio/ferror.c (_IO_ferror): Likewise.
22248         * libio/ferror_u.c (ferror_unlocked): Likewise.
22249         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22250         * libio/fileno.c (__fileno): Likewise.
22251         * libio/fputc.c (fputc): Likewise.
22252         * libio/fputc_u.c (fputc_unlocked): Likewise.
22253         * libio/fputwc.c (fputwc): Likewise.
22254         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22255         * libio/freopen.c (freopen): Likewise.
22256         * libio/freopen64.c (freopen64): Likewise.
22257         * libio/fseek.c (fseek): Likewise.
22258         * libio/fseeko.c (fseeko): Likewise.
22259         * libio/fseeko64.c (fseeko64): Likewise.
22260         * libio/ftello.c (__ftello): Likewise.
22261         * libio/ftello64.c (ftello64): Likewise.
22262         * libio/fwide.c (fwide): Likewise.
22263         * libio/genops.c (_IO_un_link): Likewise.
22264         (_IO_link_in): Likewise.
22265         (_IO_least_marker): Likewise.
22266         (_IO_switch_to_main_get_area): Likewise.
22267         (_IO_switch_to_backup_area): Likewise.
22268         (_IO_switch_to_get_mode): Likewise.
22269         (_IO_free_backup_area): Likewise.
22270         (_IO_switch_to_put_mode): Likewise.
22271         (__overflow): Likewise.
22272         (__underflow): Likewise.
22273         (__uflow): Likewise.
22274         (_IO_setb): Likewise.
22275         (_IO_doallocbuf): Likewise.
22276         (_IO_default_underflow): Likewise.
22277         (_IO_default_uflow): Likewise.
22278         (_IO_default_xsputn): Likewise.
22279         (_IO_sgetn): Likewise.
22280         (_IO_default_xsgetn): Likewise.
22281         (_IO_sync): Likewise.
22282         (_IO_default_setbuf): Likewise.
22283         (_IO_default_seekpos): Likewise.
22284         (_IO_default_doallocate): Likewise.
22285         (_IO_init): Likewise.
22286         (_IO_old_init): Likewise.
22287         (_IO_default_sync): Likewise.
22288         (_IO_default_finish): Likewise.
22289         (_IO_default_seekoff): Likewise.
22290         (_IO_sputbackc): Likewise.
22291         (_IO_sungetc): Likewise.
22292         (_IO_set_column): Likewise.
22293         (_IO_set_column): Likewise.
22294         (_IO_adjust_column): Likewise.
22295         (_IO_get_column): Likewise.
22296         (_IO_init_marker): Likewise.
22297         (_IO_remove_marker): Likewise.
22298         (_IO_marker_difference): Likewise.
22299         (_IO_marker_delta): Likewise.
22300         (_IO_seekmark): Likewise.
22301         (_IO_unsave_markers): Likewise.
22302         (_IO_nobackup_pbackfail): Likewise.
22303         (_IO_default_pbackfail): Likewise.
22304         (_IO_default_seek): Likewise.
22305         (_IO_default_stat): Likewise.
22306         (_IO_default_read): Likewise.
22307         (_IO_default_write): Likewise.
22308         (_IO_default_showmanyc): Likewise.
22309         (_IO_default_imbue): Likewise.
22310         (_IO_iter_next): Likewise.
22311         (_IO_iter_file): Likewise.
22312         * libio/getc.c (_IO_getc): Likewise.
22313         * libio/getwc.c (_IO_getwc): Likewise.
22314         * libio/iofclose.c (_IO_new_fclose): Likewise.
22315         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22316         * libio/iofflush.c (_IO_fflush): Likewise.
22317         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22318         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22319         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22320         * libio/iofgets.c (_IO_fgets): Likewise.
22321         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22322         * libio/iofgetws.c (fgetws): Likewise.
22323         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22324         * libio/iofopen64.c (_IO_fopen64): Likewise.
22325         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22326         (_IO_cookie_write): Likewise.
22327         (_IO_cookie_seek): Likewise.
22328         (_IO_cookie_close): Likewise.
22329         (_IO_cookie_seekoff): Likewise.
22330         (_IO_old_cookie_seek): Likewise.
22331         * libio/iofputs.c (_IO_fputs): Likewise.
22332         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22333         * libio/iofputws.c (fputws): Likewise.
22334         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22335         * libio/iofread.c (_IO_fread): Likewise.
22336         * libio/iofread_u.c (__fread_unlocked): Likewise.
22337         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22338         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22339         * libio/ioftell.c (_IO_ftell): Likewise.
22340         * libio/iofwrite.c (_IO_fwrite): Likewise.
22341         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22342         * libio/iogets.c (_IO_gets): Likewise.
22343         * libio/iopadn.c (_IO_padn): Likewise.
22344         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22345         (_IO_new_popen): Likewise.
22346         (_IO_new_proc_close): Likewise.
22347         * libio/ioputs.c (_IO_puts): Likewise.
22348         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22349         (_IO_seekoff): Likewise.
22350         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22351         (_IO_seekpos): Likewise.
22352         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22353         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22354         * libio/ioungetc.c (_IO_ungetc): Likewise.
22355         * libio/ioungetwc.c (ungetwc): Likewise.
22356         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22357         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22358         * libio/iowpadn.c (_IO_wpadn): Likewise.
22359         * libio/libc_fatal.c (__libc_fatal): Likewise.
22360         * libio/memstream.c (__open_memstream): Likewise.
22361         (_IO_mem_sync): Likewise.
22362         (_IO_mem_finish): Likewise.
22363         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22364         (_IO_old_file_close_it): Likewise.
22365         (_IO_old_file_finish): Likewise.
22366         (_IO_old_file_fopen): Likewise.
22367         (_IO_old_file_attach): Likewise.
22368         (_IO_old_file_setbuf): Likewise.
22369         (_IO_old_do_write): Likewise.
22370         (old_do_write): Likewise.
22371         (_IO_old_file_underflow): Likewise.
22372         (_IO_old_file_overflow): Likewise.
22373         (_IO_old_file_sync): Likewise.
22374         (_IO_old_file_seekoff): Likewise.
22375         (_IO_old_file_write): Likewise.
22376         (_IO_old_file_xsputn): Likewise.
22377         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22378         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22379         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22380         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22381         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22382         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22383         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22384         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22385         (_IO_old_popen): Likewise.
22386         (_IO_old_proc_close): Likewise.
22387         * libio/oldpclose.c (__old_pclose): Likewise.
22388         * libio/pclose.c (__new_pclose): Likewise.
22389         * libio/peekc.c (_IO_peekc_locked): Likewise.
22390         * libio/putc.c (_IO_putc): Likewise.
22391         * libio/putc_u.c (putc_unlocked): Likewise.
22392         * libio/putchar.c (putchar): Likewise.
22393         * libio/putchar_u.c (putchar_unlocked): Likewise.
22394         * libio/putwc.c (putwc): Likewise.
22395         * libio/putwc_u.c (putwc_unlocked): Likewise.
22396         * libio/putwchar.c (putwchar): Likewise.
22397         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22398         * libio/rewind.c (rewind): Likewise.
22399         * libio/setbuf.c (setbuf): Likewise.
22400         * libio/setlinebuf.c (setlinebuf): Likewise.
22401         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22402         * libio/vscanf.c (_IO_vscanf): Likewise.
22403         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22404         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22405         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22406         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22407         (_IO_switch_to_main_wget_area): Likewise.
22408         (_IO_switch_to_wbackup_area): Likewise.
22409         (_IO_wsetb): Likewise.
22410         (_IO_wdefault_pbackfail): Likewise.
22411         (_IO_wdefault_finish): Likewise.
22412         (_IO_wdefault_uflow): Likewise.
22413         (__woverflow): Likewise.
22414         (__wuflow): Likewise.
22415         (__wunderflow): Likewise.
22416         (_IO_wdefault_xsputn): Likewise.
22417         (_IO_wdefault_xsgetn): Likewise.
22418         (_IO_wdoallocbuf): Likewise.
22419         (_IO_wdefault_doallocate): Likewise.
22420         (_IO_switch_to_wget_mode): Likewise.
22421         (_IO_free_wbackup_area): Likewise.
22422         (_IO_switch_to_wput_mode): Likewise.
22423         (_IO_sputbackwc): Likewise.
22424         (_IO_sungetwc): Likewise.
22425         (_IO_adjust_wcolumn): Likewise.
22426         (_IO_init_wmarker): Likewise.
22427         (_IO_wmarker_delta): Likewise.
22428         (_IO_seekwmark): Likewise.
22429         (_IO_unsave_wmarkers): Likewise.
22430         * libio/wmemstream.c (open_wmemstream): Likewise.
22431         (_IO_wmem_sync): Likewise.
22432         (_IO_wmem_finish): Likewise.
22433         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22434         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22435         * locale/programs/simple-hash.c (init_hash): Likewise.
22436         (delete_hash): Likewise.
22437         (insert_entry): Likewise.
22438         (set_entry): Likewise.
22439         (next_prime): Likewise.
22440         (is_prime): Likewise.
22441         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22442         (xmalloc): Likewise.
22443         (xrealloc): Likewise.
22444         * locale/programs/xstrdup.c (xstrdup): Likewise.
22445         * localedata/collate-test.c (xstrcoll): Likewise.
22446         * localedata/xfrm-test.c (xstrcmp): Likewise.
22447         * login/getlogin_r.c (__getlogin_r): Likewise.
22448         * login/getpt.c (__posix_openpt): Likewise.
22449         * login/login_tty.c (login_tty): Likewise.
22450         * login/setlogin.c (setlogin): Likewise.
22451         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22452         (mach_msg_destroy_port): Likewise.
22453         (mach_msg_destroy_memory): Likewise.
22454         * malloc/mcheck.c (flood): Likewise.
22455         * misc/acct.c (acct): Likewise.
22456         * misc/brk.c (__brk): Likewise.
22457         * misc/chflags.c (chflags): Likewise.
22458         * misc/chroot.c (chroot): Likewise.
22459         * misc/fchflags.c (fchflags): Likewise.
22460         * misc/fstab.c (getfsspec): Likewise.
22461         (getfsfile): Likewise.
22462         * misc/fsync.c (fsync): Likewise.
22463         * misc/ftruncate.c (__ftruncate): Likewise.
22464         * misc/ftruncate64.c (__ftruncate64): Likewise.
22465         * misc/getdomain.c (getdomainname): Likewise.
22466         (getdomainname): Likewise.
22467         * misc/gethostname.c (__gethostname): Likewise.
22468         * misc/getpass.c (getpass): Likewise.
22469         * misc/getttyent.c (skip): Likewise.
22470         (value): Likewise.
22471         * misc/gtty.c (gtty): Likewise.
22472         * misc/hsearch.c (hsearch): Likewise.
22473         (hcreate): Likewise.
22474         * misc/hsearch_r.c (__hcreate_r): Likewise.
22475         (__hdestroy_r): Likewise.
22476         * misc/ioctl.c (__ioctl): Likewise.
22477         * misc/mkdtemp.c (mkdtemp): Likewise.
22478         * misc/mkostemp.c (mkostemp): Likewise.
22479         * misc/mkostemp64.c (mkostemp64): Likewise.
22480         * misc/mkostemps.c (mkostemps): Likewise.
22481         * misc/mkostemps64.c (mkostemps64): Likewise.
22482         * misc/mkstemp.c (mkstemp): Likewise.
22483         * misc/mkstemp64.c (mkstemp64): Likewise.
22484         * misc/mkstemps.c (mkstemps): Likewise.
22485         * misc/mkstemps64.c (mkstemps64): Likewise.
22486         * misc/mktemp.c (__mktemp): Likewise.
22487         * misc/preadv.c (preadv): Likewise.
22488         * misc/preadv64.c (preadv64): Likewise.
22489         * misc/pwritev.c (pwritev): Likewise.
22490         * misc/pwritev64.c (pwritev64): Likewise.
22491         * misc/readv.c (__readv): Likewise.
22492         * misc/revoke.c (revoke): Likewise.
22493         * misc/setdomain.c (setdomainname): Likewise.
22494         * misc/setegid.c (setegid): Likewise.
22495         * misc/seteuid.c (seteuid): Likewise.
22496         * misc/sethostid.c (sethostid): Likewise.
22497         * misc/sethostname.c (sethostname): Likewise.
22498         * misc/setregid.c (__setregid): Likewise.
22499         * misc/setreuid.c (__setreuid): Likewise.
22500         * misc/sstk.c (sstk): Likewise.
22501         * misc/stty.c (stty): Likewise.
22502         * misc/syscall.c (syscall): Likewise.
22503         * misc/syslog.c (setlogmask): Likewise.
22504         * misc/truncate.c (__truncate): Likewise.
22505         * misc/truncate64.c (truncate64): Likewise.
22506         * misc/ualarm.c (ualarm): Likewise.
22507         * misc/usleep.c (usleep): Likewise.
22508         * misc/ustat.c (ustat): Likewise.
22509         * misc/writev.c (__writev): Likewise.
22510         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22511         * nptl/old_pthread_cond_broadcast.c
22512         (__pthread_cond_broadcast_2_0): Likewise.
22513         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22514         Likewise.
22515         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22516         Likewise.
22517         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22518         Likewise.
22519         * nptl/pt-raise.c (raise): Likewise.
22520         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22521         Likewise.
22522         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22523         * nptl/pthread_barrierattr_destroy.c
22524         (pthread_barrierattr_destroy): Likewise.
22525         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22526         Likewise.
22527         * nptl/pthread_barrierattr_setpshared.c
22528         (pthread_barrierattr_setpshared): Likewise.
22529         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22530         Likewise.
22531         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22532         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22533         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22534         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22535         Likewise.
22536         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22537         Likewise.
22538         * nptl/pthread_condattr_getpshared.c
22539         (pthread_condattr_getpshared): Likewise.
22540         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22541         Likewise.
22542         * nptl/pthread_condattr_setpshared.c
22543         (pthread_condattr_setpshared): Likewise.
22544         * nptl/pthread_detach.c (pthread_detach): Likewise.
22545         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22546         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22547         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22548         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22549         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22550         Likewise.
22551         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22552         Likewise.
22553         * nptl/pthread_mutex_getprioceiling.c
22554         (pthread_mutex_getprioceiling): Likewise.
22555         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22556         Likewise.
22557         * nptl/pthread_mutexattr_getprotocol.c
22558         (pthread_mutexattr_getprotocol): Likewise.
22559         * nptl/pthread_mutexattr_getpshared.c
22560         (pthread_mutexattr_getpshared): Likewise.
22561         * nptl/pthread_mutexattr_getrobust.c
22562         (pthread_mutexattr_getrobust): Likewise.
22563         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22564         Likewise.
22565         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22566         Likewise.
22567         * nptl/pthread_mutexattr_setprioceiling.c
22568         (pthread_mutexattr_setprioceiling): Likewise.
22569         * nptl/pthread_mutexattr_setprotocol.c
22570         (pthread_mutexattr_setprotocol): Likewise.
22571         * nptl/pthread_mutexattr_setpshared.c
22572         (pthread_mutexattr_setpshared): Likewise.
22573         * nptl/pthread_mutexattr_setrobust.c
22574         (pthread_mutexattr_setrobust): Likewise.
22575         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22576         Likewise.
22577         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22578         Likewise.
22579         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22580         Likewise.
22581         * nptl/pthread_rwlockattr_getkind_np.c
22582         (pthread_rwlockattr_getkind_np): Likewise.
22583         * nptl/pthread_rwlockattr_getpshared.c
22584         (pthread_rwlockattr_getpshared): Likewise.
22585         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22586         Likewise.
22587         * nptl/pthread_rwlockattr_setkind_np.c
22588         (pthread_rwlockattr_setkind_np): Likewise.
22589         * nptl/pthread_rwlockattr_setpshared.c
22590         (pthread_rwlockattr_setpshared): Likewise.
22591         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22592         Likewise.
22593         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22594         Likewise.
22595         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22596         Likewise.
22597         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22598         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22599         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22600         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22601         * nptl/sem_close.c (sem_close): Likewise.
22602         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22603         * nptl/sem_init.c (__old_sem_init): Likewise.
22604         * nptl/sigaction.c (__sigaction): Likewise.
22605         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22606         * posix/_exit.c (_exit): Likewise.
22607         * posix/alarm.c (alarm): Likewise.
22608         * posix/confstr.c (confstr): Likewise.
22609         * posix/fpathconf.c (__fpathconf): Likewise.
22610         * posix/getgroups.c (__getgroups): Likewise.
22611         * posix/getpgid.c (__getpgid): Likewise.
22612         * posix/group_member.c (__group_member): Likewise.
22613         * posix/pathconf.c (__pathconf): Likewise.
22614         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22615         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22616         * posix/setgid.c (__setgid): Likewise.
22617         * posix/setpgid.c (__setpgid): Likewise.
22618         * posix/setuid.c (__setuid): Likewise.
22619         * posix/sleep.c (__sleep): Likewise.
22620         * posix/sysconf.c (__sysconf): Likewise.
22621         * posix/times.c (__times): Likewise.
22622         * posix/uname.c (__uname): Likewise.
22623         * posix/waitid.c (__waitid): Likewise.
22624         * pwd/getpw.c (__getpw): Likewise.
22625         * resolv/base64.c (b64_pton): Likewise.
22626         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22627         * resolv/gethnamaddr.c (Dprintf): Likewise.
22628         (gethostbyname): Likewise.
22629         (gethostbyname2): Likewise.
22630         (gethostbyaddr): Likewise.
22631         (_sethtent): Likewise.
22632         (_gethtbyname): Likewise.
22633         (_gethtbyname2): Likewise.
22634         (_gethtbyaddr): Likewise.
22635         (map_v4v6_address): Likewise.
22636         (map_v4v6_hostent): Likewise.
22637         (addrsort): Likewise.
22638         (ht_sethostent): Likewise.
22639         (ht_gethostbyname): Likewise.
22640         (ht_gethostbyaddr): Likewise.
22641         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22642         (inet_net_ntop_ipv4): Likewise.
22643         * resolv/inet_neta.c (inet_neta): Likewise.
22644         * resolv/inet_ntop.c (inet_ntop): Likewise.
22645         (inet_ntop4): Likewise.
22646         (inet_ntop6): Likewise.
22647         * resolv/inet_pton.c (__inet_pton): Likewise.
22648         (inet_pton4): Likewise.
22649         (inet_pton6): Likewise.
22650         * resolv/res_debug.c (loc_aton): Likewise.
22651         (loc_ntoa): Likewise.
22652         * resource/getpriority.c (__getpriority): Likewise.
22653         * resource/getrusage.c (__getrusage): Likewise.
22654         * resource/nice.c (nice): Likewise.
22655         * resource/setpriority.c (__setpriority): Likewise.
22656         * resource/setrlimit64.c (setrlimit64): Likewise.
22657         * resource/vlimit.c (vlimit): Likewise.
22658         * resource/vtimes.c (vtimes): Likewise.
22659         * rt/aio_error.c (aio_error): Likewise.
22660         * rt/aio_return.c (aio_return): Likewise.
22661         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22662         * signal/kill.c (__kill): Likewise.
22663         * signal/killpg.c (killpg): Likewise.
22664         * signal/raise.c (raise): Likewise.
22665         * signal/sigaction.c (__sigaction): Likewise.
22666         * signal/sigaddset.c (sigaddset): Likewise.
22667         * signal/sigaltstack.c (sigaltstack): Likewise.
22668         * signal/sigandset.c (sigandset): Likewise.
22669         * signal/sigblock.c (__sigblock): Likewise.
22670         * signal/sigdelset.c (sigdelset): Likewise.
22671         * signal/sigempty.c (sigemptyset): Likewise.
22672         * signal/sigfillset.c (sigfillset): Likewise.
22673         * signal/sighold.c (sighold): Likewise.
22674         * signal/sigignore.c (sigignore): Likewise.
22675         * signal/sigintr.c (siginterrupt): Likewise.
22676         * signal/sigisempty.c (sigisemptyset): Likewise.
22677         * signal/sigismem.c (sigismember): Likewise.
22678         * signal/signal.c (signal): Likewise.
22679         * signal/sigorset.c (sigorset): Likewise.
22680         * signal/sigpause.c (__sigpause): Likewise.
22681         * signal/sigpending.c (sigpending): Likewise.
22682         * signal/sigprocmask.c (__sigprocmask): Likewise.
22683         * signal/sigrelse.c (sigrelse): Likewise.
22684         * signal/sigreturn.c (__sigreturn): Likewise.
22685         * signal/sigset.c (sigset): Likewise.
22686         * signal/sigsetmask.c (__sigsetmask): Likewise.
22687         * signal/sigstack.c (sigstack): Likewise.
22688         * signal/sigsuspend.c (__sigsuspend): Likewise.
22689         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22690         * signal/sysv_signal.c (__sysv_signal): Likewise.
22691         * socket/accept.c (accept): Likewise.
22692         * socket/accept4.c (__libc_accept4): Likewise.
22693         * socket/bind.c (__bind): Likewise.
22694         * socket/connect.c (__connect): Likewise.
22695         * socket/getpeername.c (getpeername): Likewise.
22696         * socket/getsockname.c (__getsockname): Likewise.
22697         * socket/getsockopt.c (getsockopt): Likewise.
22698         * socket/listen.c (__listen): Likewise.
22699         * socket/recv.c (__recv): Likewise.
22700         * socket/recvmsg.c (__recvmsg): Likewise.
22701         * socket/send.c (__send): Likewise.
22702         * socket/sendmsg.c (__sendmsg): Likewise.
22703         * socket/shutdown.c (shutdown): Likewise.
22704         * socket/sockatmark.c (sockatmark): Likewise.
22705         * socket/socket.c (__socket): Likewise.
22706         * stdio-common/ctermid.c (ctermid): Likewise.
22707         * stdio-common/cuserid.c (cuserid): Likewise.
22708         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22709         * stdio-common/remove.c (remove): Likewise.
22710         * stdio-common/rename.c (rename): Likewise.
22711         * stdio-common/renameat.c (renameat): Likewise.
22712         * stdio-common/tempname.c (__gen_tempname): Likewise.
22713         * stdio-common/xbug.c (InitBuffer): Likewise.
22714         (AppendToBuffer): Likewise.
22715         (ReadFile): Likewise.
22716         * stdlib/a64l.c (a64l): Likewise.
22717         * stdlib/drand48_r.c (drand48_r): Likewise.
22718         * stdlib/getcontext.c (getcontext): Likewise.
22719         * stdlib/getenv.c (getenv): Likewise.
22720         * stdlib/l64a.c (l64a): Likewise.
22721         * stdlib/llabs.c (llabs): Likewise.
22722         * stdlib/lldiv.c (lldiv): Likewise.
22723         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22724         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22725         * stdlib/putenv.c (putenv): Likewise.
22726         * stdlib/random.c (__srandom): Likewise.
22727         (__initstate): Likewise.
22728         (__setstate): Likewise.
22729         * stdlib/random_r.c (__srandom_r): Likewise.
22730         (__setstate_r): Likewise.
22731         (__random_r): Likewise.
22732         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22733         * stdlib/setcontext.c (setcontext): Likewise.
22734         * stdlib/setenv.c (setenv): Likewise.
22735         (unsetenv): Likewise.
22736         * stdlib/srand48.c (srand48): Likewise.
22737         * stdlib/srand48_r.c (__srand48_r): Likewise.
22738         * stdlib/swapcontext.c (swapcontext): Likewise.
22739         * stdlib/system.c (__libc_system): Likewise.
22740         * stdlib/tst-strtod.c (expand): Likewise.
22741         * stdlib/tst-strtol.c (expand): Likewise.
22742         * stdlib/tst-strtoll.c (expand): Likewise.
22743         * streams/fattach.c (fattach): Likewise.
22744         * streams/fdetach.c (fdetach): Likewise.
22745         * streams/getmsg.c (getmsg): Likewise.
22746         * streams/isastream.c (isastream): Likewise.
22747         * string/ffs.c (__ffs): Likewise.
22748         * string/ffsll.c (ffsll): Likewise.
22749         * string/memcmp.c (memcmp_common_alignment): Likewise.
22750         (memcmp_not_common_alignment): Likewise.
22751         (MEMCMP): Likewise.
22752         * string/memcpy.c (memcpy): Likewise.
22753         * string/memmove.c (MEMMOVE): Likewise.
22754         * string/memset.c (memset): Likewise.
22755         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22756         * string/strchrnul.c (STRCHRNUL): Likewise.
22757         * string/strerror.c (strerror): Likewise.
22758         * string/strndup.c (__strndup): Likewise.
22759         * string/strverscmp.c (__strverscmp): Likewise.
22760         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22761         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22762         (clnttcp_freeres): Likewise.
22763         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22764         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22765         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22766         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22767         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22768         (xdr_callhdr): Likewise.
22769         * sunrpc/rpcinfo.c (udpping): Likewise.
22770         (tcpping): Likewise.
22771         (pstatus): Likewise.
22772         (pmapdump): Likewise.
22773         (brdcst): Likewise.
22774         (deletereg): Likewise.
22775         (getprognum): Likewise.
22776         (getvers): Likewise.
22777         (get_inet_address): Likewise.
22778         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22779         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22780         (svcudp_stat): Likewise.
22781         (svcudp_recv): Likewise.
22782         (svcudp_reply): Likewise.
22783         (svcudp_getargs): Likewise.
22784         (svcudp_freeargs): Likewise.
22785         (svcudp_destroy): Likewise.
22786         * sunrpc/xdr.c (xdr_bytes): Likewise.
22787         (xdr_netobj): Likewise.
22788         (xdr_string): Likewise.
22789         (xdr_wrapstring): Likewise.
22790         * sunrpc/xdr_float.c (xdr_float): Likewise.
22791         (xdr_double): Likewise.
22792         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22793         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22794         * sysvipc/ftok.c (ftok): Likewise.
22795         * sysvipc/msgctl.c (msgctl): Likewise.
22796         * sysvipc/msgget.c (msgget): Likewise.
22797         * sysvipc/msgrcv.c (msgrcv): Likewise.
22798         * sysvipc/msgsnd.c (msgsnd): Likewise.
22799         * sysvipc/semget.c (semget): Likewise.
22800         * sysvipc/semop.c (semop): Likewise.
22801         * sysvipc/shmat.c (shmat): Likewise.
22802         * sysvipc/shmctl.c (shmctl): Likewise.
22803         * sysvipc/shmdt.c (shmdt): Likewise.
22804         * sysvipc/shmget.c (shmget): Likewise.
22805         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22806         * termios/speed.c (cfgetospeed): Likewise.
22807         (cfgetispeed): Likewise.
22808         (cfsetospeed): Likewise.
22809         (cfsetispeed): Likewise.
22810         * termios/tcflow.c (tcflow): Likewise.
22811         * termios/tcflush.c (tcflush): Likewise.
22812         * termios/tcgetattr.c (__tcgetattr): Likewise.
22813         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22814         * termios/tcgetsid.c (tcgetsid): Likewise.
22815         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22816         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22817         * time/adjtime.c (__adjtime): Likewise.
22818         * time/dysize.c (dysize): Likewise.
22819         * time/ftime.c (ftime): Likewise.
22820         * time/getitimer.c (__getitimer): Likewise.
22821         * time/gettimeofday.c (__gettimeofday): Likewise.
22822         * time/gmtime.c (__gmtime_r): Likewise.
22823         (gmtime): Likewise.
22824         * time/localtime.c (__localtime_r): Likewise.
22825         (localtime): Likewise.
22826         * time/offtime.c (__offtime): Likewise.
22827         * time/settimeofday.c (__settimeofday): Likewise.
22828         * time/stime.c (stime): Likewise.
22829         * time/strftime_l.c (tm_diff): Likewise.
22830         (iso_week_days): Likewise.
22831         * time/strptime.c (strptime): Likewise.
22832         * time/time.c (time): Likewise.
22833         * time/timespec_get.c (timespec_get): Likewise.
22834         * time/tzset.c (tzset_internal): Likewise.
22835         (compute_change): Likewise.
22836         (__tz_compute): Likewise.
22837         * wcsmbs/btowc.c (__btowc): Likewise.
22838         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22839         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22840         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22841         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22842         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22843         * wcsmbs/wcscat.c (__wcscat): Likewise.
22844         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22845         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22846         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22847         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22848         * wcsmbs/wcsdup.c (wcsdup): Likewise.
22849         * wcsmbs/wcslen.c (__wcslen): Likewise.
22850         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
22851         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
22852         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
22853         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
22854         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22855         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
22856         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22857         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22858         * wcsmbs/wcstok.c (wcstok): Likewise.
22859         * wcsmbs/wctob.c (wctob): Likewise.
22860         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
22861         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22862         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
22863         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
22864         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
22865         * wcsmbs/wmemset.c (__wmemset): Likewise.
22866         * wctype/wcfuncs.c (__towlower): Likewise.
22867         (__towupper): Likewise.
22869         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
22870         (lll_unlock_elision): Add adapt_count parameter.
22872 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22874         * sysdeps/nptl/configure.ac: Do not give errors based on the
22875         results of top-level configure tests.
22876         * sysdeps/nptl/configure: Regenerated.
22878         * configure.ac (libc_cv_Bgroup): Remove configure test.
22879         * configure: Regenerated.
22880         * config.make.in (have-Bgroup): Remove variable.
22882         * configure.ac (sizeof_long_double): Remove configure test.
22883         * configure: Regenerated.
22884         * config.make.in (sizeof-long-double): Remove variable.
22886         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
22887         * configure: Regenerated.
22888         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
22889         variable.
22890         (exceptions): Likewise.
22891         * sysdeps/arm/configure: Regenerated.
22892         * config.make.in (exceptions): Remove variable.
22893         * Makeconfig (uses-callbacks): Use -fexceptions instead of
22894         $(exceptions).
22895         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
22896         (CFLAGS-vdprintf_chk.c): Likewise.
22897         (CFLAGS-printf_chk.c): Likewise.
22898         (CFLAGS-fprintf_chk.c): Likewise.
22899         (CFLAGS-vprintf_chk.c): Likewise.
22900         (CFLAGS-vfprintf_chk.c): Likewise.
22901         (CFLAGS-gets_chk.c): Likewise.
22902         (CFLAGS-fgets_chk.c): Likewise.
22903         (CFLAGS-fgets_u_chk.c): Likewise.
22904         (CFLAGS-fread_chk.c): Likewise.
22905         (CFLAGS-fread_u_chk.c): Likewise.
22906         (CFLAGS-wprintf_chk.c): Likewise.
22907         (CFLAGS-fwprintf_chk.c): Likewise.
22908         (CFLAGS-vwprintf_chk.c): Likewise.
22909         (CFLAGS-vfwprintf_chk.c): Likewise.
22910         (CFLAGS-fgetws_chk.c): Likewise.
22911         (CFLAGS-fgetws_u_chk.c): Likewise.
22912         * libio/Makefile (CFLAGS-fileops.c): Likewise.
22913         (CFLAGS-fputc.c): Likewise.
22914         (CFLAGS-fputwc.c): Likewise.
22915         (CFLAGS-freopen64.c): Likewise.
22916         (CFLAGS-freopen.c): Likewise.
22917         (CFLAGS-fseek.c): Likewise.
22918         (CFLAGS-fseeko64.c): Likewise.
22919         (CFLAGS-fseeko.c): Likewise.
22920         (CFLAGS-ftello64.c): Likewise.
22921         (CFLAGS-ftello.c): Likewise.
22922         (CFLAGS-fwide.c): Likewise.
22923         (CFLAGS-genops.c): Likewise.
22924         (CFLAGS-getc.c): Likewise.
22925         (CFLAGS-getchar.c): Likewise.
22926         (CFLAGS-getwc.c): Likewise.
22927         (CFLAGS-getwchar.c): Likewise.
22928         (CFLAGS-iofclose.c): Likewise.
22929         (CFLAGS-iofflush.c): Likewise.
22930         (CFLAGS-iofgetpos64.c): Likewise.
22931         (CFLAGS-iofgetpos.c): Likewise.
22932         (CFLAGS-iofgets.c): Likewise.
22933         (CFLAGS-iofgetws.c): Likewise.
22934         (CFLAGS-iofputs.c): Likewise.
22935         (CFLAGS-iofputws.c): Likewise.
22936         (CFLAGS-iofread.c): Likewise.
22937         (CFLAGS-iofsetpos64.c): Likewise.
22938         (CFLAGS-iofsetpos.c): Likewise.
22939         (CFLAGS-ioftell.c): Likewise.
22940         (CFLAGS-iofwrite.c): Likewise.
22941         (CFLAGS-iogetdelim.c): Likewise.
22942         (CFLAGS-iogetline.c): Likewise.
22943         (CFLAGS-iogets.c): Likewise.
22944         (CFLAGS-iogetwline.c): Likewise.
22945         (CFLAGS-ioputs.c): Likewise.
22946         (CFLAGS-ioseekoff.c): Likewise.
22947         (CFLAGS-ioseekpos.c): Likewise.
22948         (CFLAGS-iosetbuffer.c): Likewise.
22949         (CFLAGS-iosetvbuf.c): Likewise.
22950         (CFLAGS-ioungetc.c): Likewise.
22951         (CFLAGS-ioungetwc.c): Likewise.
22952         (CFLAGS-oldfileops.c): Likewise.
22953         (CFLAGS-oldiofclose.c): Likewise.
22954         (CFLAGS-oldiofgetpos64.c): Likewise.
22955         (CFLAGS-oldiofgetpos.c): Likewise.
22956         (CFLAGS-oldiofsetpos64.c): Likewise.
22957         (CFLAGS-oldiofsetpos.c): Likewise.
22958         (CFLAGS-peekc.c): Likewise.
22959         (CFLAGS-putc.c): Likewise.
22960         (CFLAGS-putchar.c): Likewise.
22961         (CFLAGS-putwc.c): Likewise.
22962         (CFLAGS-putwchar.c): Likewise.
22963         (CFLAGS-rewind.c): Likewise.
22964         (CFLAGS-wfileops.c): Likewise.
22965         (CFLAGS-wgenops.c): Likewise.
22966         (CFLAGS-oldiofopen.c): Likewise.
22967         (CFLAGS-iofopen.c): Likewise.
22968         (CFLAGS-iofopen64.c): Likewise.
22969         (CFLAGS-oldtmpfile.c): Likewise.
22970         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22971         (CFLAGS-fprintf.c): Likewise.
22972         (CFLAGS-printf.c): Likewise.
22973         (CFLAGS-vfwprintf.c): Likewise.
22974         (CFLAGS-vfscanf.c): Likewise.
22975         (CFLAGS-vfwscanf.c): Likewise.
22976         (CFLAGS-fscanf.c): Likewise.
22977         (CFLAGS-scanf.c): Likewise.
22978         (CFLAGS-isoc99_vfscanf.c): Likewise.
22979         (CFLAGS-isoc99_vscanf.c): Likewise.
22980         (CFLAGS-isoc99_fscanf.c): Likewise.
22981         (CFLAGS-isoc99_scanf.c): Likewise.
22982         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
22983         (CFLAGS-isoc99_fwscanf.c): Likewise.
22984         (CFLAGS-isoc99_vwscanf.c): Likewise.
22985         (CFLAGS-isoc99_vfwscanf.c): Likewise.
22987         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
22988         after mkstemp64.
22989         * login/tst-utmp.c (do_prepare): Likewise.
22990         * rt/tst-aio.c (do_prepare): Likewise.
22991         * rt/tst-aio64.c (do_prepare): Likewise.
22993 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22995         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22996         (__lll_lock_elision): Remove adapt_count decrement...
22997         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22998         (__lll_trylock_elision): Likewise.
22999         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23000         (__lll_unlock_elision): ... to here. And utilize
23001         new adapt_count parameter.
23002         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23003         (__lll_unlock_elision): Update to include adapt_count
23004         parameter.
23005         (lll_unlock_elision): Pass pointer to adapt_count
23006         variable.
23008 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23010         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23011         Add elision adapt_count parameter to list of arguments.
23012         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23013         (lll_unlock_elision): Update with new parameter list
23014         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23015         (lll_unlock_elision): Likewise.
23016         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23017         (lll_unlock_elision): Likewise.
23019 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23021         [BZ #19122]
23022         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23023         attribute_hidden.
23025         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23026         attribute_hidden.
23027         [IS_IN (rtld)] (__strdup): Likewise.
23028         [IS_IN (rtld)] (__strerror_r): Likewise.
23029         [IS_IN (rtld)] (__strsep_g): Likewise.
23030         [IS_IN (rtld)] (memchr): Likewise.
23031         [IS_IN (rtld)] (memcmp): Likewise.
23032         [IS_IN (rtld)] (memcpy): Likewise.
23033         [IS_IN (rtld)] (memmove): Likewise.
23034         [IS_IN (rtld)] (memset): Likewise.
23035         [IS_IN (rtld)] (rawmemchr): Likewise.
23036         [IS_IN (rtld)] (stpcpy): Likewise.
23037         [IS_IN (rtld)] (strchr): Likewise.
23038         [IS_IN (rtld)] (strcmp): Likewise.
23039         [IS_IN (rtld)] (strlen): Likewise.
23040         [IS_IN (rtld)] (strnlen): Likewise.
23041         [IS_IN (rtld)] (strsep): Likewise.
23043         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23044         attribute_hidden.
23045         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23047         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23048         attribute_hidden.
23049         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23051         * include/setjmp.h (__longjmp): Add attribute_hidden.
23052         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23054         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23055         Add attribute_hidden.
23057         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23058         [IS_IN (rtld)] (__open): Likewise.
23059         [IS_IN (rtld)] (__fcntl): Likewise.
23061         * include/dirent.h (__opendirat): Add attribute_hidden.
23062         (__getdents): Likewise.
23063         (__getdents64): Likewise.
23064         (__alloc_dir): Likewise.
23065         [IS_IN (rtld)] (__closedir): Likewise.
23066         [IS_IN (rtld)] (__fdopendir): Likewise.
23067         [IS_IN (rtld)] (__readdir): Likewise.
23068         [IS_IN (rtld)] (__readdir64): Likewise.
23069         [IS_IN (rtld)] (__rewinddir): Likewise.
23071         * include/dlfcn.h (_dl_catch_error): Moved to ...
23072         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23073         attribute_hidden.
23075         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23076         (_itoa_word): Likewise.
23078         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23079         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23080         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23081         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23082         (_dl_higher_prime_number): Likewise.
23083         (_dl_debug_printf_c): Likewise.
23084         (_dl_signal_cerror): Likewise.
23085         (_dl_receive_error): Likewise.
23086         (_dl_reloc_bad_type): Likewise.
23087         (_dl_resolve_conflicts): Likewise.
23088         (_dl_check_all_versions): Likewise.
23089         (_dl_check_map_versions): Likewise.
23090         (_dl_sort_fini): Likewise.
23091         (_dl_debug_initialize): Likewise.
23092         (_dl_init_paths): Likewise.
23093         (_dl_show_auxv): Likewise.
23094         (_dl_next_ld_env_entry): Likewise.
23095         (_dl_important_hwcaps): Likewise.
23096         (_dl_load_cache_lookup): Likewise.
23097         (_dl_update_slotinfo): Likewise.
23098         (_dl_show_scope): Likewise.
23100         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23101         attribute_hidden.
23102         (_wordcopy_fwd_dest_aligned): Likewise.
23103         (_wordcopy_bwd_aligned): Likewise.
23104         (_wordcopy_bwd_dest_aligned): Likewise.
23106         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23107         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23108         Likewise.
23109         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23110         Likewise.
23111         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23113 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23115         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23116         GCC 5 requirement.
23118 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23120         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23121         test.
23122         * sysdeps/i386/configure: Regenerated.
23123         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23124         code unconditional.
23126         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23127         test.
23128         (libc_cv_asm_popsection_directive): Likewise.
23129         * configure: Regenerated.
23130         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23131         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23132         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23133         (__make_section_unallocated): Make definition unconditional.
23134         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23135         Remove conditional definition.
23136         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23137         (__make_section_unallocated): Likewise.
23139         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23140         * configure: Regenerated.
23141         * config.make.in (static-libgcc): Remove variable.
23142         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23143         $(static-libgcc).
23144         (build-module-helper): Likewise.
23146         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23147         * configure: Regenerated.
23149 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23151         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23152         (struct char_buffer): New type.
23153         (char_buffer_start, char_buffer_size, char_buffer_error)
23154         (char_buffer_rewind, char_buffer_add): New functions.
23155         (ADDW): Remove macro, replaced by the char_buffer_add function.
23156         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23157         of extend_alloca.  Make control flow more explicit.
23159 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23161         [BZ #19137]
23162         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23163         Add -fomit-frame-pointer.
23164         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23166 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23168         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23169         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23170         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23171         only if !__GNUC_PREREQ (5,0).
23172         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23173         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23174         (INTERNAL_SYSCALL_NCS): Likewise.
23175         (LOADREGS_0): New macro for GCC 5.
23176         (ASMARGS_0): Likewise.
23177         (LOADREGS_1): Likewise.
23178         (ASMARGS_1): Likewise.
23179         (LOADREGS_2): Likewise.
23180         (ASMARGS_2): Likewise.
23181         (LOADREGS_3): Likewise.
23182         (ASMARGS_3): Likewise.
23183         (LOADREGS_4): Likewise.
23184         (ASMARGS_4): Likewise.
23185         (LOADREGS_5): Likewise.
23186         (ASMARGS_5): Likewise.
23187         (LOADREGS_6): Likewise.
23188         (ASMARGS_6): Likewise.
23190 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23192         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23193         -fomit-frame-pointer.
23194         (CFLAGS-mmap64.c): Likewise.
23195         (CFLAGS-semtimedop.c): Likewise.
23196         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23197         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23198         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23199         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23201 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23203         [BZ #18928]
23204         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23205         _dl_pointer_guard member.
23206         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23207         initializer.
23208         (security_init): Always set up pointer guard.
23209         (process_envvars): Do not process LD_POINTER_GUARD.
23211 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23213         [BZ #19134]
23214         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23215         (.LC2): Likewise.
23216         (.LC3): Likewise.
23217         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23219 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23221         [BZ #19129]
23222         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23223         r0 and r1.
23225 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23227         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23229 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23231         * include/stap-probe.h: Fix macro definition formatting.
23233 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23235         [BZ #19074]
23236         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23237         load and store num_ifs.
23239 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23241         [BZ #18822]
23242         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23243         (__sched_getaffinity_new): Add libc_hidden_proto and
23244         libc_hidden_def.
23246 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23248         [BZ #19007]
23249         * scripts/localplt.awk: Also allow GOT references.
23250         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23251         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23252         with "+ REL R_386_GLOB_DAT".
23253         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23254         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23256 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23258         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23259         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23260         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23261         Likewise.
23262         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23263         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23264         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23265         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23266         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23267         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23268         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23269         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23270         Likewise.
23271         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23273 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23275         [BZ #19125]
23276         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23277         <math_private.h> and <stdint.h>.
23278         (__llround): Avoid conversions to and from long long int, and
23279         subtractions, where those might raise spurious exceptions.
23280         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23281         <math_private.h> and <stdint.h>.
23282         (__llroundf): Avoid conversions to and from long long int, and
23283         subtractions, where those might raise spurious exceptions.
23285 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23287         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23288         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23289         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23290         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23291         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23292         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23293         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23294         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23295         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23296         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23297         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23298         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23299         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23300         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23301         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23302         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23303         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23304         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23305         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23306         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23307         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23308         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23309         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23310         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23311         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23312         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23313         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23314         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23315         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23316         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23317         (__xstat64_conv): Likewise.
23318         (__xstat32_conv): Likewise.
23320 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23322         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23323         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23324         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23325         <sysdeps/unix/sysv/linux/sysdep.h>.
23326         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23327         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23328         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23329         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23330         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23331         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23332         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23333         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23334         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23339         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23340         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23342         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23343         (sysdep-dl-routines): Add sysdep.
23344         [$(subdir) == nptl] (libpthread-routines): Likewise.
23345         [$(subdir) == rt] (librt-routines): Likewise.
23346         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23347         PIC when branching to SYSCALL_ERROR_LABEL.
23348         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23349         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23350         <sysdeps/unix/sysv/linux/sysdep.h>.
23351         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23352         (SYSCALL_ERROR_ERRNO): Removed.
23353         (SYSCALL_ERROR_HANDLER): Changed to empty.
23354         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23355         (__syscall_error): New prototype.
23356         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23357         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23359 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23361         [BZ #19124]
23362         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23363         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23364         _dl_runtime_resolve_avx.
23365         (_dl_runtime_profile_avx512): Make it a hidden alias of
23366         _dl_runtime_profile_avx.
23368 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23370         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23371         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23372         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23373         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23375         [BZ #16422]
23376         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23377         New configure test.
23378         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23379         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23380         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23381         <math_private.h> and <stdint.h>.
23382         (__llrint): Avoid conversions to long long int where those might
23383         raise spurious exceptions.
23384         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23385         <math_private.h> and <stdint.h>.
23386         (__llrintf): Avoid conversions to long long int where those might
23387         raise spurious exceptions.
23389 2015-10-12  Andreas Schwab  <schwab@suse.de>
23391         [BZ #18969]
23392         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23393         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23394         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23395         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23396         $(gen-locales).
23397         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23398         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23399         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23400         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23401         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23402         $(gen-locales).
23403         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23404         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23405         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23406         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23407         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23408         ($(objpfx)tst-ftell-active-handler.out)
23409         ($(objpfx)tst-ftell-append.out)
23410         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23411         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23412         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23413         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23414         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23415         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23416         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23417         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23418         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23419         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23420         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23421         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23422         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23423         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23424         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23425         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23426         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23427         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23428         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23429         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23430         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23431         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23432         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23433         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23434         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23435         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23436         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23437         $(gen-locales).
23438         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23439         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23440         $(gen-locales).
23441         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23442         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23443         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23444         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23445         $(gen-locales).
23446         * libio/tst_wprintf2.c (main): Use explicit locale.
23447         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23449 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23451         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23452         __msg_sig_post.
23453         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23455 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23457         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23458         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23460         * sysdeps/arm/libm-test-ulps: Regenerated.
23462         [BZ #15470]
23463         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23465         [BZ #16399]
23466         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23467         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23468         and <fix-fp-int-convert-overflow.h>.
23469         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23470         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23471         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23472         and <fix-fp-int-convert-overflow.h>.
23473         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23474         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23475         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23476         <fix-fp-int-convert-overflow.h>.
23477         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23478         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23479         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23480         <fix-fp-int-convert-overflow.h>.
23481         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23482         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23483         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23484         and <fix-fp-int-convert-overflow.h>.
23485         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23486         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23487         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23488         <limits.h> and <fix-fp-int-convert-overflow.h>.
23489         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23490         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23491         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23492         and <fix-fp-int-convert-overflow.h>.
23493         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23494         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23495         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23496         and <fix-fp-int-convert-overflow.h>.
23497         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23498         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23499         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23501 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23503         [BZ #18589]
23504         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23505         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23506         $(gen-locales).
23508 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23509             Phil Blundell <pb@pbcl.net>
23511         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23512         * nptl/tst-cancel26.c: New file.
23513         * nptl/tst-cancel27.c: Likewise.
23515 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23517         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23518         __ILP32__ isn't defined.
23519         (lrint): Likewise.
23520         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23521         (lrintf): Likewise.
23522         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23523         (lrintl): Likewise.
23524         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23525         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23526         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23528 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23530         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23531         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23533         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23534         file.
23535         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23536         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23538 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23540         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23541         configure test.
23542         * sysdeps/i386/configure: Regenerated.
23543         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23544         configure test.
23545         * sysdeps/x86_64/configure: Regenerated.
23546         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23547         Make code unconditional.
23549         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23550         test.
23551         * sysdeps/i386/configure: Regenerated.
23552         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23553         test.
23554         * sysdeps/x86_64/configure: Regenerated.
23555         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23556         Make code unconditional.
23557         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23558         Likewise.
23559         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23560         Likewise.
23561         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23562         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23563         code unconditional.
23564         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23565         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23566         code unconditional.
23567         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23568         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23569         code unconditional.
23570         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23571         code unconditional.
23572         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23573         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23574         code unconditional.
23575         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23576         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23577         code unconditional.
23578         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23579         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23580         code unconditional.
23581         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23582         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23583         code unconditional.
23584         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23585         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23587         [BZ #19095]
23588         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23589         mantissa to long int before shifting left.
23591 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23593         [BZ #19094]
23594         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23595         <limits.h>.
23596         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23597         when result overflows but exception would not result from cast.
23598         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23599         <limits.h>.
23600         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23601         when result overflows but exception would not result from cast.
23602         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23603         <limits.h>.
23604         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23605         when result overflows but exception would not result from cast.
23606         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23607         <limits.h>.
23608         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23609         when result overflows but exception would not result from cast.
23610         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23611         <limits.h>.
23612         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23613         when result overflows but exception would not result from cast.
23614         * math/libm-test.inc (lrint_test_data): Add more tests.
23615         (llrint_test_data): Likewise.
23617 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23619         [BZ #18872]
23620         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23621         Move out from under [$(run-built-tests) = yes] conditional.
23622         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23623         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23625 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23627         [BZ #18589]
23628         * string/Makefile (tests): Add bug-strcoll2.
23629         (LOCALES): Add cs_CZ.UTF-8.
23630         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23632         [BZ #18589]
23633         * string/bug-strcoll2.c: New file.
23634         * locale/categories.def: Revert commit
23635         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23636         * locale/langinfo.h: Likewise.
23637         * locale/localeinfo.h: Likewise.
23638         * locale/C-collate.c: Likewise.
23639         * locale/programs/ld-collate.c (collate_output): Likewise.
23640         * string/strcoll_l.c (STRDIFF): Likewise.
23641         (STRCOLL): Likewise.
23642         * wcsmbs/wcscoll_l.c: Likewise.
23644 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23646         * math/libm-test.inc (lround_test_data): Do not expect the absence
23647         of "inexact" for some tests with non-integer arguments.
23648         (llround_test_data): Likewise.
23650         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23651         test.
23652         (libc_cv_cc_sse2avx): Likewise.
23653         * sysdeps/i386/configure: Regenerated.
23654         * sysdeps/i386/i686/multiarch/Makefile
23655         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23656         [$(subdir) = math].
23657         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23658         code unconditional.
23659         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23660         Likewise.
23661         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23662         Likewise.
23663         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23664         Likewise.
23665         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23666         test.
23667         (libc_cv_cc_sse2avx): Likewise.
23668         * sysdeps/x86_64/configure: Regenerated.
23669         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23670         unconditional.
23671         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23672         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23673         unconditional.
23674         (_dl_runtime_profile)
23675         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23676         conditional code.
23677         * sysdeps/x86_64/fpu/multiarch/Makefile
23678         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23679         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23680         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23681         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23682         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23683         * sysdeps/x86_64/fpu/multiarch/e_log.c
23684         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23685         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23686         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23687         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23688         Likewise.
23689         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23690         Likewise.
23691         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23692         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23693         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23694         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23695         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23696         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23697         (HAVE_SSE2AVX_SUPPORT): Likewise.
23699 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23701         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23702         instead of #pragma optimize.
23704 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23706         [BZ #17195]
23707         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23708         as is similarly done in systrim and _int_free already.
23710 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23712         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23714 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23716         [BZ #19088]
23717         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23718         <limits.h>.
23719         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23720         overflows but exception would not result from cast.
23721         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23722         and <limits.h>.
23723         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23724         overflows but exception would not result from cast.
23725         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23726         <limits.h>.
23727         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23728         overflows but exception would not result from cast.
23729         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23730         <limits.h>.
23731         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23732         overflows but exception would not result from cast.
23733         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23734         <limits.h>.
23735         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23736         overflows but exception would not result from cast.
23737         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23738         <limits.h>.
23739         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23740         overflows but exception would not result from cast.
23741         * math/libm-test.inc (lround_test_data): Add more tests.
23742         (llround_test_data): Likewise.
23744 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23746         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23747         (CFLAGS-ialloc.c): Ditto.
23748         (CFLAGS-scheck.c): Ditto.
23750 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23752         [BZ #19086]
23753         * manual/filesys.texi (Storage Allocation): Fix argument order for
23754         posix_fallocate64.
23756 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23758         [BZ #19085]
23759         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23760         exponent below 48 inside case for non-overflowing exponent.
23761         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23763 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23765         * iconvdata/cp737.h (from_idx): Add const.
23766         * iconvdata/cp775.h (from_idx): Likewise.
23768 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23770         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23771         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23772         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23774         [BZ #19079]
23775         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23776         file, conditioned on [!_LP64].
23777         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23778         [!_LP64] (__lround): Do not define as function or alias.
23779         [!_LP64] (lround): Likewise.
23780         [!_LP64] (__lroundl): Likewise.
23781         [!_LP64] (lroundl): Likewise.
23782         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23783         macro.
23784         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23785         Likewise.
23787 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23789         * math/libm-test.inc (lrint_test_data): Add more tests.
23790         (llrint_test_data): Likewise.
23791         (lround_test_data): Likewise.
23792         (llround_test_data): Likewise.
23794         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23795         (llrint_test_data): Add tests used for lrint.
23797         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23798         test.
23799         * sysdeps/i386/configure: Regenerated.
23800         * sysdeps/i386/i686/multiarch/Makefile
23801         [$(config-cflags-sse4) = yes]: Make code unconditional.
23802         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23803         Likewise.
23804         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23805         Likewise.
23806         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23807         test.
23808         * sysdeps/x86_64/configure: Regenerated.
23809         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23810         Make code unconditional.
23811         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23812         Likewise.
23813         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23814         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23816         * scripts/rpm2dynsym.sh: Remove file.
23818 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23820         * configure.ac (libc_cv_cxx_thread_local): Define.
23821         * configure: Regenerate.
23822         * config.make.in (have-cxx-thread_local): Define.
23823         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23824         (LDLIBS-tst-thread_local1): Define.
23825         (tests): Add tst-thread_local1.
23826         [have-cxx-thread_local != yes] (tests-unsupported): Add
23827         tst-thread_local1.
23828         * nptl/tst-thread_local1.cc: New file.
23830 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23832         [BZ #19078]
23833         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23834         (u_thres): Likewise.
23835         (__expl): Determine whether to call __kernel_standard_l based on
23836         value of result, not argument.
23838         * math/libm-test.inc (scalb_test_data): Add more expectations for
23839         the "inexact" exception.
23841         [BZ #19077]
23842         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23843         0.0L for argument 1.0L.
23845         [BZ #19076]
23846         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23847         constant 0.0L when computing infinite result.
23849 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23851         [BZ #10432]
23852         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
23853         malloc_usable_size.
23855 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23857         [BZ #19018]
23858         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23859         Mangle function pointer before storing it.
23860         (__call_tls_dtors): Demangle function pointer before calling it.
23862 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23864         [BZ #19012]
23865         * iconv/gconv_db.c (gen_steps): Check for additional errors.
23866         Clean up on failure.
23868 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
23870         [BZ #19071]
23871         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
23872         long int variable to store possibly incremented high part of
23873         mantissa.
23874         * math/libm-test.inc (lround_test_data): Add tests used for
23875         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
23876         for tests requiring 64-bit long.  Do not condition tests on
23877         [TEST_FLOAT] unnecessarily.
23878         (llround_test_data): Add tests used for lround.  Add another
23879         expectation for the "inexact" exception.  Do not condition tests
23880         on [TEST_FLOAT] unnecessarily.
23882         [BZ #887]
23883         [BZ #19049]
23884         [BZ #19050]
23885         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
23886         * sysdeps/ieee754/dbl-64/e_log10.c: Include
23887         <fix-int-fp-convert-zero.h>.
23888         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23889         * sysdeps/ieee754/dbl-64/e_log2.c: Include
23890         <fix-int-fp-convert-zero.h>.
23891         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23892         * sysdeps/ieee754/dbl-64/s_erf.c: Include
23893         <fix-int-fp-convert-zero.h>.
23894         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23895         * sysdeps/ieee754/dbl-64/s_logb.c: Include
23896         <fix-int-fp-convert-zero.h>.
23897         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23898         * sysdeps/ieee754/flt-32/e_log10f.c: Include
23899         <fix-int-fp-convert-zero.h>.
23900         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23901         * sysdeps/ieee754/flt-32/e_log2f.c: Include
23902         <fix-int-fp-convert-zero.h>.
23903         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23904         * sysdeps/ieee754/flt-32/s_erff.c: Include
23905         <fix-int-fp-convert-zero.h>.
23906         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23907         * sysdeps/ieee754/flt-32/s_logbf.c: Include
23908         <fix-int-fp-convert-zero.h>.
23909         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23910         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
23911         <fix-int-fp-convert-zero.h>.
23912         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23913         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
23914         <fix-int-fp-convert-zero.h>.
23915         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23916         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
23917         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
23918         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
23919         file.
23920         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
23922 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23924         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23926 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
23928         [BZ #19059]
23929         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
23930         overflowing computation.
23931         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23932         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23933         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23934         Likewise.
23935         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23936         Likewise.
23937         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23938         Likewise.
23939         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23940         Likewise.
23941         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23942         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23943         Likewise.
23944         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23945         Likewise.
23946         * math/libm-test.inc (nexttoward_test_data): Add more tests.
23948         * nss/rewrite_field.c (__nss_rewrite_field): Use
23949         internal_function.
23950         * nss/valid_field.c (__nss_valid_field): Likewise.
23951         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
23953 2015-10-02  Florian Weimer  <fweimer@redhat.com>
23955         [BZ #18724]
23956         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
23957         (__nss_invalid_field_characters, __nss_valid_field)
23958         (__nss_valid_list_field, __nss_rewrite_field): Declare.
23959         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
23960         tst-field.c: New file.
23961         * nss/Makefile (routines): Add valid_field, rewrite_field.
23962         (tests-static): Define unconditionally.
23963         (tests): Include tests-static.
23964         [build-static-nss] (tests-static): Use append.
23965         [build-static-nss] (tests): Remove modification.
23966         * nss/getent.c (print_group): Call putgrent.  Report error.
23967         (print_gshadow): Call putsgent.  Report error.
23968         (print_passwd): Call putpwent.  Report error.
23969         (print_shadow): Call putspent.  Report error.
23970         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
23971         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
23972         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
23973         name, password, directory, shell fields for valid syntax.  Rewrite
23974         GECOS field to match syntax.
23975         * pwd/Makefile (tests): Add tst-putpwent.
23976         * pwd/tst-putpwent.c: New file.
23977         * grp/putgrent.c (putgrent): Convert to ISO function definition.
23978         Check grName, grpasswd, gr_mem fields for valid syntax.
23979         Change loop variable i to size_t.
23980         * grp/Makefile (tests): Add tst-putgrent.
23981         * grp/tst-putgrent.c: New file.
23982         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
23983         valid syntax.
23984         * shadow/Makefile (tests): Add tst-putspent.
23985         * shadow/tst-putspent.c: New file.
23986         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
23987         sg_mem fields for valid syntax.
23988         * gshadow/Makefile (tests): Add tst-putsgent.
23989         * gshadow/tst-putsgent.c: New file.
23991 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23993         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
23994         assembly instructions.
23996 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23998         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
23999         prefix from operands.
24001 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24003         [BZ #16347]
24004         [BZ #19046]
24005         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24006         <libc-internal.h>.
24007         (MAXLGM): Do not use diagnostic control macros.
24008         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24009         threshold for ldbl-128ibm.
24010         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24011         instead of multiplying by log then subtracting.
24012         * math/auto-libm-test-in: Add more tests of lgamma.
24013         * math/auto-libm-test-out: Regenerated.
24015         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24016         (TYPE_HEX_DIG): Likewise.
24017         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24018         precisions when printing floating-point numbers.
24019         (check_float_internal): Likewise.
24021 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24023         [BZ #16620]
24024         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24025         of log (10) rounded downward to 48 bits.
24026         (log10_low): Use corresponding low part of log (10).
24028         [BZ #19032]
24029         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24030         compute result as (x - x) / (x - x) not as 0 / 0.
24031         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24032         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24034         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24035         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24036         and expm1.
24037         * math/auto-libm-test-out: Regenerated.
24038         * math/libm-test.inc (acos_test_data): Add more tests.
24039         (asin_test_data): Likewise.
24040         (asinh_test_data): Likewise.
24041         (atan_test_data): Likewise.
24042         (atanh_test_data): Likewise.
24043         (atan2_test_data): Likewise.
24044         (cbrt_test_data): Likewise.
24045         (ceil_test_data): Likewise.
24046         (copysign_test_data): Likewise.
24047         (cos_test_data): Likewise.
24048         (cosh_test_data): Likewise.
24049         (erf_test_data): Likewise.
24050         (erfc_test_data): Likewise.
24051         (exp_test_data): Likewise.
24052         (exp10_test_data): Likewise.
24053         (exp2_test_data): Likewise.
24054         (expm1_test_data): Likewise.
24055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24057 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24059         [BZ #19006]
24060         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24061         to ...
24062         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24063         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24064         to ...
24065         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24066         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24067         to ...
24068         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24069         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24070         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24071         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24072         to ...
24073         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24074         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24075         Moved to ...
24076         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24077         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24078         Moved to ...
24079         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24080         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24081         to ...
24082         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24083         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24084         Moved to ...
24085         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24086         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24087         to ...
24088         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24089         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24090         Removed.
24091         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24092         Likewise.
24093         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24094         Likewise.
24095         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24096         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24097         Likewise.
24098         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24099         Likewise.
24100         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24101         Likewise.
24102         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24103         Likewise.
24104         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24105         Likewise.
24106         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24107         Likewise.
24108         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24109         Likewise.
24110         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24111         Likewise.
24112         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24113         Likewise.
24114         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24115         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24116         Likewise.
24117         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24118         Likewise.
24119         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24120         Likewise.
24121         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24122         Likewise.
24123         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24124         Likewise.
24125         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24126         Replace ../i486/pthread_cond_timedwait.S with
24127         ../pthread_cond_timedwait.S.
24129 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24131         * math/libm-test.inc (acos_test_data): Refine expectations for
24132         errno and "inexact" exceptions.
24133         (acosh_test_data): Likewise.
24134         (asin_test_data): Likewise.
24135         (asinh_test_data): Likewise.
24136         (atan_test_data): Likewise.
24137         (atanh_test_data): Likewise.
24138         (atan2_test_data): Likewise.
24139         (cbrt_test_data): Likewise.
24140         (ceil_test_data): Likewise.
24141         (copysign_test_data): Likewise.
24142         (cosh_test_data): Likewise.
24143         (erf_test_data): Likewise.
24144         (erfc_test_data): Likewise.
24145         (exp_test_data): Likewise.
24146         (exp10_test_data): Likewise.
24147         (exp2_test_data): Likewise.
24148         (expm1_test_data): Likewise.
24149         (fabs_test_data): Likewise.
24150         (floor_test_data): Likewise.
24151         (fma_test_data): Likewise.
24152         (fmax_test_data): Likewise.
24153         (fmin_test_data): Likewise.
24154         (fmod_test_data): Likewise.
24155         (fpclassify_test_data): Likewise.
24156         (frexp_test_data): Likewise.
24157         (hypot_test_data): Likewise.
24158         (ilogb_test_data): Likewise.
24159         (isgreater_test_data): Likewise.
24160         (isgreaterequal_test_data): Likewise.
24161         (isinf_test_data): Likewise.
24162         (isless_test_data): Likewise.
24163         (islessequal_test_data): Likewise.
24164         (islessgreater_test_data): Likewise.
24165         (isnan_test_data): Likewise.
24166         (isnormal_test_data): Likewise.
24167         (issignaling_test_data): Likewise.
24168         (isunordered_test_data): Likewise.
24169         (j0_test_data): Likewise.
24170         (j1_test_data): Likewise.
24171         (jn_test_data): Likewise.
24172         (lgamma_test_data): Likewise.
24173         (lrint_test_data): Likewise.
24174         (llrint_test_data): Likewise.
24175         (log_test_data): Likewise.
24176         (log10_test_data): Likewise.
24177         (log1p_test_data): Likewise.
24178         (log2_test_data): Likewise.
24179         (logb_test_data): Likewise.
24180         (lround_test_data): Likewise.
24181         (llround_test_data): Likewise.
24182         (modf_test_data): Likewise.
24183         (nearbyint_test_data): Likewise.
24184         (nextafter_test_data): Likewise.
24185         (nexttoward_test_data): Likewise.
24186         (pow_test_data): Likewise.
24187         (remainder_test_data): Likewise.
24188         (remquo_test_data): Likewise.
24189         (rint_test_data): Likewise.
24190         (round_test_data): Likewise.
24191         (signbit_test_data): Likewise.
24192         (sinh_test_data): Likewise.
24193         (sqrt_test_data): Likewise.
24194         (tanh_test_data): Likewise.
24195         (tgamma_test_data): Likewise.
24196         (trunc_test_data): Likewise.
24197         (y0_test_data): Likewise.
24198         (y1_test_data): Likewise.
24199         (yn_test_data): Likewise.
24200         (significand_test_data): Likewise.
24202 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24204         * manual/filesys.texi (Storage Allocation): Document that
24205         posix_fallocate emulation fails when fd is open with O_WRONLY.
24207 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24209         [BZ #19016]
24210         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24211         allow more cases with X^2 + Y^2 >= 0.5.
24212         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24213         normal element in sum instead of special-casing based on values of
24214         arguments.
24215         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24216         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24217         -1 as normal element in sum instead of special-casing based on
24218         values of arguments.
24219         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24220         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24221         (__x2y2m1): Update comment.
24222         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24223         as normal element in sum instead of special-casing based on values
24224         of arguments.
24225         * math/s_clog.c (__clog): Handle more cases using log1p without
24226         hypot.
24227         * math/s_clog10.c (__clog10): Likewise.
24228         * math/s_clog10f.c (__clog10f): Likewise.
24229         * math/s_clog10l.c (__clog10l): Likewise.
24230         * math/s_clogf.c (__clogf): Likewise.
24231         * math/s_clogl.c (__clogl): Likewise.
24232         * math/auto-libm-test-in: Add more tests of clog and clog10.
24233         * math/auto-libm-test-out: Regenerated.
24234         * sysdeps/i386/fpu/libm-test-ulps: Update.
24235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24237 2015-09-28  Martin Sebor  <msebor@redhat.com>
24239         [BZ #18969]
24240         * string/Makefile (LOCALES): Define.
24241         (gen-locales.mk): Include.
24242         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24243         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24244         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24245         on setlocale failure.
24247 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24249         [BZ #18985]
24250         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24251         (__strftime_internal): Likewise.
24252         * time/tst-strftime.c (do_bz18985): New test.
24253         (do_test): Call it.
24255 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24257         [BZ #18956]
24258         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24259         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24260         extracting high part.
24261         * math/auto-libm-test-in: Add another test of pow.
24262         * math/auto-libm-test-out: Regenerated.
24263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24265 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24267         [BZ #18825]
24268         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24269         New macro.
24270         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24271         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24272         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24273         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24274         DBL_NARROW_EVAL, reloading the PIC register as needed.
24275         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24276         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24277         FLT_NARROW_EVAL.  Use separate return path for case when first
24278         argument is NaN.
24279         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24280         DEFINE_LDBL_MIN.
24281         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24282         PIC register.
24283         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24284         math_check_force_underflow_nonneg.
24285         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24286         underflow for subnormal result.
24287         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24288         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24289         math_check_force_underflow_nonneg.
24290         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24291         math_check_force_underflow.
24292         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24293         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24294         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24295         DEFINE_LDBL_MIN.
24296         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24297         * math/auto-libm-test-in: Add more tests of pow.
24298         * math/auto-libm-test-out: Regenerated.
24300 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24302         * nss/bug17079.c (init_test_items): Add diagnostic for
24303         inconsistent entries.
24304         (test_buffer_size): Skip inconsistent entries.
24306 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24308         [BZ #13304]
24309         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24310         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24311         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24313         [BZ #13304]
24314         * sysdeps/microblaze/s_fma.c: New file.
24315         * sysdeps/microblaze/s_fmaf.c: Likewise.
24316         * sysdeps/microblaze/sfp-machine.h: Likewise.
24318 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24320         [BZ #17250]
24321         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24322         member.
24324 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24326         [BZ #18803]
24327         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24328         (MO): New macro.
24329         (__ieee754_hypot) [PIC]: Load PIC register.
24330         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24331         DBL_NARROW_EVAL.
24332         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24333         math_check_force_underflow_nonneg in case where result might be
24334         tiny.
24335         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24336         Likewise.
24337         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24338         Likewise.
24339         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24340         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24341         * math/auto-libm-test-in: Add more tests of hypot.
24342         * math/auto-libm-test-out: Regenerated.
24344 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24346         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24348 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24350         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24351         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24352         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24353         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24354         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24355         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24356         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24358         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24359         LOAD_PIC_REG.
24361         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24362         (FLT_CHECK_FORCE_UFLOW): Likewise.
24363         (DBL_CHECK_FORCE_UFLOW): Likewise.
24364         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24365         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24366         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24367         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24368         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24369         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24370         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24371         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24372         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24373         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24374         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24375         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24376         (flt_min): Replace with use of DEFINE_FLT_MIN.
24377         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24378         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24379         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24380         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24381         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24382         (flt_min): Replace with use of DEFINE_FLT_MIN.
24383         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24384         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24385         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24386         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24387         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24388         (flt_min): Replace with use of DEFINE_FLT_MIN.
24389         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24390         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24391         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24392         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24393         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24394         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24395         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24396         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24397         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24398         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24399         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24400         (flt_min): Replace with use of DEFINE_FLT_MIN.
24401         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24402         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24403         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24404         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24405         main computation.
24406         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24407         (flt_min): Replace with use of DEFINE_FLT_MIN.
24408         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24409         main computation.
24410         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24411         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24412         (MO): New macro.
24413         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24414         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24415         (flt_min): Replace with use of DEFINE_FLT_MIN.
24416         (MO): New macro.
24417         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24418         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24419         (__log1pl): Use MO.
24421         [BZ #19003]
24422         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24423         $(config-cflags-nofma).
24425 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24427         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24429 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24431         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24432         (TWO127): Likewise.
24434         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24435         (min_of_type): Likewise.
24436         (math_check_force_underflow): Likewise.
24437         (math_check_force_underflow_nonneg): Likewise.
24438         (math_check_force_underflow_complex): Likewise.
24439         * math/e_exp2l.c (__ieee754_exp2l): Use
24440         math_check_force_underflow_nonneg.
24441         * math/k_casinh.c (__kernel_casinh): Likewise.
24442         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24443         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24444         * math/s_catan.c (__catan): Use
24445         math_check_force_underflow_complex.
24446         * math/s_catanf.c (__catanf): Likewise.
24447         * math/s_catanh.c (__catanh): Likewise.
24448         * math/s_catanhf.c (__catanhf): Likewise.
24449         * math/s_catanhl.c (__catanhl): Likewise.
24450         * math/s_catanl.c (__catanl): Likewise.
24451         * math/s_ccosh.c (__ccosh): Likewise.
24452         * math/s_ccoshf.c (__ccoshf): Likewise.
24453         * math/s_ccoshl.c (__ccoshl): Likewise.
24454         * math/s_cexp.c (__cexp): Likewise.
24455         * math/s_cexpf.c (__cexpf): Likewise.
24456         * math/s_cexpl.c (__cexpl): Likewise.
24457         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24458         * math/s_clog10.c (__clog10): Likewise.
24459         * math/s_clog10f.c (__clog10f): Likewise.
24460         * math/s_clog10l.c (__clog10l): Likewise.
24461         * math/s_clogf.c (__clogf): Likewise.
24462         * math/s_clogl.c (__clogl): Likewise.
24463         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24464         * math/s_csinf.c (__csinf): Likewise.
24465         * math/s_csinh.c (__csinh): Likewise.
24466         * math/s_csinhf.c (__csinhf): Likewise.
24467         * math/s_csinhl.c (__csinhl): Likewise.
24468         * math/s_csinl.c (__csinl): Likewise.
24469         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24470         * math/s_csqrtf.c (__csqrtf): Likewise.
24471         * math/s_csqrtl.c (__csqrtl): Likewise.
24472         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24473         * math/s_ctanf.c (__ctanf): Likewise.
24474         * math/s_ctanh.c (__ctanh): Likewise.
24475         * math/s_ctanhf.c (__ctanhf): Likewise.
24476         * math/s_ctanhl.c (__ctanhl): Likewise.
24477         * math/s_ctanl.c (__ctanl): Likewise.
24478         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24479         instead of volatile.
24480         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24481         math_check_force_underflow.
24482         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24483         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24484         volatile when forcing underflow.
24485         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24486         math_check_force_underflow_nonneg.
24487         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24488         Likewise.
24489         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24490         math_check_force_underflow.
24491         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24492         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24493         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24494         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24495         math_check_force_underflow_nonneg.
24496         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24497         math_check_force_underflow.
24498         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24499         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24500         instead of volatile.
24501         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24502         math_check_force_underflow.
24503         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24504         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24505         math_check_force_underflow_nonneg.
24506         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24507         math_check_force_underflow.
24508         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24509         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24510         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24511         math_check_force_underflow_nonneg.
24512         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24513         Likewise.
24514         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24515         math_check_force_underflow.
24516         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24517         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24518         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24519         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24520         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24521         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24522         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24523         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24524         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24525         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24526         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24527         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24528         Likewise.
24529         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24530         math_check_force_underflow_nonneg.
24531         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24532         Likewise.
24533         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24534         math_check_force_underflow.
24535         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24536         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24537         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24538         Likewise.
24539         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24540         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24541         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24542         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24543         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24544         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24546         instead of volatile.
24547         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24548         math_check_force_underflow.
24549         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24550         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24551         math_check_force_underflow.
24552         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24553         Likewise.
24554         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24555         Use math_check_force_underflow_nonneg.
24556         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24557         math_check_force_underflow.
24558         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24559         Likewise.
24560         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24561         Likewise.
24562         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24563         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24564         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24565         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24566         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24567         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24568         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24569         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24570         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24571         math_check_force_underflow_nonneg.
24572         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24573         math_check_force_underflow.
24574         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24575         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24576         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24577         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24578         math_check_force_underflow_nonneg.
24579         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24580         math_check_force_underflow.
24581         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24583         instead of volatile.
24584         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24585         math_check_force_underflow.
24587         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24588         * stdlib/strtod_l.c: Include <math_private.h>.
24589         (overflow_value): Use math_narrow_eval.
24590         (underflow_value): Likewise.
24591         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24592         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24593         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24594         (__ieee754_gamma_r): Likewise.
24595         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24596         Likewise.
24597         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24598         Likewise.
24599         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24600         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24601         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24602         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24603         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24604         (__ieee754_gammaf_r): Likewise.
24605         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24606         Likewise.
24607         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24608         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24609         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24610         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24611         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24612         volatile.
24613         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24614         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24615         math_narrow_eval.
24616         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24617         Likewise.
24618         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24619         Likewise.
24620         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24621         Likewise.
24622         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24623         volatile.
24624         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24625         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24626         math_narrow_eval.
24627         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24628         Likewise.
24629         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24630         Likewise.
24632 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24634         * nptl/Versions: Remove ignored symbols.
24636 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24638         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24639         * nss/Makefile (tests): Update.
24641 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24643         * nss/bug18287.c: New file.
24644         * nss/Makefile (tests): Add bug18287.
24646 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24648         * mach/Versions (__mach_host_self_): Add symbol.
24650 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24652         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24653         vm_page_size.
24655 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24657         Really fix sysdeps/i386/fpu/s_scalbn.S build
24659         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24660         (libc: GLIBC_2_22): Remove unused version set.
24662 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24664         * config.make.in (enable-timezone-tools): New variable.
24665         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24666         (enable_timezone_tools): Export to generated files.
24667         * configure: Regenerate.
24668         * INSTALL: Regenerate.
24669         * manual/install.texi (--disable-timezone-tools): Document new flag.
24670         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24671         ifeq ($(enable-timezone-tools),yes) check.
24673 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24675         * timezone/Makefile: Revert previous change.
24677         [BZ #18980]
24678         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24679         (DEFINE_DBL_MIN): Likewise.
24680         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24681         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24682         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24683         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24684         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24685         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24686         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24687         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24688         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24689         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24690         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24691         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24692         (flt_min): Replace with use of DEFINE_FLT_MIN.
24693         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24694         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24695         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24696         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24697         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24698         (flt_min): Replace with use of DEFINE_FLT_MIN.
24699         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24700         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24701         (flt_min): Replace with use of DEFINE_FLT_MIN.
24702         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24703         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24704         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24705         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24706         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24707         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24708         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24709         (__ieee754_pow): Use DBL_NARROW_EVAL.
24710         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24711         (__ieee754_powf): Use FLT_NARROW_EVAL.
24712         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24713         (__ieee754_expf_sse2): Convert double-precision result to single
24714         precision.
24715         * sysdeps/i386/fpu/libm-test-ulps: Update.
24717 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24719         * timezone/Makefile: Ignore unused variable errors due to private.h
24720         (time_t_min) and (time_t_max).
24721         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24722         Likewise.
24724 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24726         [BZ #18981]
24727         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24728         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24729         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24730         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24731         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24732         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24733         (__scalbn): Use DBL_NARROW_EVAL.
24734         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24735         (__scalbnf): Use FLT_NARROW_EVAL.
24737 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24739         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24740         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24741         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24742         * stdio-common/printf_fp.c (___printf_fp):
24743         Use signbit to get the sign. Use isinf macro to allow inlining.
24744         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24745         * stdio-common/printf_size.c (__printf_size): Likewise.
24747 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24749         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24751 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24753         [BZ #18980]
24754         * sysdeps/generic/math_private.h: Include <float.h>.
24755         (math_narrow_eval): New macro.
24756         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24757         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24758         math_narrow_eval on overflowing return value.
24759         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24760         Likewise.
24761         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24762         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24763         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24764         Likewise.
24765         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24767 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24769         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24770         * math/Makefile: Remove isinf_ns.c.
24771         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24772         * math/multc3.c (__multc3): Likewise.
24773         * math/s_casin.c (__casin): Likewise.
24774         * math/s_casinf.c (__casinf): Likewise.
24775         * math/s_casinl.c (__casinl): Likewise.
24776         * math/s_cproj.c (__cproj): Likewise.
24777         * math/s_cprojf.c (__cprojf): Likewise.
24778         * math/s_cprojl.c (__cprofl): Likewise.
24779         * math/s_ctan.c (__ctan): Likewise.
24780         * math/s_ctanf.c (__ctanf): Likewise.
24781         * math/s_ctanh.c (__ctanh): Likewise.
24782         * math/s_ctanhf.c (__ctanhf): Likewise.
24783         * math/s_ctanhl.c (__ctanhl): Likewise.
24784         * math/s_ctanl.c (__ctanl): Likewise.
24785         * math/w_fmod.c (__fmod): Likewise.
24786         * math/w_fmodf.c (__fmodf): Likewise.
24787         * math/w_fmodl.c (_fmodl): Likewise.
24788         * math/w_remainder.c (__remainder): Likewise.
24789         * math/w_remainderf.c (__remainderf): Likewise.
24790         * math/w_remainderl.c (__remainderl): Likewise.
24791         * math/w_scalb.c (__scalb): Likewise.
24792         * math/w_scalbf.c (__scalbf): Likewise.
24793         * math/w_scalbl.c (__scalbl): Likewise.
24794         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24795         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24796         with isinf.
24797         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24798         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24799         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24800         __isinf_nsf with isinf.
24801         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24802         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24803         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24804         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24805         with isinf.
24806         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24807         __isinf_nsl with isinf.
24808         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24809         with isinf.
24810         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24811         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24812         __isinf_nsl with isinf.
24813         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24814         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24815         with isinf.
24817 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24819         * resolv/base64.c (rcsid): Remove unused static.
24820         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24821         static.  (tqpi1): Likewise.
24822         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24823         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24824         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24825         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24826         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24827         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24828         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24829         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24830         Likewise.
24832 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24834         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24835         <nptl/pthreadP.h>.
24836         (_longjmp_unwind): Use __libc_ptf_call.
24837         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24839 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24841         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24842         * sysdeps/arm/__longjmp.S: Likewise.
24844 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24846         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24847         Use __builtin_signbit.
24848         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
24849         Use __builtin_signbitf.
24850         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
24851         Use __builtin_signbitl.
24852         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24853         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
24855 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24857         [BZ #15367]
24858         [BZ #17441]
24860         * math/Makefile: Build test-snan.c with -fsignaling-nans.
24861         * math/math.h (fpclassify): Use __builtin_fpclassify when
24862         available.  (signbit): Use __builtin_signbit(f/l).
24863         (isfinite): Use__builtin_isfinite.  (isnormal): Use
24864         __builtin_isnormal.  (isnan): Use __builtin_isnan.
24865         (isinf): Use __builtin_isinf_sign.
24867 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24869         * benchtests/Makefile: Add bench-math-inlines, link with libm.
24870         * benchtests/bench-math-inlines.c: New benchmark.
24871         * benchtests/bench-util.h: New file.
24872         * benchtests/bench-util.c: New file.
24873         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
24875 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
24877         * elf/tst-dlmopen1.c: Define TEST_SO.
24878         (do_test): Use TEST_SO.
24880         * elf/dl-load.c: Include libc-internal.h.
24881         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
24883 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24885         [BZ #17887]
24886         * time/strptime_l.c (__strptime_internal): Make %z accept
24887         [+-]HH:MM time zones.
24889 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24891         [BZ #17886]
24892         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
24893         valid time zone.
24895 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
24897         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
24898         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
24899         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24900         (__ASSUME_FDATASYNC): Delete.
24902 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24904         * conform/linknamespace.pl: Require weak undefined symbols to be
24905         in the standard namespace.
24906         (%strong_syms): Rename to %seen_syms.
24907         (%strong_seen): Rename to %seen_where.
24909 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
24911         [BZ #18970]
24912         * misc/error.c (error): Replace pthread_setcancelstate with
24913         __pthread_setcancelstate.
24914         (error_at_line): Likewise.
24915         * posix/wordexp.c (parse_comm): Likewise.
24916         * stdlib/fmtmsg.c (fmtmsg): Likewise.
24917         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
24918         (__pthread_setcancelstate): This.
24919         (pthread_setcancelstate): Add an alias.
24920         * nptl/nptl-init.c (pthread_functions): Replace
24921         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
24922         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
24923         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
24924         hidden_proto.
24925         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
24926         it with hidden_def.
24927         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
24928         (pthread_setcancelstate): Renamed to ...
24929         (__pthread_setcancelstate): This.
24930         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
24931         __libc_ptf_call with __pthread_setcancelstate.
24933 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24934             Andreas Schwab  <schwab@suse.de>
24936         [BZ #17118]
24937         * math/s_ctan.c (__ctan): Determine sign of zero real part of
24938         result when imaginary part of argument is infinite using sine and
24939         cosine.
24940         * math/s_ctanf.c (__ctanf): Likewise.
24941         * math/s_ctanl.c (__ctanl): Likewise.
24942         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
24943         of result when real part of argument is infinite using sine and
24944         cosine.
24945         * math/s_ctanhf.c (__ctanhf): Likewise.
24946         * math/s_ctanhl.c (__ctanhl): Likewise.
24947         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
24948         (ctanh_test_data): Add more tests of ctanh.
24950 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24952         [BZ #15384]
24953         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
24954         bit-mask as in subtraction.
24955         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
24956         Likewise.
24957         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
24958         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
24959         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
24961         [BZ #18951]
24962         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
24963         underflow exception for small results.
24964         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24965         Likewise.
24966         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24967         Likewise.
24968         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24969         Likewise.
24970         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24971         Likewise.
24972         * math/auto-libm-test-in: Add more tests of tgamma.
24973         * math/auto-libm-test-out: Regenerated.
24975 2015-09-17  Andreas Schwab  <schwab@suse.de>
24977         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
24979 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24981         [BZ #18977]
24982         * math/bits/mathcalls.h
24983         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
24984         not declare.
24985         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
24986         Likewise.
24987         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
24988         Likewise.
24989         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
24990         Likewise.
24991         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
24992         Likewise.
24993         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
24994         Likewise.
24995         * conform/data/math.h-data
24996         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
24997         function.
24998         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
24999         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25000         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25001         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25002         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25003         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25004         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25005         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25006         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25007         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25008         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25010         [BZ #6803]
25011         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25012         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25013         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25014         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25015         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25016         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25017         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25018         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25019         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25020         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25021         Likewise.
25022         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25023         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25024         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25025         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25026         long_double_symbol calls.
25027         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25028         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25029         strong alias of __ldexpl.
25030         (scalbnl): Define using long_double_symbol.
25031         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25032         Remove alias.
25033         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25034         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25035         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25036         (scalbln_test_data): Add more errno expectations.
25038 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25040         Cache the host port like we cache the task port.  This way we do not
25041         need to call the kernel just to get the port.  Furthermore, we no
25042         longer increase the reference count on every invocation of
25043         `mach_host_self'.
25045         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25046         Protect declarations against the macro expansion.
25047         * mach/mach_init.c (__mach_host_self_): New variable.
25048         (mach_init): Initialize `__mach_host_self_'.
25049         * mach/mach_init.h (__mach_host_self_): New declaration.
25050         (__mach_host_self, mach_host_self): New macros.
25051         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25052         Release reference.
25054 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25056         [BZ #4404]
25057         * po/de.po: Update from Translation Project.
25059         [BZ #16415]
25060         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25061         (__expm1l): Remove code to handle positive infinity and overflow.
25062         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25063         variable.
25064         (__expm1l): Remove code to handle positive infinity and overflow.
25066 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25067             Paul Pluzhnikov  <ppluzhnikov@google.com>
25069         [BZ #18872]
25070         * stdio-common/Makefile (tst-printf-bz18872): New test.
25071         (tst-printf-bz18872-mem.out): Likewise.
25072         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25073         * stdio-common/vfprintf.c: Fix memory leaks.
25075 2015-09-16  Andreas Schwab  <schwab@suse.de>
25077         [BZ #17244]
25078         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25079         Remove extra va_start/va_end calls.
25081         [BZ #17243]
25082         * posix/execl.c (execl): Add missing va_end.
25083         * posix/execle.c (execle): Likewise.
25084         * posix/execlp.c (execlp): Likewise.
25086 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25088         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25089         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25091 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25093         [BZ #18967]
25094         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25095         undefine around includes of <bits/mathcalls.h>.
25096         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25097         not declare function.
25098         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25099         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25100         (scalb): Likewise.
25101         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25102         not define macro.
25103         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25104         variable.
25105         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25106         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25107         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25109         [BZ #18857]
25110         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25111         return non-finite argument without doing ordered comparisons on
25112         it.
25114         [BZ #16296]
25115         * math/fenv.h (fegetround): Use __attribute_pure__.
25116         * include/fenv.h (__fegetround): Likewise.
25118         [BZ #18595]
25119         * math/s_ctan.c (__ctan): Force underflow exception for results
25120         whose real or imaginary part has small absolute value.
25121         * math/s_ctanf.c (__ctanf): Likewise.
25122         * math/s_ctanh.c (__ctanh): Likewise.
25123         * math/s_ctanhf.c (__ctanhf): Likewise.
25124         * math/s_ctanhl.c (__ctanhl): Likewise.
25125         * math/s_ctanl.c (__ctanl): Likewise.
25126         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25127         and ctanh.  Add more tests of ctan and ctanh.
25129         [BZ #15918]
25130         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25131         handling of cases where one argument is an infinity.
25133         [BZ #18875]
25134         [BZ #18966]
25135         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25136         (MO): New macro.
25137         (__ieee754_exp10): For small results, force underflow exception
25138         and remove excess range and precision from return value.
25139         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25140         (MO): New macro.
25141         (__ieee754_exp10f): For small results, force underflow exception
25142         and remove excess range and precision from return value.
25143         * math/auto-libm-test-in: Add more tests of exp10.
25144         * math/auto-libm-test-out: Regenerated.
25146 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25148         [BZ #18875]
25149         [BZ #18961]
25150         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25151         (MO): New macro.
25152         (__ieee754_exp): For small results, force underflow exception and
25153         remove excess range and precision from return value.
25154         (__exp_finite): Likewise.
25155         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25156         (MO): New macro.
25157         (__ieee754_expf): For small results, force underflow exception and
25158         remove excess range and precision from return value.
25159         (__expf_finite): Likewise.
25160         * math/auto-libm-test-in: Add more tests of exp.
25161         * math/auto-libm-test-out: Regenerated.
25163         [BZ #16521]
25164         [BZ #18875]
25165         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25166         small results.
25167         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25168         (MO): New macro.
25169         (__ieee754_exp2): For small results, force underflow exception and
25170         remove excess range and precision from return value.
25171         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25172         (MO): New macro.
25173         (__ieee754_exp2f): For small results, force underflow exception
25174         and remove excess range and precision from return value.
25175         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25176         (MO): New macro.
25177         (__ieee754_exp2l): Force underflow exception for small results.
25178         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25179         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25180         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25181         (MO): New macro.
25182         (__ieee754_exp2l): Force underflow exception for small results.
25183         * math/auto-libm-test-in: Add more tests or exp2.
25184         * math/auto-libm-test-out: Regenerated.
25186 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25188         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25190         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25191         /dev/null.
25193 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25195         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25196         io fs process)): Drop spurious backslash.
25198 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25200         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25201         Use sysinfo system call instead of parsing /proc/meminfo.
25202         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25203         Likewise.
25205 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25207         [BZ #16985]
25208         * programs/localedef.c (main): Display argv[remaining] when
25209         output_path is NULL.
25211 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25213         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25214         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25215         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25216         tanh.
25217         * math/auto-libm-test-out: Regenerated.
25218         * sysdeps/i386/fpu/libm-test-ulps: Update.
25219         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25220         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25223 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25225         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25226         Use 'override' keyword to freeze the value here, preventing
25227         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25229 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25231         [BZ #14912]
25232         * sysdeps/aarch64/bits/atomic.h: Move to ...
25233         * sysdeps/aarch64/atomic-machine.h: ...here.
25234         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25235         _AARCH64_ATOMIC_MACHINE_H.
25236         * sysdeps/alpha/bits/atomic.h: Move to ...
25237         * sysdeps/alpha/atomic-machine.h: ...here.
25238         * sysdeps/arm/bits/atomic.h: Move to ...
25239         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25240         * bits/atomic.h: Move to ...
25241         * sysdeps/generic/atomic-machine.h: ...here.
25242         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25243         * sysdeps/i386/bits/atomic.h: Move to ...
25244         * sysdeps/i386/atomic-machine.h: ...here.
25245         * sysdeps/ia64/bits/atomic.h: Move to ...
25246         * sysdeps/ia64/atomic-machine.h: ...here.
25247         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25248         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25249         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25250         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25251         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25252         * sysdeps/microblaze/bits/atomic.h: Move to ...
25253         * sysdeps/microblaze/atomic-machine.h: ...here.
25254         * sysdeps/mips/bits/atomic.h: Move to ...
25255         * sysdeps/mips/atomic-machine.h: ...here.
25256         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25257         * sysdeps/powerpc/bits/atomic.h: Move to ...
25258         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25259         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25260         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25261         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25262         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25263         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25264         <atomic-machine.h> instead of <bits/atomic.h>.
25265         * sysdeps/s390/bits/atomic.h: Move to ...
25266         * sysdeps/s390/atomic-machine.h: ...here.
25267         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25268         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25269         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25270         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25271         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25272         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25273         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25274         * sysdeps/tile/bits/atomic.h: Move to ...
25275         * sysdeps/tile/atomic-machine.h: ...here.
25276         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25277         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25278         <sysdeps/tile/atomic-machine.h> instead of
25279         <sysdeps/tile/bits/atomic.h>.
25280         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25281         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25282         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25283         <sysdeps/tile/atomic-machine.h> instead of
25284         <sysdeps/tile/bits/atomic.h>.
25285         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25286         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25287         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25288         <sysdeps/arm/atomic-machine.h> instead of
25289         <sysdeps/arm/bits/atomic.h>.
25290         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25291         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25292         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25293         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25294         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25295         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25296         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25297         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25298         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25299         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25300         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25301         * sysdeps/x86_64/bits/atomic.h: Move to ...
25302         * sysdeps/x86_64/atomic-machine.h: ...here.
25303         * include/atomic.h: Include <atomic-machine.h> instead of
25304         <bits/atomic.h>.
25306         * sysdeps/mips/mips32/libm-test-ulps: Update.
25307         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25309         [BZ #18952]
25310         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25311         not convert non-integer negative arguments to int to determine the
25312         value of signgam.
25313         * math/auto-libm-test-in: Add more tests of lgamma.
25314         * math/auto-libm-test-out: Regenerated.
25316         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25317         cosh, csqrt, erfc, expm1 and lgamma.
25318         * math/auto-libm-test-out: Regenerated.
25319         * sysdeps/i386/fpu/libm-test-ulps: Update.
25320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25322 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25324         [BZ #2542]
25325         [BZ #2543]
25326         [BZ #2558]
25327         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25328         __lgamma_neg for arguments from -28.0 to -2.0.
25329         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25330         __lgamma_negf for arguments from -15.0 to -2.0.
25331         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25332         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25333         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25334         Call __lgamma_negl for arguments from -33.0 to -2.0.
25335         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25336         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25337         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25338         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25339         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25340         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25341         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25342         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25343         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25344         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25345         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25346         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25347         (__lgamma_neg): Likewise.
25348         (__lgamma_negl): Likewise.
25349         (__lgamma_product): Likewise.
25350         (__lgamma_productl): Likewise.
25351         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25352         * math/auto-libm-test-in: Add more tests of lgamma.
25353         * math/auto-libm-test-out: Regenerated.
25354         * sysdeps/i386/fpu/libm-test-ulps: Update.
25355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25357 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25359         [BZ #18675]
25360         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25362 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25364         [BZ #14912]
25365         * bits/libc-lock.h: Move to ...
25366         * sysdeps/generic/libc-lock.h: ...here.
25367         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25368         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25369         * sysdeps/mach/hurd/libc-lock.h: ...here.
25370         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25371         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25372         * sysdeps/mach/bits/libc-lock.h: Move to ...
25373         * sysdeps/mach/libc-lock.h: ...here.
25374         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25375         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25376         * sysdeps/nptl/libc-lock.h: ...here.
25377         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25378         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25379         * sysdeps/nptl/libc-lockP.h: ...here.
25380         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25381         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25382         <bits/libc-lock.h>.
25383         * dirent/scandir-tail.c: Likewise.
25384         * dlfcn/dlerror.c: Likewise.
25385         * elf/dl-close.c: Likewise.
25386         * elf/dl-iteratephdr.c: Likewise.
25387         * elf/dl-lookup.c: Likewise.
25388         * elf/dl-open.c: Likewise.
25389         * elf/dl-support.c: Likewise.
25390         * elf/dl-writev.h: Likewise.
25391         * elf/rtld.c: Likewise.
25392         * grp/fgetgrent.c: Likewise.
25393         * gshadow/fgetsgent.c: Likewise.
25394         * gshadow/sgetsgent.c: Likewise.
25395         * iconv/gconv_conf.c: Likewise.
25396         * iconv/gconv_db.c: Likewise.
25397         * iconv/gconv_dl.c: Likewise.
25398         * iconv/gconv_int.h: Likewise.
25399         * iconv/gconv_trans.c: Likewise.
25400         * include/link.h: Likewise.
25401         * inet/getnameinfo.c: Likewise.
25402         * inet/getnetgrent.c: Likewise.
25403         * inet/getnetgrent_r.c: Likewise.
25404         * intl/bindtextdom.c: Likewise.
25405         * intl/dcigettext.c: Likewise.
25406         * intl/finddomain.c: Likewise.
25407         * intl/gettextP.h: Likewise.
25408         * intl/loadmsgcat.c: Likewise.
25409         * intl/localealias.c: Likewise.
25410         * intl/textdomain.c: Likewise.
25411         * libidn/idn-stub.c: Likewise.
25412         * libio/libioP.h: Likewise.
25413         * locale/duplocale.c: Likewise.
25414         * locale/freelocale.c: Likewise.
25415         * locale/newlocale.c: Likewise.
25416         * locale/setlocale.c: Likewise.
25417         * login/getutent_r.c: Likewise.
25418         * login/getutid_r.c: Likewise.
25419         * login/getutline_r.c: Likewise.
25420         * login/utmp-private.h: Likewise.
25421         * login/utmpname.c: Likewise.
25422         * malloc/mtrace.c: Likewise.
25423         * misc/efgcvt.c: Likewise.
25424         * misc/error.c: Likewise.
25425         * misc/fstab.c: Likewise.
25426         * misc/getpass.c: Likewise.
25427         * misc/mntent.c: Likewise.
25428         * misc/syslog.c: Likewise.
25429         * nis/nis_call.c: Likewise.
25430         * nis/nis_callback.c: Likewise.
25431         * nis/nss-default.c: Likewise.
25432         * nis/nss_compat/compat-grp.c: Likewise.
25433         * nis/nss_compat/compat-initgroups.c: Likewise.
25434         * nis/nss_compat/compat-pwd.c: Likewise.
25435         * nis/nss_compat/compat-spwd.c: Likewise.
25436         * nis/nss_nis/nis-alias.c: Likewise.
25437         * nis/nss_nis/nis-ethers.c: Likewise.
25438         * nis/nss_nis/nis-grp.c: Likewise.
25439         * nis/nss_nis/nis-hosts.c: Likewise.
25440         * nis/nss_nis/nis-network.c: Likewise.
25441         * nis/nss_nis/nis-proto.c: Likewise.
25442         * nis/nss_nis/nis-pwd.c: Likewise.
25443         * nis/nss_nis/nis-rpc.c: Likewise.
25444         * nis/nss_nis/nis-service.c: Likewise.
25445         * nis/nss_nis/nis-spwd.c: Likewise.
25446         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25447         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25448         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25449         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25450         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25451         * nis/nss_nisplus/nisplus-network.c: Likewise.
25452         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25453         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25454         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25455         * nis/nss_nisplus/nisplus-service.c: Likewise.
25456         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25457         * nis/ypclnt.c: Likewise.
25458         * nptl/libc_pthread_init.c: Likewise.
25459         * nss/getXXbyYY.c: Likewise.
25460         * nss/getXXent.c: Likewise.
25461         * nss/getXXent_r.c: Likewise.
25462         * nss/nss_db/db-XXX.c: Likewise.
25463         * nss/nss_db/db-netgrp.c: Likewise.
25464         * nss/nss_db/nss_db.h: Likewise.
25465         * nss/nss_files/files-XXX.c: Likewise.
25466         * nss/nss_files/files-alias.c: Likewise.
25467         * nss/nsswitch.c: Likewise.
25468         * posix/regex_internal.h: Likewise.
25469         * posix/wordexp.c: Likewise.
25470         * pwd/fgetpwent.c: Likewise.
25471         * resolv/res_hconf.c: Likewise.
25472         * resolv/res_libc.c: Likewise.
25473         * shadow/fgetspent.c: Likewise.
25474         * shadow/lckpwdf.c: Likewise.
25475         * shadow/sgetspent.c: Likewise.
25476         * socket/opensock.c: Likewise.
25477         * stdio-common/reg-modifier.c: Likewise.
25478         * stdio-common/reg-printf.c: Likewise.
25479         * stdio-common/reg-type.c: Likewise.
25480         * stdio-common/vfprintf.c: Likewise.
25481         * stdio-common/vfscanf.c: Likewise.
25482         * stdlib/abort.c: Likewise.
25483         * stdlib/cxa_atexit.c: Likewise.
25484         * stdlib/fmtmsg.c: Likewise.
25485         * stdlib/random.c: Likewise.
25486         * stdlib/setenv.c: Likewise.
25487         * string/strsignal.c: Likewise.
25488         * sunrpc/auth_none.c: Likewise.
25489         * sunrpc/bindrsvprt.c: Likewise.
25490         * sunrpc/create_xid.c: Likewise.
25491         * sunrpc/key_call.c: Likewise.
25492         * sunrpc/rpc_thread.c: Likewise.
25493         * sysdeps/arm/backtrace.c: Likewise.
25494         * sysdeps/generic/ldsodefs.h: Likewise.
25495         * sysdeps/generic/stdio-lock.h: Likewise.
25496         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25497         * sysdeps/i386/backtrace.c: Likewise.
25498         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25499         * sysdeps/m68k/backtrace.c: Likewise.
25500         * sysdeps/mach/hurd/cthreads.c: Likewise.
25501         * sysdeps/mach/hurd/dirstream.h: Likewise.
25502         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25503         * sysdeps/nptl/malloc-machine.h: Likewise.
25504         * sysdeps/nptl/stdio-lock.h: Likewise.
25505         * sysdeps/posix/dirstream.h: Likewise.
25506         * sysdeps/posix/getaddrinfo.c: Likewise.
25507         * sysdeps/posix/system.c: Likewise.
25508         * sysdeps/pthread/aio_suspend.c: Likewise.
25509         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25510         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25511         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25512         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25513         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25514         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25515         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25516         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25517         * sysdeps/unix/sysv/linux/system.c: Likewise.
25518         * sysdeps/x86_64/backtrace.c: Likewise.
25519         * time/alt_digit.c: Likewise.
25520         * time/era.c: Likewise.
25521         * time/tzset.c: Likewise.
25522         * wcsmbs/wcsmbsload.c: Likewise.
25523         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25524         instead of <bits/libc-lock.h> in comment.
25526 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25528         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25529         Only use .set mips2 if the current ISA is below mips2.
25530         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25531         Likewise.
25532         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25533         mips32r2 if the current ISA is below mips32r2.
25534         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25535         (TLS_IE): Updated to use the TLD_RDHWR macro.
25536         (TLS_LE): Likewise.
25537         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25538         __ASSEMBLER__ condition.
25540 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25542         Fix parallel build of before-compile targets.
25544         * sysdeps/mach/Makefile ($(patsubst
25545         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25546         mach-before-compile target.
25547         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25548         io fs process)): Move rule to dedicated hurd-before-compile target.
25550 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25552         Fix rules generating headers in hurd/ and mach/ when initial make call
25553         has subdir= explicitly set.
25555         * sysdeps/mach/Makefile ($(patsubst
25556         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25557         calling $(MAKE).
25558         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25559         io fs process)): Force subdir to hurd when calling $(MAKE).
25560         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25561         subdir to mach when calling $(MAKE).
25563 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25565         Check sysheaders when looking for Mach and Hurd headers
25567         * sysdeps/mach/configure.ac: Add sysheaders check.
25568         * sysdeps/mach/configure: Regenerate.
25569         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25570         * sysdeps/mach/hurd/configure: Regenerate.
25572 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25574         [BZ #18921]
25575         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25576         Fix inverted sense of test of 'o_directory_works' value.
25577         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25578         Bernhard Voelker <mail@bernhard-voelker.de>.
25580 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25582         [BZ #14912]
25583         * bits/linkmap.h: Move to ...
25584         * sysdeps/generic/linkmap.h: ...here.
25585         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25586         * sysdeps/aarch64/linkmap.h: ...here.
25587         * sysdeps/arm/bits/linkmap.h: Move to ...
25588         * sysdeps/arm/linkmap.h: ...here.
25589         * sysdeps/hppa/bits/linkmap.h: Move to ...
25590         * sysdeps/hppa/linkmap.h: ...here.
25591         * sysdeps/ia64/bits/linkmap.h: Move to ...
25592         * sysdeps/ia64/linkmap.h: ...here.
25593         * sysdeps/mips/bits/linkmap.h: Move to ...
25594         * sysdeps/mips/linkmap.h: ...here.
25595         * sysdeps/s390/bits/linkmap.h: Move to ...
25596         * sysdeps/s390/linkmap.h: ...here.
25597         * sysdeps/sh/bits/linkmap.h: Move to ...
25598         * sysdeps/sh/linkmap.h: ...here.
25599         * sysdeps/x86/bits/linkmap.h: Move to ...
25600         * sysdeps/x86/linkmap.h: ...here.
25601         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25603 2015-09-04  Andreas Schwab  <schwab@suse.de>
25605         [BZ #18635]
25606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25607         (__makecontext): Terminate FDE before return label.
25608         (__novec_makecontext): Likewise.
25610 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25612         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25613         first member of struct sv in syscall macro.
25615 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25617         [BZ #14912]
25618         * bits/stdio-lock.h: Move to ...
25619         * sysdeps/generic/stdio-lock.h: ...here.
25620         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25621         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25622         * sysdeps/nptl/stdio-lock.h: ...here.
25623         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25624         * include/libio.h: Include <stdio-lock.h> instead of
25625         <bits/stdio-lock.h>.
25626         * sysdeps/nptl/fork.c: Likewise.
25627         * sysdeps/pthread/flockfile.c: Likewise.
25628         * sysdeps/pthread/ftrylockfile.c: Likewise.
25629         * sysdeps/pthread/funlockfile.c: Likewise.
25631         [BZ #14912]
25632         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25633         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25634         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25635         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25636         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25637         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25638         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25640 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25642         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25643         (test-xfail-tst-protected1b): New variable.
25645 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25647         [BZ #14912]
25648         * bits/libc-tsd.h: Move to ...
25649         * sysdeps/generic/libc-tsd.h: ...here.
25650         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25651         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25652         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25653         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25654         * include/ctype.h: Include <libc-tsd.h> instead of
25655         <bits/libc-tsd.h>.
25656         * include/rpc/rpc.h: Likewise.
25657         * locale/localeinfo.h: Likewise.
25658         * sunrpc/rpc_thread.c: Likewise.
25659         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25660         * sysdeps/nptl/malloc-machine.h: Likewise.
25662         * Makefile (headers): Remove bits/libc-lock.h.
25663         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25665         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25666         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25667         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25668         <bits/stdio-lock.h>.
25669         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25670         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25672 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25674         [BZ #18757]
25675         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25676         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25677         BZ #18757.
25679 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25681         * malloc/mtrace.pl: Filter out NULL entries.
25683 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25685         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25686         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25687         macro.
25689         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25690         (TCP_CC_INFO): Likewise.
25691         (TCP_SAVE_SYN): Likewise.
25692         (TCP_SAVED_SYN): Likewise.
25694 2015-08-31  Brett Neumeier <brett@neumeier.us>
25696         [BZ #18870]
25697         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25699 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25701         [BZ #18873]
25702         Fix broken overflow check in posix_fallocate
25703         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25704         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25705         Fix parenthesization typo.
25707 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25709         [BZ #18887]
25710         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25711         tst-mntent-blank-passno.
25712         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25713         * misc/tst-mntent-blank-corrupt.c: New test.
25714         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25715         * misc/tst-mntent.c (do_test): ... here.
25717 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25719         [BZ #4404]
25720         * po/de.po: Fix SIGALRM typo.
25722 2015-08-28  James Perkins  <james@loowit.net>
25724         * time/tst-strptime2.c (tests): Replace short list of test
25725         strings for strptime %z specifier with code which exhaustively
25726         tests every combination of sign and 0 to 5 digits. Tests for
25727         rejection of invalid strings.
25729 2015-08-28  James Perkins  <james@loowit.net>
25731         [BZ #16141]
25732         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25733         calculation, removing incorrect decimal time rounding, so that
25734         all minute values result in a valid seconds value.
25735         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25736         offset range limits to UTC-99:59 through UTC+99:59 to parse
25737         current and historical use cases.
25738         * time/tst-strptime2.c (tests): Modify and add tests for the
25739         strptime %z input field descriptor, specifically conversion of
25740         minutes to seconds and validating an offset range of -9959 to
25741         +9959.
25743 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25744             Dmitry V. Levin  <ldv@altlinux.org>
25746         [BZ #18877]
25747         * posix/Makefile (tests): Add tst-mmap-offset.
25748         * posix/tst-mmap.c: New file.
25749         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25750         offset calculation for negative values.
25752 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25754         * sysdeps/i386/init-arch.h: New file.
25755         * sysdeps/i386/i586/init-arch.h: Likewise.
25756         * sysdeps/i386/i686/init-arch.h: Likewise.
25757         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25758         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25759         * sysdeps/x86/cpu-features.h (bit_I586): New.
25760         (bit_I686): Likewise.
25761         (bit_CX8): Likewise.
25762         (bit_CMOV): Likewise.
25763         (index_CX8): Likewise.
25764         (index_CMOV): Likewise.
25765         (index_I586): Likewise.
25766         (index_I686): Likewise.
25767         (reg_CX8): Likewise.
25768         (reg_CMOV): Likewise.
25769         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25770         available at compile-time.
25771         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25772         available at compile-time.
25773         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25774         (USE_I686): Likewise.
25776 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25778         * sysdeps/i386/bcopy.S: New file.
25779         * sysdeps/i386/bzero.S: Likewise.
25780         * sysdeps/i386/memcpy.S: Likewise.
25781         * sysdeps/i386/memmove.S: Likewise.
25782         * sysdeps/i386/mempcpy.S: Likewise.
25783         * sysdeps/i386/memset.S: Likewise.
25784         * sysdeps/i386/bzero.c: Removed.
25785         * sysdeps/i386/memset.c: Likewise.
25786         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25787         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25788         * sysdeps/i386/i586/memset_chk.S: Likewise.
25789         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25790         * sysdeps/i386/memcpy_chk.S: Here.
25791         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25792         * sysdeps/i386/memmove_chk.S: Here.
25793         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25794         * sysdeps/i386/mempcpy_chk.S: Likewise.
25795         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25796         * sysdeps/i386/memset_chk.S: Likewise.
25798 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25800         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25801         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25802         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25803         * soft-fp/fmadf4.c: Ditto.
25804         * soft-fp/fmatf4.c: Ditto.
25806 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25808         * sysdeps/i386/i586/Implies: Removed.
25809         * sysdeps/i386/i686/Implies: Likewise.
25811 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25813         * sysdeps/i386/i486/strlen.S: Moved to ...
25814         * sysdeps/i386/strlen.S: Here.
25816 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25818         * sysdeps/i386/i486/strcat.S: Moved to ...
25819         * sysdeps/i386/strcat.S: Here.
25821 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25823         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25824         * sysdeps/i386/pthread_spin_trylock.S: Here.
25825         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25826         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25828 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25830         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25831         * sysdeps/i386/string-inlines.c: Here.
25833 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25835         * sysdeps/i386/i486/htonl.S: Moved ...
25836         * sysdeps/i386/htonl.S: here.
25838 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25840         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25841         * sysdeps/i386/bits/atomic.h: Here.
25843 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25845         * sysdeps/i386/i486/Versions: Removed.
25847 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25849         [BZ #2898]
25850         * misc/mktemp.c: Add mkdtemp to the link_warning message.
25851         Based on patch by Aurelien Jarno.
25853 2015-08-26  Stan Shebs  <stanshebs@google.com>
25855         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
25856         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25858 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25860         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
25861         * sysdeps/powerpc/dl-procinfo.c:
25862         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
25863         feature so it shows when LD_SHOW_AUXV=1.
25865 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25867         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25868         (__arch_compare_and_exchange_val_32_acq): Remove and use common
25869         definition.  ISA 2.07B no longer requires full sync.
25871 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
25873         [BZ #18863]
25874         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
25875         (si_call_addr): Define.
25876         (si_syscall): Define.
25877         (si_arch): Define.
25879 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25881         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
25882         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
25883         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
25884         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25885         (__memset_zero_constant_len_parameter): New.
25886         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
25887         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25888         (__memset_zero_constant_len_parameter): Don't define if
25889         __memset_chk or USE_AS_BZERO are defined.
25891         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
25892         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
25893         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
25895         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
25896         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
25897         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
25898         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
25899         comments.
25900         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
25901         -mno-mmx for $(all-rtld-routines).
25902         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
25903         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
25904         i386.
25906 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25908         * sysdeps/generic/unwind.h
25909         (_Unwind_Word): Use __mode__(__unwind_word__)
25910         instead of __mode__(__word__).
25911         (_Unwind_Sword): Likewise.
25913         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25914         (MAX_NEEDED_INPUT): New define.
25915         (MAX_NEEDED_OUTPUT): New define.
25917         * NEWS: New item for IBM z13 string optimizations.
25919         * sysdeps/s390/multiarch/memrchr-c.c: New File.
25920         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
25921         * sysdeps/s390/multiarch/memrchr.c: Likewise.
25922         * sysdeps/s390/multiarch/Makefile
25923         (sysdep_routines): Add memrchr functions.
25924         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25925         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
25927         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
25928         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
25929         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
25930         * sysdeps/s390/multiarch/Makefile
25931         (sysdep_routines): Add wmemcmp functions.
25932         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25933         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
25934         * benchtests/bench-wmemcmp.c: New File.
25935         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
25937         * sysdeps/s390/multiarch/wmemset-c.c: New File.
25938         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
25939         * sysdeps/s390/multiarch/wmemset.c: Likewise.
25940         * sysdeps/s390/multiarch/Makefile
25941         (sysdep_routines): Add wmemset functions.
25942         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25943         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
25944         * wcsmbs/wmemset.c: Use WMEMSET if defined.
25945         * string/test-memset.c: Add wmemset support.
25946         * wcsmbs/test-wmemset.c: New File.
25947         * wcsmbs/Makefile (strop-tests): Add wmemset.
25948         * benchtests/bench-memset.c: Add wmemset support.
25949         * benchtests/bench-wmemset.c: New File.
25950         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
25952         * sysdeps/s390/multiarch/memccpy-c.c: New File.
25953         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
25954         * sysdeps/s390/multiarch/memccpy.c: Likewise.
25955         * sysdeps/s390/multiarch/Makefile
25956         (sysdep_routines): Add memccpy functions.
25957         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25958         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
25959         * string/memccpy.c: Use MEMCCPY if defined.
25961         * sysdeps/s390/multiarch/memchr-vx.S: New File.
25962         * sysdeps/s390/multiarch/memchr.c: Likewise.
25963         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
25964         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
25965         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
25966         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
25967         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
25968         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
25969         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
25970         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
25971         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
25972         and rawmemchr functions.
25973         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25974         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
25975         and wmemchr.
25976         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
25977         * string/test-memchr.c: Add wmemchr support.
25978         * wcsmbs/test-wmemchr.c: New File.
25979         * wcsmbs/Makefile (strop-tests): Add wmemchr.
25980         * benchtests/bench-memchr.c: Add wmemchr support.
25981         * benchtests/bench-wmemchr.c: New File.
25982         * benchtests/Makefile (wcsmbs-bench): wmemchr.
25984         * sysdeps/s390/multiarch/strcspn-c.c: New File.
25985         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
25986         * sysdeps/s390/multiarch/strcspn.c: Likewise.
25987         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
25988         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
25989         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
25990         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
25991         wcscspn functions.
25992         * sysdeps/s390/multiarch/ifunc-impl-list.c
25993         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
25994         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
25995         * string/test-strcspn.c: Add wcscspn support.
25996         * wcsmbs/test-wcscspn.c: New File.
25997         * wcsmbs/Makefile (strop-tests): Add wcscspn.
25998         * benchtests/bench-strcspn.c: Add wcscspn support.
25999         * benchtests/bench-wcscspn.c: New File.
26000         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26002         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26003         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26004         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26005         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26006         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26007         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26008         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26009         wcspbrk functions.
26010         * sysdeps/s390/multiarch/ifunc-impl-list.c
26011         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26012         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26013         * string/test-strpbrk.c: Add wcspbrk support.
26014         * wcsmbs/test-wcspbrk.c: New File.
26015         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26016         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26017         * benchtests/bench-wcspbrk.c: New File.
26018         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26020         * sysdeps/s390/multiarch/strspn-c.c: New File.
26021         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26022         * sysdeps/s390/multiarch/strspn.c: Likewise.
26023         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26024         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26025         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26026         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26027         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26028         wcsspn functions.
26029         * sysdeps/s390/multiarch/ifunc-impl-list.c
26030         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26031         * string/test-strspn.c: Add wcsspn support.
26032         * wcsmbs/test-wcsspn.c: New File.
26033         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26034         * benchtests/bench-strspn.c: Add wcsspn support.
26035         * benchtests/bench-wcsspn.c: New File.
26036         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26038         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26039         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26040         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26041         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26042         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26043         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26044         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26045         wcsrchr functions.
26046         * sysdeps/s390/multiarch/ifunc-impl-list.c
26047         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26048         * benchtests/bench-wcsrchr.c: New File.
26049         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26051         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26052         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26053         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26054         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26055         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26056         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26057         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26058         wcschrnul functions.
26059         * sysdeps/s390/multiarch/ifunc-impl-list.c
26060         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26061         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26062         * string/test-strchr.c: Add wcschrnul support.
26063         * wcsmbs/test-wcschrnul.c: New File.
26064         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26065         * benchtests/bench-strchr.c: Add wcschrnul support.
26066         * benchtests/bench-wcschrnul.c: New File.
26067         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26069         * sysdeps/s390/multiarch/strchr-c.c: New File.
26070         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26071         * sysdeps/s390/multiarch/strchr.c: Likewise.
26072         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26073         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26074         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26075         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26076         wcschr functions.
26077         * sysdeps/s390/multiarch/ifunc-impl-list.c
26078         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26079         * string/strchr.c (STRCHR): Define and use macro.
26080         * benchtests/bench-wcschr.c: New File.
26081         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26083         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26084         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26085         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26086         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26087         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26088         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26089         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26090         wcsncmp functions.
26091         * sysdeps/s390/multiarch/ifunc-impl-list.c
26092         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26093         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26094         * benchtests/bench-strncmp.c: Add wcsncmp support.
26095         * benchtests/bench-wcsncmp.c: New File.
26096         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26098         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26099         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26100         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26101         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26102         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26103         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26104         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26105         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26106         wcscmp functions.
26107         * sysdeps/s390/multiarch/ifunc-impl-list.c
26108         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26109         * string/strcmp.c (STRCMP): Define and use macro.
26110         * benchtests/bench-wcscmp.c: New File.
26111         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26112         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26113         instead of _HAVE_STRING_ARCH_memchr.
26115         * sysdeps/s390/multiarch/strncat-c.c: New File.
26116         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26117         * sysdeps/s390/multiarch/strncat.c: Likewise.
26118         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26119         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26120         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26121         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26122         wcsncat functions.
26123         * sysdeps/s390/multiarch/ifunc-impl-list.c
26124         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26125         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26126         * string/test-strncat.c: Add wcsncat support.
26127         * wcsmbs/test-wcsncat.c: New File.
26128         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26129         * benchtests/bench-strncat.c: Add wcsncat support.
26130         * benchtests/bench-wcsncat.c: New File.
26131         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26133         * sysdeps/s390/multiarch/strcat-c.c: New File.
26134         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26135         * sysdeps/s390/multiarch/strcat.c: Likewise.
26136         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26137         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26138         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26139         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26140         wcscat functions.
26141         * sysdeps/s390/multiarch/ifunc-impl-list.c
26142         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26143         * string/strcat.c (STRCAT): Define and use macro.
26144         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26145         * string/test-strcat.c: Add wcscat support.
26146         * wcsmbs/test-wcscat.c: New File.
26147         * wcsmbs/Makefile (strop-tests): Add wcscat.
26148         * benchtests/bench-strcat.c: Add wcscat support.
26149         * benchtests/bench-wcscat.c: New File.
26150         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26152         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26153         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26154         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26155         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26156         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26157         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26158         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26159         wcpncpy functions.
26160         * sysdeps/s390/multiarch/ifunc-impl-list.c
26161         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26162         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26163         * string/test-stpncpy.c: Add wcpncpy support.
26164         * wcsmbs/test-wcpncpy.c: New File.
26165         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26166         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26167         * benchtests/bench-wcpncpy.c: New File.
26168         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26170         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26171         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26172         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26173         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26174         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26175         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26176         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26177         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26178         wcsncpy functions.
26179         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26180         * sysdeps/s390/multiarch/ifunc-impl-list.c
26181         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26182         * string/test-strncpy.c: Add wcsncpy support.
26183         * wcsmbs/test-wcsncpy.c: New File.
26184         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26185         * benchtests/bench-strncpy.c: Add wcsncpy support.
26186         * benchtests/bench-wcsncpy.c: New File.
26187         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26189         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26190         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26191         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26192         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26193         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26194         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26195         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26196         wcpcpy functions.
26197         * string/stpcpy.c: Use STPCPY if defined.
26198         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26199         * sysdeps/s390/multiarch/ifunc-impl-list.c
26200         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26201         * string/test-stpcpy.c: Add wcpcpy support.
26202         * wcsmbs/test-wcpcpy.c: New File.
26203         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26204         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26205         * benchtests/bench-wcpcpy.c: New File.
26206         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26208         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26209         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26210         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26211         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26212         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26213         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26214         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26215         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26216         wcscpy functions.
26217         * sysdeps/s390/multiarch/ifunc-impl-list.c
26218         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26219         * benchtests/bench-wcscpy.c: New File.
26220         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26222         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26223         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26224         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26225         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26226         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26227         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26228         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26229         wcsnlen functions.
26230         * sysdeps/s390/multiarch/ifunc-impl-list.c
26231         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26232         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26233         * string/test-strnlen.c: Add wcsnlen support.
26234         * wcsmbs/test-wcsnlen.c: New File.
26235         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26236         * benchtests/bench-strnlen.c: Add wcsnlen support.
26237         * benchtests/bench-wcsnlen.c: New File.
26238         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26240         * sysdeps/s390/multiarch/Makefile: New File.
26241         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26242         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26243         * sysdeps/s390/multiarch/strlen.c: Likewise.
26244         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26245         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26246         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26247         * string/strlen.c (STRLEN): Define and use macro.
26248         * sysdeps/s390/multiarch/ifunc-impl-list.c
26249         (IFUNC_VX_IMPL): New macro function.
26250         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26251         * benchtests/Makefile (wcsmbs-bench): New variable.
26252         (string-bench-all): Added wcsmbs-bench.
26253         * benchtests/bench-wcslen.c: New File.
26255         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26256         s390_vx_libc_ifunc2): New macro function.
26258         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26259         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26260         assembler support.
26261         * sysdeps/s390/configure: Regenerated.
26263         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26264         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26266         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26267         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26268         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26270         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26271         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26272         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26273         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26274         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26275         (memcmp, bcmp): Use __memcmp_default as alias source.
26276         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26277         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26278         Rename to __memcmp_default.
26279         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26280         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26281         (memcpy): Use __memcpy_default as alias source.
26282         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26283         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26284         Rename to __memcpy_default.
26285         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26286         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26287         (memset): Use __memset_default as alias source.
26288         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26289         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26290         Rename to __memset_default.
26291         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26292         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26293         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26294         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26295         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26296         (memcmp, bcmp): Use __memcmp_default as alias source.
26297         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26298         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26299         Rename to __memcmp_default.
26300         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26301         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26302         (memcpy): Use __memcpy_default as alias source.
26303         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26304         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26305         Rename to __memcpy_default.
26306         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26307         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26308         (memset): Use __memset_default as alias source.
26309         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26310         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26311         Rename to __memset_default.
26312         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26313         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26315         [BZ #18610]
26316         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26317         __ieee_instruction_pointer to __unused.
26318         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26319         __ieee_instruction_pointer.
26320         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26321         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26322         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26323         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26324         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26325         Mark dxc-field as reserved.
26327 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26329         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26330         if the weak reference is not null.
26332 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26334         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26336         [BZ #11214]
26337         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26339 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26341         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26342         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26343         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26344         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26345         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26346         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26347         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26348         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26349         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26350         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26351         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26352         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26353         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26354         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26355         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26356         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26357         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26358         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26360 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26362         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26363         register other than r0 for tabort, it has special meaning.
26364         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26365         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26366         transaction before starting syscall.
26368 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26370         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26372 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26374         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26376         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26377         * sysdeps/x86_64/rtld-memset.S: Likewise.
26378         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26379         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26380         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26381         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26383         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26385 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26387         * debug/strcpy_chk.c: Improve performance.
26388         * debug/stpcpy_chk.c: Likewise.
26389         * sysdeps/x86_64/strcpy_chk.S: Remove.
26390         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26392         [BZ #18240]
26393         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26395 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26397         [BZ #15128]
26398         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26399         ifuncmain8.
26400         (modules-names): Add ifuncmod8.
26401         ($(objpfx)ifuncmain8): New rule.
26402         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26403         <cpuid.h>.
26404         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26405         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26406         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26407         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26408         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26409         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26410         * sysdeps/x86_64/ifuncmain8.c: New file.
26411         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26412         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26413         Removed.
26414         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26415         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26416         Change rtld_savespace_sse to __glibc_unused2.
26417         (RTLD_CHECK_FOREIGN_CALL): Removed.
26418         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26419         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26420         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26422 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26424         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26426 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26428         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26429         Unconditionally set __fpcr to avoid uninialized warning.
26430         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26432 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26434         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26435         is corrupt.
26437         * malloc/arena.c (arena_get2): Drop unused argument.
26438         (arena_lock): Adjust.
26439         (arena_get_retry): Likewise.
26441 2015-08-24  Andreas Schwab  <schwab@suse.de>
26443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26444         Don't define.
26445         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26446         (__ASSUME_IPC64): Don't undef.
26447         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26448         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26449         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26450         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26451         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26452         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26453         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26454         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26455         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26456         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26457         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26458         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26459         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26460         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26461         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26462         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26463         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26464         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26465         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26466         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26467         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26469 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26471         * manual/Makefile (install): Only build manual when perl is available.
26473 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26475         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26476         '#undef memcpy' by '#undef memchr'.
26478 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26480         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26481         memchr not point to the internal __GI_memchr implementation.
26483 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26485         * timezone/Makefile (CFLAGS-zdump.c): Remove
26486         -Wno-strict-prototypes.
26487         (CFLAGS-zic.c): Likewise.
26488         (CFLAGS-ialloc.c): Likewise.
26489         (CFLAGS-scheck.c): Likewise.
26491         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26492         -Wno-error=undef.
26494 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26496         * i386/i686/multiarch/strcasestr-c.c: Removed.
26497         * x86_64/multiarch/strcasestr.c: Likewise.
26498         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26499         Remove strcasestr.
26501 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26503         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26505         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26506         variables for high and low parts before possibly modifying them.
26508 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26510         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26511         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26512         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26513         of "multiarch/init-arch.h".
26514         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26515         * sysdeps/x86/init-arch.h: This.
26517 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26519         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26520         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26522 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26524         [BZ #17787]
26525         * manual/macros.texi: Add twoexp macro.
26526         * manual/filesys.texi: Fix exponents.
26527         * manual/llio.texi: Likewise.
26528         * manual/stdio.texi: Likewise.
26530 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26532         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26533         incorrect use.
26535 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26537         [BZ #18370]
26538         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26539         whose real or imaginary part has small absolute value.
26540         * math/s_csqrtf.c (__csqrtf): Likewise.
26541         * math/s_csqrtl.c (__csqrtl): Likewise.
26542         * math/auto-libm-test-in: Add more tests of csqrt.
26543         * math/auto-libm-test-out: Regenerated.
26544         * sysdeps/i386/fpu/libm-test-ulps: Update.
26546 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26548         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26549         __ppc_set_ppr_very_low): New functions.
26550         * manual/platform.texi: Add documentation about
26551         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26553 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26555         * string/stpncpy.c (stpncpy): Improve performance using
26556         __strnlen/memcpy/memset.
26558 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26560         [BZ #18796]
26561         * scripts/test-installation.pl: Don't add -lmvec to build options if
26562         libmvec wasn't built.
26564 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26566         [BZ #14341]
26567         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26568         case when there is a gap between DT_REL and DT_JMPREL sections.
26569         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26570         (LDFLAGS-tst-split-dynreloc): New.
26571         (tst-split-dynreloc-ENV): Likewise.
26572         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26573         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26575 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26577         [BZ #18822]
26578         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26579         attribute_hidden.
26580         (__xstat64_conv): Likewise.
26581         (__xstat32_conv): Likewise.
26583 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26585         [BZ #18822]
26586         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26587         Don't load %ebx when calling __setcontext.  Call __setcontext
26588         with HIDDEN_JUMPTARGET.
26589         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26590         libc_hidden_def.
26592 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26594         * sysdeps/i386/i686/Makefile
26595         [$(subdir) == string] (sysdep_routines): Moved to ...
26596         * sysdeps/i386/Makefile: Here.
26597         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26598         * sysdeps/i386/cacheinfo.c: Here.
26599         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26600         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26601         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26602         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26604 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26606         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26607         __i586__ is defined.
26608         (HAS_I686): Defined to 1 if __i686__ is defined.
26610 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26612         * elf/Makefile [$(have-z-execstack) = yes]
26613         (CPPFLAGS-tst-execstack.c): New variable.
26615         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26616         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26617         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26618         UTMPX || _HAVE_UT_TV].
26619         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26620         UTMPX || _HAVE_UT_TV - 0].
26622 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26624         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26625         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26626         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26628 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26630         * sysdeps/powerpc/dl-procinfo.c:
26631         (_dl_powerpc_cap_flags): Added missing strings for some
26632         hwcap features.
26633         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26635 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26637         Port the 0x7efe...feff pattern to GCC 6.
26638         See Steve Ellcey's bug report in:
26639         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26640         * string/memrchr.c (MEMRCHR):
26641         * string/rawmemchr.c (RAWMEMCHR):
26642         * string/strchr.c (strchr):
26643         * string/strchrnul.c (STRCHRNUL):
26644         Rewrite code to avoid issues with signed shift overflow.
26646 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26648         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26649         whether cpuid is available only if HAS_CPUID is 0.
26650         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26651         (HAS_I586): Likewise.
26652         (HAS_I686): Likewise.
26654 2015-08-18  Zack Weinberg  <zackw@panix.com>
26656         * misc/Versions (libc): Add GLIBC_2.23.
26658 2015-08-18  Alan Modra  <amodra@gmail.com>
26660         [BZ #18421]
26661         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26662         .Lp__global.
26663         (_start): Load %dp via .Lp__global.
26664         [!SHARED]: Use .section .rodata.
26666 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26668         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26669         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26671 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26673         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26674         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26678         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26679         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26681 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26683         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26684         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26686 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26688         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26689         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26691 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26693         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26694         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26696 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26698         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26700 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26702         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26703         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26704         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26705         (__ASSUME_LWS_CAS): Delete.
26707 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26709         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26710         * sysdeps/hppa/configure: Regenerated.
26711         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26712         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26713         * sysdeps/hppa/nptl/tls.h: Likewise.
26715 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26717         [BZ #18823]
26718         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26719         for scaling up small arguments.
26720         * math/s_csqrtf.c (__csqrtf): Likewise.
26721         * math/s_csqrtl.c (__csqrtl): Likewise.
26722         * math/auto-libm-test-in: Add more tests of csqrt.
26723         * math/auto-libm-test-out: Regenerated.
26725 2015-08-17  Andreas Schwab  <schwab@suse.de>
26727         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26728         version set GLIBC_2.19.
26730 2015-08-16  Zack Weinberg  <zackw@panix.com>
26732         [BZ #18681]
26733         * misc/regexp.h: This interface is no longer supported.
26734         Remove all contents, leaving only an #error directive.
26735         * misc/regexp.c (loc1, loc2, locs, step, advance):
26736         Demote to compatibility symbols.
26738 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26740         [BZ #18084]
26741         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26742         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26743         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26744         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26745         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26746         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26747         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26748         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26749         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26751 2015-08-15  Zack Weinberg  <zackw@panix.com>
26753         [BZ #18795]
26754         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26755         buffer length is known to be too large, not if it's known to be
26756         small enough.
26757         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26758         overflow at runtime, involving a length parameter, twice: once
26759         with a compile-time constant length parameter, once without.
26761 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26763         [BZ #18824]
26764         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26765         scaling x * y up instead of down.
26766         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26768         * math/auto-libm-test-in: Add more tests of fma.
26769         * math/auto-libm-test-out: Regenerated.
26771 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26773         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26775 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26777         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26778         unnecessary movq.
26779         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26780         Likewise.
26782 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26784         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26785         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26786         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26787         and tgamma.
26788         * math/auto-libm-test-out: Regenerated.
26789         * sysdeps/i386/fpu/libm-test-ulps: Update.
26790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26792         [BZ #16520]
26793         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26794         (__tanh): Force underflow exception for arguments with small
26795         absolute value.
26796         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26797         (__tanhf): Force underflow exception for arguments with small
26798         absolute value.
26799         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26800         (__tanhl): Force underflow exception for arguments with small
26801         absolute value.
26802         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26803         (__tanhl): Force underflow exception for arguments with small
26804         absolute value.
26805         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26806         (__tanhl): Force underflow exception for arguments with small
26807         absolute value.
26808         * math/auto-libm-test-in: Add more tests of tanh.
26809         * math/auto-libm-test-out: Regenerated.
26810         * sysdeps/i386/fpu/libm-test-ulps: Update.
26812 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26814         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26815         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26817 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26819         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26820         <cpuid.h>.
26822 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26824         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26825         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26827 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26829         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26830         Remove $(objpfx)init-arch.o.
26831         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26832         init-arch.
26833         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26834         (INIT_ARCH_EXT): Defined as empty.
26835         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26836         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26837         __init_cpu_features call.  Replace HAS_XXX with
26838         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26839         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26840         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26841         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26842         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26843         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26844         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26845         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26846         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26847         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
26848         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
26849         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26850         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
26851         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
26852         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26853         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
26854         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
26855         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26856         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26857         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
26858         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
26859         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26860         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
26861         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
26862         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26863         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
26864         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
26865         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26866         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
26867         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
26868         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26869         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
26870         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
26871         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26872         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
26873         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
26875 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26877         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
26878         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26879         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26880         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26881         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
26882         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
26883         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
26884         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
26885         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
26886         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
26887         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
26888         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
26889         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26890         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26891         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26892         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26893         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26894         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26895         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26896         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26897         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26898         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26899         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26900         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26901         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26902         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26903         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26904         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26905         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26906         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26907         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26908         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26909         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26910         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26911         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26912         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26913         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26914         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26915         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26916         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26917         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26918         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26919         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26921 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26923         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
26924         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26925         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26926         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26927         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26928         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
26929         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26930         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
26931         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26932         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26933         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26934         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
26935         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
26936         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
26937         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
26938         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
26939         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
26940         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
26941         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
26942         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
26943         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
26944         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
26945         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
26946         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26947         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26948         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
26949         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
26950         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
26951         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26952         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26953         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26954         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26955         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26956         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26957         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26958         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26959         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26960         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26961         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26962         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26963         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26964         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26965         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26967 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26969         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
26970         (dl_platform_init): Call init_cpu_features.
26971         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
26972         * sysdeps/i386/i686/cacheinfo.c
26973         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
26974         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
26975         * sysdeps/i386/i686/multiarch/Versions: Removed.
26976         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
26977         Removed.
26978         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
26979         * sysdeps/unix/sysv/linux/x86/Makefile
26980         (libpthread-sysdep_routines): Remove init-arch.
26981         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
26982         <sysdeps/x86_64/dl-procinfo.c> instead of
26983         sysdeps/generic/dl-procinfo.c>.
26984         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
26985         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
26986         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
26987         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
26988         [$(subdir) == elf] (tests-static): Add
26989         tst-get-cpu-features-static.
26990         * sysdeps/x86/Versions: New file.
26991         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
26992         * sysdeps/x86/cpu-features.c: Likewise.
26993         * sysdeps/x86/cpu-features.h: Likewise.
26994         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
26995         * sysdeps/x86/libc-start.c: Likewise.
26996         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
26997         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
26998         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
26999         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27000         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27001         Assume USE_MULTIARCH is defined and don't check it.
27002         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27003         (is_amd): Likewise.
27004         (max_cpuid): Likewise.
27005         (intel_check_word): Likewise.
27006         (__cache_sysconf): Don't call __init_cpu_features.
27007         (__x86_preferred_memory_instruction): Removed.
27008         (init_cacheinfo): Don't call __init_cpu_features. Replace
27009         __cpu_features with GLRO(dl_x86_cpu_features).
27010         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27011         (dl_platform_init): Call init_cpu_features.
27012         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27013         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27014         * sysdeps/x86_64/multiarch/Versions: Removed.
27015         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27016         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27017         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27018         Removed.
27019         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27021 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27023         [BZ #18820]
27024         * libio/Makefile (test-fmemopen-mem): New test.
27025         * libio/test-fmemopen.c (do_bz18820): New test.
27026         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27027         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27029 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27031         [BZ #16734]
27032         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27033         (FREE_BUF): Delete.
27034         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27035         * libio/genops.c (_IO_setb): Use malloc and free directly.
27036         (_IO_default_doallocate, _IO_default_finish): Likewise.
27037         ( _IO_unbuffer_all): Likewise.
27038         ( libc_freeres_fn): Likewise.
27039         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27040         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27041         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27042         (_IO_wdefault_doallocate): Likewise.
27044 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27046         [BZ #18086]
27047         * sysdeps/posix/nice.c (nice): Restore old errno.
27048         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27050 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27052         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27054 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27056         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27057         __bcopy and add a weak_alias to bcopy.
27058         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27059         for static build.
27061         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27062         cleanup macro usage.
27063         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27064         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27065         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27066         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27067         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27068         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27069         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27070         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27071         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27072         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27073         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27074         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27075         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27076         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27077         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27078         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27079         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27080         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27081         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27083         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27084         libc_hidden_def.
27085         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27087         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27088         (sysdep_routines): Add strstr-ppc64.
27089         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27091 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27093         [BZ #18778]
27094         * elf/Makefile (tests): Add Add tst-nodelete2.
27095         (modules-names): Add tst-nodelete2mod.
27096         (tst-nodelete2mod.so-no-z-defs): New.
27097         ($(objpfx)tst-nodelete2): Likewise.
27098         ($(objpfx)tst-nodelete2.out): Likewise.
27099         (LDFLAGS-tst-nodelete2): Likewise.
27100         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27101         out of loop through all loaded libraries.
27102         * elf/tst-nodelete2.c: New file.
27103         * elf/tst-nodelete2mod.c: Likewise.
27104         * elf/tst-znodelete-zlib.cc: Delete.
27106 2015-08-11  Andreas Schwab  <schwab@suse.de>
27108         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27109         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27110         (__openat64_nocancel): Likewise.
27112 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27114         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27115         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27116         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27117         * math/auto-libm-test-out: Regenerated.
27118         * sysdeps/i386/fpu/libm-test-ulps: Update.
27119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27121 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27123         [BZ #18790]
27124         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27125         threshold for returning +/- 1.
27126         * math/auto-libm-test-in: Add more tests of tanh.
27127         * math/auto-libm-test-out: Regenerated.
27128         * sysdeps/i386/fpu/libm-test-ulps: Update.
27130 2015-08-10  Andreas Schwab  <schwab@suse.de>
27132         [BZ #18781]
27133         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27134         MORE_OFLAGS to oflag.
27135         * io/test-lfs.c (do_test): Test openat64.
27137 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27139         [BZ #18789]
27140         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27141         smaller threshold for returning the argument.
27142         * math/auto-libm-test-in: Add more tests of sinh.
27143         * math/auto-libm-test-out: Regenerated.
27144         * sysdeps/i386/fpu/libm-test-ulps: Update.
27146 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27148         [BZ #18674]
27149         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27150         break.
27152 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27154         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27155         (generated): Don't add $(addprefix z.,$(tzfiles)).
27157 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27159         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27160         * scripts/sysd-rules.awk: Likewise.
27162 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27164         * iconvdata/tst-tables.sh: Change echo -n to printf.
27165         * nss/db-Makefile: Likewise.
27166         * posix/tst-getconf.sh: Likewise.
27167         * stdio-common/tst-unbputc.sh: Likewise.
27169 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27171         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27172         MADV_*_PAGES defines behind this feature check.
27174 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27176         [BZ #18480]
27177         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27178         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27179         Define.
27180         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27181         LOAD_REGS_5, LOAD_REGS_6): Update.
27182         (INTERNAL_SYSCALL): Update using new LOAD defines.
27183         (INTERNAL_SYSCALL_NCS): Likewise.
27184         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27186 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27188         [BZ #16734]
27189         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27191 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27193         [BZ #17905]
27194         * catgets/Makefile (tst-catgets-mem): New test.
27195         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27196         * catgets/open_catalog.c (__open_catalog): Likewise.
27197         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27199 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27201         [BZ #18787]
27202         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27203         clobber registers.
27204         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27205         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27206         Cast return to __typeof (oldval).
27208 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27210         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27211         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27212         and delete sys/syscall.h include.
27214 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27216         [BZ #16517]
27217         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27218         (tan): Force underflow exception for arguments with small absolute
27219         value.
27220         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27221         (__kernel_tanf): Force underflow exception for arguments with
27222         small absolute value.
27223         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27224         (__kernel_tanl): Force underflow exception for arguments with
27225         small absolute value.
27226         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27227         (__kernel_tanl): Force underflow exception for arguments with
27228         small absolute value.
27229         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27230         (__kernel_tanl): Force underflow exception for arguments with
27231         small absolute value.
27232         * math/auto-libm-test-in: Add more tests of tan.
27233         * math/auto-libm-test-out: Regenerated.
27235 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27237         Fix sysdeps/i386/fpu/s_scalbn.S build
27239         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27241 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27243         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27245 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27247         Fix gcrt0.o compilation
27249         When static-start-installed-name is different from
27250         start-installed-name, we must not use the shared objects.
27252         * csu/Makefile
27253         (extra-objs): Add gmon-start.o when building shared library and
27254         $(static-start-installed-name) is different from
27255         $(start-installed-name).
27256         $(objpfx)g$(static-start-installed-name): When building shared
27257         library and $(static-start-installed-name) is different from
27258         $(static-start-installed-name), revert to non-shared rule,
27259         i.e. using $(objpfx)% and gmon-start.o.
27261 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27263         [BZ #16519]
27264         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27265         (__ieee754_sinh): Force underflow exception for arguments with
27266         small absolute value.
27267         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27268         (__ieee754_sinhf): Force underflow exception for arguments with
27269         small absolute value.
27270         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27271         (__ieee754_sinhl): Force underflow exception for arguments with
27272         small absolute value.
27273         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27274         (__ieee754_sinhl): Force underflow exception for arguments with
27275         small absolute value.
27276         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27277         (__ieee754_sinhl): Force underflow exception for arguments with
27278         small absolute value.
27279         * math/auto-libm-test-in: Add more tests of sinh.
27280         * math/auto-libm-test-out: Regenerated.
27281         * sysdeps/i386/fpu/libm-test-ulps: Update.
27283 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27285         * libio/oldfileops.c: Include unistd.h.
27287 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27289         * stdlib/isomac.c: Include ctype.h.
27291 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27293         * dirent/tst-seekdir.c (main): Converted to ...
27294         (do_test): ... this.
27295         (TEST_FUNCTION): New macro.
27296         Include test-skeleton.c.
27297         * elf/tst-dlmodcount.c (main): Converted to ...
27298         (do_test): ... this.
27299         (TEST_FUNCTION): New macro.
27300         Include test-skeleton.c.
27301         * elf/tst-order-main.c (main): Converted to ...
27302         (do_test): ... this.
27303         (TEST_FUNCTION): New macro.
27304         Include test-skeleton.c.
27305         * elf/tst-pie2.c (main): Converted to ...
27306         (do_test): ... this.
27307         (TEST_FUNCTION): New macro.
27308         Include test-skeleton.c.
27309         * inet/tst-ether_aton.c (main): Converted to ...
27310         (do_test): ... this.
27311         (TEST_FUNCTION): New macro.
27312         Include test-skeleton.c.
27313         * misc/tst-mntent.c (main): Converted to ...
27314         (do_test): ... this.
27315         (TEST_FUNCTION): New macro.
27316         Include test-skeleton.c.
27317         * misc/tst-tsearch.c (main): Converted to ...
27318         (do_test): ... this.
27319         (TEST_FUNCTION): New macro.
27320         Include test-skeleton.c.
27321         * posix/tst-regexloc.c (main): Converted to ...
27322         (do_test): ... this.
27323         (TEST_FUNCTION): New macro.
27324         Include test-skeleton.c.
27325         * resolv/tst-aton.c (main): Converted to ...
27326         (do_test): ... this.
27327         (TEST_FUNCTION): New macro.
27328         Include test-skeleton.c.
27329         * stdio-common/test-fwrite.c (main): Converted to ...
27330         (do_test): ... this.
27331         (TEST_FUNCTION): New macro.
27332         Include test-skeleton.c.
27333         * stdio-common/tst-ferror.c (main): Converted to ...
27334         (do_test): ... this.
27335         (TEST_FUNCTION): New macro.
27336         Include test-skeleton.c.
27337         * stdio-common/tst-printf.c (main): Converted to ...
27338         (do_test): ... this.
27339         (TEST_FUNCTION): New macro.
27340         Include test-skeleton.c.
27341         * stdio-common/tst-printfsz.c (main): Converted to ...
27342         (do_test): ... this.
27343         (TEST_FUNCTION): New macro.
27344         Include test-skeleton.c.
27345         * stdlib/tst-strtod.c (main): Converted to ...
27346         (do_test): ... this.
27347         (TEST_FUNCTION): New macro.
27348         Include test-skeleton.c.
27349         * string/tst-strlen.c (main): Converted to ...
27350         (do_test): ... this.
27351         (TEST_FUNCTION): New macro.
27352         Include test-skeleton.c.
27353         * string/tst-svc.c (main): Converted to ...
27354         (do_test): ... this.
27355         (TEST_FUNCTION): New macro.
27356         Include test-skeleton.c.
27357         * time/tst-strptime.c (main): Converted to ...
27358         (do_test): ... this.
27359         (TEST_FUNCTION): New macro.
27360         Include test-skeleton.c.
27361         * timezone/tst-timezone.c (main): Converted to ...
27362         (do_test): ... this.
27363         (TEST_FUNCTION): New macro.
27364         Include test-skeleton.c.
27366 2015-08-05  Zack Weinberg  <zackw@panix.com>
27368         * misc/regexp.h: Update comments.
27370 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27372         [BZ #18635]
27373         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27374         before return label.
27376 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27378         [BZ #18661]
27379         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27380         when calling __errno_location.
27381         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27382         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27384 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27386         [BZ #18661]
27387         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27388         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27389         __gettimeofday.
27391 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27393         [BZ #18661]
27394         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27395         (__start_context): Don't use pop to restore %rdi so that stack
27396         is aligned to 16 bytes when calling __setcontext.
27398 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27400         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27401         only for libc.
27402         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27404 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27406         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27407         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27408         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27410 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27412         * string/memccpy.c (memccpy):
27413         Improve performance by using memchr/memcpy/__mempcpy.
27415 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27417         * string/strncpy.c (strncpy):
27418         Improve performance by using __strnlen/memcpy.
27420 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27422         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27423         Optimize to avoid an unnecessary FPCR read.
27425 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27427         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27428         Optimize to reduce FPCR/FPSR accesses.
27430 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27432         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27433         dead->data[category] != NULL.
27435 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27437         [BZ #18647]
27438         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27439         and |x| close to 1, use absolute value of x when computing log.
27440         * math/auto-libm-test-in: Add more tests of pow.
27441         * math/auto-libm-test-out: Regenerated.
27443 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27445         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27446         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27447         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27449 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27451         [BZ #18525]
27452         * locales/km_KH: Remove timezone definition.
27453         * locales/lo_LA: Likewise.
27454         * locales/my_MM: Likewise.
27455         * locales/nan_TW@latin: Likewise.
27456         * locales/th_TH: Likewise.
27457         * locales/uk_UA: Likewise.
27459 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27461         [BZ #18265]
27462         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27463         (wcsncat): Likewise.
27464         (wcscmp): Likewise.
27465         (wcsncmp): Likewise.
27467 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27469         * test-skeleton.c (usage): New function.
27470         (main): Call usage when opt is '?'.
27472 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27474         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27475         before first use.
27477 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27479         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27480         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27481         in there too.
27483 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27485         * version.h (RELEASE): Set to "development".
27486         (VERSION): Set to "2.22.90"
27488         * version.h (RELEASE): Set to "stable".
27489         (VERSION): Set to "2.22"
27490         * include/features.h (__GLIBC_MINOR__): Set to 22.
27492 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27494         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27495         Restructure macro to avoid "value computed is not used" warning.
27496         (atomic_compare_and_exchange_val_acq): Likewise.
27498 2015-08-04  Andreas Schwab  <schwab@suse.de>
27500         [BZ #18635]
27501         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27502         ret.
27503         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27505 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27507         * po/pl.po: Updated translation.
27508         * po/uk.po: Likewise.
27509         * po/fi.po: Likewise.
27510         * po/ko.po: Likewise.
27511         * po/ru.po: Likewise.
27512         * po/vi.po: Likewise.
27514 2015-07-31  Zack Weinberg  <zackw@panix.com>
27516         [BZ #18681]
27517         * regexp.h: Add unconditional #warning stating that this header
27518         will be removed soon.  Revise banner comment to match.
27519         (compile): Consistently use ERROR instead of RETURN to report
27520         errors (partial fix for BZ #18681).
27521         * regexp.c: Don't include regexp.h. Remove some unnecessary
27522         declarations.
27524 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27526         * po/libc.pot: Regenerated.
27528 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27530         [BZ #18740]
27531         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27532         float-vlen4-arch-ext-cflags): Removed.
27533         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27534         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27536 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27538         [BZ #14113]
27539         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27540         aligned to __aligned__.
27541         (pthread_cond_t, pthread_rwlock_t): Likewise.
27543 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27545         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27547 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27549         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27550         (struct sigaction): Change sa_flags from a long to an int, and add
27551         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27553 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27555         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27556         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27557         sysdeps/generic/sysdep.h include.
27558         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27559         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27560         sysdeps/hppa/sysdep.h.
27561         (ENTRY, PSEUDO): Undefine before defining.
27563 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27565         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27566         from scratch to use INTERNAL_SYSCALL.
27568 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27570         [BZ #18078]
27571         * scripts/check-localplt.awk: Support alternate relocations.
27572         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27573         sections.
27574         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27575         malloc entries with + REL R_386_GLOB_DAT.
27576         * sysdeps/x86_64/localplt.data: New file.
27578 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27580         [BZ #18731]
27581         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27582         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27583         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27585 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27587         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27589 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27591         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27592         directly in terms of __sync_fetch_and_add and delete (int) cast.
27594 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27596         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27597         the -D_ASM_IA64_CURRENT_H flag.
27599 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27601         [BZ #18641]
27602         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27604 2015-07-27  Andreas Schwab  <schwab@suse.de>
27606         * conform/conformtest.pl (checknamespace): Filter out string
27607         literals while tokenizing.
27609 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27611         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27612         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27613         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27615 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27617         * nptl/tst-join7mod.c: Add #include <string.h>.
27619 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27621         * sysdeps/nios2/libm-test-ulps: Update.
27623 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27625         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27626         Fix order of arguments to the rt_sigprocmask syscall.
27627         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27628         Likewise.
27630 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27632         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27634 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27636         [BZ #18457]
27637         * nptl/Makefile (tests): New test case tst-join7.
27638         (modules-names): New test case module tst-join7mod.
27639         * nptl/tst-join7.c: New file.
27640         * nptl/tst-join7mod.c: New file.
27641         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27642         all translation units in libc.so, libpthread.so and rtld.
27644 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27648 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27650         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27651         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27652         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27653         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27654         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27655         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27656         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27657         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27658         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27659         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27660         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27661         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27662         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27663         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27664         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27665         implementation.
27667 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27669         [BZ #17711]
27670         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27671         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27672         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27673         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27674         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27675         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27677 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27679         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27680         instead of just saying load lock in the comments.
27682 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27684         * sysdeps/unix/Subdirs: Moved ...
27685         * sysdeps/posix/Subdirs: ... here.
27686         * login/pty.h (struct termios, struct winsize): Add forward decls.
27687         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27688         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27689         * sysdeps/arm/nacl/libc.abilist: Updated.
27690         * sysdeps/nacl/libutil.abilist: New file.
27692         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27693         (SIGWINCH): New macro.
27695         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27696         * sysdeps/arm/nacl/libc.abilist: Add it.
27698 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27700         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27702 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27704         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27705         Swap __glibc_reserved0 and sa_flags order.
27707 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27709         [BZ #18657]
27710         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27711         are pending TLS destructor calls.
27712         * include/link.h (struct link_map): Add concurrency note for
27713         L_TLS_DTOR_COUNT.
27714         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27715         Don't touch the link map flag.  Atomically increment
27716         l_tls_dtor_count.
27717         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27718         Avoid taking the load lock and don't touch the link map flag.
27719         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27720         * stdlib/Makefile (tests): Use it.
27721         * stdlib/tst-tls-atexit.c (do_test): dlopen
27722         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27723         to allow tst-tls-atexit-nodelete test case to use it.
27725 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27727         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27728         to bits/types.h.
27729         (msgqnum_t): New typedef.
27730         (msglen_t): Likewise.
27731         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27732         and msg_qbytes type to msglen_t.
27734 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27736         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27737         pad0 to __glibc_reserved0.
27738         (struct stat64): Likewise.
27740 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27742         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27743         Change sa_flags from a long to an int and add __glibc_reserved0 before
27744         it for padding.
27746 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27748         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27749         anonymous by deleting "siginfo" name.
27751 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27753         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27754         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27755         rather than __nacl_irt_filename.
27756         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27758         * NEWS: New item for arm-nacl port.
27759         * sysdeps/arm/nacl/libc.abilist: New file.
27760         * sysdeps/nacl/ld.abilist: New file.
27761         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27762         * sysdeps/nacl/libanl.abilist: New file.
27763         * sysdeps/nacl/libcrypt.abilist: New file.
27764         * sysdeps/nacl/libdl.abilist: New file.
27765         * sysdeps/nacl/libm.abilist: New file.
27766         * sysdeps/nacl/libpthread.abilist: New file.
27767         * sysdeps/nacl/libresolv.abilist: New file.
27768         * sysdeps/nacl/librt.abilist: New file.
27770 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27772         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27773         __startcontext to initialize the new context.
27774         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27775         up CFI directive to forbid further backtracing.
27777 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27779         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27780         reference.
27781         * charmaps/ANSI_X3.4-1968: Likewise.
27782         * charmaps/BS_4730: Likewise.
27783         * charmaps/BS_VIEWDATA: Likewise.
27784         * charmaps/CP1250: Likewise.
27785         * charmaps/CP1251: Likewise.
27786         * charmaps/CP1252: Likewise.
27787         * charmaps/CP1253: Likewise.
27788         * charmaps/CP1254: Likewise.
27789         * charmaps/CP1255: Likewise.
27790         * charmaps/CP1256: Likewise.
27791         * charmaps/CSN_369103: Likewise.
27792         * charmaps/EBCDIC-DK-NO: Likewise.
27793         * charmaps/GB_1988-80: Likewise.
27794         * charmaps/GREEK-CCITT: Likewise.
27795         * charmaps/GREEK7: Likewise.
27796         * charmaps/INIS-8: Likewise.
27797         * charmaps/ISIRI-3342: Likewise.
27798         * charmaps/ISO_2033-1983: Likewise.
27799         * charmaps/ISO_5427-EXT: Likewise.
27800         * locales/POSIX: Likewise.
27801         * locales/ar_SA: Likewise.
27802         * locales/be_BY: Likewise.
27803         * locales/be_BY@latin: Likewise.
27804         * locales/ca_ES: Likewise.
27805         * locales/cs_CZ: Likewise.
27806         * locales/da_DK: Likewise.
27807         * locales/de_BE: Likewise.
27808         * locales/de_CH: Likewise.
27809         * locales/de_LU: Likewise.
27810         * locales/en_AU: Likewise.
27811         * locales/en_BW: Likewise.
27812         * locales/en_CA: Likewise.
27813         * locales/en_DK: Likewise.
27814         * locales/en_GB: Likewise.
27815         * locales/en_IE: Likewise.
27816         * locales/en_NZ: Likewise.
27817         * locales/en_ZA: Likewise.
27818         * locales/en_ZW: Likewise.
27819         * locales/es_AR: Likewise.
27820         * locales/es_BO: Likewise.
27821         * locales/es_CL: Likewise.
27822         * locales/es_CO: Likewise.
27823         * locales/es_DO: Likewise.
27824         * locales/es_EC: Likewise.
27825         * locales/es_ES: Likewise.
27826         * locales/es_HN: Likewise.
27827         * locales/es_MX: Likewise.
27828         * locales/es_PA: Likewise.
27829         * locales/es_PE: Likewise.
27830         * locales/es_PY: Likewise.
27831         * locales/es_SV: Likewise.
27832         * locales/es_US: Likewise.
27833         * locales/es_UY: Likewise.
27834         * locales/es_VE: Likewise.
27835         * locales/et_EE: Likewise.
27836         * locales/fa_IR: Likewise.
27837         * locales/fo_FO: Likewise.
27838         * locales/fr_CA: Likewise.
27839         * locales/fr_CH: Likewise.
27840         * locales/gv_GB: Likewise.
27841         * locales/he_IL: Likewise.
27842         * locales/hr_HR: Likewise.
27843         * locales/id_ID: Likewise.
27844         * locales/is_IS: Likewise.
27845         * locales/it_CH: Likewise.
27846         * locales/iw_IL: Likewise.
27847         * locales/kl_GL: Likewise.
27848         * locales/ko_KR: Likewise.
27849         * locales/kw_GB: Likewise.
27850         * locales/lg_UG: Likewise.
27851         * locales/lt_LT: Likewise.
27852         * locales/lv_LV: Likewise.
27853         * locales/mi_NZ: Likewise.
27854         * locales/nhn_MX: Likewise.
27855         * locales/nl_BE: Likewise.
27856         * locales/pl_PL: Likewise.
27857         * locales/sk_SK: Likewise.
27858         * locales/sl_SI: Likewise.
27859         * locales/sv_FI: Likewise.
27860         * locales/tl_PH: Likewise.
27861         * locales/tr_TR: Likewise.
27862         * locales/vi_VN: Likewise.
27864 2015-07-21  Khem Raj  <raj.khem@gmail.com>
27866         [BZ #17475]
27867         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
27868         of tu_IN and bh_IN.
27870 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
27872         [BZ #18694]
27873         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
27874         bits/wordsize.h.
27875         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
27877 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27879         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
27880         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
27881         (spawn_thread): New function.
27882         (load): Rename to reg_dtor_and_close.  Move dlopen to...
27883         (do_test): ... here.  Use IS_LOADED to test for its
27884         availability.
27886 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
27888         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27890 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
27892         [BZ #18696]
27893         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
27894         si_addr_bnd.
27895         (si_lower): New.
27896         (si_upper): Likewise.
27898 2015-07-16  David S. Miller  <davem@davemloft.net>
27900         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
27902 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27904         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
27905         buffer.
27906         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
27907         fail output information.
27909 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
27912         and strstr-ppc64..
27913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27914         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
27915         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
27916         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
27917         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
27919 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27921         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27922         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27923         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27924         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27926 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27928         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27929         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
27930         rtld_hidden_proto.
27931         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
27933 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27935         * tst-nodelete-opened.c (do_test): Add comment to clarify how
27936         the test can fail.
27938         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
27940         [BZ #18676]
27941         * elf/tst-nodelete-opened.c: New test case.
27942         * elf/tst-nodelete-opened-lib.c: New test case module.
27943         * elf/Makefile (tests, modules-names): Use them.
27944         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
27945         early.
27947 2015-07-15  David S. Miller  <davem@davemloft.net>
27949         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
27950         futex-intenal.h
27951         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
27952         * sysdeps/sparc/sparc64/Makefile: Likewise.
27953         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27954         Remove space from macro define.
27955         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
27957 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
27959         [BZ #17475]
27960         * locale/iso-639.def: Update Bhili and Tulu language codes as
27961         per iso639-3.
27963 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
27965         * elf/tst-leaks1.c (main): Converted to ...
27966         (do_test): ... this.
27967         (TEST_FUNCTION): New macro.
27968         Include test-skeleton.c.
27969         * localedata/tst-langinfo.c (main): Converted to ...
27970         (do_test): ... this.
27971         (TEST_FUNCTION): New macro.
27972         Include test-skeleton.c.
27973         * math/test-fpucw.c (main): Converted to ...
27974         (do_test): ... this.
27975         (TEST_FUNCTION): New macro.
27976         Include test-skeleton.c.
27977         * math/test-tgmath.c (main): Converted to ...
27978         (do_test): ... this.
27979         (TEST_FUNCTION): New macro.
27980         Include test-skeleton.c.
27981         * math/test-tgmath2.c (main): Converted to ...
27982         (do_test): ... this.
27983         (TEST_FUNCTION): New macro.
27984         Include test-skeleton.c.
27985         * setjmp/tst-setjmp.c (main): Converted to ...
27986         (do_test): ... this.
27987         (TEST_FUNCTION): New macro.
27988         Include test-skeleton.c.
27989         * stdio-common/tst-sscanf.c (main): Converted to ...
27990         (do_test): ... this.
27991         (TEST_FUNCTION): New macro.
27992         Include test-skeleton.c.
27993         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
27994         (do_test): ... this.
27995         (TEST_FUNCTION): New macro.
27996         Include test-skeleton.c.
27998         * elf/tst-audit9.c (main): Converted to ...
27999         (do_test): ... this.
28000         (TEST_FUNCTION): New macro.
28001         Include test-skeleton.c.
28003 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28005         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28007 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28009         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28010         New variable.
28012 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28014         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28016 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28018         * sysdeps/generic/dl-fileid.h: New file.
28019         * sysdeps/posix/dl-fileid.h: New file.
28020         * sysdeps/nacl/dl-fileid.h: New file.
28021         * include/link.h: Include <dl-fileid.h>.
28022         (struct link_map): Replace l_dev and l_ino with l_file_id.
28023         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28024         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28025         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28027 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28029         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28031 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28033         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28034         Add iff $CXX is set.
28035         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28036         Likewise.
28037         (tst-nodelete-zmodiff): Likewise.
28038         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28040 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28042         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28044 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28046         * sysdeps/aarch64/fpu/math_private.h
28047         (define math_opt_barrier): Add AArch64 version.
28048         (math_force_eval): Likewise.
28050 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28052         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28054 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28056         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28057         %ld with %jd and cast to intmax_t.
28058         (do_test_length_zero): Likewise.
28060 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28062         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28064 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28066         * sysdeps/tile/libm-test-ulps: Regenerated.
28068         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28069         Comment out the whole function, not just its body.
28071 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28073         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28074         locks.
28076         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28078 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28080         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28081         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28083 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28085         * sysdeps/nptl/futex-internal.h: New file.
28086         * sysdeps/nacl/futex-internal.h: New file.
28087         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28088         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28089         error checking.
28090         (setxid_unmark_thread): Likewise.
28091         (__nptl_setxid): Likewise.
28092         (__wait_lookup_done): Likewise.
28093         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28094         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28095         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28096         * nptl/pthread_once.c (clear_once_control): Likewise.
28097         (__pthread_once_slow): Likewise.
28098         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28099         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28100         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28101         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28102         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28103         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28104         Likewise.
28105         (__pthread_rwlock_rdlock): Likewise.
28106         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28107         Likewise.
28108         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28109         Likewise.
28110         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28111         Likewise.
28112         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28113         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28114         Likewise.
28115         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28116         __ASSUME_PRIVATE_FUTEX check.
28117         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28118         Check that shared futexes are supported.
28119         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28120         wrappers with error checking.
28121         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28122         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28123         * nptl/pthread_barrierattr_setpshared.c
28124         (pthread_barrierattr_setpshared): Check that shared futexes are
28125         supported.
28126         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28127         Likewise.
28128         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28129         Likewise.
28130         * nptl/sem_init.c (futex_private_if_supported): Remove.
28131         (__new_sem_init): Adapt and check that shared futexes are supported.
28132         * nptl/sem_open.c (sem_open): Likewise.
28133         * nptl/sem_post.c (futex_wake): Remove.
28134         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28135         (do_futex_wait): Use futex wrappers with error checking.
28136         * nptl/sem_wait.c: Include lowlevellock.h.
28137         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28138         Use futex_supports_pshared.
28139         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28140         Use futex wrappers with error checking.
28141         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28142         Likewise.
28143         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28144         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28145         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28146         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28147         (futex_wake): Likewise.
28148         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28149         (do_futex_wait): Use futex wrappers with error checking.
28150         (__new_sem_wait_slow): Update EINTR handling.
28151         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28153 2015-07-09  Martin Sebor  <msebor@redhat.com>
28155         [BZ #18435]
28156         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28157         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28158         * nptl/Makefile (test-xfail-tst-once5): Define.
28160 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28162         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28163         * elf/dl-minimal.c: For readability, reorder some definitions and
28164         introduce more page breaks.  Include <stdio.h>.
28165         (__libc_fatal): New function.
28167         * include/unistd.h: Add rtld_hidden_proto for _exit.
28168         * posix/_exit.c: Add rtld_hidden_def.
28169         * sysdeps/mach/hurd/_exit.c: Likewise.
28170         * sysdeps/nacl/_exit.c: Likewise.
28171         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28172         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28174 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28176         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28177         bndmov encoding with zero displacement.
28179 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28180             H.J. Lu  <hongjiu.lu@intel.com>
28182         [BZ #18134]
28183         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28184         * sysdeps/i386/configure: Regenerated.
28185         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28186         (_dl_runtime_profile): Save and restore Intel MPX return bound
28187         registers when calling _dl_call_pltexit.  Add
28188         PRESERVE_BND_REGS_PREFIX before return.
28189         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28190         (LRV_BND1_OFFSET): Likewise.
28191         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28192         lrv_bnd1.
28193         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28194         typo in bndmov encoding.
28195         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28196         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28197         branch instructions to preserve bounds.
28199 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28202         [GLIBC_2.22]: Add fmemopen.
28204 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28206         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28207         returns an error, also try to use host port from __mach_host_self for
28208         the __vm_wire call.
28209         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28211 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28213         [BZ #18400]
28214         [BZ #18648]
28215         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28216         Fix pr_uid and pr_gid members.
28217         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28218         definition to elf_greg_t.
28220 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28222         [BZ #18383]
28223         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28224         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28225         * sysdeps/arm/configure: Regenerated.
28226         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28227         (test-xfail-tst-tlsalign-static): Variable removed.
28229         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28230         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28231         rather than explicit 'ln -s'.
28233         * resolv/rpc/netdb.h: New file.
28234         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28236 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28238         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28239         length buffers.
28240         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28241         test-skeleton.c.
28243         [BZ #6544]
28244         [BZ #11216]
28245         [BZ #12836]
28246         [BZ #13151]
28247         [BZ #13152]
28248         [BZ #14292]
28249         * include/stdio.h (fmemopen): Remove hidden prototype.
28250         (__fmemopen): Add new hidden prototype.
28251         * libio/Makefile: Add oldfmemopen object.
28252         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28253         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28254         compliance.
28255         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28256         symbol compatibility.
28257         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28258         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28259         fmemopen.
28260         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28261         on append and read mode.
28262         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28263         fmemopen.
28264         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28265         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28266         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28267         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28268         Likewise.
28269         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28270         [GLIBC_2.22]: Likewise.
28271         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28272         Likewise.
28273         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28274         Likewise.
28275         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28276         [GLIBC_2.22]: Likewise.
28277         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28278         [GLIBC_2.22]: Likewise.
28279         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28280         [GLIBC_2.22]: Likewise.
28281         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28282         [GLIBC_2.22]: Likewise.
28283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28284         [GLIBC_2.22]: Likewise.
28285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28286         [GLIBC_2.22]: Likewise.
28287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28288         [GLIBC_2.22]: Likewise.
28289         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28290         Likewise.
28291         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28292         Likewise.
28293         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28294         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28295         [GLIBC_2.22]: Likewise.
28296         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28297         [GLIBC_2.22]: Likewise.
28298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28299         [GLIBC_2.22]: Likewise.
28300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28301         [GLIBC_2.22]: Likewise.
28302         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28303         Likewise.
28304         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28305         Likewise.
28306         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28307         Likewise.
28308         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28309         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28311 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28313         [BZ #18643]
28314         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28315         IPV6_PATHMTU, and IPV6_DONTFRAG.
28317 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28319         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28320         and _IO_UNBUFFERED.
28321         * libio/oldfileops.c: Likewise.
28322         * libio/wfileops.c: Likewise.
28324 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28326         * nscd/selinux.c: Delete selinux/flask.h include.
28328 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28330         [BZ #18641]
28331         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28332         (putpwent): Likewise.
28333         (getpwnam): Likewise.
28334         (getpwent_r): Likewise.
28335         (getpwuid_r): Likewise.
28336         (getpwnam_r): Likewise.
28337         (fgetpwent_r): Likewise.
28339 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28341         [BZ #18557]
28342         * inet/rcmd.c (__validuser2_sa): Check user first to
28343         short-circuit host check.
28345 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28346             Mikhail Ilin  <m.ilin@samsung.com>
28348         [BZ #17833]
28349         * elf/Makefile (tests): Add tst-nodelete.
28350         (modules-names): Add tst-nodelete-uniquemod.
28351         (tst-nodelete-uniquemod.so-no-z-defs): New.
28352         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28353         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28354         ($(objpfx)tst-nodelete): Likewise.
28355         ($(objpfx)tst-nodelete.out): Likewise.
28356         (LDFLAGS-tst-nodelete): Likewise.
28357         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28358         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28359         implement forced object deletion.
28360         (_dl_close): Pass false to _dl_close_worker.
28361         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28362         * elf/tst-nodelete.cc: New file.
28363         * elf/tst-nodeletelib.cc: Likewise.
28364         * elf/tst-znodeletelib.cc: Likewise.
28365         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28367 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28369         [BZ #18508]
28370         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28371         Depend on $(libdl).
28372         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28373         is not called infinitely times.
28374         (backtrace_helper): New function.
28375         (trace_arg): New struct.
28376         (st1): Enlarge stack size.
28377         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28378         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28379         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28380         Likewise.
28382 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28384         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28386 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28388         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28389         Include sys/types.h instead of bits/types.h.
28390         Remove inclusion of bits/wordsize.h.
28392 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28394         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28395         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28396         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28397         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28398         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28399         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28401 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28403         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28404         link-defines.sym.
28405         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28406         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28407         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28408         and LR_SIZE.
28409         * sysdeps/i386/link-defines.sym: New file.
28411 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28413         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28414         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28415         ($(objpfx)tst-audit3): New rule.
28416         ($(objpfx)tst-audit3.out): Likewise.
28417         * sysdeps/i386/tst-audit3.c: New file.
28418         * sysdeps/i386/tst-audit3.h: Likewise.
28419         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28420         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28422 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28424         [BZ #18633]
28425         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28426         pointer in C code.
28427         (__strcat_c): Likewise.
28428         (__strcat_g): Likewise.
28430 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28432         [BZ #18592]
28433         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28435 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28437         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28438         New function.  (__ieee754_sqrtf): New function.
28439         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28440         New function.
28441         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28442         New function.
28444 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28446         * sysdeps/ieee754/support.c: Remove unused file.
28448 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28450         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28451         registers instead of d ones so the layout is kernel abi compatible.
28452         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28453         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28454         Likewise.
28456 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28458         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28460 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28462         [BZ #18619]
28463         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28464         and return argument in case of subnormal argument.
28466 2015-07-01  Martin Sebor  <msebor@redhat.com>
28468         [BZ #18435]
28469         * nptl/Makefile: Add tst-once5.cc.
28470         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28471         Remove macro redefinitions.
28472         * nptl/tst-once5.cc: New test.
28474 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28476         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28478         * sysdeps/arm/libm-test-ulps: Regenerated.
28480         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28481         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28483 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28485         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28486         lll_lock_wait_private and lll_futex_wake probes.
28488         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28489         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28490         Likewise.
28491         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28492         atomic_spin_nop.
28493         * sysdeps/x86_64/bits/atomic.h: Likewise.
28494         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28495         to atomic_spin_nop and move ...
28496         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28497         ... here and ...
28498         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28499         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28500         atomic_spin_nop instead of BUSY_WAIT_NOP.
28501         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28502         Likewise.
28503         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28504         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28505         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28506         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28507         instead of atomic_delay.
28509 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28511         [BZ #18613]
28512         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28513         X_ADJ not X when adjusting exponent.
28514         (__ieee754_gamma_r): Do intermediate computations in
28515         round-to-nearest then adjust overflowing and underflowing results
28516         as needed.
28517         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28518         of X_ADJ not X when adjusting exponent.
28519         (__ieee754_gammaf_r): Do intermediate computations in
28520         round-to-nearest then adjust overflowing and underflowing results
28521         as needed.
28522         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28523         log of X_ADJ not X when adjusting exponent.
28524         (__ieee754_gammal_r): Do intermediate computations in
28525         round-to-nearest then adjust overflowing and underflowing results
28526         as needed.  Use 1.0L not 1.0f as numerator of division.
28527         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28528         log of X_ADJ not X when adjusting exponent.
28529         (__ieee754_gammal_r): Do intermediate computations in
28530         round-to-nearest then adjust overflowing and underflowing results
28531         as needed.  Use 1.0L not 1.0f as numerator of division.
28532         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28533         of X_ADJ not X when adjusting exponent.
28534         (__ieee754_gammal_r): Do intermediate computations in
28535         round-to-nearest then adjust overflowing and underflowing results
28536         as needed.  Use 1.0L not 1.0f as numerator of division.
28537         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28538         to auto-libm-test-in.
28539         (tgamma_test): Use ALL_RM_TEST.
28540         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28541         tests of tgamma with spurious-overflow.
28542         * math/auto-libm-test-out: Regenerated.
28543         * math/gen-libm-have-vector-test.sh: Do not check for START.
28544         * sysdeps/i386/fpu/libm-test-ulps: Update.
28545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28547         [BZ #18612]
28548         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28549         arguments, just return 0.5 times the argument, with underflow
28550         forced as needed.
28551         * math/auto-libm-test-in: Add more tests of j1.
28552         * math/auto-libm-test-out: Regenerated.
28554         [BZ #16559]
28555         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28556         (__ieee754_j1): Force underflow exception for small results.
28557         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28558         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28559         (__ieee754_j1f): Force underflow exception for small results.
28560         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28561         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28562         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28563         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28564         (__ieee754_j1l): Force underflow exception for small results.
28565         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28566         * math/auto-libm-test-in: Add more tests of j1 and jn.
28567         * math/auto-libm-test-out: Regenerated.
28569         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28570         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28571         (PF_MPLS): Likewise.
28572         (AF_IB): Likewise.
28573         (AF_MPLS): Likewise.
28574         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28575         value and macro.
28576         (MS_RMT_MASK): Include MS_LAZYTIME.
28578 2015-06-26  Mel Gorman  <mgorman@suse.de>
28580         [BZ #18502]
28581         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28582         already minimal.
28584 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28586         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28587         (DT_MIPS_NUM): Update.
28588         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28589         DT_MIPS_RLD_MAP_REL.
28591 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28593         [BZ #16559]
28594         [BZ #18602]
28595         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28596         round-to-nearest internally then recompute results that
28597         underflowed to zero in the original rounding mode.
28598         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28599         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28600         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28601         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28602         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28603         * sysdeps/i386/fpu/libm-test-ulps: Update.
28604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28606 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28608         * NEWS: Fixed description of link with vector math library.
28610 2015-06-25  Andreas Schwab  <schwab@suse.de>
28612         [BZ #18549]
28613         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28614         * libio/test-fmemopen.c (do_test): Add test for it.
28616 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28618         [BZ #17841]
28619         * Makeconfig (no-pie-ldflag): New.
28620         (+link): Set to $(+link-pie) if default to PIE.
28621         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28622         * config.make.in (build-pie-default): New.
28623         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28624         is default.  AC_SUBST.
28625         * configure: Regenerated.
28626         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28628 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28630         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28631         to 'unsigned int'.
28633         * resolv/gai_misc.h (struct waitlist): Change type of field
28634         counterp to 'volatile unsigned int *'.
28635         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28636         FUTEXADDR and OLDVAL.
28637         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28638         Give local variable TOTAL type 'volatile unsigned int'.
28639         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28640         * resolv/gai_suspend.c (gai_suspend):
28641         Give local variable CNTR type 'unsigned int'.
28643         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28644         counterp to 'volatile unsigned int *'.
28645         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28646         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28647         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28648         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28649         Give local variable TOTAL type 'volatile unsigned int'.
28650         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28652 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28654         [BZ #18383]
28655         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28656         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28657         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28658         comment for i386/x86-64.
28659         (test-xfail-tst-tlsalign-extern-static): Removed.
28661 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28663         * math/test-double.h: New file.
28664         * math/test-float.h: Likewise.
28665         * math/test-ldouble.h: Likewise.
28666         * math/test-math-inline.h: Likewise.
28667         * math/test-math-no-inline.h: Likewise.
28668         * math/test-math-scalar.h: Likewise.
28669         * math/test-math-vector.h: Likewise.
28670         * math/test-vec-loop.h: Remove file.  Contents moved into
28671         test-math-vector.h.
28672         * math/libm-test.inc (MATHCONST): Do not document macro.
28673         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28674         and test-math-scalar.h.
28675         (FUNC): Remove macro.
28676         (FUNC_TEST): Likewise.
28677         (FLOAT): Likewise.
28678         (MATHCONST): Likewise.
28679         (PRINTF_EXPR): Likewise.
28680         (PRINTF_XEXPR): Likewise.
28681         (PRINTF_NEXPR): Likewise.
28682         (TEST_DOUBLE): Likewise.
28683         (TEST_MATHVEC): Likewise.
28684         (__NO_MATH_INLINES): Likewise.
28685         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28686         and test-math-scalar.h.
28687         (FUNC): Remove macro.
28688         (FUNC_TEST): Likewise.
28689         (FLOAT): Likewise.
28690         (MATHCONST): Likewise.
28691         (PRINTF_EXPR): Likewise.
28692         (PRINTF_XEXPR): Likewise.
28693         (PRINTF_NEXPR): Likewise.
28694         (TEST_FLOAT): Likewise.
28695         (TEST_MATHVEC): Likewise.
28696         (__NO_MATH_INLINES): Likewise.
28697         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28698         and test-math-scalar.h.
28699         (FUNC): Remove macro.
28700         (FUNC_TEST): Likewise.
28701         (FLOAT): Likewise.
28702         (MATHCONST): Likewise.
28703         (PRINTF_EXPR): Likewise.
28704         (PRINTF_XEXPR): Likewise.
28705         (PRINTF_NEXPR): Likewise.
28706         (TEST_DOUBLE): Likewise.
28707         (TEST_MATHVEC): Likewise.
28708         (TEST_INLINE): Likewise.
28709         (__NO_MATH_INLINES): Likewise.
28710         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28711         test-math-scalar.h.
28712         (FUNC): Remove macro.
28713         (FUNC_TEST): Likewise.
28714         (FLOAT): Likewise.
28715         (MATHCONST): Likewise.
28716         (PRINTF_EXPR): Likewise.
28717         (PRINTF_XEXPR): Likewise.
28718         (PRINTF_NEXPR): Likewise.
28719         (TEST_FLOAT): Likewise.
28720         (TEST_MATHVEC): Likewise.
28721         (TEST_INLINE): Likewise.
28722         (__NO_MATH_INLINES): Likewise.
28723         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28724         and test-math-scalar.h.
28725         (FUNC): Remove macro.
28726         (FUNC_TEST): Likewise.
28727         (FLOAT): Likewise.
28728         (MATHCONST): Likewise.
28729         (PRINTF_EXPR): Likewise.
28730         (PRINTF_XEXPR): Likewise.
28731         (PRINTF_NEXPR): Likewise.
28732         (TEST_LDOUBLE): Likewise.
28733         (TEST_MATHVEC): Likewise.
28734         (TEST_INLINE): Likewise.
28735         (__NO_MATH_INLINES): Likewise.
28736         * math/test-ldouble.c: Include test-ldouble.h,
28737         test-math-no-inline.h and test-math-scalar.h.
28738         (FUNC): Remove macro.
28739         (FUNC_TEST): Likewise.
28740         (FLOAT): Likewise.
28741         (MATHCONST): Likewise.
28742         (PRINTF_EXPR): Likewise.
28743         (PRINTF_XEXPR): Likewise.
28744         (PRINTF_NEXPR): Likewise.
28745         (TEST_LDOUBLE): Likewise.
28746         (TEST_MATHVEC): Likewise.
28747         (__NO_MATH_INLINES): Likewise.
28748         * math/test-double-vlen2.h: Include test-double.h,
28749         test-math-no-inline.h and test-math-vector.h.
28750         (FLOAT): Remove macro.
28751         (FUNC): Likewise.
28752         (MATHCONST): Likewise.
28753         (PRINTF_EXPR): Likewise.
28754         (PRINTF_XEXPR): Likewise.
28755         (PRINTF_NEXPR): Likewise.
28756         (TEST_DOUBLE): Likewise.
28757         (TEST_MATHVEC): Likewise.
28758         (__NO_MATH_INLINES): Likewise.
28759         (CNCT): Likewise.
28760         (CONCAT): Likewise.
28761         (WRAPPER_NAME): Likewise.
28762         (WRAPPER_DECL): Likewise.
28763         (WRAPPER_DECL_ff): Likewise.
28764         (WRAPPER_DECL_fFF): Likewise.
28765         (VECTOR_WRAPPER): Likewise.
28766         (VECTOR_WRAPPER_ff): Likewise.
28767         (VECTOR_WRAPPER_fFF): Likewise.
28768         (VEC_LEN): New macro.
28769         * math/test-double-vlen4.h: Include test-double.h,
28770         test-math-no-inline.h and test-math-vector.h.
28771         (FLOAT): Remove macro.
28772         (FUNC): Likewise.
28773         (MATHCONST): Likewise.
28774         (PRINTF_EXPR): Likewise.
28775         (PRINTF_XEXPR): Likewise.
28776         (PRINTF_NEXPR): Likewise.
28777         (TEST_DOUBLE): Likewise.
28778         (TEST_MATHVEC): Likewise.
28779         (__NO_MATH_INLINES): Likewise.
28780         (CNCT): Likewise.
28781         (CONCAT): Likewise.
28782         (WRAPPER_NAME): Likewise.
28783         (WRAPPER_DECL): Likewise.
28784         (WRAPPER_DECL_ff): Likewise.
28785         (WRAPPER_DECL_fFF): Likewise.
28786         (VECTOR_WRAPPER): Likewise.
28787         (VECTOR_WRAPPER_ff): Likewise.
28788         (VECTOR_WRAPPER_fFF): Likewise.
28789         (VEC_LEN): New macro.
28790         * math/test-double-vlen8.h: Include test-double.h,
28791         test-math-no-inline.h and test-math-vector.h.
28792         (FLOAT): Remove macro.
28793         (FUNC): Likewise.
28794         (MATHCONST): Likewise.
28795         (PRINTF_EXPR): Likewise.
28796         (PRINTF_XEXPR): Likewise.
28797         (PRINTF_NEXPR): Likewise.
28798         (TEST_DOUBLE): Likewise.
28799         (TEST_MATHVEC): Likewise.
28800         (__NO_MATH_INLINES): Likewise.
28801         (CNCT): Likewise.
28802         (CONCAT): Likewise.
28803         (WRAPPER_NAME): Likewise.
28804         (WRAPPER_DECL): Likewise.
28805         (WRAPPER_DECL_ff): Likewise.
28806         (WRAPPER_DECL_fFF): Likewise.
28807         (VECTOR_WRAPPER): Likewise.
28808         (VECTOR_WRAPPER_ff): Likewise.
28809         (VECTOR_WRAPPER_fFF): Likewise.
28810         (VEC_LEN): New macro.
28811         * math/test-float-vlen4.h: Include test-float.h,
28812         test-math-no-inline.h and test-math-vector.h.
28813         (FLOAT): Remove macro.
28814         (FUNC): Likewise.
28815         (MATHCONST): Likewise.
28816         (PRINTF_EXPR): Likewise.
28817         (PRINTF_XEXPR): Likewise.
28818         (PRINTF_NEXPR): Likewise.
28819         (TEST_FLOAT): Likewise.
28820         (TEST_MATHVEC): Likewise.
28821         (__NO_MATH_INLINES): Likewise.
28822         (CNCT): Likewise.
28823         (CONCAT): Likewise.
28824         (WRAPPER_NAME): Likewise.
28825         (WRAPPER_DECL): Likewise.
28826         (WRAPPER_DECL_ff): Likewise.
28827         (WRAPPER_DECL_fFF): Likewise.
28828         (VECTOR_WRAPPER): Likewise.
28829         (VECTOR_WRAPPER_ff): Likewise.
28830         (VECTOR_WRAPPER_fFF): Likewise.
28831         (VEC_LEN): New macro.
28832         * math/test-float-vlen8.h: Include test-float.h,
28833         test-math-no-inline.h and test-math-vector.h.
28834         (FLOAT): Remove macro.
28835         (FUNC): Likewise.
28836         (MATHCONST): Likewise.
28837         (PRINTF_EXPR): Likewise.
28838         (PRINTF_XEXPR): Likewise.
28839         (PRINTF_NEXPR): Likewise.
28840         (TEST_FLOAT): Likewise.
28841         (TEST_MATHVEC): Likewise.
28842         (__NO_MATH_INLINES): Likewise.
28843         (CNCT): Likewise.
28844         (CONCAT): Likewise.
28845         (WRAPPER_NAME): Likewise.
28846         (WRAPPER_DECL): Likewise.
28847         (WRAPPER_DECL_ff): Likewise.
28848         (WRAPPER_DECL_fFF): Likewise.
28849         (VECTOR_WRAPPER): Likewise.
28850         (VECTOR_WRAPPER_ff): Likewise.
28851         (VECTOR_WRAPPER_fFF): Likewise.
28852         (VEC_LEN): New macro.
28853         * math/test-float-vlen16.h: Include test-float.h,
28854         test-math-no-inline.h and test-math-vector.h.
28855         (FLOAT): Remove macro.
28856         (FUNC): Likewise.
28857         (MATHCONST): Likewise.
28858         (PRINTF_EXPR): Likewise.
28859         (PRINTF_XEXPR): Likewise.
28860         (PRINTF_NEXPR): Likewise.
28861         (TEST_FLOAT): Likewise.
28862         (TEST_MATHVEC): Likewise.
28863         (__NO_MATH_INLINES): Likewise.
28864         (CNCT): Likewise.
28865         (CONCAT): Likewise.
28866         (WRAPPER_NAME): Likewise.
28867         (WRAPPER_DECL): Likewise.
28868         (WRAPPER_DECL_ff): Likewise.
28869         (WRAPPER_DECL_fFF): Likewise.
28870         (VECTOR_WRAPPER): Likewise.
28871         (VECTOR_WRAPPER_ff): Likewise.
28872         (VECTOR_WRAPPER_fFF): Likewise.
28873         (VEC_LEN): New macro.
28874         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
28875         test-vec-loop.h.
28876         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28877         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28878         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28879         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28880         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28881         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28882         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28884 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28886         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
28887         (__getlogin_r): ... this.
28889 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28891         [BZ #18594]
28892         * math/s_ccosh.c (__ccosh): Compare with least normal value
28893         instead of comparing class with FP_SUBNORMAL.
28894         * math/s_ccoshf.c (__ccoshf): Likewise.
28895         * math/s_ccoshl.c (__ccoshl): Likewise.
28896         * math/s_cexp.c (__cexp): Likewise.
28897         * math/s_cexpf.c (__cexpf): Likewise.
28898         * math/s_cexpl.c (__cexpl): Likewise.
28899         * math/s_csin.c (__csin): Likewise.
28900         * math/s_csinf.c (__csinf): Likewise.
28901         * math/s_csinh.c (__csinh): Likewise.
28902         * math/s_csinhf.c (__csinhf): Likewise.
28903         * math/s_csinhl.c (__csinhl): Likewise.
28904         * math/s_csinl.c (__csinl): Likewise.
28905         * math/s_ctan.c (__ctan): Likewise.
28906         * math/s_ctanf.c (__ctanf): Likewise.
28907         * math/s_ctanh.c (__ctanh): Likewise.
28908         * math/s_ctanhf.c (__ctanhf): Likewise.
28909         * math/s_ctanhl.c (__ctanhl): Likewise.
28910         * math/s_ctanl.c (__ctanl): Likewise.
28911         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
28912         csin, csinh, ctan and ctanh.
28913         * math/auto-libm-test-out: Regenerated.
28914         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
28915         * sysdeps/i386/fpu/libm-test-ulps: Update.
28916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28918 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28920         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
28921         return value is wrong, print the expected value too.
28923 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28925         [BZ #18585]
28926         * elf/readlib.c (is_gdb_python_file): New.
28927         (process_file): Don't issue errors on filenames with -gdb.py
28928         suffix.
28930 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28932         * math/auto-libm-test-in: Add more tests of csin and csinh.
28933         * math/auto-libm-test-out: Regenerated.
28934         * math/libm-test.inc (csin_test_data): Remove tests moved to
28935         auto-libm-test-in.
28936         (csinh_test_data): Likewise.
28938         [BZ #18593]
28939         * math/s_csin.c (__csin): Negate before rather than after possibly
28940         overflowing multiplication.
28941         * math/s_csinf.c (__csinf): Likewise.
28942         * math/s_csinh.c (__csinh): Likewise.
28943         * math/s_csinhf.c (__csinhf): Likewise.
28944         * math/s_csinhl.c (__csinhl): Likewise.
28945         * math/s_csinl.c (__csinl): Likewise.
28946         * math/auto-libm-test-in: Add some tests of csin and csinh.
28947         * math/auto-libm-test-out: Regenerated.
28948         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
28949         (csinh_test_data): Likewise.
28950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28952         [BZ #18586]
28953         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
28954         underflow exception for small results.
28956 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28958         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28959         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
28960         variable and included header.
28961         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
28962         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
28963         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
28964         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
28965         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
28966         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
28967         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
28968         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
28969         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
28970         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
28971         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
28972         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
28973         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
28974         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
28975         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
28976         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
28978 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28980         [BZ #16526]
28981         [BZ #16538]
28982         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
28983         (__sin): Force underflow exception for arguments with small
28984         absolute value.
28985         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
28986         (__kernel_sinf): Force underflow exception for arguments with
28987         small absolute value.
28988         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
28989         (__kernel_sincosl): Force underflow exception for arguments with
28990         small absolute value.
28991         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
28992         (__kernel_sinl): Force underflow exception for arguments with
28993         small absolute value.
28994         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
28995         (__kernel_sincosl): Force underflow exception for arguments with
28996         small absolute value.
28997         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
28998         (__kernel_sinl): Force underflow exception for arguments with
28999         small absolute value.
29000         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29001         (__kernel_sinl): Force underflow exception for arguments with
29002         small absolute value.
29003         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29004         (__kernel_sinf): Force underflow exception for arguments with
29005         small absolute value.
29006         * math/auto-libm-test-in: Add more tests of sin and sincos.
29007         * math/auto-libm-test-out: Regenerated.
29009         [BZ #18245]
29010         [BZ #18583]
29011         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29012         (__kernel_standard_l): Use feholdexcept and fesetenv around
29013         conversion to double instead of special-casing overflow and
29014         underflow.
29015         * math/libm-test.inc (fmod_test_data): Add more tests.
29016         (remainder_test_data): Likewise.
29017         (sqrt_test_data): Likewise.
29019 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29021         [BZ #17403]
29022         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29023         atomic_read_barrier, atomic_write_barrier): Define.
29024         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29025         atomic_read_barrier, atomic_write_barrier): Define.
29027 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29029         * math/Makefile [$(PERL) != no]
29030         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29031         dependency on libm-test.stmp below the inclusion of Rules.
29033 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29035         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29036         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29037         and included header.
29038         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29039         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29040         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29041         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29042         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29043         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29044         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29045         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29046         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29047         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29048         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29049         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29050         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29051         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29052         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29053         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29054         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29055         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29056         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29058 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29060         [BZ #18371]
29061         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29062         intermediate but not final result might underflow.
29063         * math/s_csqrtf.c (__csqrtf): Likewise.
29064         * math/s_csqrtl.c (__csqrtl): Likewise.
29065         * math/auto-libm-test-in: Add more tests of csqrt.
29066         * math/auto-libm-test-out: Regenerated.
29067         * sysdeps/i386/fpu/libm-test-ulps: Update.
29069         [BZ #18219]
29070         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29071         threshold on absolute value of exponent for which scaling is used.
29072         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29073         * math/auto-libm-test-in: Add more tests of exp2.
29074         * math/auto-libm-test-out: Regenerated.
29076 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29078         [BZ #17977]
29079         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29080         when initializing interface list, based on the bug analysis
29081         and the patch proposed by Eric Newton.
29082         * resolv/tst-res_hconf_reorder.c: New test.
29083         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29084         tst-res_hconf_reorder.
29085         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29086         and $(shared-thread-library).
29087         (tst-res_hconf_reorder-ENV): New variable.
29089         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29090         in comment.
29092 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29094         [BZ #16353]
29095         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29096         (__expm1): Force underflow exception for arguments with small
29097         absolute value.
29098         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29099         (__expm1f): Force underflow exception for arguments with small
29100         absolute value.
29101         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29102         (__expm1): Force underflow exception for arguments with small
29103         absolute value.
29104         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29105         (__expm1f): Force underflow exception for arguments with small
29106         absolute value.
29107         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29108         Check for small arguments before calling __expm1.
29109         * math/auto-libm-test-in: Do not mark underflow exceptions as
29110         possibly missing for bug 16353.
29111         * math/auto-libm-test-out: Regenerated.
29113 2015-06-22  Andreas Schwab  <schwab@suse.de>
29115         [BZ #18513]
29116         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29117         PTR queries.
29119 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29121         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29123         * string/strcoll_l.c: Remove unused struct element idxnow.
29125 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29127         [BZ #18569]
29128         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29129         underflow and return argument in case of subnormal argument.
29130         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29131         Likewise.
29132         * math/auto-libm-test-in: Add more tests of expm1.
29133         * math/auto-libm-test-out: Regenerated.
29135         [BZ #16361]
29136         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29137         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29138         tiny results.
29139         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29140         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29141         tiny results.
29142         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29143         mark underflow exceptions as possibly missing for bug 16361.
29144         * math/auto-libm-test-out: Regenerated.
29146 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29148         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29149         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29150         Remove variable.
29151         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29152         (test-xfail-XOPEN2K8/utmpx.h/conform).
29154         * conform/conformtest.pl ($xerrors): New variable.
29155         (note_error): New function.
29156         (compiletest): New argument $xfail.  Use not_error.
29157         (runtest): Likewise.
29158         (top level): Handle xfail- lines.  Update calls to compiletest and
29159         runtest.  Handle xfail- and optional- in headers listed with
29160         allow-header.
29161         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29162         (O_EXEC): Likewise.
29163         (O_SEARCH): Likewise.
29164         * conform/data/stropts.h-data (ioctl): Likewise.
29165         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29166         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29167         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29168         (msghdr.msg_controllen): Likewise.
29169         (cmsghdr.cmsg_len): Likewise.
29170         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29171         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29172         variable.
29173         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29174         (test-xfail-XPG4/stropts.h/conform): Likewise.
29175         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29176         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29177         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29178         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29179         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29180         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29181         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29182         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29183         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29184         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29185         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29186         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29187         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29188         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29189         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29190         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29191         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29192         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29193         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29195 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29197         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29198         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29199         definitions for proper unfolding of __MATHDECL_VEC.
29201 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29203         * benchtests/bench-strcoll.c:
29204         Include string.h.
29205         (main): Remove unused variable res.
29207 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29209         * timezone/Makefile (%/UTC %/Universal):
29210         Generate test-result files for UTC and Universal.
29212 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29214         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29216 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29218         [BZ #16350]
29219         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29220         for arguments with small absolute value.
29221         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29222         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29223         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29224         (__asinh): Force underflow exception for arguments with small
29225         absolute value.
29226         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29227         (__asinhf): Force underflow exception for arguments with small
29228         absolute value.
29229         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29230         (__asinhl): Force underflow exception for arguments with small
29231         absolute value.
29232         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29233         (__asinhl): Force underflow exception for arguments with small
29234         absolute value.
29235         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29236         (__asinhl): Force underflow exception for arguments with small
29237         absolute value.
29238         * math/auto-libm-test-in: Do not mark underflow exceptions as
29239         possibly missing for bug 16350.
29240         * math/auto-libm-test-out: Regenerated.
29242         * include/bits/ipc.h: Remove file.
29243         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29244         variable.
29245         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29246         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29247         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29248         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29249         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29250         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29251         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29252         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29253         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29255         * math/auto-libm-test-in: Remove spurious underflow allowance for
29256         tests of cexp.
29257         * math/auto-libm-test-out: Regenerated.
29259         [BZ #18558]
29260         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29261         unconditional definition.
29262         (MCAST_BLOCK_SOURCE): Likewise.
29263         (MCAST_UNBLOCK_SOURCE): Likewise.
29264         (MCAST_LEAVE_GROUP): Likewise.
29265         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29266         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29267         (MCAST_MSFILTER): Likewise.
29268         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29269         Remove variable.
29270         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29271         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29272         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29273         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29274         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29276 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29278         * NEWS: Mention addition of x86_64 vector sincosf.
29279         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29280         * math/test-float-vlen4.h: Likewise.
29281         * math/test-float-vlen8.h: Likewise.
29282         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29283         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29284         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29285         * sysdeps/x86_64/fpu/Versions: New versions added.
29286         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29287         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29288         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29289         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29290         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29291         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29292         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29293         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29294         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29295         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29296         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29297         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29298         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29299         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29300         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29301         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29302         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29303         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29304         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29305         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29306         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29307         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29308         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29309         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29311         * NEWS: Mention addition of x86_64 vector sincos.
29312         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29313         * math/math.h (__MATHDECL_VEC): New macro.
29314         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29315         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29316         declaration under condition.
29317         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29318         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29319         TEST_VEC_LOOP change.
29320         * math/test-double-vlen4.h: Likewise.
29321         * math/test-double-vlen8.h: Likewise.
29322         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29323         * math/test-float-vlen4.h: Likewise.
29324         * math/test-float-vlen8.h: Likewise.
29325         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29326         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29327         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29328         * sysdeps/x86_64/fpu/Versions: New versions added.
29329         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29330         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29331         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29332         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29333         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29334         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29335         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29336         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29337         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29338         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29339         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29340         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29341         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29342         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29343         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29344         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29345         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29346         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29347         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29348         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29349         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29350         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29351         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29352         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29354         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29355         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29356         redirections for powf.
29357         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29358         * sysdeps/x86_64/fpu/Versions: New versions added.
29359         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29360         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29361         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29362         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29363         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29364         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29365         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29366         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29367         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29368         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29369         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29370         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29371         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29372         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29373         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29374         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29375         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29376         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29377         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29378         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29379         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29380         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29381         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29382         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29383         * math/test-float-vlen16.h: Fixed 2 argument macro.
29384         * math/test-float-vlen4.h: Likewise.
29385         * math/test-float-vlen8.h: Likewise.
29386         * NEWS: Mention addition of x86_64 vector powf.
29388 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29390         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29391         and redefine.
29392         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29393         and redefine.
29394         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29395         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29396         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29398         [BZ #18553]
29399         * resource/getpriority.c (getpriority): Rename to __getpriority
29400         and define as weak alias of __getpriority.
29401         * resource/setpriority.c (setpriority): Rename to __setpriority
29402         and define as weak alias of __setpriority.
29403         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29404         __getpriority and define as weak alias of __getpriority.
29405         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29406         __setpriority and define as weak alias of __setpriority.
29407         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29408         strong name.
29409         (setpriority): Use __setpriority as strong name.
29410         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29411         __getpriority and define as weak alias of __getpriority.
29412         * include/sys/resource.h (__getpriority): Declare.  Use
29413         libc_hidden_proto.
29414         (__setpriority): Likewise.
29415         (getpriority): Don't use libc_hidden_proto.
29416         (setpriority): Likewise.
29417         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29418         getpriority.  Call __setpriority instead of setpriority.
29419         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29420         Remove variable.
29422         [BZ #18547]
29423         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29424         as weak alias of __getttynam.  Use prototype function definition.
29425         Call __setttyent, __getttyent and __endttyent instead of
29426         setttyent, getttyent and endttyent.
29427         (getttyent): Rename to __getttyent and define as weak alias of
29428         __getttyent.  Call __setttyent instead of setttyent.  Call
29429         __fgets_unlocked instead of fgets_unlocked.
29430         (setttyent): Rename to __setttyent and define as weak alias of
29431         __setttyent.
29432         (endttyent): Rename to __endttyent and define as weak alias of
29433         __endttyent.
29434         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29435         (__setttyent): Likewise.
29436         (__endttyent): Likewise.
29437         (getttyent): Don't use libc_hidden_proto.
29438         (setttyent): Likewise.
29439         (endttyent): Likewise.
29440         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29441         __endttyent instead of setttyent, getttyent and endttyent.
29442         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29443         Remove variable.
29445         [BZ #18546]
29446         * socket/recv.c (__recv): Use libc_hidden_def.
29447         * socket/socket.c (__socket): Likewise.
29448         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29449         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29450         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29451         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29452         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29453         libc_hidden_def.
29454         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29455         libc_hidden_weak.
29456         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29457         Use libc_hidden_proto.
29458         (__recv): Likewise.
29459         * socket/Versions (libc): Export __recv and __socket at version
29460         GLIBC_PRIVATE.
29461         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29462         instead of recv.
29463         (init_mq_netlink): Call __socket instead of socket.
29464         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29465         Remove variable.
29467         [BZ #18545]
29468         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29469         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29470         hidden_weak.
29471         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29472         define as alias of __mq_timedsend.  Use hidden_weak.
29473         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29474         __mq_timedsend as strong name.
29475         (mq_timedreceive): Use __mq_timedreceive as strong name.
29476         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29477         (__mq_timedreceive): Likewise.
29478         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29479         __mq_timedreceive instead of mq_timedreceive.
29480         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29481         instead of mq_timedsend.
29482         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29483         Remove variable.
29485         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29486         hidden_def and hidden_weak instead of libc_hidden_def and
29487         libc_hidden_weak.
29488         (top level): Refer to hidden_def in comment.
29489         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29490         macro.  Use it instead of libc_hidden_def.
29491         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29492         specify __GI_* name explicitly.
29493         (mq_timedreceive): Likewise.
29494         (mq_setattr): Likewise.
29496         [BZ #18544]
29497         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29498         __pthread_barrier_init and define as weak alias of
29499         __pthread_barrier_init.
29500         * sysdeps/sparc/nptl/pthread_barrier_init.c
29501         (pthread_barrier_init): Likewise.
29502         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29503         __pthread_barrier_wait and define as weak alias of
29504         __pthread_barrier_wait.
29505         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29506         (pthread_barrier_wait): Likewise.
29507         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29508         (pthread_barrier_wait): Likewise.
29509         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29510         (pthread_barrier_wait): Likewise.
29511         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29512         (pthread_barrier_wait): Likewise.
29513         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29514         __pthread_barrier_wait at version GLIBC_PRIVATE.
29515         * include/pthread.h (__pthread_barrier_init): Declare.
29516         (__pthread_barrier_wait): Likewise.
29517         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29518         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29519         (helper_thread): Likewise.
29520         (init_mq_netlink): Call __pthread_barrier_init instead of
29521         pthread_barrier_init.
29523         [BZ #18542]
29524         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29525         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29526         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29527         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29528         vswscanf.
29529         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29530         Remove variable.
29532         [BZ #18540]
29533         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29534         strong alias of _IO_fflush.  Use libc_hidden_def.
29535         * libio/iofflush_u.c (fflush_unlocked): Rename to
29536         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29537         Use libc_hidden_weak.
29538         * include/stdio.h (__fflush_unlocked): Declare.  Use
29539         libc_hidden_proto.
29540         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29541         fflush_unlocked.
29542         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29543         Remove variable.
29545         [BZ #18539]
29546         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29547         define as weak alias of __addseverity.
29548         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29549         Remove variable.
29550         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29551         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29552         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29554         [BZ #18536]
29555         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29556         (__tfind): Likewise.
29557         (__tdelete): Likewise.
29558         (__twalk): Likewise.
29559         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29560         __twalk to GLIBC_PRIVATE.
29561         * include/search.h (__tsearch): Use libc_hidden_proto.
29562         (__tfind): Likewise.
29563         (__tdelete): Likewise.
29564         (__twalk): Likewise.
29565         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29566         Call __tdelete instead of tdelete.
29567         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29568         tfind.  Call __tsearch instead of tsearch.
29569         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29570         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29571         Remove variable.
29572         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29574         [BZ #18534]
29575         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29576         (dprintf): Define as a weak alias of __dprintf, not a strong
29577         alias.
29578         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29579         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29580         dprintf.
29581         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29582         Remove variable.
29583         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29584         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29586         [BZ #18533]
29587         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29588         not a strong alias.
29589         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29590         Remove variable.
29592         [BZ #18532]
29593         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29594         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29595         (in6addr_loopback): Rename to __in6addr_loopback and define as
29596         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29597         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29598         libc_hidden_proto.
29599         (__in6addr_any): Likewise.
29600         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29601         in6addr_any.
29602         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29603         variable.
29604         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29606 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29608         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29609         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29610         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29611         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29612         redirections for pow.
29613         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29614         * sysdeps/x86_64/fpu/Versions: New versions added.
29615         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29616         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29617         build of SSE, AVX2 and AVX512 IFUNC versions.
29618         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29619         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29620         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29621         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29622         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29623         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29624         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29625         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29626         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29627         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29628         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29629         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29630         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29631         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29632         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29633         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29634         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29635         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29636         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29637         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29638         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29639         * NEWS: Mention addition of x86_64 vector pow.
29641         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29642         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29643         redirections for expf.
29644         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29645         * sysdeps/x86_64/fpu/Versions: New versions added.
29646         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29647         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29648         build of SSE, AVX2 and AVX512 IFUNC versions.
29649         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29650         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29651         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29652         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29653         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29654         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29655         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29656         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29657         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29658         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29659         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29660         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29661         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29662         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29663         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29664         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29665         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29666         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29667         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29668         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29669         * NEWS: Mention addition of x86_64 vector expf.
29671         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29672         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29673         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29674         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29675         redirections for exp.
29676         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29677         * sysdeps/x86_64/fpu/Versions: New versions added.
29678         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29679         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29680         build of SSE, AVX2 and AVX512 IFUNC versions.
29681         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29682         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29683         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29684         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29685         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29686         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29687         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29688         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29689         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29690         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29691         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29692         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29693         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29694         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29695         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29696         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29697         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29698         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29699         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29700         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29701         * NEWS: Mention addition of x86_64 vector exp.
29703         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29704         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29705         redirections for logf.
29706         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29707         * sysdeps/x86_64/fpu/Versions: New versions added.
29708         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29709         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29710         build of SSE, AVX2 and AVX512 IFUNC versions.
29711         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29712         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29713         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29714         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29715         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29716         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29717         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29718         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29719         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29720         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29721         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29722         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29723         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29724         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29725         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29726         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29727         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29728         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29729         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29730         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29731         * NEWS: Mention addition of x86_64 vector logf.
29733         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29734         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29735         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29736         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29737         redirections for log.
29738         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29739         * sysdeps/x86_64/fpu/Versions: New versions added.
29740         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29741         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29742         build of SSE, AVX2 and AVX512 IFUNC versions.
29743         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29744         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29745         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29746         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29747         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29748         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29749         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29750         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29751         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29752         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29753         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29754         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29755         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29756         test.
29757         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29758         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29759         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29760         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29761         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29762         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29763         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29764         * NEWS: Mention addition of x86_64 vector log.
29766 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29768         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29769         cfi_adjust_cfa_offset argument.
29770         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29771         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29773         [BZ #18034]
29774         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29775         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29776         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29777         ordering using ldar.
29778         (_dl_tlsdesc_dynamic): Likewise.
29779         (_dl_tlsdesc_return_lazy): Likewise.
29780         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29781         relaxed atomics instead of volatile and synchronize with release store.
29782         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29783         volatile.
29784         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29786 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29788         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29789         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29790         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29791         * sysdeps/x86_64/fpu/Versions: New versions added.
29792         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29793         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29794         build of SSE, AVX2 and AVX512 IFUNC versions.
29795         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29796         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29797         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29798         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29799         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29800         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29801         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29802         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29803         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29804         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29805         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29806         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29807         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29808         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29809         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29810         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29811         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29812         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29813         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29814         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29815         * NEWS: Mention addition of x86_64 vector sinf.
29817 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29819         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29820         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29821         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29822         Remove variable.
29823         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29824         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29826 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29828         [BZ #18530]
29829         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29830         strong alias of _IO_fputs.  Use libc_hidden_def.
29831         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29832         and define as weak alias of __fputs_unlocked.  Use
29833         libc_hidden_weak.
29834         * include/stdio.h (__fputs_unlocked): Declare.  Use
29835         libc_hidden_proto.
29836         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29837         fputs_unlocked.
29839         [BZ #18529]
29840         * resolv/netdb.h [__USE_POSIX]: Change condition to
29841         [__USE_XOPEN2K].
29842         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29843         not expect.
29844         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29845         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29846         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29847         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
29848         [XPG4 || UNIX98] (AI_ALL): Likewise.
29849         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
29850         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
29851         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
29852         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
29853         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
29854         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
29855         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
29856         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
29857         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
29858         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
29859         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
29860         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
29861         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
29862         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
29863         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
29864         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29865         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29866         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
29867         [XPG4 || UNIX98] (gai_strerror): Likewise.
29868         [XPG4 || UNIX98] (getaddrinfo): Likewise.
29869         [XPG4 || UNIX98] (getnameinfo): Likewise.
29871         [BZ #18528]
29872         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
29873         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
29874         __USE_XOPEN2K8].
29875         (getgrent): Likewise.
29876         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
29877         expect.
29878         [XPG3 || POSIX2008] (endgrent): Likewise.
29879         [XPG3] (setgrent): Likewise.
29880         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
29881         variable.
29882         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29884         [BZ #18527]
29885         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
29886         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
29887         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
29888         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
29889         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
29890         * include/unistd.h (__getlogin_r): Declare.  Use
29891         libc_hidden_proto.
29892         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
29893         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
29894         variable.
29895         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29896         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29897         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29899 2015-06-12  Martin Sebor  <msebor@redhat.com>
29901         [BZ #18512]
29902         * Makerules (check-install-supported): New target.
29903         (install): Add check-install-supported as a dependency.
29904         * manual/install.texi (Installing the C Library): Document
29905         that overriding prefix and exec_prefix is not supported.
29906         Mention DESTDIR.
29907         * INSTALL: Regenerate from the above.
29909 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29911         [BZ #18519]
29912         * posix/Versions (libc): Export __libc_pread at version
29913         GLIBC_PRIVATE.
29914         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
29915         instead of pread.
29916         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
29917         variable.
29919         [BZ #18522]
29920         * misc/efgcvt_r.c
29921         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
29922         (cvt_symbol): Use weak_alias instead of strong_alias.
29923         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
29924         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
29925         Remove variable.
29926         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29927         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29929         [BZ #18520]
29930         * inet/herrno.c (h_errno): Rename to __h_errno.
29931         (__libc_h_errno): Define as alias of __h_errno not h_errno.
29932         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
29933         to __h_errno instead of h_errno.
29934         * nptl/herrno.c (h_errno): Rename to __h_errno.
29935         (__h_errno_location): Refer to __h_errno not h_errno.
29936         * resolv/Versions (h_errno): Rename to __h_errno.
29937         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
29938         Remove variable.
29939         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29941 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
29943         * configure.ac: More strict check for AVX512 assembler support.
29944         * configure: Regenerated.
29946         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
29947         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
29948         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29949         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
29950         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29951         * sysdeps/x86_64/fpu/Versions: New versions added.
29952         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29953         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29954         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29955         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
29956         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
29957         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
29958         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
29959         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
29960         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
29961         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
29962         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
29963         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
29964         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
29965         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
29966         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
29967         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
29968         test.
29969         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29970         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29971         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29972         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29973         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29974         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29975         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29976         * NEWS: Mention addition of x86_64 vector sin.
29978 2015-06-11  Florian Weimer  <fweimer@redhat.com>
29980         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
29981         comment.
29983 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29985         [BZ #18479]
29986         * nptl/pt-interp.c: New file.
29987         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
29988         Add pt-interp.
29989         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
29990         $(common-objpfx)runtime-linker.h.
29992 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
29994         * Makeconfig (+interp): Remove unused variable.
29995         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
29996         only.  Depend on $(common-objpfx)runtime-linker.h instead of
29997         $(elf-objpfx)runtime-linker.h.
29998         ($(elf-objpfx)runtime-linker.h): Rename to
29999         $(common-objpfx)runtime-linker.h and move ...
30000         * Makerules [$(build-shared) = yes]: ... here.
30001         * elf/interp.c: Include <runtime-linker.h> instead of
30002         <elf/runtime-linker.h>.
30004 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30006         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30007         (__gettimeofday_syscall): Remove vsyscall fallback.
30008         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30009         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30010         Add syscall fallback function.
30011         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30012         if vDSO is not present.
30013         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30014         fallback function.
30015         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30016         present.
30017         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30018         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30020 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30022         [BZ #18497]
30023         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30024         of wcscmp.
30025         (wcscmp): Define as weak alias of WCSCMP.
30026         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30027         wcscoll.
30028         (USE_HIDDEN_DEF): Define.
30029         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30030         __wcscoll.  Don't use libc_hidden_weak.
30031         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30032         wcscmp.
30033         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30034         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30035         __GI_wcscmp.
30036         (weak_alias): Undefine and redefine.
30037         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30038         __wcscmp and define as weak alias of __wcscmp.
30039         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30040         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30041         (__wcscoll): Likewise.
30042         (wcscmp): Don't use libc_hidden_proto.
30043         (wcscoll): Likewise.
30044         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30045         wcscoll.
30046         * posix/regexec.c (check_node_accept_bytes): Likewise.
30047         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30048         variable.
30049         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30050         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30052         [BZ #18507]
30053         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30054         __fstatvfs and define as weak alias of __fstatvfs.  Use
30055         libc_hidden_weak.
30056         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30057         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30058         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30059         Define as alias of __fstatvfs, not fstatvfs.
30060         (fstatvfs64): Likewise.
30061         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30062         Define as alias of __statvfs, not statvfs.
30063         (statvfs64): Likewise.
30064         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30065         Remove variable.
30067 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30070         (HAVE_GETCPU_VSYSCALL): Define.
30071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30072         (HAVE_GETCPU_VSYSCALL): Likewise.
30073         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30074         * sysdeps/unix/sysv/linux/sched_getcpu.c
30075         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30076         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30077         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30078         prototype.
30079         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30080         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30081         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30083         Define.
30084         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30085         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30086         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30087         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30089 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30091         * sysdeps/x86_64/fpu/Makefile: New file.
30092         * sysdeps/x86_64/fpu/Versions: New file.
30093         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30094         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30095         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30096         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30097         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30098         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30099         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30100         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30101         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30102         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30103         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30104         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30105         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30106         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30107         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30108         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30109         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30110         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30111         * sysdeps/x86_64/configure: Regenerated.
30112         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30113         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30114         * manual/install.texi (Configuring and compiling): Document
30115         --disable-mathvec.
30116         * INSTALL: Regenerated.
30117         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30119         * math/Makefile: Added rules for vector tests.
30120         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30121         declaration under condition.
30122         * math/test-double-vlen2.h: New file.
30123         * math/test-double-vlen4.h: New file.
30124         * math/test-double-vlen8.h: New file.
30125         * math/test-vec-loop.h: Added initialization macro.
30126         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30128         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30129         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30130         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30131         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30132         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30133         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30134         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30135         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30136         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30138         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30139         * sysdeps/x86_64/fpu/Versions: New versions added.
30140         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30141         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30142         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30143         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30144         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30145         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30146         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30147         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30148         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30149         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30150         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30151         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30152         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30153         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30154         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30155         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30156         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30157         * NEWS: Mention addition of x86_64 vector cosf.
30159         * math/Makefile: Added CFLAGS for new tests.
30160         * math/test-float-vlen16.h: New file.
30161         * math/test-float-vlen4.h: New file.
30162         * math/test-float-vlen8.h: New file.
30163         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30164         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30165         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30166         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30167         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30168         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30169         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30170         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30171         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30172         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30173         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30175 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30177         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30178         * locale/programs/ld-ctype.c: Likewise.
30180 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30182         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30183         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30184         bit_ZMM16_31_state): New macro.
30185         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30186         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30188 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30190         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30192 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30194         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30196 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30198         [BZ #18498]
30199         * libio/memstream.c (open_memstream): Rename to __open_memstream
30200         and define as weak alias of __open_memstream.
30201         * include/stdio.h (__open_memstream): Declare.  Use
30202         libc_hidden_proto.
30203         (open_memstream): Don't use libc_hidden_proto.
30204         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30205         open_memstream.
30206         * posix/getopt.c (_getopt_internal_r): Likewise.
30207         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30208         variable.
30209         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30210         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30211         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30213         [BZ #18496]
30214         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30215         instead of wcrtomb.
30217         [BZ #18483]
30218         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30219         [__USE_XOPEN2K8].  Remove redundant #endif.
30220         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30221         Remove redundant #if.
30222         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30223         Remove variable.
30224         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30225         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30227         [BZ #18495]
30228         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30229         (__iswlower): Likewise.
30230         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30231         (__iswlower): Likewise.
30232         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30233         instead of towlower.
30234         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30235         instead of iswlower.  Call __towupper instead of towupper.
30236         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30237         instead of iswalnum.
30239 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30241         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30242         errors to stderr.
30244 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30246         [BZ #15661]
30247         [BZ #17322]
30248         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30249         Check for overflow properly.  Check for O_APPEND.  Ignore large
30250         file system block sizes.  Add comments about problems.
30251         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30252         * manual/filesys.texi (Storage Allocation): New node.
30254 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30256         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30257         cancellable syscalls.
30258         (SYS_ify): Add guard to no redefine it.
30259         (INLINE_SYSCALL): Likewise.
30260         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30261         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30262         SYSCALL_CANCEL instead.
30263         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30264         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30265         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30266         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30267         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30268         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30269         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30270         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30271         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30272         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30273         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30274         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30275         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30276         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30277         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30278         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30279         Likewise.
30280         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30281         (__libc_pread64): Likewise.
30282         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30283         (__libc_preadv): Likewise.
30284         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30285         (__libc_readv64): Likewise.
30286         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30287         (__libc_pwrite): Likewise.
30288         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30289         (__libc_pwrite64): Likewise.
30290         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30291         (__libc_pwritev): Likewise.
30292         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30293         (__libc_pwritev64): Likewise.
30294         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30295         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30296         (sync_file_range): Likewise.
30297         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30298         Likewise.
30299         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30300         Likewise.
30301         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30302         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30303         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30304         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30305         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30306         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30307         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30308         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30310         Likewise.
30311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30312         (__libc_read64): Likewise.
30313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30314         Likewise.
30315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30316         Likewise.
30317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30318         Likewise.
30319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30320         Likewise.
30321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30322         (__libc_pread64): Likewise.
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30324         Likewise.
30325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30326         (__libc_pwrite64): Likewise.
30327         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30328         (sync_file_range): Likewise.
30329         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30330         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30331         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30332         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30333         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30334         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30335         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30336         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30337         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30338         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30339         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30340         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30341         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30342         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30343         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30344         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30345         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30346         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30347         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30348         Likewise.
30349         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30350         Likewise.
30351         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30352         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30353         Likewise.
30354         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30355         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30356         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30357         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30358         Likewise.
30359         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30360         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30361         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30362         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30363         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30365 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30367         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30368         Include dl-vdso.
30369         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30370         Use VDSO routines for gettimeofday, clock_gettime if
30371         available.
30372         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30373         Declare VDSO symbols.
30374         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30375         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30376         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30377         * sysdeps/unix/sysv/linux/arm/Versions: Add
30378         __vdso_clock_gettime.
30380 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30382         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30383         be an inline implementation regardless of library is built within.
30384         (open_not_cancel_2): Likewise.
30385         (__read_nocancel): Likewise.
30386         (__write_nocancel): Likewise.
30387         (openat_not_cancel): Likewise.
30388         (openat_not_cancel_3): Likewise.
30389         (openat64_not_cancel): Likewise.
30390         (openat64_not_cancel_3): Likewise.
30391         (__close_nocancel): Likewise.
30392         (pause_not_cancel): Likewise.
30393         (nanosleep_not_cancel): Likewise.
30394         (sigsuspend_not_cancel): Likewise.
30396 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30398         [BZ #14958]
30399         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30400         wake-up.
30401         (__pthread_rwlock_rdlock_slow): Likewise.
30402         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30403         Likewise.
30404         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30405         Likewise.
30406         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30407         * nptl/tst-rwlock16.c: New file.
30408         * nptl/Makefile (tests): Add new test.
30410 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30412         [BZ #18324]
30413         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30414         missing wake-up of readers.
30415         * nptl/tst-rwlock15.c: New file.
30416         * nptl/Makefile (tests): Add new test.
30418 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30420         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30421         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30422         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30423         and __nacl_supply_interface_rtld.
30424         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30425         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30426         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30427         Add __nacl_supply_interface_rtld.
30428         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30430 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30432         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30433         isfinite.
30434         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30435         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30437 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30439         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30440         __signbit* with standard C99 macros.
30441         * math/e_exp10l.c: Likewise.
30442         * math/e_exp2l.c: Likewise.
30443         * math/e_scalb.c: Likewise.
30444         * math/e_scalbf.c: Likewise.
30445         * math/e_scalbl.c: Likewise.
30446         * math/s_ldexp.c: Likewise.
30447         * math/s_ldexpf.c: Likewise.
30448         * math/s_ldexpl.c: Likewise.
30449         * math/w_atan2.c: Likewise.
30450         * math/w_atan2f.c: Likewise.
30451         * math/w_atan2l.c: Likewise.
30452         * math/w_cosh.c: Likewise.
30453         * math/w_coshf.c: Likewise.
30454         * math/w_coshl.c: Likewise.
30455         * math/w_exp10.c: Likewise.
30456         * math/w_exp10f.c: Likewise.
30457         * math/w_exp10l.c: Likewise.
30458         * math/w_exp2.c: Likewise.
30459         * math/w_exp2f.c: Likewise.
30460         * math/w_exp2l.c: Likewise.
30461         * math/w_fmod.c: Likewise.
30462         * math/w_fmodf.c: Likewise.
30463         * math/w_fmodl.c: Likewise.
30464         * math/w_hypot.c: Likewise.
30465         * math/w_hypotf.c: Likewise.
30466         * math/w_hypotl.c: Likewise.
30467         * math/w_jnl.c: Likewise.
30468         * math/w_lgamma.c: Likewise.
30469         * math/w_lgamma_r.c: Likewise.
30470         * math/w_lgammaf.c: Likewise.
30471         * math/w_lgammaf_r.c: Likewise.
30472         * math/w_lgammal.c: Likewise.
30473         * math/w_lgammal_r.c: Likewise.
30474         * math/w_pow.c: Likewise.
30475         * math/w_powf.c: Likewise.
30476         * math/w_powl.c: Likewise.
30477         * math/w_remainder.c: Likewise.
30478         * math/w_remainderf.c: Likewise.
30479         * math/w_remainderl.c: Likewise.
30480         * math/w_scalb.c: Likewise.
30481         * math/w_scalbf.c: Likewise.
30482         * math/w_scalbl.c: Likewise.
30483         * math/w_scalbln.c: Likewise.
30484         * math/w_scalblnf.c: Likewise.
30485         * math/w_scalblnl.c: Likewise.
30486         * math/w_sinh.c: Likewise.
30487         * math/w_sinhf.c: Likewise.
30488         * math/w_sinhl.c: Likewise.
30489         * math/w_tgamma.c: Likewise.
30490         * math/w_tgammaf.c: Likewise.
30491         * math/w_tgammal.c: Likewise.
30492         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30493         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30494         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30495         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30496         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30497         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30498         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30499         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30500         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30501         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30502         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30503         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30504         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30505         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30506         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30507         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30508         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30509         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30510         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30511         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30512         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30513         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30514         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30515         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30516         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30517         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30518         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30519         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30520         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30521         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30522         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30523         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30524         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30525         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30526         * stdio-common/printf_fp.c: Likewise.
30527         * stdio-common/printf_fphex.c: Likewise.
30528         * stdio-common/printf_size.c: Likewise.
30530 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30532         [BZ #18470]
30533         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30534         strnlen.
30535         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30536         Remove variable.
30537         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30538         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30539         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30540         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30541         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30542         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30543         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30544         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30545         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30546         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30548         [BZ #18468]
30549         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30550         weak alias of __wmemchr.  Use libc_hidden_weak.
30551         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30552         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30553         instead of wmemchr.
30555 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30557         [BZ #18383]
30558         * elf/tst-tlsalign-extern.c: New file.
30559         * elf/tst-tlsalign-extern-static.c: New file.
30560         * elf/tst-tlsalign-vars.c: New file.
30561         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30562         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30563         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30564         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30565         (test-xfail-tst-tlsalign-extern-static): New variable.
30567 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30569         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30570         Use variable name _sc_err instead of err.
30571         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30572         instead of ret.
30573         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30574         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30575         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30576         (INLINE_SYSCALL): Likewise.
30578         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30579         * include/string.h (__strnlen): Use libc_hidden_proto.
30580         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30581         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30582         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30583         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30584         (libc_hidden_def): Undefine and redefine.
30585         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30586         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30587         __GI_strnlen.
30588         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30589         libc_hidden_def.
30590         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30592         [BZ #18469]
30593         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30594         weak alias of __towlower.  Use libc_hidden_weak.
30595         (towupper): Rename to __towupper and define as weak alias of
30596         __towupper.  Use libc_hidden_weak.
30597         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30598         (__towupper): Likewise.
30599         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30600         __towlower instead of towlower.
30602 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30604         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30605         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30607 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30609         * sysdeps/aarch64/libm-test-ulps: Update.
30611 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30613         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30614         Define.
30615         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30616         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30617         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30618         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30619         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30620         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30621         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30623 2015-06-01  Martin Sebor  <msebor@redhat.com>
30625         [BZ #18116]
30626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30627         (__setcontext): Use extended four-operand version of mtsf whenever
30628         possible.
30629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30630         (__novec_swapcontext): Likewise.
30632 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30634         * benchtests/scripts/compare_bench.py: New file.
30635         * benchtests/scripts/import_bench.py (mean): New function.
30636         (split_list): Likewise.
30637         (do_for_all_timings): Likewise.
30638         (compress_timings): Likewise.
30640         * benchtests/scripts/import_bench.py: New file.
30641         * benchtests/scripts/validate_benchout.py: Import import_bench
30642         instead of jsonschema.
30643         (validate_bench): Remove function.
30644         (main): Use import_bench.
30646 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30648         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30649         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30651 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30655 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30657         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30658         set THREAD_SELF->tid to a magic value and futex-wake it.
30659         Pass its address to the thread_exit system call.
30660         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30661         bit is clear.
30662         * sysdeps/nacl/lowlevellock.h: New file.
30663         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30665         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30666         Add TIMEOUT to current time, don't subtract it.
30668 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30670         [BZ #2981]
30671         [BZ #18422]
30672         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30673         ($(objpfx)tst-audit2.out): Also depend on
30674         $(objpfx)tst-auditmod9b.so.
30675         * elf/tst-audit2.c: Include <dlfcn.h>.
30676         (calloc_called): New.
30677         (calloc): Allow to be called more than once.
30678         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30680 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30682         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30683         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30685 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30687         * stdlib/monetary.h: Fix comment.
30689 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30691         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30692         Avoid using variables in #defines that might cause shadowing.
30693         (INTERNAL_VSYSCALL_CALL): Likewise.
30695 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30697         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30699         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30700         * nptl/lll_timedlock_wait.c: ... to this new file.
30701         * nptl/Makefile (libpthread-routines): Add it.
30702         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30703         * nptl/lll_timedwait_tid.c: ... to this new file.
30704         * nptl/Makefile (libpthread-routines): Add it.
30705         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30706         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30707         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30708         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30709         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30710         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30711         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30712         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30713         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30714         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30716 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30718         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30719         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30720         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30722         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30723         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30724         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30725         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30726         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30727         * sysdeps/unix/sysv/linux/tile/sysdep.h
30728         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30729         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30730         using vDSO syscall macro.
30732 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30734         [BZ #17293]
30735         * uk_UA: Fix sorting order for Ukrainian locale
30737 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30739         * stdlib/monetary.h: Fix comment.
30741 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30743         [BZ #18234]
30744         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30745         st_mtim and st_ctim members.
30746         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30747         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30748         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30749         (struct stat64): Likewise.
30750         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30751         (struct stat64): Likewise.
30752         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30753         (struct stat64): Likewise.
30755 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30757         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30758         Define and include sysdep-vdso.h.
30759         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30760         Likewise.
30761         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30762         Likewise.
30763         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30764         Define with VDSO_SYMBOL and use PTR_MANGLE.
30765         (__vdso_clock_gettime): Likewise.
30766         (__vdso_clock_getres): Likewise.
30767         (_libc_vdso_platform_setup): Likewise.
30768         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30769         Likewise.
30770         (_libc_vdso_platform_setup): Likewise.
30771         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30772         Likewise.
30773         (__vdso_clock_gettime): Likewise.
30774         (__vdso_clock_getres): Likewise.
30775         (__vdso_get_tbfreq): Likewise.
30776         (__vdso_getcpu): Likewise.
30777         (__vdso_time): Likewise.
30778         (__vdso_sigtramp_rt64): Likewise.
30779         (__vdso_signtramp32): Likewise.
30780         (__vdso_sigtramp_rt32): Likewise.
30781         (_libc_vdso_platform_setup): Likewise.
30782         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30783         Likewise.
30784         (__vdso_clock_gettime): Likewise.
30785         (__vdso_clock_getres): Likewise.
30786         (_libc_vdso_platform_setup): Likewise.
30787         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30788         Likewise.
30789         (__vdso_clock_gettime): Likewise.
30790         (_libc_vdso_platform_setup): Likewise.
30791         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30792         Likewise.
30793         (__vdso_getcpu): Likewise.
30794         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30795         Use VDSO_SYMBOL macro to define.
30796         (__vdso_clock_gettime): Likewise.
30797         (__vdso_clock_getres): Likewise.
30798         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30799         Likewise.
30800         (__vdso_clock_gettime): Likewise.
30801         (__vdso_clock_getres): Likewise.
30802         (__vdso_get_tbfreq): Likewise.
30803         (__vdso_getcpu): Likewise.
30804         (__vdso_time): Likewise.
30805         (__vdso_sigtramp_rt64): Likewise.
30806         (__vdso_signtramp32): Likewise.
30807         (__vdso_sigtramp_rt32): Likewise.
30808         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30809         Likewise.
30810         (__vdso_clock_gettime): Likewise.
30811         (__vdso_clock_getres): Likewise.
30812         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30813         Likewise.
30814         (__vdso_clock_gettime): Likewise.
30815         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30816         Likewise.
30817         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30818         macro.
30819         (INTERNAL_VSYSCALL): Likewise.
30820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30821         Remove macro.
30822         (INTERNAL_VSYSCALL): Likewise.
30823         (INTERNAL_VSYSCALL_NCS): Likewise.
30824         (INTERNAL_VSYSCALL_CALL): New macro.
30825         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30827         Likewise.
30828         (INTERNAL_VSYSCALL): Likewise.
30829         (INTERNAL_VSYSCALL_NCS): Likewise.
30830         (INTERNAL_VSYSCALL_CALL): New macro.
30831         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30833         (INLINE_VSYSCALL): Remove macro.
30834         (INTERNAL_VSYSCALL): Remove macro.
30835         (INTERNAL_VSYSCALL_NCS): Remove macro.
30836         (INTERNAL_VSYSCALL_CALL): New macro.
30837         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30838         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30839         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30840         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30841         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30843         (INLINE_VSYSCALL): Remove macro.
30844         (INTERNAL_VSYSCALL): Likewise.
30845         (INTERNAL_VSYSCALL_NCS): Likewise.
30846         (INTERNAL_VSYSCALL_CALL): New macro.
30847         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
30848         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
30849         PTR_DEMANGLE on vDSO pointer.
30850         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30851         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
30852         macro.
30853         (INTERNAL_SYSCALL): Likewise.
30854         (INTERNAL_VSYSCALL_NCS): Remove macro.
30855         (INTERNAL_VSYSCALL_CALL): New macro.
30856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
30857         Remove macro.
30858         (INTERNAL_VSYSCALL): Likewise.
30859         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
30860         sysdep-vdso.h instead of libc-vdso.h.
30861         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
30862         definition.
30863         (INLINE_VSYSCALL): Likewise.
30864         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
30865         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
30866         definition.
30867         (INLINE_VSYSCALL): Likewise.
30868         (INTERNAL_VSYSCALL): Likewise.
30869         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30870         * sysdeps/unix/sysv/linux/timespec_get.c
30871         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30872         (timespec_get): Use ANSI prototype.
30873         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
30874         and definition for Linux.
30876 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30878         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
30879         * include/libc-symbols.h: libmvec_hidden_* macro series added.
30881 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30883         [BZ #2981]
30884         [BZ #18410]
30885         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
30886         for missing DT_PLTRELSZ.
30888 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30890         Remove obsolete aliases that broke 'locale -a'
30891         [BZ #18412]
30892         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
30893         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
30894         breaking some applications that use 'locale -a' output.
30895         Change the encoding of this file from Latin-1 to ASCII to avoid
30896         other potential problems with people grepping this file.
30898 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30900         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
30901         -fasynchronous-unwind-tables.
30902         (CFLAGS-sendto.c): Likewise.
30903         (CFLAGS-sendmsg.c): Likewise.
30904         (CFLAGS-connect.c): Likewise.
30905         (CFLAGS-recvmsg.c): Likewise.
30906         (CFLAGS-recvfrom.c): Likewise.
30907         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
30908         (SOCKETCALL): New macro: non-cancellable socketcall.
30909         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
30910         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
30911         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
30912         * sysdeps/unix/sysv/linux/accept.c: New file.
30913         * sysdeps/unix/sysv/linux/bind.c: Likewise.
30914         * sysdeps/unix/sysv/linux/connect.c: Likewise.
30915         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
30916         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
30917         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
30918         * sysdeps/unix/sysv/linux/listen.c: Likewise.
30919         * sysdeps/unix/sysv/linux/recv.c: Likewise.
30920         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
30921         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
30922         * sysdeps/unix/sysv/linux/send.c: Likewise.
30923         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
30924         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
30925         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
30926         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
30927         * sysdeps/unix/sysv/linux/socket.c: Likewise.
30928         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
30929         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
30930         prototype.
30931         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
30932         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30933         instead of __internal_xxx function.
30934         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
30935         prototype.
30936         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
30937         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30938         instead of __internal_xxx function.
30939         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
30940         prototype.
30941         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
30942         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30943         instead of __internal_xxx function.
30944         * sysdeps/unix/sysv/linux/accept.S: Remove file.
30945         * sysdeps/unix/sysv/linux/bind.S: Likewise.
30946         * sysdeps/unix/sysv/linux/connect.S: Likewise.
30947         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
30948         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
30949         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
30950         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
30951         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
30952         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
30953         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
30954         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
30955         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30956         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
30957         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
30958         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
30959         * sysdeps/unix/sysv/linux/listen.S: Likewise.
30960         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
30961         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
30962         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
30963         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
30964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
30965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
30966         * sysdeps/unix/sysv/linux/recv.S: Likewise.
30967         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
30968         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
30969         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
30970         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30971         * sysdeps/unix/sysv/linux/send.S: Likewise.
30972         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
30973         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
30974         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
30975         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
30976         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
30977         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
30978         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
30979         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
30980         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
30981         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
30982         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
30983         socketcall is implemented in GLIBC.
30985 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30987         * soft-fp/fmadf4.c: Include <libc-internal.h>.
30988         (__fma): Ignore uninitialized warnings around packing.
30989         * soft-fp/fmasf4.c: Include <libc-internal.h>.
30990         (__fmaf): Ignore uninitialized warnings around packing.
30991         * soft-fp/fmatf4.c: Include <libc-internal.h>.
30992         (__fmal): Ignore uninitialized warnings around packing.
30994         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
30995         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30996         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
30997         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30999         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31000         switch statement into default case.
31001         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31003         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31004         a conditional in forcing "inexact".
31005         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31006         Likewise.
31008 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31010         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31011         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31012         for each INTERNAL_SYSCALL use.
31014 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31016         [BZ #438]
31017         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31018         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31019         variable.
31021         [BZ #18444]
31022         * string/basename.c (basename): Rename to __basename and define as
31023         weak alias of __basename.  Use libc_hidden_weak.
31024         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31025         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31026         __basename instead of basename.
31027         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31028         Remove variable.
31029         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31031 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31033         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31034         (_IO_JUMPS_FILE_plus): New.
31035         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31036         _IO_CAST_FIELD_ACCESS.
31037         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31038         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31039         * libio/freopen.c (freopen): Likewise.
31040         * libio/freopen64.c (freopen64): Likewise.
31041         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31042         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31043         * libio/iofwide.c (_IO_fwide): Likewise.
31044         * libio/memstream.c (open_memstream): Likewise.
31045         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31046         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31047         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31049 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31051         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31052         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31053         NADJ.
31054         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31055         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31056         NADJ.
31057         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31058         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31059         NADJ.
31061         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31062         (p == 4) case.
31064         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31065         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31066         Remove variable.
31067         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31068         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31069         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31071 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31073         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31074         Adjust jump table label generation macros.
31076 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31078         * stdio-common/vfprintf.c (vfprintf): Move local variables
31079         args_malloced, specs, specs_malloced, and the code after
31080         do_positional to the printf_positional function.
31081         (printf_positional): New function.
31083 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31085         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31086         function.
31087         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31088         STEP4_TABLE, process_arg): Move macro definitions
31089         out of the vfprintf function.  (Cosmetic change only.)
31091 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31093         * benchtests/Makefile (stdio-common-bench): Define.
31094         (benchset): Add stdio-common-bench.
31095         * sprintf-inputs: New file.
31096         * sprintf-source.c: New file.
31098 2015-05-21  Andreas Schwab  <schwab@suse.de>
31100         [BZ #13028]
31101         [BZ #17053]
31102         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31103         of struct __res_state.
31104         * resolv/res_send.c (__libc_res_nsend): Likewise.
31105         (get_nsaddr): New function.
31106         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31107         statp directly.
31109 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31111         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31112         -D_POSIX_C_SOURCE=199506L.
31114         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31116         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31117         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31118         Do not mention otherwise.
31119         [POSIX] (_XOPEN_VERSION): Do not expect.
31120         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31121         [POSIX] (_POSIX2_C_BIND): Likewise.
31122         [POSIX] (_POSIX2_VERSION): Likewise.
31123         [POSIX] (_XOPEN_XPG2): Likewise.
31124         [POSIX] (_XOPEN_XPG3): Likewise.
31125         [POSIX] (_XOPEN_XPG4): Likewise.
31126         [POSIX] (_XOPEN_UNIX): Likewise.
31127         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31128         [POSIX] (_POSIX_BARRIERS): Likewise.
31129         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31130         [POSIX] (_POSIX_CPUTIME): Likewise.
31131         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31132         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31133         [POSIX] (_POSIX_SHELL): Likewise.
31134         [POSIX] (_POSIX_SPAWN): Likewise.
31135         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31136         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31137         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31138         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31139         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31140         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31141         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31142         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31143         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31144         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31145         [POSIX] (_POSIX2_PBS): Likewise.
31146         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31147         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31148         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31149         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31150         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31151         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31152         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31153         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31154         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31155         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31156         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31157         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31158         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31159         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31160         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31161         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31162         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31163         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31164         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31165         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31166         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31167         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31168         [POSIX] (_SC_2_C_BIND): Likewise.
31169         [POSIX] (_SC_2_C_VERSION): Likewise.
31170         [POSIX] (_SC_2_PBS): Likewise.
31171         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31172         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31173         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31174         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31175         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31176         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31177         [POSIX] (_SC_BARRIERS): Likewise.
31178         [POSIX] (_SC_BASE): Likewise.
31179         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31180         [POSIX] (_SC_DEVICE_IO): Likewise.
31181         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31182         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31183         [POSIX] (_SC_FD_MGMT): Likewise.
31184         [POSIX] (_SC_FIFO): Likewise.
31185         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31186         [POSIX] (_SC_FILE_LOCKING): Likewise.
31187         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31188         [POSIX] (_SC_IOV_MAX): Likewise.
31189         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31190         [POSIX] (_SC_NETWORKING): Likewise.
31191         [POSIX] (_SC_PAGE_SIZE): Likewise.
31192         [POSIX] (_SC_PASS_MAX): Likewise.
31193         [POSIX] (_SC_PIPE): Likewise.
31194         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31195         [POSIX] (_SC_REGEXP): Likewise.
31196         [POSIX] (_SC_SHELL): Likewise.
31197         [POSIX] (_SC_SIGNALS): Likewise.
31198         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31199         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31200         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31201         [POSIX] (_SC_USER_GROUPS): Likewise.
31202         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31203         [POSIX] (_SC_STREAMS): Likewise.
31204         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31205         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31206         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31207         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31208         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31209         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31210         [POSIX] (_PC_FILESIZEBITS): Likewise.
31211         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31212         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31213         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31214         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31215         [POSIX] (uid_t): Likewise.
31216         [POSIX] (gid_t): Likewise.
31217         [POSIX] (off_t): Likewise.
31218         [POSIX] (pid_t): Likewise.
31219         [POSIX] (cuserid): Allow.
31220         (_SC_2_CHAR_TERM): Require constant.
31221         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31222         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31223         variable.
31225 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31227         * sysdeps/nacl/pthread-pids.h: New file.
31228         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31229         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31231         * nptl/pthread-pids.h: New file.
31232         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31233         * nptl/nptl-init.c: Include <pthread-pids.h>.
31234         (__pthread_initialize_minimal_internal):
31235         Call __pthread_initialize_pids instead of set_tid_address syscall.
31237         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31238         * sysdeps/posix/usleep.c: ... here.
31240 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31242         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31243         call_pselect6 object.
31244         [$(subdir) = io]: Remove call_sync_file_range object.
31245         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31246         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31247         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31248         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31250 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31252         * math/s_cproj.c: Add include "math_private.h".
31253         * math/s_cprojf.c: Likewise.
31254         * math/s_cprojl.c: Likewise.
31256 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31258         [BZ #18244]
31259         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31260         high mantissa bit when testing whether P is a NaN.
31261         * math/libm-test.inc (remainder_test_data): Add more tests.
31262         (remquo_test_data): Likewise.
31264         [BZ #18049]
31265         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31266         below -32, return the argument, with underflow if subnormal.
31267         * math/auto-libm-test-in: Add more tests of atanh.
31268         * math/auto-libm-test-out: Regenerated.
31270 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31272         [BZ #18434]
31273         * nptl/tst-sem15.c: New file.
31274         * nptl/Makefile (tests): Add it.
31275         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31276         s/<</>>/ to fix typo in EOVERFLOW check.
31277         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31279 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31281         * manual/strings.texi (envz_remove): Fix typo in safety
31282         annotations.
31284 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31285             Steve Ellcey  <sellcey@imgtec.com>
31287         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31288         in order to avoid strict alias warnings.
31289         (iruserok_af): Ditto for ra.
31291 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31293         [BZ #17581]
31294         * malloc/hooks.c
31295         (magicbyte): Convert to a function and avoid returning 0x01.
31296         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31297         (mem2chunk_check): Fix unsigned comparisons to zero.
31298         Hoist defs of sz and magic.
31300 2015-05-19  Richard Henderson  <rth@redhat.com>
31302         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31304         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31306 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31308         [BZ #16159]
31309         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31310         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31311         (reused_arena): Find a non-corrupt arena.
31312         (heap_trim): Pass arena to unlink.
31313         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31314         malloc_printerr.
31315         (top_check): Likewise.
31316         (free_check): Likewise.
31317         (realloc_check): Likewise.
31318         * malloc/malloc.c (malloc_printerr): Add arena argument.
31319         (unlink): Likewise.
31320         (munmap_chunk): Adjust.
31321         (ARENA_CORRUPTION_BIT): New macro.
31322         (arena_is_corrupt): Likewise.
31323         (set_arena_corrupt): Likewise.
31324         (sysmalloc): Use mmap if there are no usable arenas.
31325         (_int_malloc): Likewise.
31326         (__libc_malloc): Don't fail if arena_get returns NULL.
31327         (_mid_memalign): Likewise.
31328         (__libc_calloc): Likewise.
31329         (__libc_realloc): Adjust for additional argument to
31330         malloc_printerr.
31331         (_int_free): Likewise.
31332         (malloc_consolidate): Likewise.
31333         (_int_realloc): Likewise.
31334         (_int_memalign): Don't touch corrupt arenas.
31335         * malloc/tst-malloc-backtrace.c: New test case.
31337         * Makefile (summarize-tests): Fix return value on success.
31339         * manual/string.texi (Envz Functions): Add envz_remove.
31341 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31343         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31344         (invalid_name): New function, broken out of ...
31345         (__opendirat): ... here.  Call it.
31346         (need_isdir_precheck): New function, broken out of ...
31347         (__opendirat): ... here.  Call it.
31348         Use __fxstatat64, not __xstatat64.
31349         (opendir_oflags): New function, broken out of ...
31350         (__opendirat): ... here.  Call it.
31351         (opendir_tail): New function, broken out of ...
31352         (__opendirat): ... here.  Call it.
31353         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31354         opendir_tail, rather than punting to __opendirat.
31355         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31357 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31359         * .gitignore: Ignore generated *.pyc.
31361 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31363         * include/stdio.h: Define __need_wint_t.
31364         * test-skeleton.c: Avoid `for' loop initial declaration.
31365         * nptl/tst-initializers1.c: Use test-skeleton.c.
31367 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31369         [BZ #18418]
31370         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31372 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31374         [BZ #16352]
31375         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31376         (__ieee754_atanh): Force underflow exception for results with
31377         small absolute value.
31378         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31379         (__ieee754_atanhf): Force underflow exception for results with
31380         small absolute value.
31381         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31382         (__ieee754_atanh): Force underflow exception for results with
31383         small absolute value.
31384         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31385         (__ieee754_atanhf): Force underflow exception for results with
31386         small absolute value.
31387         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31388         (__ieee754_atanhl): Force underflow exception for results with
31389         small absolute value.
31390         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31391         (__ieee754_atanhl): Force underflow exception for results with
31392         small absolute value.
31393         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31394         (__ieee754_atanhl): Force underflow exception for results with
31395         small absolute value.
31396         * math/auto-libm-test-in: Do not allow missing underflow
31397         exceptions from atanh.
31398         * math/auto-libm-test-out: Regenerated.
31400         [BZ #18221]
31401         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31402         2**-28 as threshold for returning x or +/- 1/x.
31403         * math/auto-libm-test-in: Add more tests of tan.
31404         * math/auto-libm-test-out: Regenerated.
31406         [BZ #18220]
31407         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31408         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31409         * math/auto-libm-test-in: Add another test of lgamma.
31410         * math/auto-libm-test-out: Regenerated.
31412 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31414         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31415         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31416         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31417         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31418         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31419         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31420         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31421         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31422         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31423         (log1): Use fabs.  (my_log2): Use fabs.
31424         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31425         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31426         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31427         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31428         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31429         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31430         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31431         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31432         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31433         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31434         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31436 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31438         [BZ #18217]
31439         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31440         as threshold for returning 1 - x.
31441         * math/auto-libm-test-in: Add more tests of erfc.
31442         * math/auto-libm-test-out: Regenerated.
31444 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31446         [BZ #18196]
31447         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31448         threshold for large arguments.
31449         * math/auto-libm-test-in: Add another test of atan.
31450         * math/auto-libm-test-out: Regenerated.
31452         [BZ #16339]
31453         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31454         (__log1p): Force underflow exception for results with small
31455         absolute value.
31456         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31457         (__log1pf): Force underflow exception for results with small
31458         absolute value.
31459         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31460         (__log1p): Force underflow exception for results with small
31461         absolute value.
31462         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31463         (__log1pf): Force underflow exception for results with small
31464         absolute value.
31465         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31466         (__log1pl): Force underflow exception for results with small
31467         absolute value.
31468         * math/auto-libm-test-in: Do not allow missing underflow
31469         exceptions from log1p.
31470         * math/auto-libm-test-out: Regenerated.
31472 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31473             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31475         [BZ #16704]
31476         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31478 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31480         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31481         (libmvec): New variable.
31482         * configure.ac: Added option for mathvec build.
31483         * configure: Regenerated.
31484         * mathvec/Depend: New file.
31485         * mathvec/Makefile: New file.
31486         * shlib-versions: Added libmvec.
31487         * math/Makefile: Added rule for libm.so installation.
31489         * bits/math-vector.h: New file.
31490         * bits/libm-simd-decl-stubs.h: New header.
31491         * math/Makefile (headers): Added new header
31492         libm-simd-decl-stubs.h.
31493         * math/math.h (__MATHCALL_VEC): New macro.
31495         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31496         for conditions in testing functions.
31497         * math/Makefile: Added call of libm-have-vector-test.sh.
31498         * math/libm-test.inc (HAVE_VECTOR): New macros.
31500         * math/libm-test.inc: START refactored.
31501         * math/test-double.c (TEST_MATHVEC): Add define.
31502         * math/test-float.c: Likewise.
31503         * math/test-idouble.c: Likewise.
31504         * math/test-ifloat.c: Likewise.
31505         * math/test-ildoubl.c: Likewise.
31506         * math/test-ldouble.c: Likewise.
31507         * sysdeps/generic/math-tests-arch.h
31508         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31509         architecture check.
31511         * math/test-double.c (FUNC_TEST): New macro.
31512         * math/test-float.c: Likewise.
31513         * math/test-idouble.c: Likewise.
31514         * math/test-ifloat.c: Likewise.
31515         * math/test-ildoubl.c: Likewise.
31516         * math/test-ldouble.c: Likewise.
31517         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31519 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31521         * sysdeps/nacl/fdopendir.c: New file.
31523         * dirent/scandir-tail.c: New file.
31524         * dirent/scandir64-tail.c: New file.
31525         * dirent/Makefile (routines): Add them.
31526         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31527         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31528         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31529         [!SCANDIR] (SCANDIR_TAIL): New macro.
31530         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31531         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31532         (SCANDIRAT): Macro removed.
31533         (SCANDIR_TAIL): New macro.
31534         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31535         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31536         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31537         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31538         (READDIR): Macro removed.
31539         (SCANDIR_TAIL): New macro.
31540         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31541         (SCANDIR_TAIL): New macro.
31543         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31544         * dirent/scandir-cancel.c: ... to this new file.
31545         * dirent/Makefile (routines): Add it.
31546         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31547         * sysdeps/unix/sysv/linux/i386/scandir64.c
31548         (SKIP_SCANDIR_CANCEL): Macro removed.
31549         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31551         * dirent/tst-scandir.c: New file.
31552         * dirent/tst-scandir64.c: New file.
31553         * dirent/Makefile (tests): Add them.
31555 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31557         [BZ #18409]
31558         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31560 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31562         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31563         list.
31565 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31567         * benchtests/bench-strcoll.c: New benchmark.
31568         * benchtests/Makefile: Generate locales and run benchmark.
31569         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31570         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31571         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31572         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31573         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31574         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31575         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31576         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31577         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31578         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31579         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31580         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31581         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31582         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31583         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31584         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31585         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31586         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31587         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31588         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31589         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31590         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31591         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31592         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31594 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31596         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31597         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31599 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31601         * posix/uname-values.h: New file.
31602         * posix/uname.c: Include that instead of <config-name.h>.
31603         * sysdeps/nacl/uname-values.h: New file.
31604         * sysdeps/arm/nacl/uname-values.h: New file.
31606 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31608         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31609         splitting into fields.
31611 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31613         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31614         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31615         * locale/localeinfo.h: Add enum collation_encoding_type.
31616         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31617         * programs/ld-collate.c (collate_output): Add encoding type info.
31618         * string/strcoll_l.c (STRDIFF): New function.
31619         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31620         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31622 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31624         [BZ #18397]
31625         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31626         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31627         <fpu_control.h> instead of <math/fpu_control.c>.
31628         * sysdeps/mips/mips32/fpu/Makefile: New file.
31630 2015-05-11  Andreas Schwab  <schwab@suse.de>
31632         [BZ #18007]
31633         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31634         nss_endgrent.
31635         (_nss_compat_endgrent): Call nss_endgrent.
31636         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31637         nss_endpwent.
31638         (_nss_compat_endpwent): Call nss_endpwent.
31639         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31640         needent, call nss_setspent only if non-zero.
31641         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31642         (internal_endspent): Don't call nss_endspent.
31643         (_nss_compat_endspent): Call nss_endspent.
31644         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31645         Remove.  All uses removed.
31646         (internal_setent): Remove parameter stayopen, add parameter
31647         stream.  Use it instead of global variable.
31648         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31649         (internal_endent, internal_getent): Add parameter stream.  Use it
31650         instead of global variable.
31651         (CONCAT(_nss_files_end,ENTNAME))
31652         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31653         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31654         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31655         uses removed.
31656         (internal_setent, internal_endent): Add parameter stream.  Use it
31657         instead of global variable.
31658         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31659         stream.
31660         (get_next_alias): Add parameter stream.
31661         (_nss_files_getaliasent_r): Pass global stream.
31662         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31663         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31664         (_nss_files_gethostbyname4_r): Pass local stream to
31665         internal_setent, internal_getent and internal_endent.  Remove
31666         locking.
31668 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31670         * tst-strfmon1.c (tests): Update expected currency symbol.
31672 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31674         * sysdeps/nacl/gethostname.c: New file.
31676 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31678         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31679         and sinh.
31680         * math/auto-libm-test-out: Regenerated.
31681         * sysdeps/i386/fpu/libm-test-ulps: Update.
31682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31684 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31686         [BZ #18125]
31687         * stdlib/tst-setcontext3.c: New file.
31688         * stdlib/tst-setcontext3.sh: New file.
31689         * stdlib/Makefile (tests): Add tst-setcontext3.
31690         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31691         to verify test program created output file.
31692         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31693         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31694         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31695         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31697 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31699         [BZ #18383]
31700         * elf/tst-tlsalign.c: New file.
31701         * elf/tst-tlsalign-static.c: New file.
31702         * elf/tst-tlsalign-lib.c: New file.
31703         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31704         (tests-static): Add tst-tlsalign-static.
31705         (modules-names): Add tst-tlsalign-lib.
31706         (test-xfail-tst-tlsalign): New variable.
31707         (test-xfail-tst-tlsalign-static): New variable.
31709         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31710         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31712 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31714         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31715         csqrt, erfc, sin and sincos.
31716         * math/auto-libm-test-out: Regenerated.
31717         * sysdeps/i386/fpu/libm-test-ulps: Update.
31718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31720 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31722         * sysdeps/aarch64/libm-test-ulps: Update.
31724 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31726         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31727         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31728         * math/auto-libm-test-out: Regenerated.
31729         * sysdeps/i386/fpu/libm-test-ulps: Update.
31730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31732 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31734         [BZ #18265]
31735         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31736         (wcsncpy): Likewise.
31738 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31740         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31741         Assume __ASSUME_FALLOCATE is always true.
31742         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31743         (__posix_fallocate64_l64): Likewise.
31744         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31745         (posix_fallocate): Likewise.
31746         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31747         (__posix_fallocate64_l64): Likewise.
31748         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31749         [!__ASSUME_FALLOCATE]: Add comment.
31751 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31753         * sysdeps/unix/sysv/linux/i386/Makefile
31754         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31755         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31756         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31757         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31758         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31759         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31760         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31762 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31764         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31765         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31766         tgamma.
31767         * math/auto-libm-test-out: Regenerated.
31768         * sysdeps/i386/fpu/libm-test-ulps: Update.
31769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31771 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31773         * math/auto-libm-test-in: Add more tests of tgamma.
31774         * math/auto-libm-test-out: Regenerated.
31775         * sysdeps/i386/fpu/libm-test-ulps: Update.
31776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31778         * math/auto-libm-test-in: Add more tests of tanh.
31779         * math/auto-libm-test-out: Regenerated.
31780         * sysdeps/i386/fpu/libm-test-ulps: Update.
31781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31783         * math/auto-libm-test-in: Add more tests of tan.
31784         * math/auto-libm-test-out: Regenerated.
31785         * sysdeps/i386/fpu/libm-test-ulps: Update.
31786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31788         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31789         * math/auto-libm-test-out: Regenerated.
31790         * sysdeps/i386/fpu/libm-test-ulps: Update.
31791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31793         * math/auto-libm-test-in: Add another test of pow.
31794         * math/auto-libm-test-out: Regenerated.
31795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31797         * math/auto-libm-test-in: Add more tests of lgamma.
31798         * math/auto-libm-test-out: Regenerated.
31799         * sysdeps/i386/fpu/libm-test-ulps: Update.
31800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31802         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31803         log1p.
31804         * math/auto-libm-test-out: Regenerated.
31805         * sysdeps/i386/fpu/libm-test-ulps: Update.
31806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31808 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31810         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31811         Elf64_Chdr structs and ELFCOMPRESS constants.
31813 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31815         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31816         expm1.
31817         * math/auto-libm-test-out: Regenerated.
31818         * sysdeps/i386/fpu/libm-test-ulps: Update.
31819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31821         * math/auto-libm-test-in: Add more tests of erf and erfc.
31822         * math/auto-libm-test-out: Regenerated.
31823         * sysdeps/i386/fpu/libm-test-ulps: Update.
31824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31826 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31828         * config.h.in (HAVE_AARCH64_BE): Add.
31830 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31832         * math/auto-libm-test-in: Add more tests of csqrt.
31833         * math/auto-libm-test-out: Regenerated.
31834         * sysdeps/i386/fpu/libm-test-ulps: Update.
31835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31837         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31838         * math/auto-libm-test-out: Regenerated.
31839         * sysdeps/i386/fpu/libm-test-ulps: Update.
31840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31842         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31844 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31846         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31847         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31849         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
31850         (euidaccess, eaccess): Define as weak aliases.
31852         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
31853         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
31854         but __suseconds_t is often 'long int' so some sources assume that
31855         type is being used (e.g. they use %ld to print tv_usec).
31857 2015-04-29  Florian Weimer  <fweimer@redhat.com>
31859         [BZ #18007]
31860         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
31861         (CVE-2014-8121)
31862         * nss/tst-nss-getpwent.c: New file.
31863         * nss/Makefile (tests): Add new test.
31865 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
31867         [BZ #18346]
31868         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
31869         exponents less than 48 as cases where high part of mantissa needs
31870         examining to determine whether argument is integral.
31871         * math/libm-test.inc (round_test_data): Add more tests.
31873 2015-04-28  Mark Wielaard  <mjw@redhat.com>
31875         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
31877 2015-04-27  David S. Miller  <davem@davemloft.net>
31879         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
31880         __tls_get_addr.
31881         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31883 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
31885         [BZ #18333]
31886         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
31888 2015-04-27  Florian Weimer  <fweimer@redhat.com>
31890         [BZ #18333]
31891         * time/tzset.c (parse_tzname): Return error on memory allocation
31892         failure.
31893         * test-skeleton.c (struct temp_name_list): Change type of name
31894         member to non-const.
31895         (add_temp_file): Create a copy of the file name.
31896         (delete_temp_files): Deallocate memory.
31897         (create_temp_file): Add comment.
31899 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31901         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
31902         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
31904 2015-04-24  Roland McGrath  <roland@hack.frob.com>
31906         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
31907         * sysdeps/arm/configure: Regenerated.
31909 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31911         [BZ #17715]
31912         * time/tzfile.c (__tzfile_read): Check for large values of
31913         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
31914         * time/tzset.c (__tzstring_len): New function, based on the old
31915         __tzstring function.
31916         (__tzstring): Call __tzstring_len.
31917         (parse_tzname): New helper function extracted from
31918         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
31919         the input string.
31920         (parse_offset): New helper function extracted from
31921         __tzset_parse_tz.  Replace switch with fallthrough with
31922         initialization before sscanf.
31923         (parse_rule): Likewise.
31924         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
31925         new-style function definition.
31926         * timezone/Makefile (tests): Add tst-tzset.
31927         (tst-tzset.out): Dependencies on time zone files.
31928         (tst-tzset-ENV): Set TZDIR.
31929         (testdata/XT%): Copy crafted time zone files.
31930         * timezone/README: Mention crafted time zone files.
31931         * timezone/testdata/XT1, timezone/testdata/XT2,
31932         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
31933         files.
31934         * timezone/tst-tzset.c: New test.
31936 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31938         * Makeconfig (+gccwarn): Remove -Winline.
31940 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31942         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
31944 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31946         * NEWS: Mention sysconf() cache information support for s390.
31947         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
31949 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
31951         * math/k_casinh.c (__kernel_casinh): Use __copysign.
31952         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
31953         (__nearbyint): Likewise.
31954         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
31955         (copysignl): Likewise.
31957 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
31959         [BZ #18287]
31960         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
31961         based on padding.  (CVE-2015-1781)
31963 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31965         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
31966         libc-vdso.h.
31967         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
31968         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
31969         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
31970         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31971         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31972         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
31973         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
31974         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31975         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31976         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
31977         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31978         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31979         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31980         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
31981         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31982         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
31983         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
31984         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
31985         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
31986         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
31987         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
31988         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
31989         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
31991 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
31993         * stdlib/setenv.c (__add_to_environ):
31994         Dump core quickly if setenv (..., NULL, ...) is called.
31995         This time, do it the right way, and pacify GCC with a pragma.
31997 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31999         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32000         IMAP->l_prev cannot be null, and #if out the code for the contrary
32001         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32002         believe that NS (&_dl_ns[NSID]) could point outside the array.
32004         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32005         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32006         before using NSID as an index.
32008 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32010         [BZ #17825]
32011         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32012         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32013         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32015 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32017         Add preliminary port to Google Native Client on ARM.
32018         * abi-tags (.*-.*-nacl.*): New entry.
32019         * sysdeps/arm/nacl: New directory.
32020         * sysdeps/nacl: New directory.
32022 2015-04-16  David S. Miller  <davem@davemloft.net>
32024         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32025         lowlevellock-futex.h
32027 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32029         * sysdeps/tile/configure.ac: New file.
32030         * sysdeps/tile/configure: Regenerated.
32032 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32034         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32035         conditionals for weak_alias and libc_hidden_weak.
32036         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32037         libc_hidden_weak and weak_alias.
32038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32039         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32040         and weak_alias for static one.
32042 2015-04-15  David S. Miller  <davem@davemloft.net>
32044         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32046 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32048         [BZ #18206]
32049         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32050           Use signed comparision instead of substraction to avoid
32051           overflow bug.
32052         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32053           Take the sign of ret.
32054         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32055           Do not expect precise return values. Only the sign matters.
32056         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32057         * wcsmbs/test-wcsncmp.c: New File.
32058         * string/test-strncmp.c: Add wcsncmp support.
32060 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32062         [BZ #6792]
32063         * math/w_log1p.c: New file.
32064         * math/w_log1pf.c: Likewise.
32065         * math/w_log1pl.c: Likewise.
32066         * math/Makefile (libm-calls): Add w_log1p.
32067         * math/s_log1pl.c (log1pl): Remove weak_alias.
32068         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32069         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32070         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32071         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32072         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32073         [NO_LONG_DOUBLE] (log1pl): Likewise.
32074         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32075         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32076         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32077         (log1p): Remove long_double_symbol.
32078         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32079         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32080         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32081         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32082         remove weak_alias for corresponding log1p function.
32083         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32084         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32085         * sysdeps/ia64/fpu/w_log1p.c: New file.
32086         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32087         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32088         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32090 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32092         [BZ #18247]
32093         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32094         decimal exponent by 1.
32095         * stdlib/tst-strtod-round-data: Add more tests.
32096         * stdlib/tst-strtod-round.c (tests): Regenerated.
32098 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32100         * math/auto-libm-test-in: Add more tests of clog and clog10.
32101         * math/auto-libm-test-out: Regenerated.
32102         * sysdeps/i386/fpu/libm-test-ulps: Update.
32103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32105 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32107         * Makeconfig (module-cppflags): Exclude all .v.i files.
32108         (skip-module-cppflags): Variable removed.
32110         * configure.ac (libc_config_ok): Initialize before reading
32111         preconfigure scripts, not after.
32112         * configure: Regenerated.
32114         * test-skeleton.c (TIMEOUT): Move #define to top level.
32115         (main): Grok environment variable TEST_DIRECT.  If set, print
32116         test expectation details into that file and then behave as if
32117         given --direct.
32119 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32121         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32122         warning on 32-bit.
32124 2015-04-08  David S. Miller  <davem@davemloft.net>
32126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32128 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32130         * math/auto-libm-test-in: Add more tests of atanh.
32131         * math/auto-libm-test-out: Regenerated.
32132         * sysdeps/i386/fpu/libm-test-ulps: Update.
32133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32135         * math/auto-libm-test-in: Add more tests of atan.
32136         * math/auto-libm-test-out: Regenerated.
32137         * sysdeps/i386/fpu/libm-test-ulps: Update.
32138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32140 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32142         * elf/pldd.c (main): Rewrite to use struct
32143         scratch_buffer instead of extend_alloca.
32144         * elf/pldd-xx.c (find_maps): Likewise.
32145         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32146         <alloca.h>.
32147         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32148         scratch_buffer instead of extend_alloca.
32149         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32150         grp/compat-initgroups.c.
32151         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32152         Rewrite to use struct scratch_buffer instead of extend_alloca.
32153         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32154         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32156 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32158         * math/auto-libm-test-in: Add more tests of cbrt.
32159         * math/auto-libm-test-out: Regenerated.
32160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32162         * math/auto-libm-test-in: Add more tests of cabs.
32163         * math/auto-libm-test-out: Regenerated.
32164         * sysdeps/i386/fpu/libm-test-ulps: Update.
32165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32167         [BZ #18210]
32168         [BZ #18211]
32169         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32170         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32171         computations.
32172         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32173         clog10.
32174         * math/auto-libm-test-out: Regenerated.
32175         * sysdeps/i386/fpu/libm-test-ulps: Update.
32176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32178         [BZ #18197]
32179         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32180         (atan): Set FE_TONEAREST mode for internal computations.
32181         * math/auto-libm-test-in: Add more tests of atan.
32182         * math/auto-libm-test-out: Regenerated.
32184 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32186         [BZ #17930]
32187         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32189 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32191         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32193 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32195         * include/scratch_buffer.h: New file.
32196         * malloc/scratch_buffer_grow.c: Likewise.
32197         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32198         * malloc/scratch_buffer_set_array_size.c: Likewise.
32199         * malloc/tst-scratch_buffer.c: Likewise.
32200         * malloc/Makefile (routines): Add scratch_buffer_grow.
32201         (tests): Add test case.
32202         * malloc/Versions (GLIBC_PRIVATE): Export
32203         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32204         __libc_scratch_buffer_set_array_size.
32206 2015-04-06  Richard Henderson  <rth@redhat.com>
32208         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32209         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32211         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32212         unsigned int before printing.
32214 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32216         [BZ #17596]
32217         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32218         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32220 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32222         * include/libc-internal.h (libc_max_align_t): Define.
32224 2015-04-02  Andreas Schwab  <schwab@suse.de>
32226         [BZ #16850]
32227         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32229 2015-04-02  Mel Gorman  <mgorman@suse.de>
32231         [BZ #17195]
32232         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32233         as well as the main arena.
32235 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32237         [BZ #18185]
32238         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32239         sharing L2 cache to 2 for Silvermont/Knights Landing.
32241 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32243         [BZ #17711]
32244         * config.make.in (have-protected-data): New.
32245         * configure.ac: Check linker support for protected data symbol.
32246         * configure: Regenerated.
32247         * elf/Makefile (modules-names): Add tst-protected1moda and
32248         tst-protected1modb if $(have-protected-data) is yes.
32249         (tests): Add tst-protected1a and tst-protected1b if
32250         $(have-protected-data) is yes.
32251         ($(objpfx)tst-protected1a): New.
32252         ($(objpfx)tst-protected1b): Likewise.
32253         (tst-protected1modb.so-no-z-defs): Likewise.
32254         * elf/tst-protected1a.c: New file.
32255         * elf/tst-protected1b.c: Likewise.
32256         * elf/tst-protected1mod.h: Likewise.
32257         * elf/tst-protected1moda.c: Likewise.
32258         * elf/tst-protected1modb.c: Likewise.
32260 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32262         [BZ #17711]
32263         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32264         indicates it is called from do_lookup_x on relocation against
32265         protected data, skip the data definion in the executable from
32266         copy reloc.
32267         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32268         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32269         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32270         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32271         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32272         otherwise to 0.
32273         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32274         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32275         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32276         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32277         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32278         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32280 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32282         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32283         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32285 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32287         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32288         THREAD_SETMEM_NC.
32289         * sysdeps/x86_64/nptl/tls.h: Ditto.
32291 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32293         * dlfcn/tststatic.c (main): Converted to ...
32294         (do_test): ... this.
32295         (TEST_FUNCTION): New macro.
32296         Include test-skeleton.c.
32298 2015-03-26  Alan Modra  <amodra@gmail.com>
32300         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32301         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32302         zero for undefined weak.
32303         (elf_machine_plt_conflict): Similarly.
32305 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32307         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32308         atanh.
32309         * math/auto-libm-test-out: Regenerated.
32310         * sysdeps/i386/fpu/libm-test-ulps: Update.
32311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32313         * math/auto-libm-test-in: Add another test of asin.
32314         * math/auto-libm-test-out: Regenerated.
32315         * sysdeps/i386/fpu/libm-test-ulps: Update.
32316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32318         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32319         Remove macro.
32320         (LLL_EBX_REG): Likewise.
32321         (LLL_ENTER_KERNEL): Likewise.
32323         * math/auto-libm-test-in: Add more tests of asin.
32324         * math/auto-libm-test-out: Regenerated.
32325         * sysdeps/i386/fpu/libm-test-ulps: Update.
32326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32328         [BZ #18138]
32329         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32330         libc_do_syscall_args): New structure.
32331         (INTERNAL_SYSCALL_MAIN_0): New macro.
32332         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32333         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32334         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32335         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32336         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32337         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32338         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32339         Replace conditional definitions by conditional definitions of ....
32340         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32341         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32342         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32343         (libpthread-sysdep_routines): Add libc-do-syscall.
32344         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32345         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32346         to __NR_futex not 240.
32348 2015-03-25  Alan Modra  <amodra@gmail.com>
32350         * NEWS: Advertise TLS optimization.
32351         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32352         (DT_PPC_NUM): Increment.
32353         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32354         (CHECK_STATIC_TLS): Use here.
32355         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32356         TLS descriptors.
32357         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32358         * sysdeps/powerpc/dl-tls.c: New file.
32359         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32360         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32361         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32362         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32367 2015-03-25  Alan Modra  <amodra@gmail.com>
32369         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32370         for overlapping .opd entries" to "support...".
32371         * sysdeps/powerpc/powerpc64/configure: Regenerate
32373 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32375         * math/auto-libm-test-in: Add more tests of acos.
32376         * math/auto-libm-test-out: Regenerated.
32377         * sysdeps/i386/fpu/libm-test-ulps: Update.
32378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32380         * math/auto-libm-test-in: Add more tests of expm1.
32381         * math/auto-libm-test-out: Regenerated.
32382         * sysdeps/i386/fpu/libm-test-ulps: Update.
32383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32385 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32387         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32388         * math/auto-libm-test-out: Regenerated.
32389         * sysdeps/i386/fpu/libm-test-ulps: Update.
32390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32392         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32395         * math/auto-libm-test-in: Add more tests of log2.
32396         * math/auto-libm-test-out: Regenerated.
32397         * sysdeps/i386/fpu/libm-test-ulps: Update.
32398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32400 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32402         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32403         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32404         _IO_IS_APPENDING bit in READ_WRITE instead.
32406 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32408         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32409         (__determine_cpumask_size): Replace extend_alloca with a
32410         variable-length array.  Do not treat res == 0 as an error.
32412 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32414         [BZ #18100]
32415         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32416         and integer overflow.
32417         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32418         (main): Add integer overflow tests.
32419         * manual/pattern.texi (Calling Wordexp): Document additional use
32420         for WRDE_SYNTAX.
32422 2015-03-23  Alan Modra  <amodra@gmail.com>
32424         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32425         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32426         and false branch of conditional.
32427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32428         Likewise.
32430 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32432         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32433         libc-modules.h
32434         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32435         unused declaration of _hurd_intr_rpc_msg_in_trap.
32436         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32437         defined instead of whether it is non-zero.
32438         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32439         input constraint instead of both input and output constraint.  Use ecx
32440         clobber instead of %ecx.
32441         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32442         mutex_unlock): Use a statement expression instead of an expression list.
32443         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32444         type to vm_size_t instead of vm_address_t.
32445         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32446         defined instead of whether it is non-zero.
32447         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32448         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32449         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32450         comparisons with mapaddr.
32451         * nscd/nscd-client.h: Include <time.h>.
32452         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32453         9th parameter to __vm_region instead of int.
32454         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32455         * scripts/check-local-headers.sh (exclude): Add device/,
32456         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32457         cthreads.h.
32459 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32461         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32462         to account for alignment padding.
32463         * sysdeps/arm/memmove.S: Likewise.
32465 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32467         * sysdeps/unix/sysv/linux/generic/README: New file.
32469 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32471         [BZ #18138]
32472         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32473         (futex_abstimed_wait)
32474         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32475         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32476         of lll_futex_timed_wait.
32478 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32480         [BZ #17542]
32481         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32483 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32485         [BZ #17090]
32486         [BZ #17620]
32487         [BZ #17621]
32488         [BZ #17628]
32489         * NEWS: Update.
32490         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32491         entries with Static TLS too.  Skip entries past the end of the
32492         allocated DTV, from Alan Modra.
32493         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32494         Static TLS DTV entry set up from...
32495         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32496         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32497         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32498         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32499         for Static TLS.
32500         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32501         that the slot we find is associated with the given map before
32502         using its generation count.
32503         * nptl_db/db_info.c: Include ldsodefs.h.
32504         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32505         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32506         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32507         (link_map::l_tls_offset): New struct field.
32508         (dtv_t::counter): Likewise.
32509         (rtld_global): New struct.
32510         (_rtld_global): New rtld variable.
32511         (dl_tls_dtv_slotinfo_list): New rtld global field.
32512         (dtv_slotinfo_list): New struct.
32513         (dtv_slotinfo): Likewise.
32514         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32515         (td_lookup): Rename to...
32516         (td_mod_lookup): ... this.  Use new mod parameter instead of
32517         LIBPTHREAD_SO.
32518         * nptl_db/td_thr_tlsbase.c: Include link.h.
32519         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32520         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32521         addresses even if the DTV is out of date or missing them.
32522         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32523         index zero-length arrays.
32524         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32525         (td_lookup): Make it a macro implemented in terms of...
32526         (td_mod_lookup): ... this declaration.
32527         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32528         (DB_MAIN_VARIABLE): Likewise.
32530 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32532         [BZ #18134]
32533         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32535 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32537         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32539 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32541         [BZ #18128]
32542         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32543         (atomic_add, atomic_increment_and_test)
32544         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32546 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32548         * stdlib/setenv.c (__add_to_environ):
32549         Dump core quickly if setenv (..., NULL, ...) is called.
32551 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32553         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32554         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32555         all the necessary asm magic in one place.
32556         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32557         using those.
32559 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32561         [BZ #14906]
32562         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32563         traced file mtime. Use consistent log message.
32564         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32565         (register_traced_file): Call install_watches. Always set mtime.
32566         (invalidate_cache): Iterate over all trace files. Call install_watches.
32567         (inotify_check_files): Don't inline. Handle watching parent
32568         directories and configuration file movement in and out.
32569         (handle_inotify_events): New function.
32570         (main_loop_poll): Call handle_inotify_events.
32571         (main_loop_epoll): Likewise.
32572         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32573         (struct traced_file): Use array of inotify fds. Add parent directory,
32574         and basename.
32575         (struct database_dyn): Remove unused file_mtime.
32576         (init_traced_file): New inline function.
32577         (define_traced_file): New macro.
32578         * nss/nss_db/db-init.c: Use define_traced_file.
32579         (_nss_db_init): Use init_traced_file.
32580         * nss/nss_files/files-init.c: Use define_traced_file.
32581         (_nss_files_init): Use init_traced_file.
32583 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32585         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32586         [_LIBC]: Do not include <stdlib.h>.
32587         [!_LIBC] (abort): Remove declaration.
32588         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32589         _FP_STATIC_ASSERT instead of conditionally calling abort.
32590         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32591         (_FP_EXTEND_CNAN): Likewise.
32592         (FP_TRUNC): Likewise.
32593         (__FP_CLZ): Likewise.
32594         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32596 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32598         * manual/string.texi (XPG basename): Fix prototype.
32600 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32602         [BZ #18080]
32603         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32604         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32605         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32606         (__setcontext): Likewise.
32607         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32608         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32609         Call rt_sigprocmask syscall one time to set new signal mask
32610         and retrieve the current signal mask instead of two calls.
32611         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32612         (__swapcontext): Likewise.
32613         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32614         * stdlib/tst-setcontext2.c: New file.
32616 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32618         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32620 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32622         [BZ #18093]
32623         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32624         the wrong size.
32626 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32628         [BZ #18043]
32629         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32631 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32633         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32634         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32635         Remove define.
32636         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32637         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32638         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32639         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32640         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32641         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32642         define.
32643         * nptl_db/td_symbol_list.c (td_lookup): Remove
32644         HAVE_ASM_GLOBAL_DOT_NAME code.
32645         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32646         HAVE_ASM_GLOBAL_DOT_NAME check.
32647         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32648         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32649         (DOT_LABEL): Remove define.
32650         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32651         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32652         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32653         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32654         (__TLS_GET_ADDR): Likewise.
32655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32656         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32658 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32660         [BZ #18111]
32661         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32662         (_FPU_SETCW): Initialize cw from fpsr before storing.
32663         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32664         (fesetexceptflag): Rewrite using fpu_control.h.
32665         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32667 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32669         [BZ #18110]
32670         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32671         asms.
32672         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32674 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32676         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32677         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32678         abort.
32679         (_FP_FMA): Likewise.
32680         (_FP_DIV): Likewise.
32682 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32684         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32685         with 0 in that case.
32686         * Makefile (summarize-tests): New canned sequence, factored out of
32687         commands for targets tests and xtests.  Display summary lines that
32688         don't start with PASS: or XFAIL: rather than ones that do start with
32689         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32690         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32691         do start with ERROR: or FAIL:.
32692         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32693         (except for [$(build-shared) = yes]).
32694         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32695         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32696         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32697         * nptl/Makefile: Revert 2015-03-04 changes.
32698         [$(CXX) empty] (tests-unsupported): New variable.
32699         * debug/Makefile: Likewise.
32701         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32702         gnulib file.  Replace __attribute with __attribute__ throughout.
32704 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32706         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32708 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32710         [BZ #18104]
32711         * math/auto-libm-test-in: Add another test of pow.
32712         * math/auto-libm-test-out: Regenerated.
32714 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32716         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32717         $(config-cflags-nofma).
32719 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32721         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32722         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32723         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32724         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32725         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32726         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32727         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32728         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32729         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32730         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32731         Add comment on closing #endif.
32733 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32735         * posix/wordexp.c (CHAR_IN_SET): New macro.
32736         (parse_param): Use it.
32738 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32740         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32742 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32744         [BZ #18043]
32745         * posix/wordexp.c (parse_param): Fix buffer overflow.
32746         * posix/wordexp-test.c (test_case): Add test case.
32748 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32750         [BZ #18042]
32751         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32752         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32754 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32756         [BZ #18043]
32757         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32758         (do_bz18043): Delete.
32759         (at_page_end): New.
32760         (testit): Refactor to have words at the edge of unreadable page.
32762 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32764         [BZ #16734]
32765         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32766         Cleanup read-only streams as well.
32767         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32769 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32771         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32772         <bits/libc-lockP.h>
32774 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32776         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32777         on [__KERNEL__].
32778         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32779         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32780         * soft-fp/op-common.h (_FP_DECL): Likewise.
32782 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32784         * elf/ifuncdep2.c (global): Replace
32785         __attribute__((visibility("protected"))) with
32786         asm (".protected global").
32787         * elf/ifuncmod1.c (global): Likewise.
32788         * elf/ifuncmod5.c (global): Likewise.
32790 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32792         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32793         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32795 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32797         * manual/install.texi (Configuring and compiling):
32798         Document test-wrapper-env-only.
32799         * INSTALL: Regenerated.
32801 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32803         [BZ #18043]
32804         * posix/wordexp.c (parse_param): Fix buffer overflow.
32805         * posix/wordexp-test.c (do_bz18043): Add test case.
32807 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32809         * time/tst-strptime2.c (do_test): Ensure failing tests are
32810         reported correctly.
32811         * time/tst-strptime3.c (do_test): Likewise.
32813 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32815         Fix aio_error thread-safety.
32816         * sysdeps/pthread/aio_error.c: New file
32817         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32818         synchronization.
32820 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32822         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32823         (group_number, vfprintf): Use it.
32824         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32825         (JUMP, REF): Use it.
32826         (WORK_BUFFER_SIZE): New enum constant.
32827         (process_arg, vfprintf): Use it.
32829 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32831         * manual/errno.texi (Error Messages): Complete example function
32832         by adding missing #define.
32833         (program_invocation_name): Add statement indicating GNU
32834         extension and reference which header file declares the variable.
32835         (program_invocation_short_name): Likewise.
32837 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32839         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32840         compatibility note.
32842 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32844         * Makeconfig (test-wrapper-env-only): New variable.
32845         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32846         then use that with $(test-wrapper-env-only) rather than using
32847         $(test-wrapper-env) $(run-program-env) $($*-ENV).
32849 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32851         [BZ #18082]
32852         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
32853         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
32854         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
32855         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
32856         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
32857         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
32858         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
32859         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
32860         Likewise.
32861         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
32862         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
32863         Likewise.
32864         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
32865         Likewise.
32866         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
32867         Likewise.
32868         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
32869         Likewise.
32870         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
32871         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
32872         Likewise.
32873         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
32874         Likewise.
32875         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
32876         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
32878 2015-03-04  Roland McGrath  <roland@hack.frob.com>
32880         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
32881         (ETH_ALEN): New macro.
32882         (struct ether_addr): Use it for length of ether_addr_octet.
32884         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
32885         (setdb): Don't call __nss_configure_lookup for "rpc".
32886         (do_test): Don't call test_rpc.
32887         (output_rpcent, test_rpc): Functions moved ...
32888         * sunrpc/test-rpcent.c: ... to this new file.
32889         * sunrpc/Makefile (tests): Add it.
32891         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
32892         __xpg_sigpause.
32893         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
32894         * nptl/tst-signal6.c: Likewise.
32895         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
32896         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
32898         * configure.ac (libc_cv_cxx_link_ok): New check.
32899         Reset CXX to empty if it fails to link.
32900         * configure: Regenerated.
32901         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
32902         bug-atexit3-lib only if $(CXX) is nonempty.
32903         * nptl/Makefile (tests): Likewise for tst-cancel24.
32904         (tests, tests-static): Likewise for tst-cancel24-static.
32905         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
32906         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
32907         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
32908         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
32910 2015-03-04  Andreas Schwab  <schwab@suse.de>
32912         [BZ #17631]
32913         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
32914         for non-GCC compilers.
32915         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32916         Likewise.
32918 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32920         [BZ #17776]
32921         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
32922         integer before bitwise and assembly operations.
32923         (feclearexcept): Likewise.
32924         * math/test-fenvinline.c: New file.
32925         * math/Makefile: Add test-fenvinline test.
32927 2015-03-03  Alan Modra  <amodra@gmail.com>
32929         [BZ #16512]
32930         * scripts/localplt.awk: Strip off symbol version.
32931         * NEWS: Mention bug fix.
32933 2015-03-02  Roland McGrath  <roland@hack.frob.com>
32935         * sysdeps/pthread/timer_routines.c
32936         (timer_free_list, thread_free_list, thread_active_list): Make static.
32938 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
32940         [BZ #17779]
32941         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32942         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32943         Undefine.
32944         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32945         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32946         Likewise.
32947         * sysdeps/unix/sysv/linux/sh/kernel-features.h
32948         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32949         Likewise.
32951 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32953         [BZ #18036]
32954         * posix/fnmatch_loop.c (END): Detect invalid pattern.
32955         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
32957 2015-03-02  Andreas Schwab  <schwab@suse.de>
32959         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
32960         variable name.
32962 2015-03-02  Florian Weimer  <fweimer@redhat.com>
32964         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
32965         Return error status.
32967 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
32969         [BZ #15969]
32970         * locale/findlocale.c (_nl_find_locale): Introduce const
32971         version of loc_name and drop unsafe type casts.
32973 2015-02-27  Roland McGrath  <roland@hack.frob.com>
32975         * dlfcn/tststatic2.c (main): Converted to ...
32976         (do_test): ... this.
32977         (TEST_FUNCTION): New macro.
32978         Include test-skeleton.c.
32980 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
32982         [BZ #17711]
32983         * elf/Makefile (tests): Add vismain only if PIE is enabled.
32984         (tests-pie): Add vismain.
32985         (CFLAGS-vismain.c): New.
32986         * elf/vismain.c: Add comments for PIE requirement.
32988 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32990         [BZ #18046]
32991         [BZ #18047]
32992         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
32993         0x1p-56L as threshold for just returning the argument.
32994         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
32995         0x1p-32L as threshold for just returning the argument.
32996         * math/auto-libm-test-in: Add more tests of atanh.
32997         * math/auto-libm-test-out: Regenerated.
32998         * sysdeps/i386/fpu/libm-test-ulps: Update.
32999         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33001 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33003         * string/bcopy.c (bcopy): Call memmove for performance.
33005 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33007         * string/bzero.c (__bzero): Call memset for performance.
33009 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33011         [BZ #18068]
33012         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33013         to 00100000.
33015 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33017         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33019 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33021         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33022         (__kernel_standard): Use CSTR macro when setting exc.name.
33023         * sysdeps/ieee754/Makefile [$(subdir) = math]
33024         (CFLAGS-k_standard.c): Remove variable.
33026         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33027         setting p and q from "else if" to "else".
33028         (qzero): Likewise.
33029         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33030         (qone): Likewise.
33031         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33032         (qzerof): Likewise.
33033         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33034         (qonef): Likewise.
33035         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33036         (qzero): Likewise.
33037         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33038         (qone): Likewise.
33040         [BZ #18038]
33041         [BZ #18039]
33042         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33043         return pi/2 for arguments below 0x1p-113L.
33044         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33045         return pi/2 for arguments below 0x1p-106L.
33046         * math/auto-libm-test-in: Add more tests of acos.
33047         * math/auto-libm-test-out: Regenerated.
33049         [BZ #16351]
33050         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33051         (MO): New macro.
33052         (__ieee754_asin): Force underflow exception for results with small
33053         absolute value.
33054         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33055         (MO): New macro.
33056         (__ieee754_asinf): Force underflow exception for results with
33057         small absolute value.
33058         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33059         (__ieee754_asin): Force underflow exception for results with small
33060         absolute value.
33061         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33062         (__ieee754_asinf): Force underflow exception for results with
33063         small absolute value.
33064         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33065         (__ieee754_asinl): Force underflow exception for results with
33066         small absolute value.
33067         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33068         (__ieee754_asinl): Force underflow exception for results with
33069         small absolute value.
33070         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33071         (__ieee754_asinl): Force underflow exception for results with
33072         small absolute value.
33073         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33074         Include <math.h>.
33075         * math/auto-libm-test-in: Do not mark underflow exceptions as
33076         possibly missing for bug 16351.
33077         * math/auto-libm-test-out: Regenerated.
33079         [BZ #18030]
33080         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33081         of power of 2 down when low part has opposite sign.
33082         * math/libm-test.inc (logb_test_data): Add more tests.
33084 2015-02-26  Andreas Schwab  <schwab@suse.de>
33086         [BZ #18032]
33087         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33088         over collating symbol inside a bracket expression.  Minor cleanup.
33089         * posix/tst-fnmatch3.c (do_test): Add test case.
33091 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33093         [BZ #18029]
33094         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33095         Adjust exponent of power of 2 down when low part has opposite
33096         sign.
33097         * math/libm-test.inc (ilogb_test_data): Add more tests.
33099 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33101         [BZ #15969]
33102         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33103         the previous change.
33105         [BZ #15969]
33106         * locale/findlocale.c (_nl_find_locale): Retry archive search
33107         after alias expansion.
33109 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33111         * iconv/tst-iconv3.c (main): Converted to ...
33112         (do_test): ... this.
33113         (TEST_FUNCTION): New macro.
33114         Include test-skeleton.c.
33116         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33117         (convert): Make function static.
33118         (test_unalign): Likewise.  Add const to argument pointee types.
33119         (main): Replace with static function do_test.
33120         Print "Succeeded." only if RET is zero.
33121         (TEST_FUNCTION): New macro.
33122         Include test-skeleton.c.
33124         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33125         returns a null pointer.
33127 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33129         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33130         to __memcpy_ppc only for static builds.
33132 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33134         [BZ #18020]
33135         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33136         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33137         * math/auto-libm-test-in: Add more tests of asinh.
33138         * math/auto-libm-test-out: Regenerated.
33139         * sysdeps/i386/fpu/libm-test-ulps: Update.
33140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33142 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33144         [BZ #15850]
33145         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33146         and ip6_mtuinfo definitions here.
33147         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33148         in this define too.  Update comment.
33150 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33152         * elf/sprof.c (load_shobj): Tweak error message to match others.
33154 2015-02-24  Kevin Easton  <kevin@guarana.org>
33156         [BZ #16145] (partial fix)
33157         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33158         to reduce lock contention.
33160 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33162         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33163         (struct timex): Update time comment.
33164         (ADJ_SETOFFSET): Define.
33166 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33168         [BZ #18019]
33169         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33170         2**56 not 2**28 as threshold for log (2x) formula.
33171         * math/auto-libm-test-in: Add more tests of acosh.
33172         * math/auto-libm-test-out: Regenerated.
33173         * sysdeps/i386/fpu/libm-test-ulps: Update.
33174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33176 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33178         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33179         parenthesis around the buf assignment.
33180         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33182 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33184         [BZ #16783]
33185         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33186         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33187         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33188         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33189         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33190         * math/libm-test.inc (scalb_test_data): Add more tests.
33192 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33194         [BZ #17916]
33195         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33196         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33198 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33200         [BZ #17523]
33201         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33202         * io/bits/fcntl2.h (open): Use it.
33203         (openat): Likewise.
33204         * io/open.c (__libc_open): Likewise.
33205         * io/open64.c (__libc_open64): Likewise.
33206         * io/open64_2.c (__open64_2): Likewise.
33207         * io/open_2.c (__open_2): Likewise.
33208         * io/openat.c (__openat): Likewise.
33209         * io/openat64.c (__openat64): Likewise.
33210         * io/openat64_2.c (__openat64_2): Likewise.
33211         * io/openat_2.c (__openat_2): Likewise.
33212         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33213         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33214         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33215         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33216         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33217         (__open_nocancel): Likewise.
33218         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33219         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33220         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33222 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33224         [BZ #14841]
33225         * resolv/gethnamaddr.c (getanswer): Skip logging if
33226         RES_USE_DNSSEC is set.
33227         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33229 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33231         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33233 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33235         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33236         201304L, for Unicode 7.
33238 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33240         [BZ #17836]
33241         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33242         shared library.  Add gmon-start.os otherwise.
33243         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33244         $(objpfx)gmon-start.os if builing shared library.
33245         ($(objpfx)g$(static-start-installed-name)): Likewise.
33247 2015-02-23  Andreas Schwab  <schwab@suse.de>
33249         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33251 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33253         [BZ #17269]
33254         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33255         (enlarge_userbuf): Likewise.
33257 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33259         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33260         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33261         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33262         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33264 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33266         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33267         expression inside statement expression.
33269 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33271         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33272         <sysdeps/nptl/lowlevellock.h> and remove macros and
33273         functions that are now defined there.
33274         (SYS_futex): Remove.
33275         (lll_compare_and_swap): Remove.
33276         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33278 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33280         [BZ #17999]
33281         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33282         instead of scandirat.
33283         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33284         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33285         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33286         __scandirat.
33287         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33288         (__scandirat): Declare.  Use libc_hidden_proto.
33289         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33290         Remove variable.
33291         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33293 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33295         [BZ #15319]
33296         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33297         (MO): New macro.
33298         (__ieee754_atan2): For results with small absolute value, force
33299         underflow exception and remove excess range and precision from
33300         return value.
33301         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33302         (MO): New macro.
33303         (__ieee754_atan2f): For results with small absolute value, force
33304         underflow exception and remove excess range and precision from
33305         return value.
33306         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33307         (MO): New macro.
33308         (__atan): For results with small absolute value, force underflow
33309         exception and remove excess range and precision from return value.
33310         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33311         (MO): New macro.
33312         (__atanf): For results with small absolute value, force underflow
33313         exception and remove excess range and precision from return value.
33314         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33315         <math.h>.
33316         (__ieee754_atan2): Force underflow exception for results with
33317         small absolute value.
33318         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33319         <math_private.h>.
33320         (atan): Force underflow exception for results with small absolute
33321         value.
33322         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33323         (__atanf): Force underflow exception for results with small
33324         absolute value.
33325         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33326         <math.h>.
33327         (__atanl): Force underflow exception for results with small
33328         absolute value.
33329         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33330         (__atanl): Force underflow exception for results with small
33331         absolute value.
33332         * sysdeps/x86/fpu/bits/mathinline.h
33333         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33334         (__ieee754_atan2): Only define inline for long double.
33335         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33336         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33337         * math/auto-libm-test-in: Do not mark underflow exceptions as
33338         possibly missing for bug 15319.  Add more tests of atan2.
33339         * math/auto-libm-test-out: Regenerated.
33340         * math/libm-test.inc (casin_test_data): Do not mark underflow
33341         exceptions as possibly missing for bug 15319.
33342         (casinh_test_data): Likewise.
33343         * sysdeps/i386/fpu/libm-test-ulps: Update.
33345 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33347         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33348         * sysdeps/mips/bits/endian.h: Fix comments.
33350 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33352         [BZ #17996]
33353         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33354         (hdestroy_r): Likewise.
33355         (hsearch_r): Likewise.
33356         (__hcreate_r): Declare and use libc_hidden_proto.
33357         (__hdestroy_r): Likewise.
33358         (__hsearch_r): Likewise.
33359         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33360         (hcreate): Call __hcreate_r instead of hcreate_r.
33361         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33362         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33363         as weak alias of __hcreate_r.
33364         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33365         __hdestroy_r.
33366         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33367         __hsearch_r.
33368         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33369         Remove variable.
33370         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33371         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33372         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33373         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33375 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33377         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33378         arena_lock into a single arena_get.
33380 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33382         * dl-reloc.c: Inlucde libc-internal.h.
33383         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33384         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33385         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33386         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33387         (grow_heap): Likewise.
33388         * malloc/malloc.c: Include libc-internal.h.
33389         (do_check_malloc): Call powerof2.
33390         (sysmalloc): Use pagesize. Call ALIGN_UP.
33391         (systrim): Use pagesize.
33392         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33393         (__libc_valloc): Use pagesize.
33394         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33396 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33398         [BZ #17991]
33399         * include/sys/resource.h (__getrlimit64): Declare.  Use
33400         libc_hidden_proto.
33401         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33402         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33403         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33404         getrlimit64.
33405         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33406         __getrlimit64.
33407         [!getrlimit64] (getrlimit64): Define as weak alias of
33408         __getrlimit64.  Use libc_hidden_weak.
33409         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33410         using __getrlimit64 not __new_getrlimit64.
33411         (__GI_getrlimit64): Likewise.
33412         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33413         Likewise.
33414         (__GI_getrlimit64): Likewise.
33415         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33417         (getrlimit): Add __getrlimit64 alias.
33418         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33419         Likewise.
33420         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33421         Remove variable.
33422         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33423         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33425 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33427         * libio/fileops.c: Add missing sys/mman.h
33428         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33430 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33432         * manual/math.texi (Errors in Math Functions): Clarify goals
33433         regarding inexact and underflow exceptions.
33435 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33437         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33438         * sysdeps/mips/memset.S: Ditto.
33440 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33442         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33444 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33446         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33447         (__v1longjmp): Remove versioned symbol.
33448         (__v1siglongjmp): Remove alias and versioned symbol.
33449         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33450         (__v2siglongjmp): Likewise.
33452 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33454         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33456 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33458         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33460 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33462         [BZ #17987]
33463         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33464         zero result does not depend on the sign resulting from
33465         subtraction.
33466         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33467         Likewise.
33468         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33469         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33470         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33471         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33472         * math/libm-test.inc (remquo_test_data): Add more tests.
33474 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33476         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33477         Problem reported by J William Piggott.
33479 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33481         [BZ #17978]
33482         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33483         products 4 * y and 2 * y where those would overflow.
33484         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33485         Likewise.
33486         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33487         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33488         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33489         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33490         * math/libm-test.inc (remquo_test_data): Add more tests.
33492         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33494         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33495         [defined _COMPILING_NEWLIB].
33496         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33497         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33499         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33500         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33502 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33504         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33505         acquired.
33507 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33509         [BZ #17792]
33510         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33511         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33512         HOST_STACK_END_ADDR): Likewise.
33514 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33516         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33517         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33518         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33520 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33522         * sysdeps/generic/c++-types.data: New file.
33523         * sysdeps/generic/ld.abilist: New file.
33524         * sysdeps/generic/libBrokenLocale.abilist: New file.
33525         * sysdeps/generic/libanl.abilist: New file.
33526         * sysdeps/generic/libc.abilist: New file.
33527         * sysdeps/generic/libcrypt.abilist: New file.
33528         * sysdeps/generic/libdl.abilist: New file.
33529         * sysdeps/generic/libm.abilist: New file.
33530         * sysdeps/generic/libpthread.abilist: New file.
33531         * sysdeps/generic/libresolv.abilist: New file.
33532         * sysdeps/generic/librt.abilist: New file.
33534 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33536         [BZ #17569]
33537         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33538         Compute absolute value of x as modified by fmod, not original
33539         value of x.
33540         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33541         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33542         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33543         RUN_TEST_ffI_f1_mod8.
33544         (remquo_test_data): Add more tests.
33546 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33548         * sysdeps/init_array/pt-crti.S: New file.
33550 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33552         [BZ #17967]
33553         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33554         __builtin_fmaf instead of relying on contraction of a * b + c.
33556 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33558         [BZ #17969]
33559         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33560         node.
33562 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33564         [BZ #17964]
33565         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33566         __builtin_fma instead of relying on contraction of a * b + c.
33568 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33570         * Makeconfig (ASFLAGS): Add -Werror=undef.
33571         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33572         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33573         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33575         * Makeconfig (after-link): New variable.
33576         (+link-pie, +link-pie-tests): Use it.
33577         (+link-static, +link-static-tests): Likewise.
33578         (+link, +link-tests): Likewise.
33579         * Makerules (build-module, build-module-asneeded): Likewise.
33580         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33581         Likewise.
33582         * elf/Makefile ($(objpfx)ld.so): Likewise.
33584 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33586         [BZ #17965]
33587         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33588         both struct timeval and struct timespec.
33590 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33592         [BZ #16560]
33593         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33594         and redefine.
33595         (__ieee754_exp2l): Do not multiply small fractional parts by
33596         M_LN2l.
33597         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33598         small argument.
33599         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33600         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33601         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33602         * math/auto-libm-test-in: Add more tests of exp2.
33603         * math/auto-libm-test-out: Regenerated.
33605 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33607         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33608         unaligned path.
33610 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33612         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33613         little endian.
33615 2015-02-12  Andreas Schwab  <schwab@suse.de>
33617         [BZ #15790]
33618         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33619         Filter out elision flags from value returned in kind.
33620         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33621         * nptl/tst-pthread-mutexattr.c: New file.
33623 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33625         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33626         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33627         into gnu-gnu, and update comment to refer to abi-tags.
33629 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33631         [BZ #15467]
33632         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33633         (__sincos): Set errno to EDOM for infinite argument.
33634         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33635         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33636         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33637         (__sincosl): Set errno to EDOM for infinite argument.
33638         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33639         (__sincosl): Set errno to EDOM for infinite argument.
33640         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33641         (__sincosl): Set errno to EDOM for infinite argument.
33642         * math/libm-test.inc (sincos_test_data): Test errno setting.
33644 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33646         * string/strxfrm_l.c: Remove #define STRCMP.
33647         * string/strcoll_l.c: Remove #define STRLEN.
33648         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33649         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33651 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33653         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33654         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33655         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33656         * sysdeps/mips/mips64/Makefile: ... here.
33657         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33658         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33659         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33660         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33661         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33662         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33663         * sysdeps/mips/mips64/n64/Implies: Likewise.
33665 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33667         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33668         <sys/time.h>, <string.h>, and <errno.h>.
33669         (dest_offset, dest_address, value, zero): Remove unused variables.
33670         (ldouble): Remove typedef.
33671         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33672         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33673         1).  Fix code style.
33674         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33675         (check): Function removed.
33676         (CHECK): New macro.
33677         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33678         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33679         Don't call set_sigaction_FP and remove_sigaction_FP here.
33680         (ldouble_test): Just use 'long double' as macro argument, no need for
33681         the 'ldouble' typedef.
33682         (do_test): Set up SIGFPE handler at start, using plain signal rather
33683         than sigaction.  Fix code style.
33685 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33687         [BZ #17949]
33688         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33689         jump label.
33691 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33693         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33694         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33696         * sysdeps/powerpc/configure.ac: Remove file.
33697         * sysdeps/powerpc/configure: Likewise.
33699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33700         [sysdep_routines]: Remove wordcopy-power6 object.
33701         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33702         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33703         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33704         (__memmove_ppc32): Likewise.
33705         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33706         file.
33707         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33708         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33709         Remove preprocessor.
33711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33712         [sysdep_routines]: Remove wide chars objects.
33713         [wcsmbs]: New rule for wide char objects.
33715         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33716         Remove wordcopy-power6 obejct.
33717         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33718         Use local call for wordcopy and memcpy symbols.
33719         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33720         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33721         implementation for loader.
33722         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33724         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33725         Remove wordcopy-power7 object.
33726         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33727         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33728         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33729         (_wordcopy_fwd_dest_aligned): Likewise.
33730         (_wordcopy_bwd_aligned): Likewise.
33731         (_wordcopy_bwd_dest_aligned): Likewise.
33733         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33734         Rewrite to call __memmove_ppc instead of include default
33735         implementation.
33737         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33738         Remove wide chars objects.
33739         [wcsmbs]: New rule for wide char objects.
33741 2015-02-09  Andreas Schwab  <schwab@suse.de>
33743         [BZ #17912]
33744         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33745         in terms of __O_DIRECTORY.
33747 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33749         * time/getdate.c: Include <stdbool.h>.
33750         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33751         call PTR_MANGLE.
33752         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33753         PTR_DEMANGLE.
33755 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33757         Add ersatz _Static_assert on older C hosts
33758         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33759         pre-C11 C platform that is not known to support _Static_assert.
33761 2015-02-07  Richard Braun  <rbraun@sceen.net>
33763         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33764         sigstate.
33765         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33767 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33769         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33770         priority against unexistent AIO_PRIO_DELTA_MAX.
33771         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33772         instead of int.
33773         * misc/fchflags.c (fchflags): Likewise.
33774         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33775         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33776         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33777         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33778         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33779         Declare macros.
33780         [__USE_MISC] (chflags, fchflags): Declare functions.
33781         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33782         EINVAL when nfds is greater than FD_SETSIZE.
33783         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33784         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33785         45.
33786         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33787         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33788         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33789         MACH_RCV_TIMED_OUT.
33790         * hurd/hurd/signal.h (_hurd_self_sigstate,
33791         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33792         Explicit casts from void *.
33793         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33794         * abi-tags: Rename gnu-gnu os into gnu.
33796         [BZ #4719]
33797         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33798         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33799         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33800         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33801         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33802         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33804         [BZ #17944]
33805         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33806         duplicates ADDR->sun_path with sockaddr LEN limitation.
33807         * sysdeps/mach/hurd/connect.c: Include <string.h>
33808         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33809         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33810         * sysdeps/mach/hurd/sendto.c: Likewise.
33811         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33812         implementing it by hand.
33814 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33816         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33817         Use sfi_breg on ldr.
33818         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33819         Likewise.
33821         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33822         it's defined.
33823         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33824         Test SIGSETXID only if it's defined.
33826         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33828         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33829         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33831         * nptl/tst-align2.c: Moved ...
33832         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33833         * nptl/Makefile (tests): Remove tst-align2.
33834         * sysdeps/unix/sysv/linux/Makefile
33835         [$(subdir) = nptl] (tests): Add tst-align-clone.
33836         * nptl/tst-getpid1.c: Moved ...
33837         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33838         * nptl/tst-getpid2.c: Moved ...
33839         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33840         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33841         * sysdeps/unix/sysv/linux/Makefile
33842         [$(subdir) = nptl] (tests): ... here.
33843         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33844         * sysdeps/unix/sysv/linux/Makefile
33845         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33847         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
33848         Drop trailing \n from perror argument.  Use return rather than exit.
33850         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
33851         on [SA_SIGINFO].
33852         * nptl/tst-cancel21.c (do_test): Likewise.
33853         * debug/tst-backtrace6.c: Include <signal.h> first thing.
33854         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
33855         [!SA_SIGINFO]: Make it a stub test.
33857         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
33858         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
33860         * posix/tst-getlogin.c: Move to ...
33861         * login/tst-getlogin.c: ... here.
33862         * posix/Makefile (tests): Move tst-getlogin to ...
33863         * login/Makefile (tests): ... here.
33865         * libio/tst-atime.c (do_test): Move local variables SV and E
33866         inside [ST_NOATIME] conditional.
33868         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
33870         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
33872         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
33873         (wait_code): New function replaces macro.
33874         Call nanosleep rather than syscall.
33876         * nptl/pt-system.c: Rewritten.  Put everything under
33877         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33878         Use IFUNC to redirect when possible.
33880         * nptl/pt-longjmp.c: Rewritten.  Put everything under
33881         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33882         Use IFUNC to redirect when possible.
33884         * nptl/pt-fork.c: Rewritten.  Put everything under
33885         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33886         Use IFUNC to redirect when possible.
33887         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
33889         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
33890         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
33891         unconditionally nowadays.  This included the only reference to
33892         __vdso_clock_gettime that appears outside libc proper.
33893         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
33894         Remove version set (containing only __vdso_clock_gettime).
33895         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33896         Add attribute_hidden.
33897         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33898         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
33899         libc_hidden_data_def.
33900         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33901         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33903         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
33904         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
33905         setrpcent, and getrpcport to ...
33906         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
33907         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
33908         getrpcbynumber_r, and getrpcent_r to ...
33909         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
33910         * inet/getrpcbyname.c: Moved ...
33911         * sunrpc/getrpcbyname.c: ... here.
33912         * inet/getrpcbyname_r.c: Moved ...
33913         * sunrpc/getrpcbyname_r.c: ... here.
33914         * inet/getrpcbynumber.c: Moved ...
33915         * sunrpc/getrpcbynumber.c: ... here.
33916         * inet/getrpcbynumber_r.c: Moved ...
33917         * sunrpc/getrpcbynumber_r.c: ... here.
33918         * inet/getrpcent.c: Moved ...
33919         * sunrpc/getrpcent.c: ... here.
33920         * inet/getrpcent_r.c: Moved ...
33921         * sunrpc/getrpcent_r.c: ... here.
33922         * inet/Makefile (routines): Move those to ...
33923         * sunrpc/Makefile (routines): ... here.
33924         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
33925         the $(subdirs) list.
33926         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
33927         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
33928         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
33929         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
33931         * elf/Makefile (routines): Include $(all-dl-routines), not just
33932         $(dl-routines).
33933         (rtld-routines): Likewise.  Use = rather than :=.
33934         * sysdeps/aarch64/Makefile [$(subdir) = elf]
33935         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
33936         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
33937         * sysdeps/arm/Makefile: Likewise.
33938         * sysdeps/i386/Makefile: Likewise.
33939         * sysdeps/x86_64/Makefile: Likewise.
33940         * sysdeps/hppa/Makefile [$(subdir) = elf]
33941         (sysdep_routines, sysdep-rtld-routines): Don't add
33942         $(sysdep-dl-routines) to these.
33943         * sysdeps/ia64/Makefile: Likewise.
33944         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
33945         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
33946         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
33947         Don't add dl-static to these; sysdep-dl-routines alone is enough.
33948         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
33949         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
33950         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
33951         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
33952         * sysdeps/powerpc/Makefile [$(subdir) = elf]
33953         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
33954         these; sysdep-dl-routines alone is enough.
33956 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
33958         [BZ #17932]
33959         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
33960         where multiplication results in zero and third argument is finite
33961         and nonzero.
33962         * math/auto-libm-test-in: Add more tests of fma.
33963         * math/auto-libm-test-out: Regenerated.
33965         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
33966         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
33967         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
33968         (_FP_CMP_EQ): Likewise.
33969         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
33971         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
33972         extra argument CHECK_NAN.  Redefine as wrapper around
33973         _FP_EXTEND_CNAN.
33975 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
33977         * version.h (RELEASE): Set to "stable".
33978         (VERSION): Set to "2.21"
33979         * include/features.h (__GLIBC_MINOR__): Set to 21.
33981         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
33983 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33984             Paul Eggert  <eggert@cs.ucla.edu>
33986         [BZ #16618]
33987         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
33988         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
33989         size in bytes. Store needed elements in wpmax. Use needed size
33990         in bytes for extend_alloca.
33992 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
33994         * manual/install.texi: Latest tested versions are GCC 4.9.2,
33995         binutls 2.25, and texinfo 5.2.
33996         * INSTALL: Regenerate.
33997         * sysdeps/nios2/configure: Regenerate.
33998         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
33999         * manual/contrib.texi: Update.
34000         * po/be.po: Update.
34001         * po/bg.po: Update.
34002         * po/ca.po: Update.
34003         * po/cs.po: Update.
34004         * po/da.po: Update.
34005         * po/de.po: Update.
34006         * po/el.po: Update.
34007         * po/eo.po: Update.
34008         * po/es.po: Update.
34009         * po/fi.po: Update.
34010         * po/fr.po: Update.
34011         * po/gl.po: Update.
34012         * po/hr.po: Update.
34013         * po/hu.po: Update.
34014         * po/ia.po: Update.
34015         * po/id.po: Update.
34016         * po/it.po: Update.
34017         * po/ja.po: Update.
34018         * po/ko.po: Update.
34019         * po/lt.po: Update.
34020         * po/nb.po: Update.
34021         * po/nl.po: Update.
34022         * po/pl.po: Update.
34023         * po/pt_BR.po: Update.
34024         * po/ru.po: Update.
34025         * po/rw.po: Update.
34026         * po/sk.po: Update.
34027         * po/sl.po: Update.
34028         * po/sv.po: Update.
34029         * po/tr.po: Update.
34030         * po/uk.po: Update.
34031         * po/vi.po: Update.
34032         * po/zh_CN.po: Update.
34033         * po/zh_TW.po: Update.
34035         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34036         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34037         * sysdeps/hppa/dl-irel.h: Remove #warning.
34038         * sysdeps/hppa/entry.h: Provide prototype for
34039         __canonicalize_funcptr_for_compare and cast argument.
34040         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34041         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34042         * sysdeps/hppa/sotruss-lib.c: New file.
34043         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34044         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34045         (atomic_compare_and_exchange_bool_acq): Likewise.
34046         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34047         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34049         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34050         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34051         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34053 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34055         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34056         called function in non-PIC case.
34058 2015-01-31  David S. Miller  <davem@davemloft.net>
34060         * sysdeps/sparc/sparc32/bits/atomic.h
34061         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34062         unlock not after it.
34063         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34064         volatile register usage warnings from the compiler.
34066         * sysdeps/sparc/nptl/sem_init.c: Delete.
34067         * sysdeps/sparc/nptl/sem_post.c: Delete.
34068         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34069         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34070         * sysdeps/sparc/sparc32/sem_init.c: New file.
34071         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34072         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34073         padding explicitly initialized.
34074         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34075         padding for in-semaphore spinlock.
34076         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34077         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34078         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34079         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34080         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34081         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34082         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34083         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34084         version.
34085         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34086         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34088 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34090         [BZ #17801]
34091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34092         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34093         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34094         New.
34095         (index_AVX_Fast_Unaligned_Load): Likewise.
34096         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34097         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34098         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34099         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34100         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34101         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34102         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34103         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34104         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34106 2015-01-29  Andreas Schwab  <schwab@suse.de>
34108         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34110 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34112         [BZ #17892]
34113         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34115 2015-01-28  Martin Sebor  <msebor@redhat.com>
34117         * math/README.libm-test: Clarify. Add "How to read the test output."
34119 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34121         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34122         Define to 0.
34124 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34126         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34127         (__HAVE_64B_ATOMICS): Define to 0.
34129 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34131         [BZ #17885]
34132         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34133         value to set as new flag.
34135         [BZ #16576]
34136         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34137         and use _ARCH_PPCSQ instead.
34138         (__ieee754_sqrt): Likewise.
34139         (__ieee754_sqrtf): Likewise.
34140         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34141         _ARCH_PPCSQ is defined.
34142         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34143         fsqrt instruction.
34144         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34145         _ARCH_PPCSQ is defined.
34146         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34147         fsqrts instruction.
34148         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34150 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34152         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34153         bug (GCC BZ #64739).
34155 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34157         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34158         Mark _retval as used.
34159         (lll_futex_wake_unlock): Likewise.
34160         (lll_futex_timed_wait_requeue_pi): Likewise.
34162         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34163         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34164         register variables.
34166         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34167         libm_hidden_def.
34169         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34170         (__bswap_64): Mark as __always_inline.
34172 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34174         [BZ #15378]
34175         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34176         when none of the search directories exist.
34178 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34180         [BZ #17869]
34181         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34182         power8 in .machine directive.
34184         [BZ #17868]
34185         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34186         set dependency from opd value.
34188 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34191         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34192         architecture.
34194 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34196         [BZ #17870]
34197         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34198         with uint64_t.
34199         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34200         (uint64_t) 1.
34201         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34202         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34203         Replace 1UL with (uint64_t) 1.
34204         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34205         int with uint64_t.
34207 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34209         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34210         (if_freenameindex): Likewise.
34212         * resource/getrlimit64.c: Add missing libc_hidden_def.
34214 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34216         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34217         __label__.
34218         (_FP_FMA): Likewise.
34219         (_FP_TO_INT_ROUND): Likewise.
34220         (_FP_FROM_INT): Likewise.
34222 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34224         [BZ #16418]
34225         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34226         Make code racy and cancel safe.
34228 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34230         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34231         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34232         attribution.
34234         * pwd/tst-getpw.c: Rewrite.
34236         [BZ #17702]
34237         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34238         (modules-names): Add moddummy1 and moddummy2.
34239         ($(objpfx)tst-rec-dlopen): Define.
34240         * dlfcn/moddummy1.c: New file.
34241         * dlfcn/moddummy2.c: New file.
34242         * dlfcn/tst-rec-dlopen.c: New file.
34243         * elf/dl-cache.c (_dl_load_cache_lookup):
34244         Return char*. Copy result with alloca/strcpy/strdup.
34245         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34246         returns char*. Free cached. If not saving realname
34247         free cached.
34248         * elf/dl-open.c (dl_open_worker): Do not assert that
34249         _r_debug->r_state is RT_CONSISTENT.
34250         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34251         returns char*.
34253 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34254             Carlos O'Donell  <carlos@redhat.com>
34256         [BZ #12674]
34257         * nptl/sem_waitcommon.c: New file.
34258         * nptl/sem_wait.c: Include sem_waitcommon.c.
34259         (__sem_wait_cleanup, do_futex_wait): Remove.
34260         (__new_sem_wait): Adapt.
34261         (__new_sem_trywait): New function.
34262         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34263         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34264         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34265         (sem_timedwait): Adapt.
34266         * nptl/sem_post.c (__new_sem_post): Adapt.
34267         (futex_wake): New function.
34268         (__old_sem_post): Add release MO fence.
34269         * nptl/sem_open.c (sem_open): Adapt.
34270         * nptl/sem_init.c (__new_sem_init): Adapt.
34271         (futex_private_if_supported): New function.
34272         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34273         (__old_sem_getvalue): Add using previous code.
34274         * sysdeps/nptl/internaltypes.h: Adapt.
34275         * nptl/tst-sem13.c (do_test): Adapt.
34276         * nptl/tst-sem11.c (main): Adapt.
34277         * nptl/sem_trywait.c: Remove.
34278         * nptl/DESIGN-sem.txt: Remove.
34279         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34280         (gen-as-const-headers): Remove structsem.sym.
34281         * nptl/structsem.sym: Remove.
34282         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34283         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34284         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34285         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34286         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34287         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34288         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34289         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34290         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34291         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34292         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34293         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34294         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34295         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34296         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34297         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34298         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34299         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34300         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34301         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34302         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34303         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34305 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34307         * INSTALL: Regenerated.
34309         * po/libc.pot: Regenerated.
34311 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34312             Sandra Loosemore  <sandra@codesourcery.com>
34313             Andrew Jenner  <andrew@codesourcery.com>
34314             Joseph Myers  <joseph@codesourcery.com>
34315             Nathan Sidwell  <nathan@codesourcery.com>
34317         * NEWS: Mention new Nios II port.
34318         * sysdeps/nios2/Implies: New file.
34319         * sysdeps/nios2/Makefile: New file.
34320         * sysdeps/nios2/Subdirs: New file.
34321         * sysdeps/nios2/Versions: New file.
34322         * sysdeps/nios2/__longjmp.S: New file.
34323         * sysdeps/nios2/abort-instr.h: New file.
34324         * sysdeps/nios2/backtrace.c: New file.
34325         * sysdeps/nios2/bits/endian.h: New file.
34326         * sysdeps/nios2/bits/fenv.h: New file.
34327         * sysdeps/nios2/bits/link.h: New file.
34328         * sysdeps/nios2/bits/setjmp.h: New file.
34329         * sysdeps/nios2/bsd-_setjmp.S: New file.
34330         * sysdeps/nios2/bsd-setjmp.S: New file.
34331         * sysdeps/nios2/configure: New generated file.
34332         * sysdeps/nios2/configure.ac: New file.
34333         * sysdeps/nios2/crti.S: New file.
34334         * sysdeps/nios2/crtn.S: New file.
34335         * sysdeps/nios2/dl-init.c: New file.
34336         * sysdeps/nios2/dl-machine.h: New file.
34337         * sysdeps/nios2/dl-sysdep.h: New file.
34338         * sysdeps/nios2/dl-tls.h: New file.
34339         * sysdeps/nios2/dl-trampoline.S: New file.
34340         * sysdeps/nios2/gccframe.h: New file.
34341         * sysdeps/nios2/gmp-mparam.h: New file.
34342         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34343         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34344         * sysdeps/nios2/ldsodefs.h: New file.
34345         * sysdeps/nios2/libc-tls.c: New file.
34346         * sysdeps/nios2/libm-test-ulps: New file.
34347         * sysdeps/nios2/machine-gmon.h: New file.
34348         * sysdeps/nios2/math-tests.h: New file.
34349         * sysdeps/nios2/math_private.h: New file.
34350         * sysdeps/nios2/memusage.h: New file.
34351         * sysdeps/nios2/nptl/Makefile: New file.
34352         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34353         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34354         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34355         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34356         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34357         * sysdeps/nios2/nptl/tls.h: New file.
34358         * sysdeps/nios2/preconfigure: New file.
34359         * sysdeps/nios2/s_fma.c: New file.
34360         * sysdeps/nios2/s_fmaf.c: New file.
34361         * sysdeps/nios2/setjmp.S: New file.
34362         * sysdeps/nios2/sfp-machine.h: New file.
34363         * sysdeps/nios2/sotruss-lib.c: New file.
34364         * sysdeps/nios2/stackguard-macros.h: New file.
34365         * sysdeps/nios2/stackinfo.h: New file.
34366         * sysdeps/nios2/start.S: New file.
34367         * sysdeps/nios2/sysdep.h: New file.
34368         * sysdeps/nios2/tls-macros.h: New file.
34369         * sysdeps/nios2/tst-audit.h: New file.
34370         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34371         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34372         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34373         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34374         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34375         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34376         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34377         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34378         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34379         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34380         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34381         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34382         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34383         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34384         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34385         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34386         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34387         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34388         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34389         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34390         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34391         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34392         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34393         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34394         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34395         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34396         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34397         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34398         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34399         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34400         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34401         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34402         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34403         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34404         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34405         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34406         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34407         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34408         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34409         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34410         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34411         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34412         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34413         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34415 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34417         [BZ #17844]
34418         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34419         (getutent): Use weak_alias in non SHARED case
34420         and default_symbol_version in SHARED case.
34421         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34422         (getutent_r, pututline): Likewise.
34423         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34424         (getutid): Likewise.
34425         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34426         (getutid_r): Likewise.
34427         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34428         (getutline): Likewise.
34429         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34430         (getutline_r): Likewise.
34431         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34432         (updwtmp): Likewise.
34434 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34436         [BZ #17848]
34437         * sysdeps/s390/s390-32/memcmp.S
34438         (memcmp_g5): Rename to __memcmp_g5.
34439         * sysdeps/s390/s390-32/memcpy.S
34440         (memcpy_g5): Rename to __memcpy_g5.
34441         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34442         (memcpy_mvcle) Rename to __memcpy_mvcle.
34443         * sysdeps/s390/s390-32/memset.S
34444         (memset_g5): Rename to __memset_g5.
34445         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34446         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34447         and use prefixed functions.
34448         * sysdeps/s390/s390-32/multiarch/memcmp.S
34449         (memcmp_z196): Rename to __memcmp_z196.
34450         (memcmp_z10): Rename to __memcmp_z10.
34451         (memcmp): Set alias to __memcmp_g5.
34452         (bcmp): Set alias to __memcmp_g5.
34453         * sysdeps/s390/s390-32/multiarch/memcpy.S
34454         (memcpy_z196): Rename to __memcpy_z196.
34455         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34456         (memcpy_z10): Rename to __memcpy_z10.
34457         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34458         (memcpy): Set alias to __memcpy_g5.
34459         * sysdeps/s390/s390-32/multiarch/memset.S
34460         (memset_z196): Rename to __memset_z196.
34461         Jump to __memset_mvcle instead of memset_mvcle.
34462         (memset_z10): Rename to __memset_z10.
34463         Jump to __memset_mvcle instead of memset_mvcle.
34464         (memset_mvcle) Rename to __memset_mvcle.
34465         (memset): Set alias to __memset_g5.
34466         * sysdeps/s390/s390-64/memcmp.S
34467         (memcmp_z900): Rename to __memcmp_z900.
34468         * sysdeps/s390/s390-64/memcpy.S
34469         (memcpy_z900): Rename to __memcpy_z900.
34470         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34471         (memcpy_mvcle) Rename to __memcpy_mvcle.
34472         * sysdeps/s390/s390-64/memset.S
34473         (memset_z900): Rename to __memset_z900.
34474         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34475         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34476         and use prefixed functions.
34477         * sysdeps/s390/s390-64/multiarch/memcmp.S
34478         (memcmp_z196): Rename to __memcmp_z196.
34479         (memcmp_z10): Rename to __memcmp_z10.
34480         (memcmp): Set alias to __memcmp_z900.
34481         (bcmp): Set alias to __memcmp_z900.
34482         * sysdeps/s390/s390-64/multiarch/memcpy.S
34483         (memcpy_z196): Rename to __memcpy_z196.
34484         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34485         (memcpy_z10): Rename to __memcpy_z10.
34486         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34487         (memcpy): Set alias to __memcpy_z900.
34488         * sysdeps/s390/s390-64/multiarch/memset.S
34489         (memset_z196): Rename to __memset_z196.
34490         Jump to __memset_mvcle instead of memset_mvcle.
34491         (memset_z10): Rename to __memset_z10.
34492         Jump to __memset_mvcle instead of memset_mvcle.
34493         (memset_mvcle) Rename to __memset_mvcle.
34494         (memset): Set alias to __memset_z900.
34496 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34498         [BZ #17748]
34499         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34500         __fesetenv instead of fesetenv.
34502 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34504         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34505         macro.
34507 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34509         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34510         regression on LE.
34512         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34513         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34514         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34515         strncmp-power8 object.
34516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34517         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34518         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34519         * NEWS: Update.
34521 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34522             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34524         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34525         trailing byte check.
34527 2015-01-13  David S. Miller  <davem@davemloft.net>
34529         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34531 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34533         * login/logout.c (logout): Use memset rather than bzero.
34534         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34535         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34536         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34537         (_gethtbyaddr): Likewise.
34538         * locale/programs/simple-hash.c (bcopy): Macro removed.
34540 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34542         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34543         Add strcmp-power8 object.
34544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34545         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34546         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34547         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34548         __strcmp_power8 implementation.
34549         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34550         * NEWS: Update.
34552         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34553         Add strncpy-power8 and stpncpy-power8 objects.
34554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34555         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34556         implementations.
34557         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34558         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34559         __stpncpy_power8 implementation.
34560         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34561         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34562         __strncpy_power8 implementation.
34563         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34564         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34565         * NEWS: Update.
34567         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34568         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34569         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34571         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34572         strncat-power8 object.
34573         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34574         __strcat_power8 implementation.
34575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34576         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34577         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34578         optimized strcat for power8.
34580         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34581         strcpy-power8 and stpcpy-power8 objects.
34582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34583         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34584         implementations.
34585         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34586         multiarch stpcpy implementation for POWER8.
34587         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34588         multiarch strcpy implementation for POWER8.
34589         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34590         __strcpy_power8 function.
34591         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34592         stpcpy for POWER8.
34593         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34594         strcpy for POWER8.
34595         * NEWS: Update.
34597 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34599         [BZ #16009]
34600         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34601         weights and rules. Use do_xfrm_cached if data fits in cache,
34602         do_xfrm otherwise.  Moved former main loop to...
34603         * (do_xfrm_cached): New function.
34604         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34605         find_idx, find_position and stack_push.
34606         * (find_idx): New function.
34607         * (find_position): Likewise.
34608         * localedata/sort-test.sh: Added test run for do_xfrm.
34609         * localedata/xfrm-test.c (main): Added command line option
34610         -nocache to run the test with strings that are too large for
34611         the STRXFRM cache.
34613 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34615         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34616         variable to lll_futex_wake call, not the value itself.
34618 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34620         [BZ #17803]
34621         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34622         twom64.  Adjust value to 0x1p-64L.
34623         (__scalblnl): Only return standard underflowing result for K <=
34624         -64 not K <= -63; adjust exponent for underflowing result by 64
34625         not 63.
34626         * math/libm-test.inc (scalbn_test_data): Add more tests.
34627         (scalbln_test_data): Likewise.
34629         [BZ #17834]
34630         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34631         0x1p63L.
34632         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34633         not HX.
34634         * math/libm-test.inc (scalbn_test_data): Add more tests.
34635         (scalbln_test_data): Likewise.
34637 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34638             Stefani Seibold  <stefani@seibold.net>
34640         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34641         (sysdep_routines): Add dl-vdso here, ...
34642         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34643         (sysdep_routines): ... not here.
34644         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34645         fallback when vDSO is not presented.
34646         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34647         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34648         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34649         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34650         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34651         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34652         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34653         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34654         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34655         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34656         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34657         fallback configurable symbol when vDSO is not available.
34658         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34659         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34660         be able to redefine fallback symbol when vDSO is not available.
34661         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34662         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34664 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34666         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34667         (TLS_INIT_TP): Add tm_capable initialization.
34668         (TLS_DEFINE_INIT_TP): Likewise.
34669         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34670         TCB.
34671         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34672         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34673         calculation.
34674         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34675         transactoion is lock elision is built and TCB tm_capable is set.
34676         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34678         (INTERNAL_SYSCALL_NCS): Likewise.
34679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34680         (INTERNAL_SYSCALL_NCS): Likewise.
34681         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34683         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34684         for powerpc.
34685         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34686         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34687         and remove it for 32 bits case.
34688         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34689         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34690         initialization.
34691         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34692         Disable lock elision with rdlocks if elision is not available.
34694         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34695         (sysdep_routines): Add lock elision objects.
34696         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34697         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34698         [pthread_mutex_t] (__elision): Add field.
34699         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34700         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34701         elision definitions for powerpc.
34702         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34703         implementation of lock elision for powerpc.
34704         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34705         implementation of timed lock elision for powerpc.
34706         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34707         implementation of trylock with lock elision for powerpc.
34708         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34709         implementaion of unlock for lock elision for powerpc.
34710         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34711         automatic enable lock elision for mutexes.
34712         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34713         transaction execution definitions for powerpc.
34714         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34715         definitions.
34716         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34717         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34718         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34719         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34720         * NEWS: Update.
34722 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34724         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34725         for #include of <shm-directory.h>.
34727 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34729         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34730         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34732 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34734         [BZ #17791]
34735         * NEWS: Mention bug fix.
34736         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34737         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34738         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34740 2015-01-09  Torvald Riegel <triegel@redhat.com>
34742         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34744 2015-01-09  Torvald Riegel <triegel@redhat.com>
34746         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34748 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34750         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34751         pointer and cast to uintptr_t.
34753 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34755         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34756         removed.
34757         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34759 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34761         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34762         of 0.
34764 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34766         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34767         <nptl/pthreadP.h> instead.
34768         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34770         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34771         already defined.
34772         [__SIGRTMIN] (init): Function removed.
34773         [__SIGRTMIN] (initialized): Variable removed.
34774         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34775         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34776         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34777         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34778         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34779         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34780         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34781         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34782         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34783         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34784         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34785         * sysdeps/nptl/allocrtsig.c: New file.
34786         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34787         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34788         * sysdeps/generic/testrtsig.h: File removed.
34790         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34791         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34793         * nptl/nptl-init.c (pthread_functions): Conditionalize
34794         .ptr__nptl_setxid initialization on [SIGSETXID].
34796         * sysdeps/nptl/sys/procfs.h: New file.
34797         * nptl_db/Makefile (headers): Add it.
34798         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34800         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34801         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34802         * nptl/pthread_attr_setaffinity.c: Include it.
34803         * nptl/pthread_setattr_default_np.c: Likewise.
34804         * nptl/check-cpuset.h: New file.
34806 2015-01-08  Richard Henderson  <rth@redhat.com>
34808         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34809         (CFLAGS-tst-execstack-prog.c): Likewise.
34810         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34812 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34813             Sandra Loosemore  <sandra@codesourcery.com>
34814             Andrew Jenner  <andrew@codesourcery.com>
34815             Joseph Myers  <joseph@codesourcery.com>
34816             Nathan Sidwell  <nathan@codesourcery.com>
34818         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34819         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34820         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34821         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34822         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34823         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34824         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34825         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34826         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34827         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34828         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34829         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34830         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34831         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34832         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34833         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34834         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34836 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34838         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34839         timespec struct member in syscall macro.
34840         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34841         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34842         first timeval struct member in syscall macro.
34843         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34845 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34847         [BZ #17748]
34848         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
34849         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
34850         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
34851         __feupdateenv and define as weak alias of __feupdateenv.  Use
34852         libm_hidden_weak.
34853         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
34854         libm_hidden_def.
34855         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
34856         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
34857         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34858         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
34859         libm_hidden_def.
34860         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
34861         __feupdateenv and define as weak alias of __feupdateenv.  Use
34862         libm_hidden_weak.
34863         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
34864         libm_hidden_def.
34865         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
34866         __feupdateenv and define as weak alias of __feupdateenv.  Use
34867         libm_hidden_weak.
34868         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
34869         libm_hidden_def.
34870         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34871         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34872         (__feupdateenv): Likewise.
34873         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
34874         __feupdateenv and define as weak alias of __feupdateenv.  Use
34875         libm_hidden_weak.
34876         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34877         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
34878         libm_hidden_def.
34879         * sysdeps/tile/math_private.h (__feupdateenv): New inline
34880         function.
34881         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
34882         libm_hidden_def.
34883         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
34884         __feupdateenv instead of feupdateenv.
34885         (default_libc_feupdateenv_test): Likewise.
34886         (libc_feresetround_ctx): Likewise.
34888 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34890         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
34891         prototype.
34893 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
34895         * posix/regcomp.c (parse_bracket_exp): Initialize type to
34896         COLL_SYM in a couple of places to avoid uninitialized variable
34897         wanings on tilegx gcc 4.8.2.
34899 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34901         * sysdeps/aarch64/strcpy.S: New file.
34902         * sysdeps/aarch64/stpcpy.S: New file.
34903         * NEWS: Updated.
34905 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34907         * sysdeps/aarch64/strrchr.S: New file.
34908         * NEWS: Updated.
34910 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
34912         [BZ #17658]
34913         * stdlib/setenv.c: Fix memory leak when setting large,
34914         duplicate string.
34916 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
34918         [BZ #17273]
34919         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
34920         and tabs from buffer before parsing fstab entry.
34921         * misc/tst-mntent.c (main): Add test for mount entry with
34922         trailing spaces and tabs.
34924 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
34926         [BZ #17748]
34927         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
34928         * math/fesetround.c (fesetround): Rename to __fesetround and
34929         define as weak alias of __fesetround.  Use libm_hidden_weak.
34930         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
34931         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
34932         * sysdeps/arm/fesetround.c (fesetround): Likewise.
34933         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
34934         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
34935         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
34936         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
34937         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
34938         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
34939         __fesetround_inline.
34940         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
34941         __fesetround_inline instead of __fesetround.
34942         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
34943         __fesetround and define as weak alias of __fesetround.  Use
34944         libm_hidden_weak.  Call __fesetround_inline instead of
34945         __fesetround.
34946         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
34947         __fesetround and define as weak alias of __fesetround.  Use
34948         libm_hidden_weak.
34949         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
34950         Likewise.
34951         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
34952         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34953         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
34954         * sysdeps/tile/math_private.h (__fesetround): New inline function.
34955         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
34956         __fesetround and define as weak alias of __fesetround.  Use
34957         libm_hidden_weak.
34958         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
34959         __fesetround instead of fesetround.
34960         (default_libc_feholdexcept_setround): Likewise.
34961         (libc_feholdsetround_ctx): Likewise.
34962         (libc_feholdsetround_noex_ctx): Likewise.
34964         [BZ #17748]
34965         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
34966         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
34967         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34968         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34969         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34970         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
34971         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34972         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34973         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34974         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34975         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34976         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34977         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34978         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34979         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
34980         libm_hidden_def.
34981         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
34982         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
34983         Likewise.
34984         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34985         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34986         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34987         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34988         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
34989         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34990         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34991         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
34992         __fesetenv instead of fesetenv.
34993         (libc_feresetround_noex_ctx): Likewise.
34994         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34995         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34996         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
34997         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34998         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34999         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35000         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35001         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35002         (__feupdateenv): Likewise.
35003         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35004         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35005         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35006         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35008 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35010         [BZ #17806]
35011         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35012         addresses have been freed.
35014 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35016         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35017         and nservall.
35019 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35021         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35022         Clean up check_pf allocation pattern. addresses
35024 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35026         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35027         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35028         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35029         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35030         * nptl/pthread_join.c (pthread_join): Likewise.
35031         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35032         * sysdeps/posix/waitid.c (__waitid): Likewise.
35033         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35034         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35035         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35036         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35037         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35038         Likewise.
35039         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35040         (__libc_pread64): Likewise.
35041         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35042         (__libc_pwrite): Likewise.
35043         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35044         (__libc_pwrite64): Likewsie.
35045         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35046         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35047         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35048         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35049         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35050         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35051         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35053         Likewise.
35054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35055         (__libc_pread64): Likewise.
35056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35057         Likewise.
35058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35059         (__libc_pwrite64): Likewise.
35060         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35061         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35062         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35063         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35064         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35065         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35066         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35067         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35068         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35069         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35070         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35071         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35072         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35073         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35074         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35075         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35076         Likewise.
35078 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35080         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35081         (CFLAGS-test-double.c): Likewise.
35082         (CFLAGS-test-ldouble.c): Likewise.
35083         (CPPFLAGS-test-ifloat.c): Likewise.
35084         (CPPFLAGS-test-idouble.c): Likewise.
35085         (CPPFLAGS-test-ildoubl.c): Likewise.
35086         (CFLAGS-test-test-fenv.c): Remove variable.
35087         (CFLAGS-test-misc.c): Likewise.
35089 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35091         [BZ #17797]
35092         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35093         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35094         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35095         CLOCKS_PER_SEC == 1000000.
35096         * time/clocktest.c (main): Replace %ld with %jd and cast to
35097         intmax_t.
35099 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35101         * sysdeps/generic/unwind-resume.h: New file.
35102         * sysdeps/gnu/unwind-resume.c: Include it.
35103         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35104         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35105         argument list.
35106         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35107         global rather than static.
35108         (_Unwind_Resume): Update user.
35109         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35110         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35111         rather than static.  Add __attribute__ ((cold)).
35112         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35113         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35114         * sysdeps/arm/arm-unwind-resume.S: New file.
35115         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35116         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35117         * sysdeps/arm/Makefile [$(subdir) = csu]
35118         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35119         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35120         Add rt-arm-unwind-resume.
35121         [$(subdir) = nptl]
35122         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35123         Add pt-arm-unwind-resume.
35124         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35125         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35127 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35129         [BZ #17748]
35130         * include/fenv.h (__feholdexcept): Declare.  Use
35131         libm_hidden_proto.
35132         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35133         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35134         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35135         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35136         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35137         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35138         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35139         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35140         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35141         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35142         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35143         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35144         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35145         (feholdexcept): Likewise.
35146         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35147         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35148         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35149         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35150         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35151         __feholdexcept instead of feholdexcept.
35152         (default_libc_feholdexcept_setround): Likewise.
35154 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35156         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35157         to avoid using stl/str to align destination.
35159 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35161         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35163 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35165         [BZ #17796]
35166         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35167         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35168         Define as weak alias not strong alias.
35170 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35172         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35173         bltzal with addiupc.
35174         (RTLD_START): Ditto.
35176 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35178         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35179         for __vdso_* functions in declarations.
35180         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35181         definitions.
35182         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35183         INTERNAL_VSYSCALL): Use struct return types to check for error.
35185         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35186         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35187         function with cast from llround().
35188         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35189         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35190         Define.
35192 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35194         [BZ #17793]
35195         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35196         Define as weak alias not strong alias.
35198         [BZ #17635]
35199         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35200         ...
35201         * ctype/ctype-extn.c: ... here.
35202         (__isblank_l): Move to ...
35203         * ctype/ctype-c99_l.c: ... here.  New file.
35204         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35205         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35206         Remove variable.
35207         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35208         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35209         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35210         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35211         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35213         [BZ #17777]
35214         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35215         (posix_fadvise64): Define as weak alias not strong alias.
35216         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35217         (posix_fallocate64): Likewise.
35218         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35219         Remove variable.
35220         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35221         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35222         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35223         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35224         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35226 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35228         [BZ #16191]
35229         * NEWS: Mention bug fix.
35230         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35231         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35232         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35233         (HOST_STACK_END_ADDR): Likewise.
35235 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35237         [BZ #17748]
35238         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35239         * math/fegetround.c (fegetround): Rename to __fegetround and
35240         define as weak alias of __fegetround.  Use libm_hidden_weak.
35241         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35242         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35243         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35244         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35245         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35246         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35247         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35248         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35249         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35250         Undefine after rather than before function definition; use
35251         parentheses around function name in definition.
35252         (__fegetround): Also undefine macro after function definition.
35253         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35254         __fegetround and define as weak alias of __fegetround.  Use
35255         libm_hidden_weak.  Do not undefine as macro.
35256         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35257         Likewise.
35258         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35259         __fegetround and define as weak alias of __fegetround.  Use
35260         libm_hidden_weak.
35261         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35262         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35263         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35264         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35265         __fegetround and define as weak alias of __fegetround.  Use
35266         libm_hidden_weak.
35267         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35268         __fegetround instead of fegetround.
35270         [BZ #17782]
35271         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35272         Condition macro definition on [__USE_MISC].
35274         [BZ #17781]
35275         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35276         (struct sigaction): Change type of sa_flags field to int.
35278         [BZ #17780]
35279         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35280         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35281         __glibc_reserved0.
35283         * nptl/version.c (banner): Use single year in copyright notice.
35285         * NEWS: Update copyright dates.
35286         * catgets/gencat.c (print_version): Likewise.
35287         * csu/version.c (banner): Likewise.
35288         * debug/catchsegv.sh: Likewise.
35289         * debug/pcprofiledump.c (print_version): Likewise.
35290         * debug/xtrace.sh (do_version): Likewise.
35291         * elf/ldconfig.c (print_version): Likewise.
35292         * elf/ldd.bash.in: Likewise.
35293         * elf/pldd.c (print_version): Likewise.
35294         * elf/sotruss.sh: Likewise.
35295         * elf/sprof.c (print_version): Likewise.
35296         * iconv/iconv_prog.c (print_version): Likewise.
35297         * iconv/iconvconfig.c (print_version): Likewise.
35298         * locale/programs/locale.c (print_version): Likewise.
35299         * locale/programs/localedef.c (print_version): Likewise.
35300         * login/programs/pt_chown.c (print_version): Likewise.
35301         * malloc/memusage.sh (do_version): Likewise.
35302         * malloc/memusagestat.c (print_version): Likewise.
35303         * malloc/mtrace.pl: Likewise.
35304         * manual/libc.texinfo: Likewise.
35305         * nptl/version.c (banner): Likewise.
35306         * nscd/nscd.c (print_version): Likewise.
35307         * nss/getent.c (print_version): Likewise.
35308         * nss/makedb.c (print_version): Likewise.
35309         * posix/getconf.c (main): Likewise.
35310         * scripts/test-installation.pl: Likewise.
35311         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35313 2015-01-02  Will Newton  <will.newton@linaro.org>
35315         * sysdeps/arm/armv7/configure: Removed.
35316         * sysdeps/arm/armv7/configure.ac: Likewise.
35318 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35320         * All files with FSF copyright notices: Update copyright dates
35321         using scripts/update-copyrights.
35322         * intl/plural.c: Regenerated.
35323         * locale/programs/charmap-kw.h: Likewise.
35324         * locale/programs/locfile-kw.h: Likewise.
35326 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35328         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35330 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35332         [BZ #17748]
35333         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35334         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35335         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35336         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35337         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35338         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35339         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35340         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35341         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35342         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35343         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35344         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35345         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35346         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35347         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35348         libm_hidden_def.
35349         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35350         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35351         Likewise.
35352         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35353         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35354         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35355         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35356         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35357         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35358         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35359         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35360         __fegetenv instead of fegetenv.
35361         (libc_feholdsetround_noex_ctx): Likewise.
35363 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35365         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35366         (Elf_MIPS_ABIFlags_v0): New structure.
35367         (EF_MIPS_FP64): Define.
35368         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35369         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35370         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35371         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35372         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35373         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35374         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35375         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35376         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35377         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35378         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35379         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35380         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35381         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35382         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35383         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35384         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35385         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35386         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35387         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35388         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35389         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35390         field.
35391         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35392         EF_MIPS_FP64.
35393         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35394         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35395         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35396         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35397         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35398         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35399         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35400         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35401         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35402         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35403         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35404         record the current FP ABI extension.
35405         (mips-mode-switch): Define to show if kernel headers support mode
35406         switching.
35407         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35408         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35409         supported SYSV ABI version to 3.
35410         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35411         feature.
35413 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35414             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35416         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35417         path.
35418         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35420 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35422         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35423         __fegetround and redefine to call __fegetround.  Remove condition
35424         on [!__NO_MATH_INLINES].
35425         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35426         function.
35427         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35428         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35429         Remove macro.
35430         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35431         instead of <fenv_libc.h>.
35432         (__llrintl): Call fegetround instead of __fegetround.
35433         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35434         instead of <fenv_libc.h>.
35435         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35436         (__lrintl): Call fegetround instead of __fegetround.
35437         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35438         instead of <fenv_libc.h>.
35439         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35440         (__rintl): Call fegetround instead of __fegetround.
35442 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35444         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35445         arrays.
35447 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35449         [BZ #17775]
35450         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35451         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35452         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35454 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35456         * sysdeps/i386/tls-macros.h: Include <features.h>.
35457         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35458         (TLS_IE): Likewise.
35459         (TLS_LD): Likewise.
35460         (TLS_GD): Likewise.
35461         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35462         define for GCC >= 5.0.
35464 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35466         * math/test-fenv.c (test_single_exception, set_single_exc,
35467         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35468         feexcp_mask_test, feenable_test, fe_single_test): Add
35469         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35470         case where they are not used.
35471         * math/libm-test.inc: Likewise.
35472         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35473         unused in the absence of FP rounding/exception support.
35474         * stdio-common/tst-printf-round.c: Likewise.
35475         * stdlib/tst-strtod-round.c: Likewise.
35476         * stdlib/tst-strtod-underflow.c: Likewise.
35478 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35480         [BZ #17723]
35481         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35482         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35483         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35484         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35485         libm_hidden_weak.
35486         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35487         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35488         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35489         libm_hidden_def.
35490         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35491         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35492         libm_hidden_weak.
35493         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35494         Likewise.
35495         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35496         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35497         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35498         libm_hidden_weak.
35499         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35500         libm_hidden_def.
35501         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35502         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35503         (__feraiseexcept): Likewise.
35504         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35505         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35506         libm_hidden_weak.
35507         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35508         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35509         libm_hidden_def.
35510         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35511         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35512         Use libm_hidden_def.
35513         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35514         libm_hidden_def.
35515         (feraiseexcept): Define as weak not strong alias.  Use
35516         libm_hidden_weak.
35517         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35518         New inline function.  Factored out of ...
35519         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35520         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35521         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35522         feraiseexcept.
35523         * math/w_acos.c (__acos): Likewise.
35524         * math/w_asin.c (__asin): Likewise.
35525         * math/w_ilogb.c (__ilogb): Likewise.
35526         * math/w_j0.c (y0): Likewise.
35527         * math/w_j1.c (y1): Likewise.
35528         * math/w_jn.c (yn): Likewise.
35529         * math/w_log.c (__log): Likewise.
35530         * math/w_log10.c (__log10): Likewise.
35531         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35532         * sysdeps/aarch64/fpu/math_private.h
35533         (libc_feupdateenv_test_aarch64): Likewise.
35534         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35535         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35536         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35537         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35538         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35539         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35540         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35541         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35542         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35543         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35545 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35547         [BZ #17732]
35548         * io/test-utime.c (main): Replace %ld with %jd and cast to
35549         intmax_t.
35550         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35551         * nptl/tst-mutex5.c: Include <stdint.h>.
35552         (do_test): Replace %ld with %jd and cast to intmax_t.
35553         * posix/tst-regex.c (run_test): Likewise.
35554         (run_test_backwards): Likewise.
35555         * rt/tst-clock.c: Include <stdint.h>.
35556         (clock_test): Replace %ld with %jd and cast to intmax_t.
35557         * rt/tst-cpuclock1.c: Include <stdint.h>.
35558         (do_test): Replace %lu with %ju and cast to uintmax_t.
35559         * rt/tst-cpuclock2.c: Include <stdint.h>.
35560         (do_test): Replace %lu with %ju and cast to uintmax_t.
35561         * rt/tst-mqueue1.c: Include <stdint.h>.
35562         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35563         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35564         intmax_t.
35565         * rt/tst-mqueue4.c (do_test): Likewise.
35566         * rt/tst-timer4.c: Include <stdint.h>.
35567         (check_ts): Replace %ld with %jd and cast to intmax_t.
35568         (do_test): Likewise.
35569         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35570         and cast to intmax_t.
35571         * sysdeps/pthread/tst-timer.c (main): Likewise.
35572         * time/clocktest.c (main): Likewise.
35573         * time/tst-posixtz.c (do_test): Likewise.
35574         * timezone/tst-timezone.c (main): Likewise.
35576 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35577             H.J. Lu  <hongjiu.lu@intel.com>
35579         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35580         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35581         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35582         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35583         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35584         version if bit_Fast_Unaligned_Load is set.
35585         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35586         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35587         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35588         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35589         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35590         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35591         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35592         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35593         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35594         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35595         to 4.
35596         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35597         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35598         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35599         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35601 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35603         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35604         instead of #if to avoid a Wundef warning.
35605         * stdlib/tst-limits.c (do_test): Likewise.
35607         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35608         parallel other exception macros.
35609         (fegetenv): Convert from macro to extern inline so that it applies
35610         retroactively to inline functions already seen by the compiler.
35611         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35613         * posix/Makefile (before-compile): Use $(objpfx) for
35614         posix-conf-vars-def.h.
35616 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35618         * posix/getconf.c (main): Use size_t for type of I.
35619         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35620         NSPEC.
35622         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35623         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35624         * posix/posix-envs.def: Likewise.
35625         * sysdeps/posix/sysconf.c: Likewise.
35626         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35627         (specs): Remove array.
35628         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35629         array.
35631         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35632         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35633         (__sysconf): Use CONF_IS_* macros.
35635         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35636         ($(objpfx)posix-conf-vars-def.h): New target.
35637         * posix/posix-conf-vars.list: New file.
35638         * posix/posix-conf-vars.h: New file.
35639         * posix/confstr.c: Include posix-conf-vars.h.
35640         (confstr): Use CONF_IS_* macros.
35641         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35642         CONF_IS_* macros.
35643         * scripts/gen-posix-conf-vars.awk: New file.
35645 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35647         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35648         fegetround): Add no-op macros to avoid linknamespace issues.
35650         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35651         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35653         * sysdeps/unix/sysv/linux/tile/sysdep.h
35654         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35655         assembly-specific section to avoid a redefinition warning.
35657         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35658         long before casting to pointer to avoid a cast warning.
35660 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35662         * sysdeps/tile/tilegx/Implies: New file.
35664 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35666         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35668 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35670         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35672 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35674         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35675         not define.
35676         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35677         <kernel-features.h>.
35678         (__utimes) [__NR_utimes]: Make code unconditional.
35679         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35680         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35681         (__ASSUME_UTIMES): Do not undefine.
35682         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35683         (__ASSUME_UTIMES): Likewise.
35684         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35685         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35686         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35687         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35689 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35691         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35693 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35695         [BZ #17747]
35696         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35697         alias to weak alias for j0l, y0l.
35698         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35699         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35701         [BZ #17746]
35702         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35703         conversion.
35705 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35707         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35708         to zero if not already defined.
35710 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35712         [BZ #17724]
35713         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35714         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35715         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35716         (char *) casts added.
35717         * sysdeps/ieee754/k_standardf.c: New file.
35718         * sysdeps/ieee754/k_standardl.c: Likewise.
35719         * math/Makefile (libm-support): Remove k_standard.
35720         (libm-calls): Add k_standard.
35722 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35724         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35725         Optimize to avoid an unnecessary FPCR read.
35727 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35729         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35730         Optimize to reduce FPCR/FPSR accesses.
35732 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35734         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35735         Call libc_fetestexcept_aarch64.
35737 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35739         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35740         Call libc_fesetround_aarch64.
35742 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35744         [BZ #17733]
35745         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35746         (__bind): Do not define as weak alias.
35747         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35748         define.
35749         (__getsockname): Do not define as weak alias.
35751 2014-12-22  Will Newton  <will.newton@linaro.org>
35753         * manual/install.texi: Document that we require bison 2.7
35754         or above.
35755         * INSTALL: Regenerate.
35756         * configure.ac: Use AC_CHECK_PROG_VER instead of
35757         AC_PATH_PROG when checking for bison and check for
35758         version 2.7 or above.
35759         * configure: Regenerate.
35761 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35763         [BZ #17745]
35764         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35765         * sysdeps/tile/ffsll.c (ffsll): To here.
35767         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35769 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35771         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35772         if not defined.
35773         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35774         definition.
35775         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35776         hidden ___tls_get_addr.
35777         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35778         hidden __tls_get_addr.
35779         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35780         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35781         Likewise.
35783 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35785         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35786         _dl_init call.
35788 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35790         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35791         from "call _dl_init@PLT".
35792         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35794 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35796         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35797         guarantees.
35799 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35801         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35803 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35805         [BZ #17744]
35806         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35807         strnlen.
35809 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35811         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35812         of multu on MIPSr6.
35813         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35814         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35815         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35816         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35817         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35819 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35821         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35822         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35823         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35824         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35825         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35826         mips32r6/mips64r6.
35827         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35829 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35831         * string/strncat.c (STRNCAT): Simplify implementation.
35833 2014-12-19  David S. Miller  <davem@davemloft.net>
35835         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35836         access the quad as both a long double and as a series of 4 words.
35838         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35839         link_map->l_info array access.
35841 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35843         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35845         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35846         * math/atest-exp2.c (TIMEOUT): Likewise.
35847         * math/atest-sincos.c (TIMEOUT): Likewise.
35849 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35851         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
35852         -Wno-error with -fno-builtin-lround.
35854 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35856         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
35857         Contains futex constants and functions moved over from ...
35858         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
35859         <lowlevellock-futex.h>.
35860         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35861         (lll_timedwait_tid): Add comments and parentheses around macro
35862         arguments.
35864 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35866         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
35867         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
35868         (__lll_private_flag): Remove.
35869         (lll_futex_wait): Likewise.
35870         (lll_futex_timed_wait): Likewise.
35871         (lll_futex_wake): Likewise.
35872         (lll_futex_requeue): Likewise.
35873         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35874         (__lll_timedwait_tid): Spell out argument names.
35875         (lll_timedwait_tid): Add comments and parentheses around macro
35876         arguments.
35877         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
35878         LLL_SHARED and LLL_PRIVATE usable from assembly code.
35880 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35882         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
35883         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35884         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35885         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
35886         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
35887         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
35888         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
35889         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
35890         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
35891         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
35892         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
35893         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
35894         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
35895         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
35896         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
35897         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
35898         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
35899         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
35900         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
35902 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35904         * sysdeps/x86_64/x32/Makefile: New file.
35906 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35908         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
35909         1L with (mp_limb_t) 1.
35911 2014-12-17  Roland McGrath  <roland@hack.frob.com>
35913         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
35914         * nptl/libc_pthread_init.c: ... here.
35915         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
35916         * nptl/register-atfork.c: ... here.
35918         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
35919         Use pthread_sigmask rather than INTERNAL_SYSCALL.
35920         Use assert_perror to check its return value.
35921         (__gai_create_helper_thread): Likewise.
35923         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
35925         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
35927 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
35929         [BZ #17725]
35930         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
35931         __profil_counter.
35932         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
35933         Likewise.
35934         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
35935         Likewise.
35936         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
35937         Likewise.
35938         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
35939         (profil_counter): Likewise.
35940         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
35941         (profil_counter): Likewise.
35942         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
35943         Likewise.
35944         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
35945         Likewise.
35946         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
35947         (profil_counter): Likewise.
35948         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
35949         Likewise.
35950         [!__profil_counter] (profil_counter): Define as weak alias of
35951         __profil_counter.
35952         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
35953         (profil_counter): Rename to __profil_counter.
35954         [!__profil_counter] (profil_counter): Define as weak alias of
35955         __profil_counter.
35956         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
35957         (profil_counter): Rename to __profil_counter.
35958         [!__profil_counter] (profil_counter): Define as weak alias of
35959         __profil_counter.
35960         * sysdeps/posix/profil.c: Update comment referring to
35961         profil_counter.
35962         (__profil): Use __profil_counter instead of profil_counter.
35963         * sysdeps/posix/sprofil.c (profil_counter): Rename to
35964         __profil_counter.  Use __profil_counter_ushort and
35965         __profil_counter_uint in definitions.
35966         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
35967         instead of profil_counter_uint and profil_counter_ushort.
35969         [BZ #17722]
35970         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
35971         define as weak alias of __inet_makeaddr.
35972         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
35973         as weak alias of __inet_addr.
35974         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
35975         as weak alias of __inet_pton.  Use libc_hidden_weak.
35976         * include/arpa/inet.h (__inet_pton): Declare.  Use
35977         libc_hidden_proto.
35978         (inet_makeaddr): Don't use libc_hidden_proto.
35979         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
35980         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
35981         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
35982         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
35983         Remove variable.
35984         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35985         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35987 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
35989         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
35991 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35993         * stdio-common/bug-vfprintf-nargs.c (do_test):
35994         Cast value to intptr_t to avoid format warning
35995         for usage with PRIdPTR printing macro.
35997 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35999         * libio/tst-widetext.c (do_test):
36000         Use format type %td instead of %Zd for ptrdiff_t
36001         in order to avoid format warning.
36003 2014-12-17  Andreas Schwab  <schwab@suse.de>
36005         * nscd/mem.c (gc): Add size_t cast to match printf format.
36007 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36009         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36010         (init): Apply PTR_MANGLE to pointers before storing them.
36011         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36012         before using them.
36014 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36016         [BZ #17719]
36017         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36018         define as weak alias of __memrchr.
36019         (__memrchr): Do not define as strong alias of memrchr.
36020         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36021         Remove variable.
36022         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36023         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36024         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36026         [BZ #17717]
36027         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36028         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36029         (if_indextoname): Rename to __if_indextoname and define as weak
36030         alias of __if_indextoname.  Use libc_hidden_weak.
36031         (if_freenameindex): Rename to __if_freenameindex and define as
36032         weak alias of __if_freenameindex.
36033         (if_nameindex): Rename to __if_nameindex and define as weak alias
36034         of __if_nameindex.
36035         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36036         __if_nametoindex and define as weak alias of __if_nametoindex.
36037         Use libc_hidden_weak.
36038         (if_freenameindex): Rename to __if_freenameindex and define as
36039         weak alias of __if_freenameindex.
36040         (if_nameindex): Rename to __if_nameindex and define as weak alias
36041         of __if_nameindex.
36042         (if_indextoname): Rename to __if_indextoname and define as weak
36043         alias of __if_indextoname.  Use libc_hidden_weak.
36044         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36045         __if_nametoindex and define as weak alias of __if_nametoindex.
36046         Use libc_hidden_weak.
36047         (if_freenameindex): Rename to __if_freenameindex and define as
36048         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36049         (if_nameindex_netlink): Use __if_freenameindex instead of
36050         if_freenameindex.
36051         (if_nameindex): Rename to __if_nameindex and define as weak alias
36052         of __if_nameindex.  Use libc_hidden_weak.
36053         (if_indextoname): Rename to __if_indextoname and define as weak
36054         alias of __if_indextoname.  Use libc_hidden_weak.
36055         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36056         libc_hidden_proto.
36057         [!_ISOMAC] (__if_freenameindex): Likewise.
36058         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36059         if_nametoindex.
36060         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36061         variable.
36062         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36063         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36064         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36065         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36066         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36067         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36068         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36070         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36071         Remove variable.
36072         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36073         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36075 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36077         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36078         subscript above bounds'
36080         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36081         bounds.
36083 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36085         * libio/tst-fopenloc.c: Use test-skeleton.c.
36087         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36088         (entry): Rename to ITEM.
36089         (do_test, comp): Adjust.
36091         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36093 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36095         * string/tester.c: Include <libc-internal.h>.
36096         (test_memset): Ignore -Wmemset-transposed-args.
36098 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36100         * misc/tst-mntent2.c (do_test): Fix warning.
36102 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36104         * elf/tst-unique4lib.cc(a): Mark as used.
36106 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36108         [BZ #17630]
36109         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36110         names.
36112 2014-12-16  Allan McRae  <allan@archlinux.org>
36114         * stdio-common/Makefile (tests): Re-add bug26.
36116 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36118         [BZ #17657]
36119         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36120         static array.
36122 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36124         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36125         (__lll_lock_wait): Likewise.
36126         (__lll_timedlock_wait): Likewise.
36127         (__lll_timedwait_tid): Likewise.
36128         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36129         (__lll_robust_timedlock_wait): Likewise.
36130         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36131         (lll_cond_trylock): Likewise.
36132         (__lll_lock): Likewise.
36133         (__lll_robust_lock): Likewise.
36134         (__lll_cond_lock): Likewise.
36135         (lll_robust_cond_lock): Likewise.
36136         (__lll_timedlock): Likewise.
36137         (__lll_robust_timedlock): Likewise.
36138         (__lll_unlock): Likewise.
36139         (__lll_robust_unlock): Likewise.
36140         (lll_wait_tid): Likewise.
36141         (lll_timedwait_tid): Likewise.
36143 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36145         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36147 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36149         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36151 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36153         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36154         * stdio-common/tst-sprintf.c: Likewise.
36156 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36158         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36160 2014-12-15  Jeff Law  <law@redhat.com>
36162         [BZ #16617]
36163         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36164         on the heap.  (CVE-2012-3406)
36165         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36166         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36167         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36169 2014-12-15  Will Newton  <will.newton@linaro.org>
36171         * manual/install.texi: Bump required version of texinfo
36172         to 4.7 from 4.5.
36173         * INSTALL: Regenerated.
36174         * configure.ac: Check for makeinfo version 4.7 and above.
36175         * configure: Regenerated.
36177 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36179         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36180         PREFIX, string constant to insert between directory and name.
36181         * sysdeps/posix/shm_open.c: Update caller.
36182         * sysdeps/posix/shm_unlink.c: Likewise.
36183         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36184         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36185         (SEM_SHM_PREFIX): New macro.
36186         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36187         [$(have-thread-library) = no].
36188         * nptl/Makefile (libpthread-routines): Add shm-directory.
36189         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36190         * sysdeps/nptl/shm-directory.h: New file.
36191         * sysdeps/posix/shm-directory.c
36192         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36193         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36194         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36195         INTERNAL_SYSCALL.
36196         (__where_is_shmfs): Function removed.
36197         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36198         Variables removed.
36199         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36200         Use SHM_GET_NAME.
36201         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36203         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36204         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36205         unconditional for use inside libpthread.
36206         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36208 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36210         * nptl/pthread_getaffinity.c: New file.
36211         * nptl/pthread_setaffinity.c: New file.
36212         * nptl/pthread_getname.c: New file.
36213         * nptl/pthread_setname.c: New file.
36215         * nptl/pthread_create.c (START_THREAD_DEFN)
36216         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36218 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36219             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36221         * resolv/res_send.c (send_vc): Disable warning resplen may
36222         be used uninitialized.
36224 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36226         * nptl/tst-mutex6.c
36227         (ATTR_NULL): New define checks ATTR against NULL.
36228         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36229         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36231 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36233         [BZ #17581]
36234         * malloc/hooks.c
36235         (mem2mem_check): Revert my previous change.
36236         (malloc_check_get_size): Revert my previous change.
36237         (mem2chunk_check): Revert my previous change.
36239 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36241         * sysdeps/posix/shm-directory.c: New file.
36242         * sysdeps/posix/shm-directory.h: New file.
36243         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36244         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36245         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36246         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36247         Transmute EPERM to EACCES.
36248         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36249         from ...
36250         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36251         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36253 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36255         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36256         pointer and cast to uintptr_t.
36257         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36258         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36259         Add cast to avoid warning.
36260         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36262 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36264         * nptl/semaphore.h: Move to ...
36265         * sysdeps/pthread/semaphore.h: ... here.
36266         * Makefile (installed-headers): Change nptl/semaphore.h to
36267         sysdeps/pthread/semaphore.h.
36269 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36271         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36272         generated error format strings.
36274         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36275         -Wformat-extra-args warnings for scanf formats.
36276         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36277         test of zero-length format (duh).
36278         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36279         corner-case scanf format test.
36280         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36281         generated fprintf format string.
36282         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36283         corner-case sprintf format tests.
36284         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36285         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36286         -Wformat-extra-args warnings throughout.
36287         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36288         (CFLAGS-scanf4.c): Likewise.
36289         (CFLAGS-scanf7.c): Likewise.
36290         (CFLAGS-tst-sprintf.c): Likewise.
36291         (CFLAGS-tst-printf.c): Likewise.
36292         (CFLAGS-tst-printfsz.c): Likewise.
36294 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36296         * include/cpio.h: New file.
36297         * include/fmtmsg.h: Likewise.
36299         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36300         corresponding format argument to size_t.
36301         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36302         arguments.
36303         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36304         corresponding format argument to size_t.
36305         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36306         arguments.
36307         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36308         corresponding format argument to size_t.
36309         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36310         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36311         (CFLAGS-tst-mbswcs2.c): Likewise.
36312         (CFLAGS-tst-mbswcs3.c): Likewise.
36313         (CFLAGS-tst-mbswcs4.c): Likewise.
36314         (CFLAGS-tst-mbswcs5.c): Likewise.
36315         (CFLAGS-tst-trans.c): Likewise.
36317 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36319         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36320         rather than assuming they won't contain any '%'s.
36322 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36324         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36325         inhibit_loop_to_libcall to avoid recursive calls.
36326         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36327         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36329 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36331         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36332         prototype.
36334 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36336         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36337         integer value instead of boolean.
36339 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36341         * malloc/malloc.c: Fix powerof2 check.
36343 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36345         * locale/programs/locfile.h (maybe_swap_uint32):
36346         Remove inline and add unused attribute.
36348 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36350         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36351         Truncating assembler expression to a .long expression.
36353 2014-12-11  Andreas Schwab  <schwab@suse.de>
36355         * elf/rtld.c (struct map_args): Constify str member.
36356         (do_preload): Constify fname argument.
36358 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36360         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36361         constants definition.
36363 2014-12-11  Andreas Schwab  <schwab@suse.de>
36365         [BZ #16657]
36366         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36367         FORCE_ELISION instead of DO_ELISION.
36368         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36369         Remove.
36370         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36371         Likewise.
36373         * iconvdata/gconv-modules: Remove duplicate entry.
36375 2014-12-11  Will Newton  <will.newton@linaro.org>
36377         Merge gettext 0.19.3 into intl/.
36379         This involves a number of cosmetic changes to comments
36380         and ANSI function definitions and prototypes throughout
36381         all the files. The gettext copyright header is used but
36382         with the date ranges taken from the glibc copy.
36384         * NEWS: Add gettext merge to 2.21.
36385         * intl/bindtextdom.c: Switch to gettext copyright.
36386         Use ANSI definitions and prototypes.
36387         Use gl_* locking primitives rather than __libc_* ones.
36388         Use __builtin_expect rather than __glibc_likely/unlikely.
36389         * intl/dcgettext.c: Switch to gettext copyright.
36390         Use ANSI definitions and prototypes.
36391         * intl/dcigettext.c: Switch to gettext copyright.
36392         Use ANSI definitions and prototypes.
36393         (INTDIV0_RAISES_SIGFPE): New define.
36394         Use gl_* locking primitives rather than __libc_* ones.
36395         Include eval-plural.h instead of plural-eval.c.
36396         Use __builtin_expect rather than __glibc_likely/unlikely.
36397         * intl/dcngettext.c: Switch to gettext copyright.
36398         Use ANSI definitions and prototypes.
36399         * intl/dgettext.c: Likewise.
36400         * intl/dngettext.c: Likewise.
36401         * intl/plural-eval.c: Renamed to...
36402         * intl/eval-plural.h: ...this.
36403         * intl/explodename.c: Switch to gettext copyright.
36404         Use ANSI definitions and prototypes.
36405         (_nl_explode_name): Use strchr instead of __rawmemchr.
36406         * intl/finddomain.c: Switch to gettext copyright.
36407         Use ANSI definitions and prototypes.
36408         Use gl_* locking primitives rather than __libc_* ones.
36409         (_nl_find_domain): Use malloc rather than alloca for
36410         allocation of temporary locale name.
36411         * intl/gettext.c: Switch to gettext copyright.
36412         Use ANSI definitions and prototypes.
36413         * intl/gettextP.h: Switch to gettext copyright.
36414         Use ANSI definitions and prototypes.
36415         Use gl_* locking primitives rather than __libc_* ones.
36416         * intl/gmo.h: Switch to gettext copyright.
36417         (struct sysdep_string): Move struct segment_pair outside of
36418         struct definition.
36419         * intl/hash-string.c: Use ANSI definitions and prototypes.
36420         * intl/hash-string.h: Switch to gettext copyright.
36421         Use ANSI definitions and prototypes.
36422         * intl/l10nflist.c: Switch to gettext copyright.
36423         Use ANSI definitions and prototypes.
36424         (_nl_normalize_codeset): Avoid integer overflow.
36425         * intl/loadinfo.h: Switch to gettext copyright.
36426         Use ANSI definitions and prototypes.
36427         (LIBINTL_DLL_EXPORTED): New define.
36428         (PATH_SEPARATOR): New define.
36429         * intl/loadmsgcat.c: Switch to gettext copyright.
36430         * intl/localealias.c: Switch to gettext copyright.
36431         Use ANSI definitions and prototypes.
36432         (_nl_expand_alias): Use PATH_SEPARATOR.
36433         * intl/ngettext.c: Switch to gettext copyright.
36434         Use ANSI definitions and prototypes.
36435         * intl/plural-exp.c: Likewise.
36436         * intl/plural-exp.h: Switch to gettext copyright.
36437         Use ANSI definitions and prototypes.
36438         (struct expression): Move definition of enum operator outside
36439         of struct definition.
36440         * intl/plural.c: Regenerate.
36441         * intl/plural.y: Switch to gettext copyright.
36442         Use ANSI definitions and prototypes.
36443         Port to bison 3.0.
36444         * intl/textdomain.c: Switch to gettext copyright.
36445         Use ANSI definitions and prototypes.
36446         Use gl_* locking primitives rather than __libc_* ones.
36448 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36450         * debug/warning-nop.c: Add used atrribute.
36452 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36454         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36456         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36457         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36458         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36460 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36461             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36463         [BZ #17634]
36464         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36465         Undefine after defining function.  Define as weak alias of
36466         __wcschr.  Use libc_hidden_weak.
36467         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36468         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36469         (libc_hidden_def): Also define __GI___wcschr alias.
36470         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36471         __wcschr and define as weak alias of __wcschr.
36472         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36473         __wcschr.
36474         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36475         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36476         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36477         libc_hidden_weak.  Do not use libc_hidden_def.
36478         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36479         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36480         __GI___wcschr alias.
36481         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36482         [IS_IN (libc)] (wcschr): Define as macro expanding to
36483         __redirect_wcschr.
36484         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36485         [IS_IN (libc)] (__wcschr_power6): Likewise.
36486         [IS_IN (libc)] (__wcschr_power7): Likewise.
36487         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36488         instead of wcschr.
36489         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36490         __libc_wcschr.
36491         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36492         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36493         __wcschr and define as weak alias of __wcschr.  Use
36494         libc_hidden_builtin_def.
36495         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36496         as weak alias of __wcschr.  Use libc_hidden_weak.
36497         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36498         wcschr.
36499         * time/era.c (_nl_init_era_entries): Likewise.
36500         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36501         variable.
36502         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36503         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36505 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36507         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36508         format for long int variable.
36510 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36512         [BZ #10672]
36513         * manual/search.texi: (Array Sort Function): Remove claim how to make
36514         qsort stable.
36516 2014-12-10  Andreas Schwab  <schwab@suse.de>
36518         [BZ #12847]
36519         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36520         user-controlled locks.
36522 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36524         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36525         register.
36527 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36529         * configure.ac (--disable-werror): New configure option.
36530         (enable_werror): New AC_SUBST.
36531         * configure: Regenerated.
36532         * config.make.in (enable-werror): New variable.
36533         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36534         -Wno-error=undef.
36535         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36536         * manual/install.texi (Configuring and compiling): Document
36537         --disable-werror.
36538         * INSTALL: Regenerated.
36539         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36540         (CFLAGS-tst-chk2.c): Likewise.
36541         (CFLAGS-tst-chk3.c): Likewise.
36542         (CFLAGS-tst-chk4.cc): Likewise.
36543         (CFLAGS-tst-chk5.cc): Likewise.
36544         (CFLAGS-tst-chk6.cc): Likewise.
36545         (CFLAGS-tst-lfschk1.c): Likewise.
36546         (CFLAGS-tst-lfschk2.c): Likewise.
36547         (CFLAGS-tst-lfschk3.c): Likewise.
36548         (CFLAGS-tst-lfschk4.cc): Likewise.
36549         (CFLAGS-tst-lfschk5.cc): Likewise.
36550         (CFLAGS-tst-lfschk6.cc): Likewise.
36552         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36553         (main): Disable -Wdeprecated-declarations around calls to
36554         register_printf_function.
36556         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36557         (do_test): Disable -Wdiv-by-zero around some calls to
36558         fwrite_unlocked and fread_unlocked.
36560         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36561         (DIAG_POP_NEEDS_COMMENT): Likewise.
36562         (_DIAG_STR1): Likewise.
36563         (_DIAG_STR): Likewise.
36564         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36565         * stdio-common/bug21.c: Include <libc-internal.h>.
36566         (do_test): Disable -Wformat around call to sscanf.
36567         * stdio-common/scanf14.c: Include <libc-internal.h>.
36568         (main): Disable -Wformat around some calls to scanf functions.
36570 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36572         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36574 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36576         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36577         stack variable alignment.
36579 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36581         [BZ #17682]
36582         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36583         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36584         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36585         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36586         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36587         __getrlimit instead of getrlimit.
36588         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36589         __gettimeofday instead of gettimeofday.
36590         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36591         Likewise.
36592         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36593         Likewise.
36594         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36595         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36596         Remove variable.
36597         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36598         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36600 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36602         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36603         for wide-character tests.
36605 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36607         * io/openat64.c: #include <libc-internal.h>
36608         (__openat64): Prototypify.  Use ignore_value on MODE.
36609         * io/openat.c: Likewise.
36610         * misc/reboot.c: #include <libc-internal.h>
36611         (reboot): Prototypify.  Use ignore_value on HOWTO.
36612         * misc/ptrace.c: #include <libc-internal.h>
36613         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36615 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36617         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36618         XPG4, UNIX98 and XOPEN2K.
36619         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36620         Remove variable.
36621         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36623 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36625         * libio/fileops.c: Use ISO C style for function definitions.
36626         * libio/iofopen.c: Likewise.
36627         * libio/wfileops.c: Likewise.
36629         [BZ #17653]
36630         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36631         offset on EOF.
36632         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36633         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36634         (fgets_func): Function pointer to fgets and fgetws.
36635         (do_ftell_test): Add test to verify ftell value after read
36636         EOF.
36637         (do_test): Set fgets_func.
36639         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36640         O_TRUNC flag for w and w+ modes.
36641         (do_rewind_test): Likewise.
36642         (do_ftell_test): Likewise.
36643         (do_write_test): Likewise.
36645         [BZ #17647]
36646         * libio/fileops.c (do_ftell): Seek only when there are
36647         unflushed writes.
36648         * libio/wfileops.c (do_ftell_wide): Likewise.
36649         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36650         test case.
36651         (do_one_test): Call it.
36653 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36655         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36656         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36657         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36658         Remove variable.
36659         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36660         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36661         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36663 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36665         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36666         Remove variable.
36667         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36669         [BZ #17668]
36670         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36671         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36672         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36673         __freeifaddrs.  Use libc_hidden_weak.
36674         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36675         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36676         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36677         __freeifaddrs.  Use libc_hidden_weak.
36678         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36679         __getifaddrs and define as weak alias of __getifaddrs.  Use
36680         libc_hidden_weak.
36681         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36682         __freeifaddrs.  Use libc_hidden_weak.
36683         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36684         Remove variable.
36685         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36686         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36688 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36690         [BZ #17601]
36691         * sysdeps/mips/start.S (__start): Use indirect jump to call
36692         __libc_start_main.
36694 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36696         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36698         * nptl/tst-mutex1.c: Include <stdbool.h>.
36699         [!ATTR] (ATTR_NULL): New macro.
36700         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36701         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36702         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36704         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36705         to char *.
36707         [BZ #17665]
36708         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36709         Change conditional to [__USE_MISC].
36711         [BZ #17664]
36712         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36713         fgets_unlocked.
36714         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36715         __fgets_unlocked.
36716         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36717         fgets_unlocked.
36718         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36719         Remove variable.
36720         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36721         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36722         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36723         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36724         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36725         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36726         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36727         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36728         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36730         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36732 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36734         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36735         Remove strpbrk objects.
36736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36737         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36738         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36739         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36740         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36741         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36743         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36744         Remove strcspn objects.
36745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36746         (__libc_ifunc_impl_list): Remove strcspn implementation.
36747         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36748         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36749         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36750         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36752         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36753         Remove strspn objetcs.
36754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36755         (__libc_ifunc_impl_list): Remove strspn implementation.
36756         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36757         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36758         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36759         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36761 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36763         [BZ #17581]
36764         * malloc/hooks.c
36765         (mem2mem_check): Add a terminator to the chain of checking blocks.
36766         (malloc_check_get_size): Use it here.
36767         (mem2chunk_check): Ditto.
36769 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36771         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36772         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36774 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36776         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36778         * nptl/nptl-init.c: Include libc-internal.h.
36779         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36781         * elf/ldconfig.c (search_dir): Expand comment.
36783 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36785         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36786         variable.
36787         (linknamespace-symlist-stdlibs-tests): Likewise.
36788         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36789         instead of $(objpfx)symlist-stdlibs.
36790         (linknamespace-libs-isoc): New variable.
36791         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36792         (linknamespace-libs-ISO): New variable.
36793         (linknamespace-libs-ISO99): Likewise.
36794         (linknamespace-libs-ISO11): Likewise.
36795         (linknamespace-libs-XPG3): Likewise.
36796         (linknamespace-libs-XPG4): Likewise.
36797         (linknamespace-libs-POSIX): Likewise.
36798         (linknamespace-libs-UNIX98): Likewise.
36799         (linknamespace-libs-XOPEN2K): Likewise.
36800         (linknamespace-libs-POSIX2008): Likewise.
36801         (linknamespace-libs-XOPEN2K8): Likewise.
36802         ($(objpfx)symlist-stdlibs): Replace by
36803         $(linknamespace-symlist-stdlibs-tests).  Use
36804         $(linknamespace-libs-$*) as set of libraries.
36805         ($(linknamespace-header-tests)): Update dependencies.  Use
36806         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36807         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36808         * conform/linknamespace.pl: Remove comment about considering
36809         definitions of symbols from irrelevant libraries.
36811 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36813         [BZ #13862]
36814         * elf/dl-tls.c: Include <atomic.h>.
36815         (oom): Remove #ifdef SHARED/#endif.
36816         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36817         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36818         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36819         big enough.
36820         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36821         * nptl/Makefile (tests): Add tst-stack4.
36822         (modules-names): Add tst-stack4mod.
36823         ($(objpfx)tst-stack4): New.
36824         (tst-stack4mod.sos): Likewise.
36825         ($(objpfx)tst-stack4.out): Likewise.
36826         ($(tst-stack4mod.sos)): Likewise.
36827         (clean): Likewise.
36828         * nptl/tst-stack4.c: New file.
36829         * nptl/tst-stack4mod.c: Likewise.
36831 2014-11-27  J. Brown  <jb999@gmx.de>
36833         * sysdeps/x86/bits/string.h: Add recent CPUs.
36835 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36837         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36838         sigblock.
36840         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36841         feof.
36843         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36844         variable.
36846 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
36848         * nscd/connections.c: Include libc-internal.h because of macro
36849         usage ignore_value.
36851 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36853         * string/bits/string3.h (__warn_memset_zero_len): Don't
36854         declare for gcc newer than 5.0.
36855         (memset): Don't test for zero-length __LEN for gcc newer than
36856         5.0.
36858 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36860         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
36861         size_t for %zu format.
36863         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
36864         difference, not %ju.
36866 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36868         * include/libc-internal.h (ignore_value): New macro.
36869         * nscd/connections.c (restart): Wrap calls to setuid and setgid
36870         with ignore_value.
36872         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
36873         definition.
36875         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
36876         pthread_cleanup_push to void *.
36878         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
36879         Undefine.
36881         [BZ #16619]
36882         [BZ #16740]
36883         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
36884         instead of 1L << 52.
36886         * libio/bug-rewind.c (do_test): Check fwscanf return values.
36887         * libio/bug-rewind2.c (do_test): Likewise.
36889         * debug/test-stpcpy_chk-ifunc.c: Remove file.
36890         * debug/test-strcpy_chk-ifunc.c: Likewise.
36891         * wcsmbs/test-wcschr-ifunc.c: Likewise.
36892         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36893         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36894         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36895         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36896         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36897         * Rules [$(multi-arch) = no] (tests): Do not filter out
36898         $(tests-ifunc).
36899         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
36900         * debug/Makefile (tests-ifunc): Remove variable.
36901         (tests): Do not add $(tests-ifunc).
36902         * wcsmbs/Makefile (tests-ifunc): Remove variable.
36903         (tests): Do not add $(tests-ifunc).
36904         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
36905         [TEST_IFUNC]: Remove conditionals.
36906         * string/test-string.h (TEST_IFUNC): Remove macro.
36907         [TEST_IFUNC]: Remove conditionals.
36909         * string/test-strchr.c [!WIDE] (L): New macro.
36910         [WIDE] (L): Likewise.
36911         (check1): Use CHAR instead of char.  Use L on string and character
36912         constants.
36914 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
36916         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
36917         tests.
36918         * sysdeps/powerpc/bits/atomic.h
36919         (__arch_atomic_exchange_and_add_32_acq): Add definition.
36920         (__arch_atomic_exchange_and_add_32_rel): Likewise.
36921         (atomic_exchange_and_add_acq): Likewise.
36922         (atomic_exchange_and_add_rel): Likewise.
36923         * sysdeps/powerpc/powerpc32/bits/atomic.h
36924         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36925         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36926         * sysdeps/powerpc/powerpc64/bits/atomic.h
36927         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36928         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36930 2014-11-26  Torvald Riegel  <triegel@redhat.com>
36932         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
36933         Change synchronization of __sched_fifo_min_prio and
36934         __sched_fifo_max_prio.
36935         * nptl/pthread_mutexattr_getprioceiling.c
36936         (pthread_mutexattr_getprioceiling): Likewise.
36937         * nptl/pthread_mutexattr_setprioceiling.c
36938         (pthread_mutexattr_setprioceiling): Likewise.
36939         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
36940         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
36941         Likewise.
36943 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36945         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
36946         void.
36948 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36950         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
36951         third argument const.
36953 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
36955         fnmatch: work around GCC compiler warning bug with uninit var
36956         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
36957         This works around a bug with x86-64 GCC 4.9.2 and earlier
36958         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
36959         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
36960         used uninitialized in this function [-Wmaybe-uninitialized]".
36962 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36964         * posix/bug-regex31.c (main): Return RES not 0.
36966 2014-11-25  Anton Blanchard <anton@samba.org>
36968         * sysdeps/powerpc/bits/atomic.h
36969         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
36971 2014-11-24  Sterling Augustine  <saugustine@google.com>
36973         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
36975 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
36977         [BZ #17608]
36978         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
36980 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
36982         [BZ #17633]
36983         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
36984         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
36985         variable.
36986         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36987         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36989 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36991         * string/strncpy.c (strncpy): Improve performance by using memset.
36993 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36995         * string/strcpy.c (strcpy):
36996         Improve performance by using strlen and memcpy.
36998 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37000         * string/strcoll_l.c (get_next_seq): __always_inline.
37001         * string/strcoll_l.c (do_compare): __always_inline.
37003 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37005         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37006         defined.
37007         * include/mqueue.h: Likewise.
37008         * include/stdlib.h: Likewise.
37010         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37011         (get_null_defines): Adjust.
37012         * sunrpc/Makefile: Adjust comment.
37013         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37014         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37015         (CFLAGS-interp.c): Likewise.
37016         (CFLAGS-ldconfig.c): Likewise.
37017         (CPPFLAGS-.os): Likewise.
37018         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37019         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37020         * extra-modules.mk (extra-modules.mk): Likewise.
37021         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37022         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37023         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37024         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37025         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37026         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37027         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37028         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37029         * iconvdata/Makefile (CPPFLAGS): Likewise.
37030         (cpp-srcs-left): Add libof for all iconvdata routines.
37031         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37032         * include/assert.h: Likewise.
37033         * include/ctype.h: Likewise.
37034         * include/errno.h: Likewise.
37035         * include/libc-symbols.h: Likewise.
37036         * include/math.h: Likewise.
37037         * include/netdb.h: Likewise.
37038         * include/resolv.h: Likewise.
37039         * include/stdio.h: Likewise.
37040         * include/stdlib.h: Likewise.
37041         * include/string.h: Likewise.
37042         * include/sys/stat.h: Likewise.
37043         * include/wctype.h: Likewise.
37044         * intl/l10nflist.c: Likewise.
37045         * libidn/idn-stub.c: Likewise.
37046         * libio/libioP.h: Likewise.
37047         * nptl/libc_multiple_threads.c: Likewise.
37048         * nptl/pthreadP.h: Likewise.
37049         * posix/regex_internal.h: Likewise.
37050         * resolv/res_hconf.c: Likewise.
37051         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37052         * sysdeps/arm/memmove.S: Likewise.
37053         * sysdeps/arm/sysdep.h: Likewise.
37054         * sysdeps/generic/_itoa.h: Likewise.
37055         * sysdeps/generic/symbol-hacks.h: Likewise.
37056         * sysdeps/gnu/errlist.awk: Likewise.
37057         * sysdeps/gnu/errlist.c: Likewise.
37058         * sysdeps/i386/i586/memcpy.S: Likewise.
37059         * sysdeps/i386/i586/memset.S: Likewise.
37060         * sysdeps/i386/i686/memcpy.S: Likewise.
37061         * sysdeps/i386/i686/memmove.S: Likewise.
37062         * sysdeps/i386/i686/mempcpy.S: Likewise.
37063         * sysdeps/i386/i686/memset.S: Likewise.
37064         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37065         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37066         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37067         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37068         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37069         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37070         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37071         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37072         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37073         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37074         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37075         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37076         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37077         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37078         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37079         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37080         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37081         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37082         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37083         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37084         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37085         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37086         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37087         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37088         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37089         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37090         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37091         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37092         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37093         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37094         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37095         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37096         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37097         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37098         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37099         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37100         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37101         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37102         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37103         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37104         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37105         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37106         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37107         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37108         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37109         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37110         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37111         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37112         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37113         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37114         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37115         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37116         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37117         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37118         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37119         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37120         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37121         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37122         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37123         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37124         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37125         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37126         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37127         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37128         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37129         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37130         * sysdeps/posix/closedir.c: Likewise.
37131         * sysdeps/posix/opendir.c: Likewise.
37132         * sysdeps/posix/readdir.c: Likewise.
37133         * sysdeps/posix/rewinddir.c: Likewise.
37134         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37135         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37136         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37137         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37138         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37139         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37140         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37141         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37142         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37143         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37144         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37145         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37146         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37147         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37148         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37149         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37150         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37151         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37152         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37153         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37154         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37155         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37156         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37157         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37158         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37159         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37160         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37161         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37162         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37163         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37165         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37167         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37169         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37170         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37171         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37172         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37173         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37174         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37175         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37176         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37177         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37178         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37179         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37180         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37181         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37182         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37183         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37184         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37185         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37186         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37187         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37188         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37189         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37190         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37191         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37192         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37193         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37194         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37195         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37196         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37197         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37198         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37199         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37200         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37201         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37202         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37203         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37204         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37205         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37206         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37207         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37208         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37209         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37210         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37211         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37212         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37213         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37214         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37215         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37216         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37217         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37218         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37219         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37220         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37221         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37222         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37223         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37224         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37225         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37226         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37227         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37228         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37229         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37230         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37231         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37232         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37233         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37234         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37235         * sysdeps/unix/alpha/sysdep.S: Likewise.
37236         * sysdeps/unix/alpha/sysdep.h: Likewise.
37237         * sysdeps/unix/make-syscalls.sh: Likewise.
37238         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37239         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37240         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37241         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37242         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37243         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37244         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37245         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37246         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37247         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37248         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37249         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37250         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37251         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37252         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37253         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37254         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37255         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37256         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37257         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37258         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37259         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37260         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37261         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37262         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37263         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37264         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37267         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37268         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37269         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37270         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37271         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37272         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37273         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37275         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37276         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37277         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37278         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37279         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37280         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37281         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37282         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37283         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37285         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37286         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37287         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37288         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37289         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37290         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37291         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37292         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37293         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37294         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37296         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37297         * sysdeps/x86_64/memcpy.S: Likewise.
37298         * sysdeps/x86_64/memmove.c: Likewise.
37299         * sysdeps/x86_64/memset.S: Likewise.
37300         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37301         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37302         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37303         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37304         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37305         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37306         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37307         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37308         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37309         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37310         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37311         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37312         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37313         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37314         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37315         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37316         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37317         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37318         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37319         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37320         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37321         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37322         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37323         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37324         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37325         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37326         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37327         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37328         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37329         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37330         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37331         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37332         * sysdeps/x86_64/strcmp.S: Likewise.
37334         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37336         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37337         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37338         * elf/rtld-Rules: Likewise.
37339         * elf/setup-vdso.h: Likewise.
37340         * include/assert.h: Likewise.
37341         * include/bits/stdlib-float.h: Likewise.
37342         * include/errno.h: Likewise.
37343         * include/sys/stat.h: Likewise.
37344         * include/unistd.h: Likewise.
37345         * sysdeps/aarch64/setjmp.S: Likewise.
37346         * sysdeps/alpha/setjmp.S: Likewise.
37347         * sysdeps/arm/__longjmp.S: Likewise.
37348         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37349         * sysdeps/arm/setjmp.S: Likewise.
37350         * sysdeps/arm/sysdep.h: Likewise.
37351         * sysdeps/generic/_itoa.h: Likewise.
37352         * sysdeps/generic/dl-sysdep.h: Likewise.
37353         * sysdeps/generic/ldsodefs.h: Likewise.
37354         * sysdeps/i386/dl-tls.h: Likewise.
37355         * sysdeps/i386/setjmp.S: Likewise.
37356         * sysdeps/m68k/setjmp.c: Likewise.
37357         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37358         * sysdeps/mach/hurd/opendir.c: Likewise.
37359         * sysdeps/posix/getcwd.c: Likewise.
37360         * sysdeps/posix/opendir.c: Likewise.
37361         * sysdeps/posix/profil.c: Likewise.
37362         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37363         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37364         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37365         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37366         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37367         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37368         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37369         * sysdeps/s390/dl-tls.h: Likewise.
37370         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37371         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37372         * sysdeps/sh/sh3/setjmp.S: Likewise.
37373         * sysdeps/sh/sh4/setjmp.S: Likewise.
37374         * sysdeps/unix/alpha/sysdep.h: Likewise.
37375         * sysdeps/unix/arm/sysdep.S: Likewise.
37376         * sysdeps/unix/i386/sysdep.S: Likewise.
37377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37378         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37379         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37380         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37381         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37382         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37383         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37384         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37385         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37386         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37387         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37388         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37389         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37392         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37393         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37394         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37395         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37396         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37397         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37398         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37400         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37401         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37402         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37404         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37405         * sysdeps/x86_64/setjmp.S: Likewise.
37407         * include/math.h: Use IS_IN instead of IS_IN_libm.
37408         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37409         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37410         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37411         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37412         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37413         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37414         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37415         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37416         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37417         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37418         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37419         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37420         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37421         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37422         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37423         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37424         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37425         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37426         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37427         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37428         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37429         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37430         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37431         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37432         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37433         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37434         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37435         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37436         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37437         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37438         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37439         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37440         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37442         Likewise.
37443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37444         Likewise.
37445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37446         Likewise.
37447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37448         Likewise.
37449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37450         Likewise.
37451         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37452         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37453         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37454         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37455         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37456         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37462         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37463         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37464         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37465         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37466         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37467         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37468         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37469         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37470         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37471         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37472         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37473         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37474         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37475         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37477         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37479         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37480         * nptl/pthreadP.h: Likewise.
37481         * nptl_db/structs.def: Likewise.
37482         * sysdeps/arm/sysdep.h: Likewise.
37483         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37484         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37485         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37486         * sysdeps/unix/alpha/sysdep.h: Likewise.
37487         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37488         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37489         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37490         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37491         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37492         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37493         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37494         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37495         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37496         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37497         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37498         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37499         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37500         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37503         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37504         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37505         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37507         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37508         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37509         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37510         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37511         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37512         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37514         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37515         * nptl/pthreadP.h: Likewise.
37516         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37517         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37518         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37519         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37520         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37521         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37522         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37523         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37524         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37525         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37526         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37527         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37529         Likewise.
37530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37531         Likewise.
37532         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37533         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37534         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37535         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37536         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37537         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37538         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37539         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37541         * dlfcn/dladdr.c: Use IS_IN.
37542         * dlfcn/dladdr1.c: Likewise.
37543         * dlfcn/dlclose.c: Likewise.
37544         * dlfcn/dlerror.c: Likewise.
37545         * dlfcn/dlinfo.c: Likewise.
37546         * dlfcn/dlmopen.c: Likewise.
37547         * dlfcn/dlopen.c: Likewise.
37548         * dlfcn/dlsym.c: Likewise.
37549         * dlfcn/dlvsym.c: Likewise.
37551         * include/ifaddrs.h: Use IS_IN.
37552         * inet/check_pf.c: Likewise.
37553         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37554         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37556         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37557         IS_IN_ldconfig.
37558         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37559         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37561         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37562         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37563         IS_IN (libc).
37565         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37567         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37568         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37569         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37570         * include/libc-symbols.h (IS_IN_LIB): New macro.
37571         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37572         * include/netdb.h: Likewise.
37573         * include/stap-probe.h: Remove all uses of IN_LIB.
37575         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37576         instead of IN_MODULE.
37577         * include/libc-symbols.h (IN_MODULE): Define using
37578         MODULE_NAME.
37579         (PASTE_NAME, PASTE_NAME1): New macros.
37580         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37581         of IN_LIB.
37582         (STAP_PROBE_ASM): Likewise.
37584 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37586         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37587         __mach_init in dlopened libc.
37589 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37591         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37592         * sysdeps/arm/preconfigure: Regenerate.
37594 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37596         * nptl/pthread_create.c (__pthread_create_2_1): Set
37597         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37598         when copying values from IATTR into PD.
37600 2014-11-21  Will Newton  <will.newton@linaro.org>
37601             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37603         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37604         Refactor inline-asm.  Also add comment.
37606         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37607         ElfW macro instead of hardcoded Elf64 types.
37608         (la_aarch64_gnu_pltenter): Likewise.
37609         * sysdeps/aarch64/dl-machine.h
37610         (elf_machine_runtime_setup): Use ElfW(Addr).
37612         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37613         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37614         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37615         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37616         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37617         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37618         (R_AARCH64_TLS_DTPMOD): This.
37619         (R_AARCH64_TLS_DTPREL64): Rename to ...
37620         (R_AARCH64_TLS_DTPREL): This.
37621         (R_AARCH64_TLS_TPREL64): Rename to ...
37622         (R_AARCH64_TLS_TPREL): This.
37623         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37624         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37625         R_AARCH64_TLS_TPREL64.
37626         (elf_machine_rela): Likewise.
37628 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37630         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37631         by setting it to 0.  64b atomics are not supported currently.
37633 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37635         [BZ #16469]
37636         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37637         search domain names.
37639 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37641         [BZ #16469]
37642         * NEWS: Update.
37643         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37644         trailing dot.
37645         * posix/tst-getaddrinfo5.c: New.
37646         * posix/Makefile (tests): Add it.
37648 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37650         [BZ #14498]
37651         * NEWS: Fixed.
37652         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37653         after parsing line but before break_if_match.
37654         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37655         if there is a protocol mismatch.
37657 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37659         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37660         because the potential race is on the user-supplied stream.
37662 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37664         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37665         string literal if not passed a buffer.
37666         * manual/job.texi (ctermid): Update reasoning, note deviation
37667         from posix, suggest mtasurace when not passed a buffer, for
37668         future non-preliminary safety notes.
37670 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37672         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37673         of not passing it a buffer.
37674         Reported by Peng Haitao.
37676 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37678         * manual/Makefile ($(objpfx)stamp-summary): Require
37679         check-safety.sh to pass.
37680         * manual/check-safety.sh: Wish for verification that every
37681         @deftypefn and @deftypefun is followed by a @safety remark.
37683 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37685         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37687         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37688         PTHREAD_CANCEL_ASYNCHRONOUS.
37689         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37690         send SIGCANCEL.
37692         * nptl/default-sched.h: New file.
37693         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37694         * nptl/pthread_create.c: Include it.
37695         (__pthread_create_2_1): Use collect_default_sched instead of making
37696         Linux syscalls here directly.
37698 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37700         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37701         __pthread_once): Use C11 atomics.
37703 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37705         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37707 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37709         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37710         atomic_thread_fence_acquire, atomic_thread_fence_release,
37711         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37712         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37713         atomic_compare_exchange_weak_relaxed,
37714         atomic_compare_exchange_weak_acquire,
37715         atomic_compare_exchange_weak_release,
37716         atomic_exchange_acquire, atomic_exchange_release,
37717         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37718         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37719         atomic_fetch_and_acquire,
37720         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37722 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37724         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37725         USE_ATOMIC_COMPILER_BUILTINS): Define.
37726         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37728         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37730         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37732         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37734         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37736         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37738         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37740         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37742         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37744         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37746         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37748         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37750         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37751         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37752         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37754         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37756         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37758         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37760         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37761         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37762         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37764         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37767 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37769         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37770         the sched_priority value here.  It was already checked when the user
37771         called pthread_attr_setschedparam.
37773         * nptl/tst-bad-schedattr.c: New file.
37774         * nptl/Makefile (tests): Add it.
37776 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37777             Florian Weimer  <fweimer@redhat.com>
37778             Joseph Myers  <joseph@codesourcery.com>
37779             Adam Conrad  <adconrad@0c3.net>
37780             Andreas Schwab  <schwab@suse.de>
37781             Brooks  <bmoses@google.com>
37783         [BZ #17625]
37784         * wordexp-test.c (__dso_handle): Add prototype.
37785         (__register_atfork): Likewise.
37786         (__app_register_atfork): New function.
37787         (registered_forks): New global.
37788         (register_fork): New function.
37789         (test_case): Add 3 new tests for WRDE_CMDSUB.
37790         (main): Call __app_register_atfork.
37791         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37792         fork count is non-zero fail the test.
37793         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37794         is set.
37795         (parse_dollars): Remove check for WRDE_NOCMD.
37796         (parse_dquote): Likewise.
37798 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37800         * Makeconfig (built-modules): List non-library modules to be
37801         built.
37802         (module-cppflags): Include libc-modules.h for
37803         everything except shlib-versions.v.i.
37804         (CPPFLAGS): Use it.
37805         (before-compile): Add libc-modules.h.
37806         ($(common-objpfx)libc-modules.h,
37807         $(common-objpfx)libc-modules.stmp): New targets.
37808         (common-generated): Add libc-modules.h and libc-modules.stmp.
37809         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37810         * include/libc-symbols.h: Don't include libc-modules.h.
37811         * include/libc-modules.h: Remove file.
37812         * scripts/gen-libc-modules.awk: New script to generate
37813         libc-modules.h.
37814         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37815         Depend on libc-modules.stmp.
37817         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37819         * Makeconfig (in-module): Get value of libof set for the
37820         translation unit.
37821         (CPPFLAGS): Use $(in-module).
37822         * Makerules: Don't suffix routine names for nonlib.
37823         * include/libc-modules.h: New file.
37824         * include/libc-symbols.h: Include libc-modules.h
37825         (IS_IN): New macro to replace IS_IN_* macros.
37826         * elf/Makefile: Set libof-* for each routine.
37827         * elf/rtld-Rules: Likewise.
37828         * extra-modules.mk: Likewise.
37829         * iconv/Makefile: Likewise.
37830         * iconvdata/Makefile: Likewise.
37831         * locale/Makefile: Likewise.
37832         * malloc/Makefile: Likewise.
37833         * nss/Makefile: Likewise.
37834         * sysdeps/gnu/Makefile: Likewise.
37835         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37836         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37837         * sysdeps/s390/s390-64/Makefile: Likewise.
37838         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37839         CPPFLAGS for nscd instead of nonlib.
37841 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37843         * nptl/createthread.c: New file.
37845         * nptl/createthread.c: Moved ...
37846         * sysdeps/unix/sysv/linux/createthread.c: ... here.
37848         * nptl/createthread.c: Add proper top-line comment.
37849         (do_clone): Folded into ...
37850         (create_thread): ... here.  Take new arguments STOPPED_START and
37851         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
37852         increment __nptl_threads, do event-reporting logic, do
37853         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
37854         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
37855         resource cleanup if sched_setaffinity or sched_setscheduler fails,
37856         just send SIGCANCEL.
37857         * nptl/pthread_create.c: Forward-declare create_thread before
37858         including createthread.c.
37859         (start_thread): Use new macro START_THREAD_DEFN to replace defining
37860         declaration, and new macro START_THREAD_SELF to replace argument.
37861         Remove return statement.
37862         (report_thread_creation): New function.
37863         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
37864         synchronization logic, and __nptl_nthreads increment here, around
37865         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
37866         PD->parent_cancelhandling here, before create_thread.  When
37867         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
37868         __deallocate_stack, and ENOMEM translation here.
37870 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
37872         [BZ #17616]
37873         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
37874         (mptwo): Rename to __mptwo.
37875         (__inv): Use __mptwo instead of mptwo.
37876         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
37877         (mptwo): Rename to __mptwo.
37878         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
37879         of mpone and __mptwo instead of mptwo.
37880         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
37881         instead of mpone.
37882         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37883         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
37884         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
37885         of mpone and __mptwo instead of mptwo.
37886         (__mpranred): Use __mpone instead of mpone.
37887         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
37888         variable.
37889         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37890         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37891         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37892         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37893         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37894         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37895         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37896         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37897         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37898         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37899         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37900         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37901         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37902         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37903         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37904         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37905         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37906         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37907         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37909 2014-11-18  Tom de Vries  <tom@codesoucery.com>
37911         * manual/signal.texi (Primitives Interrupted by Signals): In section,
37912         replace BSD Handler xref with BSD Signal Handling.
37914 2014-11-17  Richard Henderson  <rth@redhat.com>
37916         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
37917         (_FP_PACK_RAW_2): Remove.
37918         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
37919         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
37920         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
37921         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
37922         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
37923         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
37924         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
37925         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
37926         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
37927         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
37928         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
37929         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
37930         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
37931         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
37932         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
37933         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
37935 2014-11-14  Roland McGrath  <roland@hack.frob.com>
37937         * signal/signal.h [__USE_MISC]
37938         (struct sigvec): Remove type.
37939         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
37940         (sigvec): Remove declaration.
37941         * sysdeps/posix/sigvec.c: Moved ...
37942         * signal/sigvec.c: ... here, replacing old file.
37943         (struct sigvec): New type, copied from old signal.h definition.
37944         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37945         (__sigvec): Convert definition to prototype.
37946         (sigvec): Replace weak_alias with compat_symbol.
37947         * signal/Versions (libc: GLIBC_2.21): New version set.
37948         * include/signal.h: Remove __sigvec declaration.
37949         * sysdeps/unix/bsd/sigvec.c: Remove file.
37950         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
37951         * manual/signal.texi (BSD Handler): Remove subsection.
37952         Move siginterrupt up to ...
37953         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
37954         (Blocking in BSD): Fold subsection into its parent.
37955         * NEWS: Mention sigvec removal.
37957 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37959         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
37960         (DLA_FMS): Make definition conditional only on [__FMA4__].
37961         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
37962         definition.
37964         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
37965         Make definition conditional only on [PROF].
37966         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
37967         definition.
37968         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
37969         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
37971         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
37972         !__GNUC__].
37973         * include/signal.h (__sigpause): Move declaration above call to
37974         libc_hidden_proto.
37975         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
37976         variable.
37977         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37978         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37980 2014-11-14  David S. Miller  <davem@davemloft.net>
37982         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
37983         Define before including <string/memcpy.c> and <string/mempcpy.c>.
37985 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37987         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
37988         * configure: Regenerated.
37989         * manual/install.texi (Tools for Compilation): Document a
37990         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
37991         compiler verified to work.
37992         * INSTALL: Regenerated.
37994         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
37995         redeclare with asm name.
37996         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
37997         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
37998         including <string.h>.
37999         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38000         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38001         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38002         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38003         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38004         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38005         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38007 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38009         * stdlib/strtol.c (__strtol): Use prototype definition.
38011         [BZ #17594]
38012         * stdlib/strtol.c (SYM__): New macro.
38013         (SYM__1): Likewise.
38014         (__strtol): Likewise.
38015         (strtol): Rename to __strtol and define as weak alias of
38016         __strtol.  Use libc_hidden_weak.
38018 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38020         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38021         Use numbered labels in inline assembly.
38023 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38025         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38026         Add setjmp LIBC_PROBE.
38027         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38028         Likewise.
38029         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38030         Add longjmp, longjmp_target LIBC_PROBE.
38031         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38032         Likewise.
38034 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38036         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38037         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38038         to get rid of unused variable warning.
38040 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38042         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38043         Check for unwind_backtrace ==  NULL only in SHARED case.
38044         (__backchain_backtrace): Compile only in SHARED case.
38045         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38046         Likewise.
38047         (__backchain_backtrace): Declare as static.
38049 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38051         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38052         (__libc_multiple_threads_ptr): Variable moved ...
38053         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38055 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38057         * conform/GlibcConform.pm: New file.
38058         * conform/conformtest.pl: Use GlibcConform module.
38059         * conform/linknamespace.pl: New file.
38060         * conform/list-header-symbols.pl: Likewise.
38061         * conform/Makefile (linknamespace-symlists-base): New variable.
38062         (linknamespace-symlists-tests): Likewise.
38063         (linknamespace-header-base): Likewise.
38064         (linknamespace-header-tests): Likewise.
38065         (tests-special): Add new tests.
38066         ($(linknamespace-symlists-tests)): New rule.
38067         (linknamespace-libs): New variable.
38068         ($(objpfx)symlist-stdlibs): New rule.
38069         ($(linknamespace-header-tests)): Likewise.
38070         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38071         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38072         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38073         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38074         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38075         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38076         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38077         (test-xfail-ISO/math.h/linknamespace): Likewise.
38078         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38079         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38080         (test-xfail-ISO/time.h/linknamespace): Likewise.
38081         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38082         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38083         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38084         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38085         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38086         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38087         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38088         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38089         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38090         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38091         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38092         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38093         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38094         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38095         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38096         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38097         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38098         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38099         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38100         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38101         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38102         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38103         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38104         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38105         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38106         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38107         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38108         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38109         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38110         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38111         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38112         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38113         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38114         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38115         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38116         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38117         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38118         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38119         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38120         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38121         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38122         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38123         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38124         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38125         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38126         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38127         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38128         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38129         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38130         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38131         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38132         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38133         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38134         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38135         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38136         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38137         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38138         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38139         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38140         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38141         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38142         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38143         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38144         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38145         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38146         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38147         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38148         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38149         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38150         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38151         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38152         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38153         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38154         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38155         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38156         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38157         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38158         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38159         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38160         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38161         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38162         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38163         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38164         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38165         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38166         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38167         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38168         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38169         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38170         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38171         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38172         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38173         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38174         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38175         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38176         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38177         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38178         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38179         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38180         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38181         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38182         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38183         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38184         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38185         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38186         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38187         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38188         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38189         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38190         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38191         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38192         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38193         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38194         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38195         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38196         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38197         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38198         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38199         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38200         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38201         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38202         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38203         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38204         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38205         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38206         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38207         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38208         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38209         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38210         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38211         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38212         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38213         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38214         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38215         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38216         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38217         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38218         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38219         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38220         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38221         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38222         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38223         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38224         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38225         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38226         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38227         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38228         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38229         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38230         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38232         [BZ #17589]
38233         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38234         of fgets_unlocked.
38236         [BZ #17585]
38237         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38238         (memmem): Rename to __memmem and define as weak alias of
38239         __memmem.  Use libc_hidden_weak.
38240         (__memmem): Use libc_hidden_def.
38241         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38242         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38243         memmem.
38245         [BZ #17582]
38246         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38247         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38248         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38249         and define as weak alias of __fgets_unlocked.  Use
38250         libc_hidden_weak.
38251         (__fgets_unlocked): Use libc_hidden_def.
38252         * include/stdio.h (__fgets_unlocked): Declare.  Use
38253         libc_hidden_proto.
38254         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38255         __fgets_unlocked instead of fgets_unlocked.
38256         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38257         (GET_NPROCS_CONF_PARSER): Likewise.
38258         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38259         (GET_NPROCS_CONF_PARSER): Likewise.
38261         [BZ #17574]
38262         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38263         weak alias of __wmemset.  Use libc_hidden_weak.
38264         (__wmemset): Use libc_hidden_def.
38265         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38266         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38267         of wmemset.
38269         [BZ #17573]
38270         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38271         with asm name __mempcpy.
38272         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38274         [BZ #17572]
38275         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38276         and define as weak alias of __rawmemchr.
38277         (__rawmemchr): Do not define as strong alias of rawmemchr.
38279         [BZ #17571]
38280         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38281         alias of __qsort_r.
38282         (qsort): Call __qsort_r instead of qsort_r.
38283         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38284         (__qsort_r): Declare.  Call libc_hidden_proto.
38285         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38286         instead of qsort_r.
38287         * nscd/gai.c (__qsort_r): Define to qsort_r.
38288         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38289         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38290         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38292         [BZ #17570]
38293         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38294         define as weak alias of __malloc_info.
38296         [BZ #17584]
38297         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38298         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38299         (__rewinddir): Use libc_hidden_def.
38300         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38301         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38302         (__rewinddir): Use libc_hidden_def.
38303         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38304         weak alias of __rewinddir.  Don't use libc_hidden_def.
38305         (__rewinddir): Use libc_hidden_def.
38306         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38307         (__rewinddir): Use libc_hidden_proto.
38308         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38309         rewinddir.
38310         (__getcwd): Use __rewinddir instead of rewinddir.
38312         [BZ #17583]
38313         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38314         alias of __fileno.  Use libc_hidden_weak.
38315         (__fileno): Use libc_hidden_def.
38316         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38317         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38318         alias of __ftello.
38319         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38320         __ftello.
38321         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38322         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38323         libc_hidden_def.
38324         (fread_unlocked): Don't use libc_hidden_ver.
38325         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38326         and define as weak alias of __fread_unlocked.  Don't use
38327         libc_hidden_def.
38328         (__fread_unlocked): Use libc_hidden_def.
38329         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38330         (ftello): Don't use libc_hidden_proto.
38331         (__ftello): Declare.  Use libc_hidden_proto.
38332         (fread_unlocked): Don't use libc_hidden_proto.
38333         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38334         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38335         and __ftello instead of fileno, fread_unlocked and ftello.
38337 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38339         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38340         GOT12.
38341         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38342         Likewise.
38343         (_dl_start_user): Likewise.
38344         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38346 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38347             Siddhesh Poyarekar  <siddhesh@redhat.com>
38349         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38350         Move argv and envp down instead of moving argc up.
38351         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38353 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38355         [BZ #17506]
38356         * test-skeleton.c (main): Return successful if one of
38357         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38358         * string/tst-strcoll-overflow.c: Define expected status.
38360 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38362         [BZ #17475]
38363         * locale/iso-639.def: Define Bhili and Tulu language codes.
38365 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38367         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38369 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38371         [BZ #17555]
38372         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38374 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38376         * configure.ac: Updated check of minimal required version to
38377         2.22.
38378         * manual/install.texi (Tools for Compilation): Updated version
38379         number.
38380         * configure: Regenerated.
38381         * INSTALL: Likewise.
38383 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38385         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38386         __tls_get_addr.
38388 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38390         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38391         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38392         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38393         libc_hidden_weak.
38394         (waitpid): Define as alias of __waitpid.
38395         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38396         __waitpid.
38397         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38398         libc_hidden_weak.
38399         (waitpid): Define as alias of __waitpid.
38400         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38401         __libc_waitpid alias.
38402         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38403         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38404         Likewise.
38405         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38406         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38407         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38408         alias.
38409         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38410         __waitpid.
38411         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38412         libc_hidden_weak.
38413         (waitpid): Define as alias of __waitpid.
38415 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38417         * manual/llio.texi: Add comment that write safety has been
38418         fixed in Linux.
38420         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38421         (localplt-build-dso): Add elf/ld.so.
38422         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38423         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38424         and free for ld.so.
38425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38426         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38428         Likewise.
38429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38430         Likewise.
38431         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38432         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38433         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38434         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38435         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38436         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38437         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38438         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38439         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38440         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38441         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38443 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38445         [BZ #14132]
38446         * include/libc-symbols.h (INTUSE): Remove macro.
38447         (INTDEF): Likewise.
38448         (INTVARDEF): Likewise.
38449         (_INTVARDEF): Likewise.
38450         (INTDEF2): Likewise.
38451         (INTVARDEF2): Likewise.
38452         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38453         rtld_hidden_def instead of INTVARDEF.
38454         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38455         (_dl_starting_up_internal): Remove declaration.
38456         (_dl_starting_up): Use rtld_hidden_proto.
38457         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38458         declaration.
38459         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38460         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38461         _dl_starting_up.
38462         * elf/dl-writev.h (_dl_writev): Likewise.
38463         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38464         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38465         _dl_starting_up_internal.
38467 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38469         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38470         test-skeleton.c.
38472 2014-11-05  Will Newton  <will.newton@linaro.org>
38474         * benchtests/Makefile: (bench-malloc): Add malloc thread
38475         scalability benchmark.
38476         * benchtests/bench-malloc-threads.c: New file.
38478 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38480         * sysdeps/aarch64/strchrnul.S: New file.
38482 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38484         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38485         definition.
38486         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38487         Likewise.
38488         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38489         Likewise.
38490         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38491         Likewise.
38492         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38493         Likewise.
38494         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38495         Likewise.
38497 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38499         * catgets/test-gencat.c: Use test-skeleton.c.
38500         * catgets/tst-catgets.c: Likewise.
38501         * csu/tst-empty.c: Likewise.
38502         * elf/tst-audit2.c: Likewise.
38503         * elf/tst-global1.c: Likewise.
38504         * elf/tst-pathopt.c: Likewise.
38505         * elf/tst-piemod1.c: Likewise.
38506         * elf/tst-tls10.c: Likewise.
38507         * elf/tst-tls11.c: Likewise.
38508         * elf/tst-tls12.c: Likewise.
38509         * gnulib/tst-gcc.c: Likewise.
38510         * iconvdata/tst-e2big.c: Likewise.
38511         * iconvdata/tst-loading.c: Likewise.
38512         * iconv/tst-iconv1.c: Likewise.
38513         * iconv/tst-iconv2.c: Likewise.
38514         * inet/test-inet6_opt.c: Likewise.
38515         * inet/tst-gethnm.c: Likewise.
38516         * inet/tst-network.c: Likewise.
38517         * inet/tst-ntoa.c: Likewise.
38518         * intl/tst-codeset.c: Likewise.
38519         * intl/tst-gettext2.c: Likewise.
38520         * intl/tst-gettext3.c: Likewise.
38521         * intl/tst-ngettext.c: Likewise.
38522         * intl/tst-translit.c: Likewise.
38523         * io/test-stat.c: Likewise.
38524         * libio/test-fmemopen.c: Likewise.
38525         * libio/tst-freopen.c: Likewise.
38526         * libio/tst-sscanf.c: Likewise.
38527         * libio/tst-ungetwc1.c: Likewise.
38528         * libio/tst-ungetwc2.c: Likewise.
38529         * libio/tst-widetext.c: Likewise.
38530         * localedata/tst-ctype.c: Likewise.
38531         * localedata/tst-digits.c: Likewise.
38532         * localedata/tst-leaks.c: Likewise.
38533         * localedata/tst-mbswcs1.c: Likewise.
38534         * localedata/tst-mbswcs2.c: Likewise.
38535         * localedata/tst-mbswcs3.c: Likewise.
38536         * localedata/tst-mbswcs4.c: Likewise.
38537         * localedata/tst-mbswcs5.c: Likewise.
38538         * localedata/tst-setlocale.c: Likewise.
38539         * localedata/tst-trans.c: Likewise.
38540         * localedata/tst-wctype.c: Likewise.
38541         * localedata/tst-xlocale1.c: Likewise.
38542         * login/tst-grantpt.c: Likewise.
38543         * malloc/tst-calloc.c: Likewise.
38544         * malloc/tst-malloc.c: Likewise.
38545         * malloc/tst-mallocstate.c: Likewise.
38546         * malloc/tst-mcheck.c: Likewise.
38547         * malloc/tst-mtrace.c: Likewise.
38548         * malloc/tst-obstack.c: Likewise.
38549         * math/atest-exp2.c: Likewise.
38550         * math/atest-exp.c: Likewise.
38551         * math/atest-sincos.c: Likewise.
38552         * math/test-matherr.c: Likewise.
38553         * math/test-misc.c: Likewise.
38554         * math/test-powl.c: Likewise.
38555         * math/tst-definitions.c: Likewise.
38556         * misc/tst-dirname.c: Likewise.
38557         * misc/tst-efgcvt.c: Likewise.
38558         * misc/tst-fdset.c: Likewise.
38559         * misc/tst-hsearch.c: Likewise.
38560         * misc/tst-mntent2.c: Likewise.
38561         * nptl/tst-sem7.c: Likewise.
38562         * nptl/tst-sem8.c: Likewise.
38563         * nptl/tst-sem9.c: Likewise.
38564         * nss/test-netdb.c: Likewise.
38565         * posix/tst-fnmatch.c: Likewise.
38566         * posix/tst-getlogin.c: Likewise.
38567         * posix/tst-gnuglob.c: Likewise.
38568         * posix/tst-mmap.c: Likewise.
38569         * pwd/tst-getpw.c: Likewise.
38570         * resolv/tst-inet_ntop.c: Likewise.
38571         * rt/tst-timer.c: Likewise.
38572         * stdio-common/test-fseek.c: Likewise.
38573         * stdio-common/test-popen.c: Likewise.
38574         * stdio-common/test-vfprintf.c: Likewise.
38575         * stdio-common/tst-cookie.c: Likewise.
38576         * stdio-common/tst-fileno.c: Likewise.
38577         * stdio-common/tst-gets.c: Likewise.
38578         * stdio-common/tst-obprintf.c: Likewise.
38579         * stdio-common/tst-perror.c: Likewise.
38580         * stdio-common/tst-sprintf2.c: Likewise.
38581         * stdio-common/tst-sprintf3.c: Likewise.
38582         * stdio-common/tst-sprintf.c: Likewise.
38583         * stdio-common/tst-swprintf.c: Likewise.
38584         * stdio-common/tst-tmpnam.c: Likewise.
38585         * stdio-common/tst-unbputc.c: Likewise.
38586         * stdio-common/tst-wc-printf.c: Likewise.
38587         * stdlib/tst-environ.c: Likewise.
38588         * stdlib/tst-fmtmsg.c: Likewise.
38589         * stdlib/tst-limits.c: Likewise.
38590         * stdlib/tst-rand48-2.c: Likewise.
38591         * stdlib/tst-rand48.c: Likewise.
38592         * stdlib/tst-random2.c: Likewise.
38593         * stdlib/tst-random.c: Likewise.
38594         * stdlib/tst-strtol.c: Likewise.
38595         * stdlib/tst-strtoll.c: Likewise.
38596         * stdlib/tst-tls-atexit.c: Likewise.
38597         * stdlib/tst-xpg-basename.c: Likewise.
38598         * string/test-ffs.c: Likewise.
38599         * string/tst-bswap.c: Likewise.
38600         * string/tst-inlcall.c: Likewise.
38601         * string/tst-strtok.c: Likewise.
38602         * string/tst-strxfrm.c: Likewise.
38603         * sysdeps/x86_64/tst-audit10.c: Likewise.
38604         * sysdeps/x86_64/tst-audit3.c: Likewise.
38605         * sysdeps/x86_64/tst-audit4.c: Likewise.
38606         * sysdeps/x86_64/tst-audit5.c: Likewise.
38607         * time/tst-ftime_l.c: Likewise.
38608         * time/tst-getdate.c: Likewise.
38609         * time/tst-mktime3.c: Likewise.
38610         * time/tst-mktime.c: Likewise.
38611         * time/tst-posixtz.c: Likewise.
38612         * time/tst-strptime2.c: Likewise.
38613         * time/tst-strptime3.c: Likewise.
38614         * wcsmbs/tst-btowc.c: Likewise.
38615         * wcsmbs/tst-mbrtowc.c: Likewise.
38616         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38617         * wcsmbs/tst-wchar-h.c: Likewise.
38618         * wcsmbs/tst-wcpncpy.c: Likewise.
38619         * wcsmbs/tst-wcrtomb.c: Likewise.
38620         * wcsmbs/tst-wcsnlen.c: Likewise.
38621         * wcsmbs/tst-wcstof.c: Likewise.
38623 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38625         [BZ #14132]
38626         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38627         INTDEF.
38628         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38629         declaration.
38630         (_dl_mcount): Use rtld_hidden_proto.
38631         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38632         _dl_mcount.
38633         * elf/rtld.c (_rtld_global_ro): Likewise.
38635         [BZ #14132]
38636         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38637         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38638         of _dl_init_internal.
38639         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38640         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38641         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38642         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38643         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38644         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38645         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38646         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38647         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38648         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38649         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38650         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38651         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38652         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38653         * sysdeps/tile/dl-start.S (_start): Likewise.
38654         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38655         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38657         [BZ #14132]
38658         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38659         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38660         (rtld_progname): Make macro definition unconditional.
38661         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38662         INTDEF.
38663         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38664         (dl_main): Likewise.
38665         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38666         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38667         instead of _dl_argv_internal.
38668         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38669         __GI__dl_argv instead of INTUSE(_dl_argv).
38670         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38671         __GI__dl_argv instead of _dl_argv_internal.
38673         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38674         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38675         macro.
38676         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38677         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38678         New macro.
38679         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38680         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38681         macro.
38682         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38683         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38685 2014-11-04  Andreas Schwab  <schwab@suse.de>
38687         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38689 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38691         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38692         mtvsrd instruction in binary form.
38694 2014-11-03  Andreas Schwab  <schwab@suse.de>
38696         [BZ #17522]
38697         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38698         for less than MB_LEN_MAX use a local buffer of that size.
38699         * libio/tst-fputws.c: New file.
38700         * libio/Makefile (tests): Add tst-fputws.
38702 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38704         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38705         the size of the fpu_fr.fpu_dregs[] array.
38707 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38709         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38710         (__nanosleep): Do not define as alias.
38711         (nanosleep): Define as alias of __nanosleep.
38712         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38713         __libc_nanosleep name.
38715 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38717         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38718         install.texi in comment.
38720 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38722         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38723         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38724         ... add here and use lwsync or sync ...
38725         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38726         ... and add here using lwsync.
38728 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38730         * elf/dl-machine-reject-phdr.h: New file.
38731         * elf/dl-load.c: #include that.
38732         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38733         if that returned true.
38735 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38737         [BZ #17496]
38738         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38739         gen-as-const-headers chunk.  Add a big scare comment after the last
38740         safe place to touch before-compile.
38742 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38744         * manual/install.texi (Tools for Compilation): Update autoconf
38745         version requirements.
38746         * INSTALL: Regenerated.
38748         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38749         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38750         (__libc_pselect): Likewise.
38752         [BZ #14138]
38753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38758 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38760         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38761         correct barrier instruction.
38762         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38763         Likewise.
38764         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38765         Likewise.
38767 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38769         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38770         after defining inlines.  Instead, just use parens to defeat macro
38771         expansion of __isctype in its declaration.
38773 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38775         * include/sys/uio.h (__libc_readv): Remove declaration.
38776         (__libc_writev): Likewise.
38777         * misc/readv.c (__libc_readv): Rename to __readv.
38778         (__readv): Do not define as alias.
38779         (readv): Define as alias of __readv.
38780         * misc/writev.c (__libc_writev): Rename to __writev.
38781         (__writev): Do not define as alias.
38782         (writev): Define as alias of __writev.
38783         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38784         (__readv): Do not define as alias.
38785         (readv): Define unconditionally as alias of __readv.
38786         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38787         (__writev): Do not define as alias.
38788         (writev): Define unconditionally as alias of __writev.
38789         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38790         name.
38791         (writev): Do not define __libc_writev name.
38793 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38795         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38796         (convert_charseq): New function, broken out of ...
38797         (use_from_charmap): ... here.  Call it.
38798         (use_to_charmap): Use convert_charseq and free instead of duplicating
38799         its code with a variable-length stack struct.
38801 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38803         * include/fcntl.h (__libc_creat): Remove declaration.
38804         * io/creat.c (__libc_creat): Rename to creat.
38805         (creat): Do not define as alias.
38806         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38807         of creat instead of __libc_creat.
38808         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38809         to creat.
38810         (creat): Do not define as alias.
38811         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38812         __libc_creat.
38813         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38814         __libc_creat name.
38815         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38816         Likewise.
38818 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38820         * manual/llio.texi: Add comments discussing why write() may be
38821         considered MT-unsafe on Linux.
38823 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38825         * dl-load.c (local_strdup): Remove.
38826         (expand_dynamic_string_token): Use __strdup.
38827         (decompose_rpath): Likewise.
38828         (_dl_map_object): Likewise.
38830 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38832         [BZ #14132]
38833         * sysdeps/generic/unwind-dw2-fde.c
38834         (__register_frame_info_bases_internal): Do not declare.
38835         (__register_frame_info_table_bases_internal): Likewise.
38836         (__deregister_frame_info_bases_internal): Likewise.
38837         (__register_frame_info_bases): Declare and use hidden_proto before
38838         definition.  Use hidden_def instead of INTDEF.
38839         (__register_frame_info_table_bases): Likewise.
38840         (__deregister_frame_info_bases): Likewise.
38841         (__register_frame_info): Do not use INTUSE.
38842         (__register_frame): Likewise.
38843         (__register_frame_info_table): Likewise.
38844         (__register_frame_table): Likewise.
38845         (__deregister_frame_info): Likewise.
38846         (__deregister_frame): Likewise.
38848 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
38850         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38851         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
38852         not undefine.
38853         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
38854         Likewise.
38855         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
38856         Likewise.
38858 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
38860         [BZ #14138]
38861         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
38862         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
38863         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
38864         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
38865         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
38866         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
38867         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
38868         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
38869         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
38870         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
38871         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
38872         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
38873         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
38874         syscall.
38875         (setfsuid): Likewise.
38876         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
38877         (setfsuid): Likewise.
38878         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
38879         (setfsuid): Likewise.
38880         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
38881         Likewise.
38882         (setfsuid): Likewise.
38883         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
38884         (setfsuid): Likewise.
38885         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
38886         Likewise.
38887         (setfsuid): Likewise.
38889 2014-10-27  Andreas Schwab  <schwab@suse.de>
38891         [BZ #17501]
38892         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
38893         check for Slow_SSE4_2 feature bit.
38894         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
38895         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38896         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
38897         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
38899 2014-10-24  Roland McGrath  <roland@hack.frob.com>
38901         * configure.ac: Validate compiler version with a empirical test of
38902         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
38903         $CC -v output.
38904         * configure: Regenerated.
38906         * inet/htons.c (htons): Prototypify.
38907         * inet/htonl.c (htonl): Likewise.
38909 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38911         * string/strncat.c (strncat): Improve performance by using strlen.
38913 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38915         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
38917 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38919         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
38920         Call libc_fetestexcept_aarch64.
38922 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38924         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
38925         Call libc_feholdexcept_aarch64.
38927 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38929         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
38930         Call get_rounding_mode.
38932 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38934         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38935         Simplify logic.
38937 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38939         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
38940         Simplify logic.
38942 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
38944         [BZ #14138]
38945         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
38946         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
38947         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
38948         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
38949         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
38950         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
38951         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
38952         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
38953         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
38954         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
38955         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38956         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
38957         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
38958         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
38959         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
38960         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
38961         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
38962         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
38963         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
38964         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
38965         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
38966         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
38967         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
38968         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
38969         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
38970         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
38971         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
38972         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
38973         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
38974         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
38975         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
38976         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
38977         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
38978         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
38979         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
38980         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
38981         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
38982         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
38983         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
38984         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
38985         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
38986         syscall.
38987         (geteuid): Likewise.
38988         (getgid): Likewise.
38989         (getuid): Likewise.
38990         (getresgid): Likewise.
38991         (getresuid): Likewise.
38992         (getgroups): Likewise.
38993         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
38994         (geteuid): Likewise.
38995         (getgid): Likewise.
38996         (getuid): Likewise.
38997         (getresgid): Likewise.
38998         (getresuid): Likewise.
38999         (getgroups): Likewise.
39000         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39001         (geteuid): Likewise.
39002         (getgid): Likewise.
39003         (getuid): Likewise.
39004         (getresgid): Likewise.
39005         (getresuid): Likewise.
39006         (getgroups): Likewise.
39007         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39008         Likewise.
39009         (geteuid): Likewise.
39010         (getgid): Likewise.
39011         (getuid): Likewise.
39012         (getresgid): Likewise.
39013         (getresuid): Likewise.
39014         (getgroups): Likewise.
39015         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39016         (geteuid): Likewise.
39017         (getgid): Likewise.
39018         (getuid): Likewise.
39019         (getresgid): Likewise.
39020         (getresuid): Likewise.
39021         (getgroups): Likewise.
39022         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39023         Likewise.
39024         (geteuid): Likewise.
39025         (getgid): Likewise.
39026         (getuid): Likewise.
39027         (getgroups): Likewise.
39029         [BZ #14138]
39030         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39031         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39032         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39033         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39034         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39035         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39036         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39037         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39038         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39039         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39040         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39041         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39042         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39043         __chown.
39044         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39045         (lchown): Likewise.
39046         (fchown): Likewise.
39047         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39048         Likewise.
39049         (lchown): Likewise.
39050         (fchown): Likewise.
39051         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39052         (lchown): Likewise.
39053         (fchown): Likewise.
39054         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39055         Likewise.
39056         (lchown): Likewise.
39057         (fchown): Likewise.
39059 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39061         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39062         Simplify logic.
39064 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39066         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39067         Cleanup logic.
39069 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39071         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39072         Remove unused include.
39074 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39076         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39077         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39078         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39079         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39081 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39082             Helge Deller <deller@gmx.de>
39084         [BZ #17508]
39085         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39086         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39087         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39089 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39091         [BZ #14132]
39092         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39093         Remove macro definition.
39094         (__ashrdi3_v_glibc20): Likewise.
39095         (__lshrdi3_v_glibc20): Likewise.
39096         (__cmpdi2_v_glibc20): Likewise.
39097         (__ucmpdi2_v_glibc20): Likewise.
39098         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39099         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39100         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39101         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39102         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39103         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39105 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39107         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39108         old GNU extension [0] syntax.
39109         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39110         alloca rather than an array member with variable length.
39111         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39112         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39113         (parse_opt): ... here.  Likewise use alloca there.
39114         Validate the -i argument before checking for rootness.
39115         (send_shutdown): New function, broken out of ...
39116         (parse_opt): ... here.
39118 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39120         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39121         macro to get at the _rt_local_ro field.
39122         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39123         ([PIC] case) or _dl_hwcap ([!PIC] case).
39124         * sysdeps/arm/setjmp.S: Likewise.
39126         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39127         * sysdeps/arm/configure.ac: New check to define it.
39128         * sysdeps/arm/configure: Regenerated.
39129         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39130         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39131         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39132         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39133         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39134         Use move/movt pair instead of a load.
39135         (LDST_GLOBAL): Macro removed.
39136         (LDR_GLOBAL): New macro replaces it.
39137         (LDR_HIDDEN): New macro.
39138         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39139         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39141         * setjmp/tst-setjmp-static.c: New file.
39142         * setjmp/Makefile (tests): Add it.
39143         (tests-static): New variable.
39145 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39147         [BZ #17485]
39148         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39150 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39152         [BZ #14132]
39153         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39155 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39157         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39159 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39161         * io/fts.c (dirent_not_directory): New function.
39162         (fts_build): Call it.
39164 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39166         * nptl/version.c (__nptl_main): Use normal __write rather than
39167         INTERNAL_SYSCALL.
39168         (banner): Update copyright years.
39170         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39171         gettimeofday.
39172         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39173         * nptl/pthread_cond_timedwait.c: Likewise.
39174         * nptl/pthread_mutex_timedlock.c: Likewise.
39175         * nptl/sem_timedwait.c: Likewise.
39177         * sysdeps/nptl/bits/libc-lock.h
39178         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39179         (__libc_lock_init_recursive): Return void, not 0.
39180         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39181         (__libc_rwlock_init): Likewise.
39182         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39184 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39186         [BZ #15215]
39187         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39188         (__pthread_once_slow): ... here.
39189         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39190         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39192 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39194         [BZ #15215]
39195         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39196         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39197         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39198         * nptl/pthread_once.c (__pthread_once): Likewise.
39199         Update comments.
39201 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39203         [BZ #14138]
39204         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39205         name.
39206         (writev): Use __libc_writev as strong name.
39207         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39208         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39210 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39212         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39214         * sysdeps/i386/nptl/tls.h
39215         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39216         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39217         New macros.
39218         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39219         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39220         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39221         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39222         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39223         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39225         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39226         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39227         on [__NR_futex].
39228         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39229         broken out of ...
39230         (__pthread_mutex_init): ... here.  Call it.
39231         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39232         Conditionalize PI cases on [__NR_futex].
39233         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39234         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39235         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39237         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39238         conditional on [SIGSETXID].
39239         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39240         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39241         is defined.  Likewise for SIGSETXID.
39242         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39243         Conditionalize definitions on [SIGSETXID].
39244         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39245         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39246         unblocking on [SIGCANCEL].
39248         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39249         [__NR_set_robust_list].
39251 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39253         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39254         (do_compare): Likewise.
39256 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39258         [BZ #15884]
39259         * string/strcoll_l.c: Don't include stdio.h.
39260         (coll_seq): Remove members idxarr and rulearr.
39261         (get_next_seq_cached): Remove function.
39262         (get_next_seq): Likewise.
39263         (get_next_seq_nocache): Rename to get_next_seq.
39264         (do_compare): Remove function.
39265         (do_compare_nocache): Rename to do_compare.
39266         (STRCOLL): Remove weight and rules cache.
39268 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39270         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39271         * sysdeps/arm/sfp-machine.h: ... to here.
39272         * sysdeps/arm/Implies: Remove arm/soft-fp.
39274 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39276         * conform/data/sys/utsname.h-data (*_t): Allow.
39277         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39278         [POSIX] (WEXITED): Do not expect constant.
39279         [POSIX] (WSTOPPED): Likewise.
39280         [POSIX] (WNOHANG): Likewise.
39281         [POSIX] (WNOWAIT): Likewise.
39282         [POSIX] (siginfo_t): Do not expect type or elements.
39283         [POSIX] (pid_t): Do not expect type.
39284         [POSIX] (signal.h): Do not allow header.
39285         [POSIX] (sys/resource.h): Likewise.
39286         [POSIX] (si_*): Do not allow pattern.
39287         [POSIX] (W*): Likewise.
39288         [POSIX] (P_*): Likewise.
39289         [POSIX] (BUS_*): Likewise.
39290         [POSIX] (CLD_*): Likewise.
39291         [POSIX] (FPE_*): Likewise.
39292         [POSIX] (ILL_*): Likewise.
39293         [POSIX] (POLL_*): Likewise.
39294         [POSIX] (SEGV_*): Likewise.
39295         [POSIX] (SI_*): Likewise.
39296         [POSIX] (TRAP_*): Likewise.
39297         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39298         variable.
39300 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39302         [BZ #12926]
39303         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39304         infinite loop when __recvmsg returns 0.
39306 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39308         * CANCEL-FCT-WAIVE: Remove file.
39309         * CANCEL-FILE-WAIVE: Likewise.
39311         [BZ #14132]
39312         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39313         instead of INTVARDEF.
39314         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39315         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39316         rtld_hidden_data_def instead of INTVARDEF.
39317         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39318         * elf/dl-deps.c (expand_dst): Likewise.
39319         * elf/dl-load.c (_dl_dst_count): Likewise.
39320         (_dl_dst_substitute): Likewise.
39321         (decompose_rpath): Likewise.
39322         (_dl_init_paths): Likewise.
39323         (open_path): Likewise.
39324         (_dl_map_object): Likewise.
39325         * elf/rtld.c (dl_main): Likewise.
39326         (process_dl_audit): Likewise.
39327         (process_envvars): Likewise.
39328         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39329         Remove declaration.
39330         (__libc_enable_secure): Use rtld_hidden_proto.
39332 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39334         * elf/dl-load.c
39335         (add_path): New function broken out of _dl_rtld_di_serinfo.
39336         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39338 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39340         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39341         parentheses around macro arguments.
39342         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39343         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39344         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39345         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39346         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39347         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39348         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39349         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39350         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39351         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39352         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39353         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39354         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39355         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39356         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39357         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39358         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39359         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39360         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39362         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39365         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39366         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39368         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39369         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39370         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39371         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39372         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39373         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39374         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39375         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39376         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39377         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39378         Likewise.
39379         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39380         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39381         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39382         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39385         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39386         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39387         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39388         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39389         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39390         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39391         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39392         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39393         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39394         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39395         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39396         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39397         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39398         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39399         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39400         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39401         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39402         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39403         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39404         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39405         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39406         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39407         (_FP_FRAC_SRS_1): Likewise.
39408         (_FP_FRAC_CLZ_1): Likewise.
39409         (_FP_MUL_MEAT_1_imm): Likewise.
39410         (_FP_MUL_MEAT_1_wide): Likewise.
39411         (_FP_MUL_MEAT_1_hard): Likewise.
39412         (_FP_SQRT_MEAT_1): Likewise.
39413         (_FP_FRAC_ASSEMBLE_1): Likewise.
39414         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39415         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39416         (__FP_CLZ_2): Likewise.
39417         (_FP_MUL_MEAT_2_wide): Likewise.
39418         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39419         (_FP_MUL_MEAT_2_gmp): Likewise.
39420         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39421         (_FP_SQRT_MEAT_2): Likewise.
39422         (_FP_FRAC_ASSEMBLE_2): Likewise.
39423         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39424         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39425         (_FP_FRAC_CLZ_4): Likewise.
39426         (_FP_MUL_MEAT_4_wide): Likewise.
39427         (_FP_MUL_MEAT_4_gmp): Likewise.
39428         (_FP_SQRT_MEAT_4): Likewise.
39429         (_FP_FRAC_ASSEMBLE_4): Likewise.
39430         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39431         * soft-fp/op-common.h (_FP_CMP): Likewise.
39432         (_FP_CMP_EQ): Likewise.
39433         (_FP_CMP_UNORD): Likewise.
39434         (_FP_TO_INT): Likewise.
39435         (_FP_FROM_INT): Likewise.
39436         [!__FP_CLZ] (__FP_CLZ): Likewise.
39437         (_FP_DIV_HELP_imm): Likewise.
39438         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39439         Likewise.
39440         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39441         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39442         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39443         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39444         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39445         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39446         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39447         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39448         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39449         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39450         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39451         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39452         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39453         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39454         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39455         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39456         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39457         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39458         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39459         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39460         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39461         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39462         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39463         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39464         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39465         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39466         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39467         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39468         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39469         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39470         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39471         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39472         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39473         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39474         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39475         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39476         (FP_UNPACK_RAW_SP): Likewise.
39477         (FP_PACK_RAW_S): Likewise.
39478         (FP_PACK_RAW_SP): Likewise.
39479         (FP_UNPACK_S): Likewise.
39480         (FP_UNPACK_SP): Likewise.
39481         (FP_UNPACK_SEMIRAW_S): Likewise.
39482         (FP_UNPACK_SEMIRAW_SP): Likewise.
39483         (FP_PACK_S): Likewise.
39484         (FP_PACK_SP): Likewise.
39485         (FP_PACK_SEMIRAW_S): Likewise.
39486         (FP_PACK_SEMIRAW_SP): Likewise.
39487         (_FP_SQRT_MEAT_S): Likewise.
39488         (FP_CMP_S): Likewise.
39489         (FP_CMP_EQ_S): Likewise.
39490         (FP_CMP_UNORD_S): Likewise.
39491         (FP_TO_INT_S): Likewise.
39492         (FP_FROM_INT_S): Likewise.
39494         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39496         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39497         (FP_EX_INVALID_IMZ): Likewise.
39498         (FP_EX_INVALID_IMZ_FMA): Likewise.
39499         (FP_EX_INVALID_ISI): Likewise.
39500         (FP_EX_INVALID_ZDZ): Likewise.
39501         (FP_EX_INVALID_IDI): Likewise.
39502         (FP_EX_INVALID_SQRT): Likewise.
39503         (FP_EX_INVALID_CVI): Likewise.
39504         (FP_EX_INVALID_VC): Likewise.
39505         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39506         "invalid" exceptions.
39507         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39508         (_FP_ADD_INTERNAL): Likewise.
39509         (_FP_MUL): Likewise.
39510         (_FP_FMA): Likewise.
39511         (_FP_DIV): Likewise.
39512         (_FP_CMP_CHECK_NAN): Likewise.
39513         (_FP_SQRT): Likewise.
39514         (_FP_TO_INT): Likewise.
39515         (FP_EXTEND): Likewise.
39517 2014-10-09  Allan McRae  <allan@archlinux.org>
39519         * po/fr.po: Update French translation from translation project.
39521 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39523         [BZ #14132]
39524         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39525         of INTDEF.
39526         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39527         (__cxa_atexit): Use libc_hidden_proto.
39528         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39530         [BZ #14132]
39531         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39532         declaration.
39533         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39534         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39535         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39536         [!_ISOMAC] (__iswctype_internal): Likewise.
39537         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39538         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39539         alias.
39540         (fcntl): Remove __fcntl_internal alias.
39541         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39542         __connect_internal alias.
39543         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39544         Likewise.
39546         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39547         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39548         FP_DENORM_ZERO.
39549         (_FP_CHECK_FLUSH_ZERO): New macro.
39550         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39551         (_FP_CMP): Likewise.
39552         (_FP_CMP_EQ): Likewise.
39553         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39554         FP_DENORM_ZERO.
39555         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39556         (FP_TRUNC): Likewise.
39558         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39559         treated as invalid conversion, not as normal exponent.
39561         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39562         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39563         (_FP_CMP_EQ): Likewise.
39564         (_FP_CMP_UNORD): Likewise.
39565         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39566         (FP_CMP_EQ_D): Likewise.
39567         (FP_CMP_UNORD_D): Likewise.
39568         * soft-fp/extended.h (FP_CMP_E): Likewise.
39569         (FP_CMP_EQ_E): Likewise.
39570         (FP_CMP_UNORD_E): Likewise.
39571         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39572         (FP_CMP_EQ_Q): Likewise.
39573         (FP_CMP_UNORD_Q): Likewise.
39574         * soft-fp/single.h (FP_CMP_S): Likewise.
39575         (FP_CMP_EQ_S): Likewise.
39576         (FP_CMP_UNORD_S): Likewise.
39577         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39578         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39579         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39580         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39581         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39582         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39583         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39584         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39585         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39586         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39587         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39588         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39589         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39590         to FP_CMP_Q.
39591         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39592         FP_CMP_Q.
39593         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39594         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39595         FP_CMP_EQ_Q.
39596         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39597         FP_CMP_Q.
39598         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39599         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39600         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39601         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39602         FP_CMP_EQ_Q.
39603         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39604         FP_CMP_Q.
39605         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39606         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39607         FP_CMP_EQ_Q.
39608         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39609         FP_CMP_Q.
39610         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39611         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39612         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39613         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39614         FP_CMP_EQ_Q.
39616         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39617         a subnormal result, set the underflow exception if trapping on
39618         underflow is enabled.
39619         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39620         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39621         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39622         redefine to 0.
39623         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39624         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39625         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39626         * soft-fp/extendxftf2.c (__extendxftf2): Use
39627         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39629         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39630         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39631         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39632         FP_HANDLE_EXCEPTIONS.
39633         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39634         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39635         FP_HANDLE_EXCEPTIONS.
39636         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39637         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39638         FP_HANDLE_EXCEPTIONS.
39639         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39640         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39641         FP_HANDLE_EXCEPTIONS.
39643 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39645         [BZ #14132]
39646         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39647         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39648         use INTUSE.
39649         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39650         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39651         Remove alias.
39652         (__adjtimex): Define using libc_hidden_ver.
39653         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39654         Remove declaration.
39655         (ntp_gettime): Call __adjtimex directly.
39656         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39657         Remove declaration.
39658         (ntp_gettimex): Call __adjtimex directly.
39659         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39660         __adjtimex_internal alias.
39662 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39664         [BZ #17460]
39665         * nscd/nscd.c (more_help): Rewrite list of tables collection
39666         using xstrdup and asprintf.
39668         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39670 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39671             Roland McGrath  <roland@hack.frob.com>
39673         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39674         (do_lookup_unique): ... local function 'enter' here; update callers.
39676 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39678         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39679         compat_symbol calls on [SHARED].
39680         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39681         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39682         Remove.
39683         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39684         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39685         (oldsetrlimit): Remove.
39686         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39688         (lchown): New syscall entry.
39689         (oldsetrlimit): Remove.
39690         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39691         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39692         (oldsetrlimit): Remove.
39693         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39695         [BZ #14138]
39696         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39697         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39698         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39699         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39700         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39701         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39702         (fchown): Likewise.
39703         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39704         (fchown): Likewise.
39705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39706         Likewise.
39708 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39710         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39711         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39712         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39713         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39714         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39715         Likewise.
39716         (__old_sem_post): Likewise.
39718 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39720         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39721         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39722         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39723         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39724         Use INLINE_VSYSCALL macro.
39725         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39726         __vdso_clock_gettime.
39727         * sysdeps/unix/sysv/linux/tile/init-first.c
39728         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39729         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39730         __vdso_clock_gettime.
39732         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39733         to set up frame more cleanly.
39735         * sysdeps/tile/memcmp.c: New file.
39737         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39739         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39740         * sysdeps/tile/tilegx/strcasestr.c: New file.
39741         * sysdeps/tile/tilegx/strnlen.c: New file.
39742         * sysdeps/tile/tilegx/strstr.c: New file.
39744         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39746 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39748         * nptl/tst-setuid3.c: Write errors to stdout.
39750 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39752         * elf/dl-deps.c
39753         (preload): New functions broken out of _dl_map_object_deps.
39754         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39756 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39758         [BZ #14138]
39759         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39760         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39762 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39764         * sysdeps/mips/strcmp.S: New.
39766 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39768         [BZ #14138]
39769         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39770         (linkat): Likewise.
39771         (mkdirat): Likewise.
39772         (readlinkat): Likewise.
39773         (renameat): Likewise.
39774         (symlinkat): Likewise.
39775         (unlinkat): Likewise.
39776         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39777         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39778         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39779         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39780         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39781         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39782         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39784 2014-09-30  Will Newton  <will.newton@linaro.org>
39786         * math/math.h: Define long double math functions if
39787         _LIBC_TEST is defined.
39788         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39790         * localedata/Makefile: Move assignment to tests-special
39791         into an ifdef testing run-built-tests.
39792         * timezone/Makefile: Likewise.
39794 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39796         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39797         with $(BASH) not $(SHELL).
39799 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39800             Matthew LeGendre  <legendre1@llnl.gov>
39802         [BZ #17411]
39803         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39804         l_reloc_result.
39806 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39808         * stdio-common/printf_fp.c
39809         (hack_digit): New function, broken out of ...
39810         (__printf_fp): ... local function here.  Update call sites.
39811         hack_digit now takes an additional parameter that is a pointer
39812         to a struct of the referenced locals.  Those locals moved inside
39813         the struct and references updated.
39815 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39817         * aclocal.m4: Require autoconf 2.69.
39818         * configure: Regenerated.
39819         * sysdeps/aarch64/configure: Likewise.
39820         * sysdeps/alpha/configure: Likewise.
39821         * sysdeps/arm/armv7/configure: Likewise.
39822         * sysdeps/arm/configure: Likewise.
39823         * sysdeps/ia64/configure: Likewise.
39824         * sysdeps/mach/configure: Likewise.
39825         * sysdeps/mips/configure: Likewise.
39826         * sysdeps/s390/configure: Likewise.
39827         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39830         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39831         file.
39832         * sysdeps/ia64/configure.ac: Likewise.
39834 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39837         specify symbol version for ld.so.  Do not include entry for
39838         libpthread.
39839         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39840         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39841         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39843         [BZ #14171]
39844         * Makeconfig [$(build-shared) = yes]
39845         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39846         makefiles.
39847         [$(build-shared) = yes && $(soversions.mk-done) = t]
39848         ($(common-objpfx)gnu/lib-names.h): Remove rule.
39849         [$(build-shared) = yes && $(soversions.mk-done) = t]
39850         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
39851         to Makerules.
39852         [$(build-shared) = yes && $(soversions.mk-done) = t]
39853         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
39854         here.
39855         [$(build-shared) = yes && $(soversions.mk-done) = t]
39856         (common-generated): Don't append gnu/lib-names.h and
39857         gnu/lib-names.stmp here.
39858         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
39859         (lib-names-h-abi): New variable.
39860         [$(build-shared) = yes && $(soversions.mk-done) = t]
39861         (lib-names-stmp-abi): Likewise.
39862         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39863         abi-variants] (before-compile): Append
39864         $(common-objpfx)$(lib-names-h-abi).
39865         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39866         abi-variants] (common-generated): Append gnu/lib-names.h.
39867         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39868         abi-variants] (install-others-nosubdir): Depend on
39869         $(inst_includedir)/$(lib-names-h-abi).
39870         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39871         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
39872         [$(build-shared) = yes && $(soversions.mk-done) = t]
39873         ($(common-objpfx)$(lib-names-h-abi)): New rule.
39874         [$(build-shared) = yes && $(soversions.mk-done) = t]
39875         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
39876         [$(build-shared) = yes && $(soversions.mk-done) = t]
39877         (common-generated): Append $(lib-names-h-abi) and
39878         $(lib-names-stmp-abi).
39879         * scripts/lib-names.awk: Do not handle multi being set.
39880         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
39881         Remove variable.
39882         (abi-lp64_be-ld-soname): Likewise.
39883         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
39884         Likewise.
39885         (abi-hard-ld-soname): Likewise.
39886         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
39887         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
39888         Remove variable.
39889         (abi-o32_hard-ld-soname): Likewise.
39890         (abi-o32_soft_2008-ld-soname): Likewise.
39891         (abi-o32_hard_2008-ld-soname): Likewise.
39892         (abi-n32_soft-ld-soname): Likewise.
39893         (abi-n32_hard-ld-soname): Likewise.
39894         (abi-n32_soft_2008-ld-soname): Likewise.
39895         (abi-n32_hard_2008-ld-soname): Likewise.
39896         (abi-n64_soft-ld-soname): Likewise.
39897         (abi-n64_hard-ld-soname): Likewise.
39898         (abi-n64_soft_2008-ld-soname): Likewise.
39899         (abi-n64_hard_2008-ld-soname): Likewise.
39900         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
39901         Likewise.
39902         (abi-64-v2-ld-soname): Likewise.
39903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
39904         ld.so entries.
39905         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
39906         variable.
39907         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
39908         entry.
39909         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
39910         variable.
39911         (abi-64-ld-soname): Likewise.
39912         (abi-x32-ld-soname): Likewise.
39913         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
39914         entry.
39915         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39917 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
39919         [BZ #14138]
39920         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
39921         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
39922         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
39923         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
39924         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
39925         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
39926         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
39927         syscall entry for GLIBC_2.2 symbol version.
39928         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
39929         Likewise.
39930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39931         (setrlimit): Likewise.
39932         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
39933         Likewise.
39935 2014-09-23  Will Newton  <will.newton@linaro.org>
39937         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
39938         _LINUX_ARM_SYSDEP_H include guard too.
39939         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
39940         define.
39942 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39944         * sysdeps/unix/sysv/linux/eventfd.c:
39945         Make first argument unsigned.
39946         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
39947         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
39949 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
39951         [BZ #16852]
39952         * socket/recvmmsg.c (recvmmsg): Drop const argument.
39953         * socket/sys/socket.h: Likewise.
39954         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
39956 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39958         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
39960 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
39962         * time/tst-ftime.c: New test.
39963         * time/Makefile (tests): Add tst-ftime.
39965 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
39967         * soft-fp/extended.h: Fix comment formatting.
39968         * soft-fp/op-1.h: Likewise.
39969         * soft-fp/op-2.h: Likewise.
39970         * soft-fp/op-4.h: Likewise.
39971         * soft-fp/op-8.h: Likewise.
39972         * soft-fp/op-common.h: Likewise.
39973         * soft-fp/soft-fp.h: Likewise.
39975         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
39977 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
39979         [BZ #6652]
39980         * Makeconfig (soversions-default-setname): Remove variable.
39981         ($(common-objpfx)soversions.i): Don't pass default_setname to
39982         soversions.awk.
39983         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
39984         oldest_abi to abi-versions.awk.
39985         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
39986         * config.make.in (oldest-abi): Remove variable.
39987         * configure.ac (--enable-oldest-abi): Remove configure option.
39988         * configure: Regenerated.
39989         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
39990         text.
39991         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
39992         * scripts/soversions.awk: Do not handle default_setname variable.
39993         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
39994         variable.
39995         * sysdeps/mach/hurd/configure: Regenerated.
39996         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
39997         variable.
39998         * sysdeps/unix/sysv/linux/configure: Regenerated.
40000 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40002         * elf/Makefile (CFLAGS-interp.c): Remove.
40003         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40004         path string.
40005         * elf/interp.c: Include generated runtime-linker.h
40007         * Makerules (lib%.so): Don't include $(+interp) in
40008         prerequisites.
40009         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40010         * dlfcn/eval.c: Remove file.
40012         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40013         macros.
40015         [BZ #17266]
40016         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40017         4.2 and newer.
40019         [BZ #17370]
40020         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40022 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40023             Jakub Jelinek  <jakub@redhat.com>
40025         [BZ #17266]
40026         * libio/stdio.h: Check definition of __fortify_function
40027         instead of __extern_always_inline to include bits/stdio2.h.
40028         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40029         check if __extern_always_inline is defined.
40030         [__USE_MISC || __USE_XOPEN]: Likewise.
40031         [__USE_ISOC99] Likewise.
40032         * misc/sys/cdefs.h (__fortify_function): Define only if
40033         __extern_always_inline is defined.
40034         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40035         __extern_always_inline and __extern_inline only for g++-4.3
40036         and newer or a compatible gcc.
40038 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40040         [BZ #17371]
40041         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40042         last change to handle zero prefix length.
40044 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40046         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40047         _SC_REGEX_VERSION.
40049         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40050         _POSIX_RAW_SOCKETS.
40052 2014-09-13  Allan McRae  <allan@archlinux.org>
40054         * po/ru.po: Update Russian translation from translation project.
40056 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40058         * locale/programs/locale.c (show_locale_vars): Inline local function
40059         into its sole call site.  Clean up some style nits.
40060         (print_item): New function, broken out of ...
40061         (show_info): ... local function here.  Clean up style nits.
40063         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40064         out of ...
40065         (set_class_defaults): ... local function set_default here.
40066         Define set_default as a macro locally to pass constant parameters.
40067         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40068         rather than a shared local.
40070         * stdlib/rpmatch.c (try): New function, broken out of ...
40071         (rpmatch): ... local function here.  Also, prototypify definition.
40073 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40075         * scripts/soversions.awk: Do not handle configuration names.
40076         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40077         vendor and os variables to soversions.awk.
40078         * configure.ac: Do not modify gnu-* host_os.
40079         * configure: Regenerated
40080         * shlib-versions: Remove first column with configuration names.
40081         * nptl/shlib-versions: Likewise.
40082         * nptl_db/shlib-versions: Likewise.
40083         * sysdeps/hppa/shlib-versions: Likewise.
40084         * sysdeps/m68k/shlib-versions: Likewise.
40085         * sysdeps/mach/hurd/shlib-versions: Likewise.
40086         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40087         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40088         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40089         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40090         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40091         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40092         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40093         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40095         Likewise.
40096         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40097         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40098         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40099         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40100         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40101         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40102         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40103         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40106         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40108         Regenerated.
40109         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40111         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40113         * shlib-versions: Remove OS-specific entries.  Moved to files in
40114         sysdeps.
40115         * sysdeps/mach/hurd/shlib-versions: New file.
40116         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40118         * nptl/shlib-versions: Remove architecture-specific entries.
40119         Moved to files in sysdeps.
40120         * shlib-versions: Likewise.
40121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40122         file.
40123         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40124         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40125         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40126         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40128         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40129         (UDP_NO_CHECK6_RX): Likewise.
40131 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40133         * sysdeps/posix/sysconf.c (__sysconf): Spell
40134         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40136 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40138         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40139         loading.
40140         * iconv/Versions (__gconv_transliterate): Export for use from
40141         gconv modules.
40142         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40143         (struct __gconv_trans_data, __gconv_trans_fct,
40144         __gconv_trans_context_fct, __gconv_trans_query_fct,
40145         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40146         definitions.
40147         (struct __gconv_step_data): Remove __trans member.
40148         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40149         longer hidden.  Remove unused trans_data argument.
40150         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40151         (__gconv_translit_find): Remove declaration.
40152         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40153         prototype.
40154         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40155         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40156         trans_data argument.  Add hidden definition.
40157         (__gconv_translit_find): Remove.
40158         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40159         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40160         * iconv/skeleton.c: Remove transliteration initialization.
40161         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40162         __gconv_step_data initialization.
40163         * libio/iofwide.c (__libio_translit_): Remove.
40164         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40165         * wcsmbs/btowc.c (__btowc): Likewise.
40166         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40167         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40168         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40169         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40170         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40171         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40172         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40173         * wcsmbs/wctob.c (wctob): Likewise.
40175 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40177         [BZ #16194]
40178         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40179         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40180         register usage.
40181         * sysdeps/x86/Makefile: Adjust.
40183 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40184             Roland McGrath  <roland@hack.frob.com>
40186         * locale/weight.h: Add include guard.
40187         (findidx): Make static rather than auto; take new parameters
40188         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40189         * locale/weightwc.h: Likewise.
40190         * posix/fnmatch_loop.c
40191         (FCT): Change type of EXTRA from int32_t to wint_t.
40192         Don't include either header inside the function.
40193         Call FINDIDX rather than findidx, and pass new arguments.
40194         #undef FINDIDX at the end of the file.
40195         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40196         FINDIDX before including fnmatch_loop.c for the non-wide version.
40197         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40198         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40199         for the wide version.
40200         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40201         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40202         Pass new arguments to findidx.
40203         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40204         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40205         Don't #include it inside the function.  Pass new arguments to findidx.
40206         * posix/regex_internal.h
40207         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40208         (re_string_elem_size_at): Don't #include it inside the function.
40209         Pass new arguments to findidx.
40210         * string/strcoll_l.c: #include WEIGHT_H at top level.
40211         (get_next_seq): Don't #include it inside the function.
40212         Pass new arguments to findidx.
40213         (get_next_seq_nocache): Likewise.
40214         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40215         (STRXFRM): Don't #include it inside the function.
40216         Pass new arguments to findidx.
40218 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40220         [BZ #17344]
40221         * malloc/malloc.c (unlink): Turn asserts into a call to
40222         malloc_printerr.
40224 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40226         [BZ #17370]
40227         * libio/wfileops (do_ftell_wide): Free OUT.
40229 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40231         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40233 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40235         [BZ #17363]
40236         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40237         group if the current group is empty.
40239 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40241         * benchtests/bench-memset.c (test_main): Add more test from size
40242         from 32 to 512 bytes.
40243         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40244         Add POWER8 memset object.
40245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40246         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40247         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40248         implementation.
40249         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40250         Likewise.
40251         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40252         multiarch POWER8 memset optimization.
40253         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40254         POWER8 memset optimization.
40256         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40257         Remove bzero multiarch objects.
40258         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40259         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40260         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40261         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40262         Remove define.
40263         [__bzero]: Redefine to specific name.
40264         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40265         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40266         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40267         define.
40268         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40269         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40271 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40273         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40274         warnings into errors.
40276         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40277         __cxa_thread_atexit_impl prototype.
40279 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40281         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40282         Fix capitalization of error message.
40284 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40286         * sysdeps/mips/preconfigure: Modify ABI tests.
40288 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40290         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40292 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40293             Carlos O'Donell  <carlos@systemhalted.org>
40295         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40296         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40297         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40298         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40299         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40300         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40301         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40302         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40303         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40304         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40305         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40306         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40307         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40308         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40309         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40310         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40311         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40312         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40313         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40314         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40315         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40316         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40317         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40318         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40319         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40320         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40321         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40322         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40323         Deconditionalize the code that was previously under [RESET_PID].
40324         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40325         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40326         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40327         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40328         include sysdep.h.
40330 2014-09-08  Allan McRae  <allan@archlinux.org>
40332         * version.h (RELEASE): Set to "development".
40333         (VERSION): Set to "2.20.90"
40335 2014-09-07  Allan McRae  <allan@archlinux.org
40337         * version.h (RELEASE): Set to "stable".
40338         (VERSION): Set to "2.20"
40339         * include/features.h (__GLIBC_MINOR__): Set to 20.
40341         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40342         Liebler.
40344         * po/ko.po: Update Korean translation from translation project.
40346 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40348         [BZ #17354]
40349         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40350         macro for handling signed relocations.
40352 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40354         [BZ #17325]
40355         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40356         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40357         assert.
40358         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40359         * iconvdata/ibm935.c (BODY): Likewise.
40360         * iconvdata/ibm937.c (BODY): Likewise.
40361         * iconvdata/ibm939.c (BODY): Likewise.
40362         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40363         assert.
40364         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40365         script.
40366         * iconvdata/run-iconv-test.sh: New test loop for checking for
40367         decoder crashers.
40369 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40371         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40372         libm_hidden_ver.
40374 2014-09-01  Allan McRae  <allan@archlinux.org>
40376         * po/eo.po: Update Esperanto translation from translation project.
40378         * po/ca.po: Update Catalan translation from translation project.
40380 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40382         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40383         __proc_dostop call.
40385 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40387         [BZ #17319]
40388         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40389         to call set_thread_area instead of hand written asm.
40390         (__NR_set_thread_area): Removed define.
40391         (TLS_FLAG_WRITABLE): Likewise.
40392         (__ASSUME_SET_THREAD_AREA): Remove check.
40393         (TLS_EBX_ARG): Remove define.
40394         (TLS_LOAD_EBX): Likewise.
40396 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40398         Simplify atomicity of socket creation in bind.
40400         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40401         looking up the name after linking the file.
40403 2014-08-27  Allan McRae  <allan@archlinux.org>
40405         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40407 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40409         [BZ #17187]
40410         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40411         trans_compare, open_translit, __gconv_translit_find):
40412         Remove module loading code.
40414 2014-08-26  Allan McRae  <allan@archlinux.org>
40416         * po/vi.po: Update Vietnamese translation from translation project.
40418         * po/uk.po: Update Ukrainian translation from translation project.
40420         * po/fr.po: Update French translation from translation project.
40422         * po/ru.po: Update Russian translation from translation project.
40424         * po/pl.po: Update Polish translation from translation project.
40426         * po/cs.po: Update Czech translation from translation project.
40428         * po/de.po: Update German translation from translation project.
40430         * po/bg.po: Update Bulgarian translation from translation project.
40432         * po/sv.po: Update Sweedish translation from translation project.
40434         * po/nl.po: Update Dutch translation from translation project.
40436         * po/es.po: Update Spanish translation from translation project.
40438 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40440         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40442         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40443         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40444         (CPPFLAGS-iconvconfig): Likewise.
40445         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40447         * include/libc-symbols.h: Remove unnecessary check for
40448         NOT_IN_libc.
40449         * nptl/pthreadP.h: Likewise.
40450         * sysdeps/aarch64/setjmp.S: Likewise.
40451         * sysdeps/alpha/setjmp.S: Likewise.
40452         * sysdeps/arm/sysdep.h: Likewise.
40453         * sysdeps/i386/setjmp.S: Likewise.
40454         * sysdeps/m68k/setjmp.c: Likewise.
40455         * sysdeps/posix/getcwd.c: Likewise.
40456         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40457         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40458         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40459         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40460         * sysdeps/sh/sh3/setjmp.S: Likewise.
40461         * sysdeps/sh/sh4/setjmp.S: Likewise.
40462         * sysdeps/unix/alpha/sysdep.h: Likewise.
40463         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40464         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40465         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40466         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40469         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40470         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40471         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40472         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40473         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40474         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40476         * sysdeps/x86_64/setjmp.S: Likewise.
40478 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40480         [BZ #17263]
40481         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40482         <stdint.h>.
40483         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40484         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40486 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40488         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40490         [BZ #17262]
40491         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40492         and __x86_64__ when disabling x87 inline functions.
40494 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40496         [BZ #17259]
40497         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40498         asm statement with __cpuid_count.
40500 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40502         * configure.ac: Change __ehdr_start code to dereference the struct.
40503         Run readelf on the output to look for relocations.
40504         * configure: Regenerated.
40506 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40508         [BZ #17261]
40509         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40510         value to 0.
40511         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40513 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40515         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40517 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40519         [BZ #16892]
40520         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40521         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40523 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40525         * malloc/malloc.c: Fix typo in comment.
40527 2014-08-09  Allan McRae  <allan@archlinux.org>
40529         * Regenerate libc.po.
40531 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40533         * intl/tst-gettext2.sh: Check every lang file for creation.
40535 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40537         * sysdeps/aarch64/fpu/math_private.h
40538         (libc_feholdsetround_noex_aarch64_ctx): New function.
40540 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40542         * sysdeps/arm/armv6/strcpy.S (strcpy):
40543         Fix performance issue in misaligned cases.
40545 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40547         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40548         Move definition from termios.h.
40549         (struct termio): Likewise.
40550         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40551         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40552         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40553         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40554         Likewise.
40555         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40556         Move definition to ioctl-types.h
40557         (struct termio): Likewise.
40558         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40559         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40560         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40561         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40562         Likewise.
40564 2014-08-05  Richard Henderson  <rth@redhat.com>
40566         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40567         exceptions.
40568         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40569         Add fraiseexcpt.
40570         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40571         Use __feraiseexcept.
40572         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40573         Protect libm symbols with IS_IN_libm.
40575         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40577 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40579         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40581 2014-08-04  Will Newton  <will.newton@linaro.org>
40583         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40584         file.
40586 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40588         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40589         variants for each function.
40591 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40593         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40594         appended ...
40595         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40596         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40597         appended ...
40598         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40599         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40600         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40601         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40602         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40603         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40604         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40605         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40606         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40607         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40608         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40609         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40610         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40611         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40612         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40613         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40614         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40615         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40616         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40617         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40618         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40619         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40620         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40621         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40622         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40623         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40624         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40625         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40626         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40627         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40628         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40629         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40630         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40631         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40632         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40633         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40634         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40635         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40636         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40637         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40638         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40639         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40640         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40641         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40642         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40643         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40644         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40645         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40646         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40647         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40648         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40649         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40650         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40651         Update #include.
40652         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40653         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40655 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40657         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40658         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40659         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40660         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40661         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40662         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40664 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40666         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40667         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40668         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40669         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40671 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40673         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40674         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40675         (__libc_vfork): Define function under this name.
40676         (__vfork): Define as an alias.
40677         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40678         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40680 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40682         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40683         that was previously under [RESET_PID].
40684         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40686 2014-08-04  Andreas Schwab  <schwab@suse.de>
40688         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40690 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40692         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40693         (main): Likewise.
40695 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40697         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40699 2014-08-01  Richard Henderon  <rth@redhat.com>
40701         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40702         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40703         typo in exact zero test.
40704         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40705         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40706         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40708 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40710         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40711         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40712         * sysdeps/arm/sysdep.h: ... here.
40713         [!__ASSEMBLER__]: Include <stdint.h>.
40715 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40717         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40718         (HAVE_WCTYPE_H): Likewise.
40719         (HAVE_ISWCTYPE): Likewise.
40720         (ENABLE_NLS): Likewise.
40721         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40722         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40724         * posix/regex_internal.c: Check if DEBUG is defined and is
40725         set.
40727         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40728         (HAVE_MBSRTOWCS): Likewise.
40729         * posix/fnmatch.c: Include string.h unconditionally.
40731 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40733         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40734         reversal.
40736 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40738         * sysdeps/generic/safe-fatal.h: New file.
40739         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40740         * nptl/forward.c: Include it.
40741         (__pthread_unwind): Use __safe_fatal as default action, rather
40742         than a bogus use of INTERNAL_SYSCALL that could never work.
40744         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40745         * configure.ac (libc_cv_builtin_trap): New test.
40746         * configure: Regenerated.
40747         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40748         (ABORT_INSTRUCTION): Define using __builtin_trap.
40750         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40751         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40752         * sysdeps/nptl/nptl-signals.h: New file.
40753         * nptl/pthreadP.h: Include <nptl-signals.h>.
40755 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40757         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40758         (ONE_DIRECTION): Define.
40759         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40760         (ONE_DIRECTION): Define.
40761         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40762         (ONE_DIRECTION): Define.
40764 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40766         * sysdeps/s390/Makefile: Delete file.
40767         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40768         * sysdeps/s390/__longjmp.c: Delete file.
40769         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40770         Remove fields __flags and __reserved.
40771         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40772         and add versioning.
40773         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40774         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40775         * sysdeps/s390/rtld-setjmp.S: Likewise.
40776         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40777         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40778         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40779         * sysdeps/s390/s390-32/setjmp.S: ... here.
40780         Add versioning.
40781         (__sigsetjmp): Remove setting __flags field.
40782         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40783         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40784         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40785         * sysdeps/s390/s390-64/setjmp.S: ... here.
40786         Add versioning.
40787         (__sigsetjmp): Remove setting __flags field.
40788         * sysdeps/s390/setjmp.S: Delete file.
40789         * sysdeps/s390/sigjmp.c: Likewise.
40790         * sysdeps/s390/v1-longjmp.c: Likewise.
40791         * sysdeps/s390/v1-setjmp.h: Likewise.
40792         * sysdeps/s390/v1-sigjmp.c: Likewise.
40793         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40794         Remove v1-longjmp_chk.
40795         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40796         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40797         Include debug/longjmp_chk.c and add versioning.
40798         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40799         Include nptl/pt-longjmp.c and add versioning.
40800         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40801         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40802         Include __longjmp.c.
40803         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40804         Move to ...
40805         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40806         (__getcontext): Remove setting __flags field.
40807         Add versioning.
40808         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40809         Don't restore upper high grps.
40810         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40811         Likewise.
40812         (__swapcontext): Remove setting uc_flags field.
40813         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40814         Delete file.
40815         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40816         Include __longjmp.c.
40817         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40818         Move to ...
40819         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40820         (__getcontext): Remove setting __flags field.
40821         Add versioning.
40822         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40823         (__swapcontext): Remove setting uc_flags field.
40824         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40825         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40826         Remove fields uc_high_gprs and __reserved.
40827         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40828         New file with reverted content.
40829         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40830         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40831         Regenerated.
40832         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40833         Regenerated.
40835 2014-07-31  Andreas Schwab  <schwab@suse.de>
40837         * config.h.in (HAVE_IFUNC): Define to 0.
40838         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40839         definedness.
40841 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40844         memmove-avx-unaligned, memcpy-avx-unaligned and
40845         mempcpy-avx-unaligned.
40846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40847         Add tests for AVX memcpy functions.
40848         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
40849         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
40850         memcpy_chk.
40851         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
40852         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
40853         memmove_chk.
40854         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
40855         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
40856         mempcpy_chk.
40857         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
40858         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
40859         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
40861 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40863         [BZ #17213]
40864         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
40865         powerpc64le.
40867 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
40869         [BZ #16839]
40870         * manual/llio.texi: Add section about open file description locks.
40871         * manual/examples/ofdlocks.c: Example of open file description
40872         lock usage.
40873         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
40874         F_OFD_SETLK, and F_OFD_SETLKW.
40876 2014-07-23  Allan McRae  <allan@archlinux.org>
40878         * po/es.po: Update Spanish translation from translation project.
40880 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
40882         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
40884 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
40886         [BZ #17078]
40887         * sysdeps/arm/dl-machine.h (elf_machine_rela)
40888         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
40889         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
40891 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
40893         [BZ #17088]
40894         * math/fesetenv.c (__fesetenv)
40895         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
40896         * math/feupdateenv.c (__feupdateenv)
40897         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
40899         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
40900         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40901         (__ASSUME_SOCKETCALL): Do not define.
40903         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
40904         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
40905         (__ASSUME_SOCKETCALL): Do not define.
40906         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
40907         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40908         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40909         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40910         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40911         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
40912         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40913         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40915         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
40916         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
40917         (__ASSUME_SOCKETCALL): Do not define.
40918         (__ASSUME_IPC64): Define unconditionally.
40919         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40920         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40921         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40922         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40923         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
40924         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40925         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
40926         Likewise.
40928         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
40929         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
40930         (__ASSUME_SOCKETCALL): Do not define.
40931         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
40932         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40933         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40934         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40935         (__ASSUME_REQUEUE_PI): Define unconditionally.
40936         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
40937         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
40938         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40939         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
40940         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40941         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40943         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
40944         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
40945         (__ASSUME_SOCKETCALL): Do not define.
40946         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
40947         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40948         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40949         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
40950         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40951         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40953         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
40954         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
40955         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40956         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
40957         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40958         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
40959         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40960         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
40961         (__ASSUME_GETCPU_SYSCALL): Likewise.
40963         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
40964         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
40965         cases for individual architectures.
40966         * sysdeps/gnu/configure: Regenerated.
40967         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
40968         LIBC_SLIBDIR_RTLDDIR.
40969         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
40970         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
40971         LIBC_SLIBDIR_RTLDDIR.
40972         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
40973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
40974         LIBC_SLIBDIR_RTLDDIR.
40975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40976         Regenerated.
40977         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
40978         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
40979         file.
40980         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
40981         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
40982         file.
40983         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
40984         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
40985         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
40986         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
40988         * sysdeps/aarch64/shlib-versions: Move to ...
40989         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
40990         * sysdeps/alpha/shlib-versions: Move to ...
40991         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
40992         * sysdeps/arm/shlib-versions: Move to ...
40993         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
40994         * sysdeps/hppa/shlib-versions: Move all contents except for
40995         libgcc_s entry to ...
40996         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
40997         entry from ...
40998         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
40999         * sysdeps/ia64/shlib-versions: Move to ...
41000         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41001         entry from ...
41002         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41003         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41004         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41005         * sysdeps/microblaze/shlib-versions: Move to ...
41006         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41007         * sysdeps/mips/shlib-versions: Move to ...
41008         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41009         entry from ...
41010         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41011         * sysdeps/tile/shlib-versions: Move to ...
41012         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41013         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41014         from ...
41015         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41016         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41017         entry from ...
41018         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41020 2014-07-17  Will Newton  <will.newton@linaro.org>
41022         * sysdeps/arm/bits/atomic.h
41023         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41024         (__arch_compare_and_exchange_bool_16_int): Likewise.
41025         (__arch_compare_and_exchange_bool_64_int): Likewise.
41027         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41028         into an #else block.
41030 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41032         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41033         just Linux configurations.  Test empirically that the compiler sets
41034         __ARM_EABI__, rather than using the tuple to decide.
41035         * sysdeps/arm/preconfigure: Regenerated.
41036         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41037         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41038         contents appended ...
41039         * sysdeps/arm/configure.ac: ... here.
41040         * sysdeps/arm/configure: Regenerated.
41042 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41044         * nptl/pthread_kill.c: New file.
41045         * nptl/pthread_sigmask.c: New file.
41046         * nptl/pthread_sigqueue.c: New file.
41048         * sysdeps/nptl/lowlevellock.h: New file.
41049         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41050         * sysdeps/nptl/lowlevellock-futex.h: New file.
41052         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41053         Remove dead declarations.
41055 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41057         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41058         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41059         config-cflags-avx2.
41060         * sysdeps/x86_64/configure.ac: Likewise.
41061         * sysdeps/i386/configure: Regenerated.
41062         * sysdeps/x86_64/configure: Likewise.
41063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41064         memset-avx2 only if config-cflags-avx2 is yes.
41065         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41066         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41067         defined.
41068         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41069         only if HAVE_AVX2_SUPPORT is defined.
41070         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41072 2014-07-14  Alan Modra  <amodra@gmail.com>
41074         [BZ #17153]
41075         * elf/elf.h (DT_PPC64_NUM): Correct value.
41076         * NEWS: Add to fixed bug list.
41078 2014-07-13  Jim Meyering  <meyering@fb.com>
41080         [BZ 17150]
41081         regex: don't deref NULL upon heap allocation failure
41082         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41083         failure in one more place.
41084         To trigger the segfault, configure grep -with-included-regex,
41085         build it, and run these commands:
41086         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41088 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41090         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41092 2014-07-11  Richard Henderson  <rth@redhat.com>
41094         * sysdeps/aarch64/libm-test-ulps: Update.
41096 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41098         [BZ #17135]
41099         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41100         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41101         (__nptl_setxid): Initialize error member.  Call
41102         __nptl_setxid_error.
41103         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41104         * nptl/descr.h (struct xid_command): Add error member.
41105         * nptl/tst-setuid3.c: New file.
41106         * nptl/Makefile (tests): Add it.
41108 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41110         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41111         New define.
41112         (__lll_trylock): Use __lll_base_trylock.
41113         (__lll_cond_trylock): Likewise.
41115 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41117         * nptl/pthread_create.c (start_thread): Use atomic_or and
41118         lll_futex_wake directly rather than lll_robust_dead.
41119         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41120         (lll_robust_dead): Macro removed.
41121         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41122         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41123         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41124         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41125         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41126         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41127         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41128         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41129         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41130         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41131         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41132         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41133         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41134         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41135         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41137         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41138         Use atomic_compare_and_exchange_val_acq directly rather than
41139         lll_robust_trylock.
41140         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41141         (__lll_robust_trylock, lll_robust_trylock): Removed.
41142         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41143         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41144         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41145         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41146         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41147         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41148         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41149         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41150         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41151         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41152         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41153         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41154         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41155         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41157 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41159         * manual/locale.texi (Locale Names): New section documenting
41160         locale name syntax.  Adjust menu and node chaining accordingly.
41161         (Choosing Locale): Reference Locale Names, Locale Categories.
41162         Mention setting LC_ALL=C.  Reflect that name syntax is now
41163         documented.
41164         (Locale Categories): New section title.  Reference Locale Names.
41165         LC_ALL is an environment variable, but not a category.
41166         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41167         description, now in Locale Name.  Reference that section.  Locale
41168         name syntax is now documented.
41170 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41172         [BZ #17137]
41173         * locale/findlocale.c (name_present, valid_locale_name): New
41174         functions.
41175         (_nl_find_locale): Use the loc_name variable to store name
41176         candidates.  Call name_present and valid_locale_name to check and
41177         validate locale names.  Return an error if the locale is invalid.
41179 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41181         * locale/setlocale.c (setlocale): Use strdup for allocating
41182         composite name copy.
41184 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41186         Sync up with gnulib.
41187         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41188         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41189         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41190         and _GL_ARG_NONNULL.
41191         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41192         [!_LIBC]: Include code for Windows and Cygwin.
41193         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41194         Include prototype for int strerror_r.
41195         [!_LIBC] (is_open): New function.
41196         (flush_stdout): New function.
41197         (print_errno_message): Use it.
41198         (error): Likewise.
41199         (error_at_line): Likewise.
41200         (error_tail) Add function attribute macros.  Use
41201         __builtin_expect.
41203         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41205         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41207         * io/ftw.c: Include sys/param.h unconditionally.
41209         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41211         [BZ #17125]
41212         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41213         libc_freeres_ptr.
41214         (freecache): New function to free CACHE on exit.
41216         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41217         initialization.
41219 2014-07-09  David S. Miller  <davem@davemloft.net>
41221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41223         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41224         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41225         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41226         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41227         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41228         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41229         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41230         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41231         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41232         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41233         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41234         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41235         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41237 2014-07-09  Andreas Schwab  <schwab@suse.de>
41239         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41240         output.
41241         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41242         (do_test): Likewise.
41244         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41246 2014-07-09  Will Newton  <will.newton@linaro.org>
41248         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41249         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41250         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41251         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41252         * sysdeps/hppa/start.S (_start): Likewise.
41254 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41256         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41258         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41259         defined.
41261 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41263         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41264         after checking that it is non-NULL.
41266         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41268 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41270         * sysdeps/powerpc/memmove.c: Remove file.
41271         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41272         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41273         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41274         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41275         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41276         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41277         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41278         string memmove instead of removed powerpc one.
41280         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41281         [weak_alias]: Fix compiler warning due trailing data.
41282         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41283         [weak_alias]: Likewise.
41284         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41285         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41287         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41288         (__libc_ifunc_impl_list): Add memmove functions.
41290 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41292         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41293         Remove code.
41294         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41295         Likewise.
41296         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41297         Likewise.
41298         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41299         Likewise.
41300         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41301         Likewise.
41302         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41303         Likewise.
41304         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41305         Likewise.
41306         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41307         Likewise.
41308         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41309         Likewise.
41310         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41311         Likewise.
41312         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41313         Likewise.
41314         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41315         Likewise.
41316         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41317         Likewise.
41318         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41319         Likewise.
41320         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41321         Likewise.
41322         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41323         Likewise.
41324         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41325         Likewise.
41327 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41329         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41330         to avoid alignment traps in non-cacheable memory.
41331         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41334         multiarch objects.
41335         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41336         file: multiarch power7 memmove.
41337         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41338         multiarch default memmove.
41339         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41340         multiarch memove for powerpc32/power4.
41342         * string/bcopy.c: Use full path to include memmove.c.
41343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41344         multiarch objects.
41345         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41346         bcopy for powerpc64.
41347         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41348         bcopy for powerpc64.
41349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41350         and memmove implementations.
41351         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41352         optimized multiarch memmove for POWER7/powerpc64.
41353         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41354         default multiarch memmove for powerpc64.
41355         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41356         multiarch for powerpc64.
41357         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41358         for POWER7/powerpc64.
41359         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41360         memmove for POWER7/powerpc64.
41362         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41363         glibc default one.
41365         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41366         __ELF_NATIVE_CLASS equal to 64.
41368 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41370         * sysdeps/nptl/lowlevellock.h: File removed.
41372         * NEWS: NPTL is no longer an add-on!
41373         * nptl/internaltypes.h: Moved ...
41374         * sysdeps/nptl/internaltypes.h: ... here.
41375         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41376         * sysdeps/nptl/fork.c: Likewise.
41377         * sysdeps/nptl/gai_misc.h: Likewise.
41378         * sysdeps/nptl/librt-cancellation.c: Likewise.
41379         * sysdeps/nptl/jmp-unwind.c: Likewise.
41380         * sysdeps/nptl/setxid.h: Likewise.
41381         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41382         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41383         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41384         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41385         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41386         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41387         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41388         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41389         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41390         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41391         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41392         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41393         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41394         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41395         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41396         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41397         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41398         * nptl/Makeconfig: Moved ...
41399         * sysdeps/nptl/Makeconfig: ... here.
41400         * nptl/configure: File removed.
41401         * nptl/ANNOUNCE: File removed.
41402         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41403         * sysdeps/unix/sysv/linux/configure: Regenerated.
41405         * nptl/Makefile (routines): Add libc_pthread_init,
41406         libc_multiple_threads, register-atfork and unregister-atfork.
41407         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41408         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41409         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41410         pthread-pi-defines.sym, structsem.sym.
41411         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41412         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41413         [$(subdir) = nptl] (tests): Add tst-setgetname.
41414         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41415         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41416         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41417         [!LIBC_SIGACTION]: Remove aliases.
41418         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41419         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41420         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41421         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41422         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41423         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41424         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41425         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41426         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41427         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41428         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41429         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41430         __libc_allocate_rtsig_private.
41431         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41432         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41433         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41434         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41435         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41436         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41437         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41438         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41439         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41440         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41441         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41442         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41443         * nptl/internaltypes.h: ... here.
41444         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41445         * sysdeps/nptl/jmp-unwind.c: ... here.
41446         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41447         * nptl/libc-lowlevellock.c: ... here.
41448         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41449         * nptl/libc_multiple_threads.c: ... here.
41450         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41451         * nptl/libc_pthread_init.c: ... here.
41452         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41453         * nptl/lowlevelbarrier.sym: ... here.
41454         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41455         * nptl/lowlevelcond.sym: ... here.
41456         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41457         * nptl/lowlevellock.c: ... here.
41458         * nptl/lowlevellock.h: Moved ...
41459         * sysdeps/nptl/lowlevellock.h: ... here.
41460         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41461         * nptl/lowlevelrobustlock.c: ... here.
41462         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41463         * nptl/lowlevelrobustlock.sym: ... here.
41464         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41465         * nptl/lowlevelrwlock.sym: ... here.
41466         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41467         * nptl/pt-fork.c: ... here.
41468         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41469         * nptl/pthread-pi-defines.sym: ... here.
41470         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41471         * nptl/pthread_attr_getaffinity.c: ... here.
41472         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41473         * nptl/pthread_attr_setaffinity.c: ... here.
41474         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41475         * nptl/pthread_mutex_cond_lock.c: ... here.
41476         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41477         Update #include.
41478         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41479         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41480         * nptl/pthread_once.c: ... here, replacing old file.
41481         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41482         * nptl/pthread_yield.c: ... here.
41483         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41484         * nptl/register-atfork.c: ... here.
41485         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41486         * nptl/sem_post.c: ... here.
41487         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41488         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41489         * nptl/sem_timedwait.c: ... here.
41490         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41491         * nptl/sem_trywait.c: ... here.
41492         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41493         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41494         * nptl/sem_wait.c: ... here.
41495         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41496         * nptl/structsem.sym: ... here.
41497         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41498         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41499         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41500         * nptl/unregister-atfork.c: ... here.
41501         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41502         * nptl/unwindbuf.sym: ... here.
41503         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41504         * sysdeps/nptl/fork.c: ... here.
41505         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41506         * sysdeps/nptl/fork.h: ... here.
41507         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41508         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41509         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41510         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41511         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41512         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41513         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41514         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41515         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41516         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41517         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41518         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41519         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41520         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41521         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41522         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41523         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41524         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41525         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41526         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41527         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41528         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41529         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41530         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41531         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41532         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41533         * sysdeps/unix/sysv/linux/raise.c: ... here.
41534         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41535         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41536         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41537         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41538         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41539         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41540         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41541         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41542         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41543         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41544         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41545         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41546         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41547         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41548         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41550 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41552         * sysdeps/generic/memcopy.h: Add comment for
41553         MEMCPY_OK_FOR_FWD_MEMMOVE.
41555 2014-07-04  Will Newton  <will.newton@linaro.org>
41557         * string/memchr.c: Merge from gnulib.
41558         [_LIBC]: Remove conditionals.
41559         (__ptr_t): Remove define.
41560         (LONG_MAX_32_BITS): Likewise.
41561         (LONG_MAX): Likewise.
41562         (MEMCHR): Use ANSI prototype and optimize algorithm.
41564         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41566 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41568         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41569         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41571         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41572         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41573         in a bare environment with no <stdlib.h> installed.
41574         * sysdeps/nptl/configure: Regenerated.
41576         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41578         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41579         AC_EGREP_CPP for kernel header checks, so they only succeed if
41580         including <linux/version.h> actually works right.
41581         * sysdeps/unix/sysv/linux/configure: Regenerated.
41583         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41584         value so it's not diagnosed as unused.
41586         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41587         thing) with "ifeq ($(subdir),rt)".
41589 2014-07-03  Richard Henderson  <rth@redhat.com>
41591         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41592         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41593         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41595         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41596         (math_force_eval): New.
41598         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41599         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41601         * sysdeps/alpha/fpu/s_round.c: Remove file.
41602         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41604         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41605         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41606         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41607         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41608         (_dl_start, print_statistics): Likewise.
41609         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41610         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41612         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41613         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41614         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41615         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41616         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41617         (HP_SMALL_TIMING_AVAIL): Define.
41618         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41619         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41620         (HP_SMALL_TIMING_AVAIL): Define.
41621         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41622         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41624         * sysdeps/aarch64/hp-timing.h: New file.
41626         * sysdeps/generic/hp-timing.h: Remove dead comment.
41627         * sysdeps/generic/hp-timing-common.h: New file.
41628         * sysdeps/alpha/hp-timing.h: Include it.
41629         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41630         * sysdeps/i386/i686/hp-timing.h: Likewise.
41631         * sysdeps/ia64/hp-timing.h: Likewise.
41632         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41633         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41634         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41635         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41636         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41637         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41638         (hp_timing_t): New.
41640         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41641         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41642         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41643         * elf/rtld.c (_dl_start_final): Likewise.
41644         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41645         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41646         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41647         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41648         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41649         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41650         (HP_TIMING_DIFF_INIT): Remove.
41651         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41652         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41653         (HP_TIMING_DIFF_INIT): Remove.
41654         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41655         * sysdeps/i386/i686/hp-timing.c: Remove file.
41656         * sysdeps/x86_64/hp-timing.c: Remove file.
41657         * sysdeps/ia64/hp-timing.c: Remove file.
41658         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41659         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41660         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41661         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41663         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41664         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41665         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41666         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41667         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41668         (HP_TIMING_ACCUM): Remove.
41669         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41670         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41671         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41673         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41674         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41675         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41676         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41677         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41678         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41679         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41680         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41682         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41684 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41686         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41688 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41690         Sync up with gettext.
41691         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41692         [_MSC_VER]: Include malloc.h
41693         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41694         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41695         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41696         TEMP_FAILURE_RETRY.  Cast return of alloca.
41697         [!_LIBC] Call gl_rwlock_init.
41698         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41700 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41702         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41703         before checking its value.
41705 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41707         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41709         * debug/memcpy_chk.c: Don't include pagecopy.h.
41710         * debug/mempcpy_chk.c: Likewise.
41711         * string/memcpy.c: Likewise.
41712         * string/memmove.c: Likewise.
41713         * sysdeps/powerpc/memmove.c: Likewise.
41714         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41715         definition of PAGE_COPY_FWD_MAYBE here...
41716         * sysdeps/generic/pagecopy.h: ... from here.
41717         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41719 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41720             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41722         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41723         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41724         optimizations.
41725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41726         (__libc_ifunc_impl_list): Likewise.
41727         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41728         multiarch strcat for PPC64.
41729         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41730         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41732 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41734         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41736 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41738         * intl/loadmsgcat.c: Remove declaration of
41739         get_sysdep_segment_value.
41740         (get_sysdep_segment_value): Use ISO C style.
41741         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41742         semicolon.  Fix typo and formatting in comment.
41743         (_nl_unload_domain): Use ISO C style.
41745         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41747 2014-07-02  Will Newton  <will.newton@linaro.org>
41749         * malloc/obstack.c: Merge from gnulib master.
41750         [HAVE_CONFIG_H]: Remove conditional code.
41751         [!_LIBC]: Include config.h.
41752         [!ELIDE_CODE]: Don't include inttypes.h, include
41753         stdint.h unconditionally.
41754         (print_and_abort): Mark as _Noreturn.
41755         (_obstack_allocated_p): Mark as __attribute_pure__.
41756         (obstack_free): Rename to __obstack_free.
41757         [!__attribute__]: Remove conditional code.
41758         * malloc/obstack.h: Merge from gnulib master.
41759         [__cplusplus]: Move conditional down.
41760         [!__attribute_pure__]: Define __attribute_pure__ here
41761         if it is not already defined.
41762         (_obstack_memory_used): Mark as __attribute_pure__.
41763         [!__obstack_free]: Define as obstack_free.
41764         [__GNUC__]: Remove check for ancient NeXT gcc.
41766 2014-07-02  Will Newton  <will.newton@linaro.org>
41767             Paul Eggert  <eggert@cs.ucla.edu>
41769         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41771 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41773         * resolv/gethnamaddr.c: Add comment warning that the file is
41774         not maintained.
41776 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41778         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41779         entries.
41781         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41782         entry for aio_cancel and aio_cancel64.
41783         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41784         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41785         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41786         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41787         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41788         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41789         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41790         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41791         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41792         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41793         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41794         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41795         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41797 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41799         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41800         * nptl/pthread_mutex_lock.c: Likewise.
41801         * nptl/pthread_mutex_timedlock.c: Likewise.
41802         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41804 2014-07-01  Richard henderson  <rth@redhat.com>
41806         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41807         (__isnan, __isnanl): Remove.
41808         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41810         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41812 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41814         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41816 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41818         * resolv/nss_dns/dns-host.c (getanswer_r)
41819         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41821 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41823         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41824         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41825         undefine.
41826         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41827         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41829 2014-07-01  Roland McGrath <roland@hack.frob.com>
41831         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41832         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41834         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41835         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41837         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41838         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41839         ... here.
41840         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41841         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41843         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41844         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41845         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41846         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41848         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
41849         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
41850         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
41851         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
41852         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
41853         Moved ...
41854         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
41855         ... here.
41856         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
41857         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
41858         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
41859         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
41860         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41861         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
41862         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
41863         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
41864         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
41865         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
41866         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
41867         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
41868         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
41869         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
41870         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
41871         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
41872         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
41873         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
41874         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
41875         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
41876         ... here.
41877         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
41878         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
41879         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
41880         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
41881         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
41882         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
41883         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
41884         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
41886 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
41888         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
41889         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
41890         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
41891         Add sysdep.
41893 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41897 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41899         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
41900         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41902         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41904         * sysdeps/arm/libm-test-ulps: Regenerated.
41906 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41907             Roland McGrath <roland@hack.frob.com>
41909         * test-skeleton.c (signal_handler): Kill the whole process group
41910         before killing the child individually.
41911         (main): Report any failure on `setpgid'.
41913 2014-06-30  Roland McGrath  <roland@hack.frob.com>
41915         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
41916         from _TLS_H to _ARM_NPTL_TLS_H.
41917         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
41918         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
41920 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41922         [BZ #16539]
41923         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
41924         (__expm1l): Return argument unchanged when small but not
41925         subnormal.
41927         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
41928         include macro name.
41929         (_FP_UNPACK_RAW_1_P): Likewise.
41930         (_FP_PACK_RAW_1): Likewise.
41931         (_FP_PACK_RAW_1_P): Likewise.
41932         (_FP_MUL_MEAT_1_wide): Likewise.
41933         (_FP_MUL_MEAT_DW_1_hard): Likewise.
41934         (_FP_MUL_MEAT_1_hard): Likewise.
41935         (_FP_DIV_MEAT_1_imm): Likewise.
41936         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
41937         (_FP_DIV_MEAT_1_udiv): Likewise.
41938         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
41939         (_FP_UNPACK_RAW_2): Likewise.
41940         (_FP_UNPACK_RAW_2_P): Likewise.
41941         (_FP_PACK_RAW_2): Likewise.
41942         (_FP_PACK_RAW_2_P): Likewise.
41943         (_FP_MUL_MEAT_DW_2_wide): Likewise.
41944         (_FP_MUL_MEAT_2_wide): Likewise.
41945         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
41946         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41947         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
41948         (_FP_MUL_MEAT_2_gmp): Likewise.
41949         (_FP_DIV_MEAT_2_udiv): Likewise.
41950         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
41951         (_FP_FRAC_SRL_4): Likewise.
41952         (_FP_FRAC_SRST_4): Likewise.
41953         (_FP_FRAC_SRS_4): Likewise.
41954         (_FP_UNPACK_RAW_4): Likewise.
41955         (_FP_UNPACK_RAW_4_P): Likewise.
41956         (_FP_PACK_RAW_4): Likewise.
41957         (_FP_PACK_RAW_4_P): Likewise.
41958         (_FP_MUL_MEAT_DW_4_wide): Likewise.
41959         (_FP_MUL_MEAT_4_wide): Likewise.
41960         (_FP_MUL_MEAT_4_gmp): Likewise.
41961         (umul_ppppmnnn): Likewise.
41962         (_FP_DIV_MEAT_4_udiv): Likewise.
41963         (__FP_FRAC_ADD_4): Likewise.
41964         (__FP_FRAC_SUB_3): Likewise.
41965         (__FP_FRAC_SUB_4): Likewise.
41966         (__FP_FRAC_DEC_3): Likewise.
41967         (__FP_FRAC_DEC_4): Likewise.
41968         (__FP_FRAC_ADDI_4): Likewise.
41969         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
41970         (_FP_FRAC_SRL_8): Likewise.
41971         (_FP_FRAC_SRS_8): Likewise.
41973         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
41974         include macro name.
41975         (FP_UNPACK_RAW_EP): Likewise.
41976         (FP_PACK_RAW_E): Likewise.
41977         (FP_PACK_RAW_EP): Likewise.
41978         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
41979         (_FP_ISSIGNAN): Likewise.
41980         (_FP_ADD_INTERNAL): Likewise.
41981         (_FP_FMA): Likewise.
41982         (_FP_CMP): Likewise.
41983         (_FP_SQRT): Likewise.
41984         (_FP_TO_INT): Likewise.
41985         (_FP_FROM_INT): Likewise.
41986         (FP_EXTEND): Likewise.
41987         (_FP_DIV_MEAT_N_loop): Likewise.
41989 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41991         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
41992         throughout.
41994 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
41996         [BZ #17097]
41997         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
41998         result with correct sign in case of exponents that produce
41999         overflow except for X very close to 1.
42001 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42003         mktime: merge #if/#ifdef usage from glibc
42004         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42005         as that works with both Glibc's and Gnulib's style.
42006         See thread starting at Siddhesh Poyarekar's bug report at:
42007         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42009 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42011         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42012         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42013         * sysdeps/tile/tilegx/memmove.c: Remove file.
42015 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42017         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42018         abi-name definition.
42019         * scripts/soversions.awk: Do not handle or generate ABI lines.
42020         * shlib-versions: Remove ABI entries.
42021         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42022         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42024 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42027         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42028         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42029         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42031         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42033         Moved ...
42034         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42035         ... here.
42036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42037         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42039         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42041         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42043         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42045         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42047         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42049         Moved ...
42050         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42052         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42054         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42056         Moved ...
42057         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42059         Moved ...
42060         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42062         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42064         Moved ...
42065         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42067         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42068         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42069         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42071         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42073         Moved ...
42074         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42076         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42077         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42078         Moved ...
42079         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42081         Moved ...
42082         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42084         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42086         Moved ...
42087         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42088         ... here.
42089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42090         Identical file removed.
42091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42092         Moved ...
42093         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42094         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42095         Identical file removed.
42096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42097         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42098         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42099         Moved ...
42100         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42101         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42102         Identical file removed.
42103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42104         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42106         Identical file removed.
42107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42108         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42110         Identical file removed.
42111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42112         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42114         Identical file removed.
42115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42116         Moved ...
42117         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42118         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42119         Identical file removed.
42120         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42121         Moved ...
42122         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42124         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42125         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42126         Identical file removed.
42127         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42128         Moved ...
42129         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42130         ... here.
42131         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42132         Identical file removed.
42133         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42134         Moved ...
42135         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42136         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42137         Identical file removed.
42138         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42139         Moved ...
42140         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42141         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42142         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42143         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42144         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42146         Moved ...
42147         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42148         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42149         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42151         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42152         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42153         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42154         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42155         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42157 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42159         [BZ #17092]
42160         * nscd/nscd.c (monitor_child): Return exit status of child
42161         instead of return value from wait syscall.
42163 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42165         * configure.ac (libc_commonpagesize): Remove variable.
42166         (libc_relro_required): Likewise.
42167         (libc_cv_z_relro): Remove configure test.
42168         * configure: Regenerated.
42169         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42170         variable.
42171         (libc_relro_required): Likewise.
42172         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42173         (libc_relro_required): Likewise.
42174         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42175         (libc_relro_required): Likewise.
42176         * sysdeps/arm/preconfigure: Regenerated.
42177         * sysdeps/ia64/preconfigure: Remove file.
42178         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42179         variable.
42180         (libc_relro_required): Likewise.
42182         [BZ #16561]
42183         [BZ #16562]
42184         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42185         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42186         recompute overflowing results in original rounding mode.
42187         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42188         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42189         recompute overflowing results in original rounding mode.
42190         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42191         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42192         recompute overflowing results in original rounding mode.
42193         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42194         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42195         recompute overflowing results in original rounding mode.
42196         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42197         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42198         recompute overflowing results in original rounding mode.
42199         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42200         (libc_feholdsetround_ctx): New macro.
42201         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42202         * sysdeps/i386/fpu/libm-test-ulps: Update.
42203         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42205 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42207         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42208         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42209         corresponding .cpsetup call.
42211 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42213         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42214         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42215         * sysdeps/arm/Makefile [$(subdir) = csu]
42216         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42217         (static-only-routines): Add aeabi_read_tp here.
42218         (shared-only-routines): Add libc-aeabi_read_tp here.
42219         (CFLAGS-libc-start.c): Add -fexceptions here.
42220         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42221         (sysdep_routines, static-only-routines, shared-only-routines):
42222         Don't add to these here.
42223         (CFLAGS-libc-start.c): Likewise.
42225         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42226         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42227         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42228         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42229         * sysdeps/arm/Makefile [$(subdir) = rt]
42230         (librt-sysdep_routines, librt-shared-only-routines):
42231         Append rt-aeabi_unwind_cpp_pr1 here.
42232         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42233         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42234         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42235         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42236         Append nptl-aeabi_unwind_cpp_pr1 here.
42237         (tests): Filter out tst-cleanupx4 here.
42238         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42239         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42240         Don't do those here.
42242 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42244         * scripts/list-sources.sh: Do not handle ports specially.
42246 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42248         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42249         * sysdeps/arm/feupdateenv.c: Likewise.
42251         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42253 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42255         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42256         trailing whitespace removed.
42257         * scripts/config.guess: Update to version 2014-03-23.
42258         * scripts/config.sub: Update to version 2014-05-01
42259         * scripts/install-sh: Update to version 2013-12-25.23.
42260         * scripts/move-if-change: Update from gnulib.
42262 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42264         * debug/memmove_chk.c: Remove pagecopy.h include.
42266 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42268         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42269         identical to gnulib mktime.
42271 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42273         * configure.ac: Do not test for machine being rs6000.  Do not test
42274         for powerpc*-*soft.
42275         * configure: Regenerated.
42277         [BZ #11505]
42278         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42279         test.
42280         * configure: Regenerated.
42281         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42282         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42283         Remove configure test.
42284         * sysdeps/arm/configure: Regenerated.
42285         * sysdeps/nptl/configure.ac: Do not check
42286         libc_cv_asm_cfi_directives.
42287         * sysdeps/nptl/configure: Regenerated.
42288         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42289         * sysdeps/x86_64/nptl/configure: Remove generated file.
42290         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42291         unconditional.
42292         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42294 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42296         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42297         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42298         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42299         it is defined.
42301         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42302         instead of whether it is defined.
42303         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42304         * sysdeps/hppa/dl-machine.h: Likewise.
42305         * sysdeps/ia64/dl-machine.h: Likewise.
42306         * sysdeps/m68k/dl-machine.h: Likewise.
42307         * sysdeps/microblaze/dl-machine.h: Likewise.
42308         * sysdeps/mips/dl-machine.: Likewise.
42309         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42310         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42311         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42312         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42313         * sysdeps/sh/dl-machine.h: Likewise.
42314         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42315         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42316         * sysdeps/tile/dl-machine.h: Likewise.
42317         * sysdeps/x86_64/dl-machine.h: Likewise.
42319         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42320         code.
42321         (verify_persistent_db): Likewise.
42323 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42326         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42328         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42330         Moved ...
42331         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42332         ... here.
42333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42334         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42336         Identical file removed.
42337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42338         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42340         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42342         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42344         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42346         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42348         Moved ...
42349         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42351         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42353         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42355         Moved ...
42356         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42358         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42360         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42362         Identical file removed.
42363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42364         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42366         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42368         Moved ...
42369         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42370         ... here.
42371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42372         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42374         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42376         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42378         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42380         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42382         Moved ...
42383         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42385         Moved ...
42386         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42388         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42390         Moved ...
42391         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42393         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42395         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42396         folded into ...
42397         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42398         * sysdeps/unix/sysv/linux/s390/Versions
42399         (libpthread: GLIBC_2.19): New version set.
42400         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42401         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42402         (librt: GLIBC_2.3.3): New version set.
42403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42404         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42405         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42406         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42407         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42408         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42409         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42410         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42411         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42412         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42413         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42414         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42415         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42416         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42417         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42418         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42419         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42420         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42421         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42422         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42423         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42424         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42425         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42426         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42427         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42428         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42429         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42430         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42431         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42432         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42433         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42434         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42435         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42437         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42438         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42439         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42440         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42441         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42442         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42443         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42445         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42447         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42449         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42450         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42451         (__libc_vfork): Define the function under this name.
42452         [!NOT_IN_libc] (__vfork): Make this an alias.
42453         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42454         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42455         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42456         (__libc_vfork): Define the function under this name.
42457         [!NOT_IN_libc] (__vfork): Make this an alias.
42458         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42459         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42460         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42462         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42463         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42465         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42466         code that was previously under [RESET_PID].
42467         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42468         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42471         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42472         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42473         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42474         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42475         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42476         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42477         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42478         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42479         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42480         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42481         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42482         Moved ...
42483         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42484         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42485         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42486         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42487         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42488         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42489         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42490         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42491         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42492         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42493         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42494         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42495         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42496         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42497         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42498         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42499         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42500         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42501         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42502         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42503         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42504         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42505         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42506         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42507         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42508         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42509         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42510         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42511         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42513 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42515         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42516         that was previously under [RESET_PID].
42517         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42519 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42521         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42522         not undefine and redefine.
42523         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42524         [O_CLOEXEC]: Make code unconditional.
42525         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42526         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42527         <kernel-features.h>.
42528         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42529         conditional variable definition.
42530         (shm_open) [O_CLOEXEC]: Make code unconditional.
42531         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42532         code.
42534         * configure.ac (USE_REGPARMS): Don't define here.
42535         * configure: Regenerated.
42536         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42537         * sysdeps/i386/configure: Regenerated.
42539         * nptl/createthread.c: Don't include kernel-features.h.
42540         * nptl/pthread_cancel.c: Likewise.
42541         * nptl/pthread_condattr_setclock.c: Likewise.
42542         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42543         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42544         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42545         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42546         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42547         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42548         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42549         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42550         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42551         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42552         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42553         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42554         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42555         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42556         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42557         * nscd/gai.c: Likewise.
42558         * nss/nss_db/db-open.c: Likewise.
42559         * sysdeps/generic/ldsodefs.h: Likewise.
42560         * sysdeps/sh/nptl/tls.h: Likewise.
42561         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42562         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42563         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42564         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42565         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42566         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42567         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42568         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42569         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42570         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42571         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42572         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42573         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42574         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42575         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42576         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42577         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42578         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42579         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42580         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42581         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42582         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42583         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42584         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42586         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42587         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42589         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42590         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42591         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42592         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42593         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42594         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42595         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42596         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42597         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42598         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42599         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42600         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42601         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42602         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42603         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42604         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42605         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42606         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42607         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42608         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42609         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42610         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42611         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42612         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42613         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42614         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42615         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42616         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42617         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42618         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42641         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42642         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42643         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42644         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42645         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42646         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42647         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42648         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42649         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42650         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42651         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42652         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42653         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42654         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42655         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42656         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42657         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42658         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42659         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42660         * sysdeps/unix/sysv/linux/system.c: Likewise.
42661         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42662         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42663         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42664         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42665         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42666         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42667         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42669         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42670         * configure: Regenerated.
42671         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42673         * configure.ac (base_machine): Do not set specially for particular
42674         machines here.
42675         * configure: Regenerated.
42676         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42677         settings from configure.ac.
42678         * sysdeps/i386/preconfigure: New file.
42679         * sysdeps/s390/preconfigure: Likewise.
42680         * sysdeps/sh/preconfigure: Likewise.
42681         * sysdeps/sparc/preconfigure: Likewise.
42683 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42685         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42686         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42687         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42688         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42689         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42690         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42691         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42692         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42693         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42694         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42695         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42696         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42697         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42698         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42699         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42700         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42701         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42702         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42703         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42705         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42706         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42707         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42708         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42709         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42710         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42711         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42712         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42713         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42714         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42715         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42716         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42717         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42718         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42719         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42720         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42721         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42722         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42723         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42724         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42725         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42726         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42727         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42728         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42729         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42730         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42731         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42732         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42733         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42734         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42735         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42736         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42737         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42738         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42739         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42740         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42741         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42742         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42745         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42747         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42749         Moved ...
42750         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42751         ... here.
42752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42753         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42755         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42757         Moved ...
42758         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42760         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42762         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42764         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42766         Moved ...
42767         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42769         Moved ...
42770         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42772         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42774         Moved ...
42775         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42777         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42779         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42781         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42783         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42785         Moved ...
42786         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42787         ... here.
42788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42789         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42791         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42793         Moved ...
42794         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42796         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42798         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42800         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42802         Moved ...
42803         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42805         Moved ...
42806         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42808         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42810         Moved ...
42811         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42813         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42815         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42817 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42819         * timezone/checktab.awk: Update from tzcode 2014e.
42820         * timezone/private.h: Likewise.
42821         * timezone/tzfile.h: Likewise.
42822         * timezone/zdump.c: Likewise.
42823         * timezone/zic.c: Likewise.
42825         * sysdeps/unix/sysv/linux/kernel-features.h
42826         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42827         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42828         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42829         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42830         Remove conditional code.
42832 2014-06-25  Will Newton  <will.newton@linaro.org>
42834         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42835         (_dl_arm_cap_flags): Add HWCAP2 values.
42836         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42837         (_DL_HWCAP_COUNT): Increase to 37.
42838         (_DL_HWCAP_LAST): New define.
42839         (_DL_HWCAP2_LAST): New define.
42840         (_dl_procinfo): Add support for printing
42841         AT_HWCAP2 entries.
42842         (_dl_string_hwcap): Use _dl_hwcap_string.
42844 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42848 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42850         * README: Do not mention ports directory.
42852         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
42853         Remove macro.
42854         * sysdeps/unix/sysv/linux/futimes.c: Do not include
42855         <kernel-features.h>.
42856         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
42857         conditional variable definition.
42858         (__futimes): Update comment.
42859         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
42860         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
42862         [BZ #16560]
42863         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
42864         arguments close to 0.
42865         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
42866         Likewise.
42867         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
42868         Likewise.
42869         * math/auto-libm-test-in: Add more tests of exp10.
42870         * math/auto-libm-test-out: Regenerated.
42871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42873         * sysdeps/unix/sysv/linux/kernel-features.h
42874         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
42875         * sysdeps/unix/sysv/linux/readv.c: Do not include
42876         <kernel-features.h>.
42877         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42878         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42879         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42880         unconditional.
42881         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42882         conditional code.
42883         * sysdeps/unix/sysv/linux/writev.c: Do not include
42884         <kernel-features.h>.
42885         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42886         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42887         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42888         unconditional.
42889         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42890         conditional code.
42892 2014-06-25  Will Newton  <will.newton@linaro.org>
42894         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
42895         comment changes throughout the file.  Remove checks
42896         for HAVE_*_H definitions that are not required.
42897         (__gen_tempname): Call abort if an unknown kind value is
42898         passed.
42900 2014-06-25  Andreas Schwab  <schwab@suse.de>
42902         [BZ #17086]
42903         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
42904         scalbln, scalblnf, scalblnl in libc.
42906 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42908         [BZ #17086]
42909         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
42910         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42911         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42913 2014-06-24  Roland McGrath  <roland@hack.frob.com>
42915         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
42916         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
42917         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
42918         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
42919         Update #include.
42920         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
42921         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
42922         Update #include.
42923         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
42924         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
42925         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
42926         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
42927         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
42928         * sysdeps/x86/bits/pthreadtypes.h: ... here.
42929         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
42930         * sysdeps/x86/bits/semaphore.h: ... here.
42931         * sysdeps/x86/nptl/elide.h: Moved ...
42932         * sysdeps/x86/elide.h: ... here.
42933         * sysdeps/x86_64/nptl/Implies: File removed.
42934         * sysdeps/i386/nptl/Implies: File removed.
42936 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
42938         [BZ #16539]
42939         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
42940         return the argument for normal arguments with exponent below -64.
42941         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42942         Likewise.
42943         * math/auto-libm-test-in: Add another test of expm1.
42944         * math/auto-libm-test-out: Regenerated.
42946         [BZ #16287]
42947         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
42948         calling __erfcl for arguments at least 16.
42949         * math/auto-libm-test-in: Add more tests of erf.
42950         * math/auto-libm-test-out: Regenerated.
42952         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
42953         individual architectures.
42954         * sysdeps/unix/sysv/linux/configure: Regenerated.
42955         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
42956         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
42957         * sysdeps/unix/sysv/linux/powerpc/configure.ac
42958         (ldd_rewrite_script): Define variable.
42959         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
42961         file.
42962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
42963         generated file.
42964         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
42965         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
42966         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
42967         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
42968         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
42969         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
42970         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
42971         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
42973 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42975         [BZ #17084]
42976         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
42977         Rename member __data.d to __data.__elision_data.
42979 2014-06-24  Wilco  <wdijkstr@arm.com>
42981         * NEWS: Add 16918 to fixed bug list.
42983 2014-06-24  Wilco  <wdijkstr@arm.com>
42985         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
42987 2014-06-24  Wilco  <wdijkstr@arm.com>
42989         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
42990         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
42991         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
42992         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
42993         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
42994         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
42995         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
42996         Use _FPU_MASK_RM.
42998 2014-06-24  Wilco  <wdijkstr@arm.com>
43000         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43002 2014-06-24  Wilco  <wdijkstr@arm.com>
43004         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43005         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43006         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43007         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43009 2014-06-24  Wilco  <wdijkstr@arm.com>
43011         [BZ #16918]
43012         * sysdeps/arm/feupdateenv.c (feupdateenv):
43013         Rewrite to reduce FPSCR accesses and fix return value.
43015 2014-06-24  Wilco  <wdijkstr@arm.com>
43017         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43018         Optimize to avoid unnecessary FPSCR writes.
43019         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43020         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43021         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43022         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43024 2014-06-24  Wilco  <wdijkstr@arm.com>
43026         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43027         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43028         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43029         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43030         Call libc_fetestexcept_vfp.
43031         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43032         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43033         __SOFTFP__ ifdef so that they can be built for softfp.
43035 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43037         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43038         argument type signed char.
43040         * Makerules (check-abi): Dump diff of symlist if the test
43041         fails.
43043 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43045         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43046         using abort.
43048         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43049         Remove unused variable ST.
43051 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43053         [BZ #16354]
43054         [BZ #17061]
43055         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43056         small arguments before calling __expm1.
43057         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43058         small arguments before calling __expm1f.
43059         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43060         small arguments before calling __expm1l.
43061         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43062         Likewise.
43063         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43064         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43065         spurious underflow for some cosh tests.
43066         * math/auto-libm-test-out: Regenerated.
43067         * sysdeps/i386/fpu/libm-test-ulps: Update.
43069         [BZ #17050]
43070         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43071         (__ieee754_y1): Set errno if return value overflows.
43072         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43073         (__ieee754_y1f): Set errno if return value overflows.
43074         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43075         (__ieee754_y1l): Set errno if return value overflows.
43076         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43077         (__ieee754_y1l): Set errno if return value overflows.
43078         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43079         * math/auto-libm-test-out: Regenerated.
43081         * math/gen-auto-libm-tests.c: Document use of
43082         ignore-zero-inf-sign.
43083         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43084         (input_flags): Add ignore-zero-inf-sign.
43085         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43086         * math/gen-libm-test.pl (generate_testfile): Handle
43087         ignore-zero-inf-sign.
43088         * math/auto-libm-test-in: Mark some cpow tests with
43089         ignore-zero-inf-sign and some with xfail-rounding.
43090         * math/auto-libm-test-out: Regenerated.
43091         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43092         * sysdeps/i386/fpu/libm-test-ulps: Update.
43093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43095         [BZ #16315]
43096         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43097         overflowing or underflowing operations take place with sign of
43098         result.
43099         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43100         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43101         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43102         (__ieee754_pow): Recompute overflowing and underflowing results in
43103         original rounding mode.
43104         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43105         (__powl_helper): Allow negative argument X and scale negated value
43106         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43107         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43108         overflowing or underflowing operations take place with sign of
43109         result.
43110         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43111         Include <math.h>.
43112         * math/auto-libm-test-in: Add more tests of pow.
43113         * math/auto-libm-test-out: Regenerated.
43114         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43115         (pow_tonearest_test_data): Remove.
43116         (pow_test_tonearest): Likewise.
43117         (pow_towardzero_test_data): Likewise.
43118         (pow_test_towardzero): Likewise.
43119         (pow_downward_test_data): Likewise.
43120         (pow_test_downward): Likewise.
43121         (pow_upward_test_data): Likewise.
43122         (pow_test_upward): Likewise.
43123         (main): Don't call removed functions.
43124         * sysdeps/i386/fpu/libm-test-ulps: Update.
43125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43127 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43130         Moved ...
43131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43133         Moved ...
43134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43136         Moved ...
43137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43139         Moved ...
43140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43142         File removed.
43143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43144         File removed.
43145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43146         File removed.
43147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43148         File removed.
43149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43150         File removed.
43151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43152         File removed.
43153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43154         File removed.
43155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43156         File removed.
43157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43158         File removed.
43159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43160         File removed.
43161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43162         File removed.
43163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43164         File removed.
43165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43166         Moved ...
43167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43169         Moved ...
43170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43171         ... here.
43172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43173         Moved ...
43174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43176         Moved ...
43177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43179         Moved ...
43180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43182         Moved ...
43183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43185         Moved ...
43186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43188         Moved ...
43189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43191         Moved ...
43192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43195         ... here.
43196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43197         Moved ...
43198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43200         Moved ...
43201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43202         ... here.
43203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43204         Moved ...
43205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43206         ... here.
43207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43208         Moved ...
43209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43210         ... here.
43211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43212         Moved ...
43213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43215         Moved ...
43216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43220         Moved ...
43221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43222         ... here.
43223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43224         Moved ...
43225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43226         ... here.
43227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43228         Moved ...
43229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43231         Moved ...
43232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43234         Moved ...
43235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43237         Moved ...
43238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43240         Moved ...
43241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43242         ... here.
43243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43244         Moved ...
43245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43247         Moved ...
43248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43250         Moved ...
43251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43253         Moved ...
43254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43258         Moved ...
43259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43261         Moved ...
43262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43264         Moved ...
43265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43266         ... here.
43267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43268         Moved ...
43269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43270         ... here.
43271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43272         Moved ...
43273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43274         ... here.
43275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43276         Moved ...
43277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43279         Moved ...
43280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43282         Moved ...
43283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43285         Moved ...
43286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43287         ... here.
43288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43289         Moved ...
43290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43291         ... here.
43292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43293         Moved ...
43294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43295         ... here.
43296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43297         Moved ...
43298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43300         Moved ...
43301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43303 2014-06-23  Will Newton  <will.newton@linaro.org>
43304             Wilco  <wdijkstr@arm.com>
43306         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43307         implementation.  Include get-rounding-mode.h.
43308         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43309         [!libc_feholdsetround_noex_ctx]: Define
43310         libc_feholdsetround_noex_ctx.
43311         [!libc_feholdsetround_noexf_ctx]: Define
43312         libc_feholdsetround_noexf_ctx.
43313         [!libc_feholdsetround_noexl_ctx]: Define
43314         libc_feholdsetround_noexl_ctx.
43315         (libc_feholdsetround_ctx): New function.
43316         (libc_feresetround_ctx): New function.
43317         (libc_feholdsetround_noex_ctx): New function.
43318         (libc_feresetround_noex_ctx): New function.
43320 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43322         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43323         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43324         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43325         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43326         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43327         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43329         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43330         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43331         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43332         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43333         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43334         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43336         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43338         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43340         Moved ...
43341         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43342         ... here.
43343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43344         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43345         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43346         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43348         Moved ...
43349         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43350         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43351         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43352         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43353         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43355         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43356         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43357         Moved ...
43358         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43359         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43360         Moved ...
43361         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43363         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43364         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43365         Moved ...
43366         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43367         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43368         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43369         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43370         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43371         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43372         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43374         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43375         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43376         Moved ...
43377         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43378         ... here.
43379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43380         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43382         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43383         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43384         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43385         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43386         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43387         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43388         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43389         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43390         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43392         Moved ...
43393         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43394         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43395         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43396         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43397         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43399         Moved ...
43400         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43401         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43402         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43403         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43404         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43406         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43407         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43408         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43409         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43410         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43411         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43412         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43413         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43414         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43415         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43416         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43417         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43418         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43419         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43420         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43421         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43422         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43423         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43424         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43425         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43426         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43427         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43428         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43429         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43430         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43431         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43432         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43433         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43435 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43437         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43438         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43439         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43440         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43441         (IPV6_PMTUDISC_INTERFACE): Likewise.
43442         (IPV6_PMTUDISC_OMIT): Likewise.
43444 2014-06-23  Andreas Schwab  <schwab@suse.de>
43446         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43447         Remove unused errout label.
43449 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43451         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43452         macro: hardware supports Vector Crypto instructions.
43454 2014-06-23  Will Newton  <will.newton@linaro.org>
43456         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43457         rather than __builtin_expect.
43459         * elf/dl-lookup.c (undefined_msg): Remove variable.
43460         (_dl_lookup_symbol_x): Replace undefined_msg with string
43461         literal.
43463         * elf/dl-lookup.c (do_lookup_unique): New function.
43464         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43465         to a separate function.
43467 2014-06-23  Andreas Schwab  <schwab@suse.de>
43469         [BZ #17079]
43470         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43471         before reading the next line.
43473 2014-06-23  Will Newton  <will.newton@linaro.org>
43475         * test-skeleton.c (signal_handler): Use printf and %m
43476         rather than perror.  Use printf rather than fprintf to
43477         stderr.  Use puts rather than fputs to stderr.
43478         (main): Likewise.
43480 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43482         * nscd/nscd.c (thread_info_t): Remove typedef.
43483         (thread_info): Remove variable.
43485 2014-06-21  Allan McRae  <allan@archlinux.org>
43487         * NEWS: Mention CVE-2014-4043.
43489 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43491         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43492         * nptl/smp.h: ... here.
43494         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43496         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43497         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43498         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43499         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43501         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43502         * nptl/stack-aliasing.h: New file.
43503         * sysdeps/i386/i686/stack-aliasing.h: New file.
43504         * sysdeps/i386/i686/nptl/Makefile: File removed.
43505         * sysdeps/x86_64/stack-aliasing.h: New file.
43506         * sysdeps/x86_64/nptl/Makefile
43507         (CFLAGS-pthread_create.c): Variable removed.
43509         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43510         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43511         old file.
43512         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43513         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43514         old file.
43516 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43518         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43519         (__ASSUME_SIGFRAME_V2): Remove macro.
43520         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43521         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43522         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43523         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43524         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43525         Declare as function.  Remove conditional macro definitions.
43526         (__default_rt_sa_restorer): Likewise.
43527         (__default_sa_restorer_v1): Remove declaration.
43528         (__default_sa_restorer_v2): Likewise.
43529         (__default_rt_sa_restorer_v1): Likewise.
43530         (__default_rt_sa_restorer_v2): Likewise.
43531         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43532         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43533         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43535 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43537         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43538         (libpthread-routines): Add sysdep.
43539         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43540         * sysdeps/unix/sysv/linux/sparc/Versions
43541         (libpthread: GLIBC_2.3.3): New version set.
43542         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43543         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43544         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43545         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43546         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43547         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43548         Moved ...
43549         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43550         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43551         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43552         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43553         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43554         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43555         * sysdeps/sparc/nptl/sem_init.c: ... here.
43556         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43557         * sysdeps/sparc/nptl/sem_post.c: ... here.
43558         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43559         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43560         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43561         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43562         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43563         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43564         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43565         (libpthread-routines): Add cpu_relax.
43566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43567         File removed.
43568         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43569         (librt: GLIBC_2.3.3): New version set.
43570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43571         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43572         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43573         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43576         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43578         Moved ...
43579         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43581         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43583         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43585         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43587         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43589         Moved ...
43590         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43591         Update #include.
43592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43593         Moved ...
43594         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43595         Update #include.
43596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43597         Moved ...
43598         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43599         Update #include.
43600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43601         Moved ...
43602         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43603         Update #include.
43604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43605         Moved ...
43606         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43607         Update #include.
43608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43609         Moved ...
43610         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43611         Update #include.
43612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43613         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43615         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43617         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43619         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43621         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43623         Moved ...
43624         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43626         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43628         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43630 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43632         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43633         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43634         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43635         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43636         * nscd/nscd.c: Likewise.
43637         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43638         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43639         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43640         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43642         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43643         <kernel-features.h>.
43644         (init_mq_netlink): Remove conditional have_sock_cloexec
43645         definitions.  Remove code conditional on have_sock_cloexec < 0.
43646         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43647         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43648         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43649         <kernel-features.h>.
43650         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43651         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43653 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43655         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43656         Add tests for memset_chk and memset.
43658         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43659         with AVX2_Usable.
43661 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43663         [BZ #16046]
43664         * elf/tst-dl-iter-static.c: New file.
43665         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43667         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43668         error.
43670 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43672         * sysdeps/unix/sysv/linux/kernel-features.h
43673         (__ASSUME_F_GETOWN_EX): Remove macro.
43674         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43675         <kernel-features.h>.
43676         (miss_F_GETOWN_EX): Remove variable or macro.
43677         (do_fcntl): Do not check miss_F_GETOWN_EX.
43678         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43680         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43681         Remove macro.
43682         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43683         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43684         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43686         * sysdeps/unix/sysv/linux/kernel-features.h
43687         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43688         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43689         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43690         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43692 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43694         [BZ #17075]
43695         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43696         Fix calculation of the symbol's value.
43697         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43698         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43699         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43700         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43701         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43702         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43703         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43704         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43705         (modules-names): Add `tst-armtlsdescmod',
43706         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43707         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43708         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43709         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43710         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43711         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43712         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43713         ($(objpfx)tst-armtlsdescloc): New dependency.
43714         ($(objpfx)tst-armtlsdescextnow): Likewise.
43715         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43716         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43717         TLS scheme support.
43718         * sysdeps/arm/configure: Regenerate.
43720 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43722         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43723         (__atfct_seterrno_2): Likewise.
43724         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43725         <kernel-features.h>.
43726         (__ASSUME_ATFCTS): Do not undefine and redefine.
43727         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43728         (__have_atfcts): Remove conditional definition.
43729         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43730         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43731         unreachable if [__ASSUME_ATFCTS].
43732         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43733         not undefine and redefine.
43734         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43735         <kernel-features.h>.
43736         (faccessat) [__NR_faccessat]: Make code unconditional.
43737         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43738         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43739         <kernel-features.h>.
43740         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43741         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43742         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43743         <kernel-features.h>.
43744         (fchownat) [__NR_fchownat]: Make code unconditional.
43745         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43746         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43747         <kernel-features.h>.
43748         (futimesat) [__NR_futimesat]: Make code unconditional.
43749         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43750         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43751         <kernel-features.h>.
43752         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43753         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43754         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43755         <kernel-features.h>.
43756         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43757         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43758         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43759         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43760         <kernel-features.h>.
43761         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43762         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43763         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43764         <kernel-features.h>.
43765         (linkat) [__NR_linkat]: Make code unconditional.
43766         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43767         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43768         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43769         <kernel-features.h>.
43770         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43771         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43772         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43773         <kernel-features.h>.
43774         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43775         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43776         * sysdeps/unix/sysv/linux/openat.c: Do not include
43777         <kernel-features.h>.
43778         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43779         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43780         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43781         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43782         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43783         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43784         <kernel-features.h>.
43785         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43786         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43787         result of INLINE_SYSCALL directly, not via int variable.
43788         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43789         <kernel-features.h>.
43790         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43791         (renameat) [__NR_renameat]: Make code unconditional.
43792         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43793         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43794         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43795         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43796         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43797         (__ASSUME_ATFCTS): Do not undefine and redefine.
43798         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43799         <kernel-features.h>.
43800         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43801         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43802         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43803         <kernel-features.h>.
43804         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43805         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43806         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43807         (__ASSUME_ATFCTS): Do not undefine and redefine.
43808         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43809         <kernel-features.h>.
43810         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43811         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43812         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43813         <kernel-features.h>.
43814         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43815         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43817 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43819         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43821 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43823         [BZ #17069]
43824         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43825         constructed tree before returning error.
43826         * posix/bug-regexp36.c: Expand test case.
43828 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43830         [BZ #6803]
43831         * math/libm-test.inc (scalbln_test_date):
43832         Add errno expectations.
43833         * math/w_scalblnf.c: New File.
43834         Add wrapper which checks for setting errno to ERANGE.
43835         Add weak_alias for corresponding scalbln function.
43836         * math/w_scalbln.c: Likewise.
43837         * math/w_scalblnl.c: Likewise.
43838         * math/Makefile (libm-calls): Add w_scalbln.
43839         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43840         Remove weak_alias for corresponding scalbln function.
43841         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43842         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43843         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43844         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43845         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43846         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43847         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
43848         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43849         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
43850         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
43851         Remove long_double_symbol for scalblnl function in libm, libc.
43852         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
43853         Add wrapper which checks for setting errno to ERANGE.
43854         Add long_double_symbol for scalblnl function in libm, libc.
43855         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
43856         Remove long_double_symbol for scalblnl in libm.
43857         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
43858         Add wrapper which checks for setting errno to ERANGE.
43859         Add long_double_symbol for scalblnl function in libm.
43860         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
43861         Do not use wrapper because of own implementation.
43863 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
43865         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
43866         3 bytes for __pad1 for x32.
43867         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
43869 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
43870             H.J. Lu  <hongjiu.lu@intel.com>
43872         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
43873         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
43874         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43875         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43876         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
43878 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
43880         [BZ #17069]
43881         * posix/regcomp.c (parse_expression): Deallocate partially
43882         constructed tree before returning error.
43883         * posix/Makefile.c (tests): Add bug-regex36.
43884         (generated): Add bug-regex36.mtrace.
43885         (tests-special): Add $(objpfx)bug-regex36-mem.out
43886         (bug-regex36-ENV): New variable.
43887         ($(objpfx)bug-regex36-mem.out): New rule.
43888         * posix/bug-regex36.c: New file.
43890 2014-06-19  Will Newton  <will.newton@linaro.org>
43892         * malloc/malloc.c (systrim): If extra is zero then return
43893         early.
43895 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43897         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
43899 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
43901         * sysdeps/aarch64/strchr.S: New file.
43903 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43905         [BZ #17022]
43906         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
43907         from arguments -2 or below.
43908         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43909         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
43911 2014-06-18  Andreas Schwab  <schwab@suse.de>
43913         [BZ #17062]
43914         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
43915         of a bracket expr not to run off the end of the string.
43916         * posix/Makefile (tests): Add tst-fnmatch3.
43917         * posix/tst-fnmatch3.c: New file.
43919 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43921         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
43922         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43923         [$(cross-compiling) = no]: Likewise.
43924         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43925         [$(cross-compiling) = no]: Likewise.
43927 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43929         [BZ #17031]
43930         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
43931         double, adjusted for any remainder from the high double.
43932         * math/libm-test.inc (nearbyint): Add tests.
43933         (rint): Likewise.
43935 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43937         * nptl/sysdeps/powerpc/Makefile: Moved ...
43938         * sysdeps/powerpc/nptl/Makefile: ... here.
43939         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
43940         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
43941         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
43942         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
43943         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
43944         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
43945         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
43946         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
43947         * nptl/sysdeps/powerpc/tls.h: Moved ...
43948         * sysdeps/powerpc/nptl/tls.h: ... here.
43950 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
43952         [BZ #16681]
43953         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
43954         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
43955         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
43956         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
43957         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
43958         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
43959         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
43960         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
43961         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
43963 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
43965         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43967 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
43969         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
43970         defined operator.
43972         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
43973         $TIMEOUTFACTOR.
43975 2014-06-16  Florian Weimer  <fweimer@redhat.com>
43977         [BZ #17058]
43978         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
43979         non-executed part of the test.
43981 2014-06-16  Andreas Schwab  <schwab@suse.de>
43983         * string/bits/string2.h (strdup, strndup): Update feature guard.
43985 2014-06-14  David S. Miller  <davem@davemloft.net>
43987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43989 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
43991         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
43992         that was previously under [RESET_PID].
43993         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
43995         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
43996         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
43997         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
43998         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43999         (__libc_vfork): New strong alias.
44000         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44002 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44004         * sysdeps/generic/elide.h: New file.
44006 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44008         * Makefile (installed-headers): Adjust path of pthread.h header.
44010 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44012         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44013         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44014         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44015         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44017         * nptl/sysdeps/s390/Makefile: Moved ...
44018         * sysdeps/s390/nptl/Makefile: ... here.
44019         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44020         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44021         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44022         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44023         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44024         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44025         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44026         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44027         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44028         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44029         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44030         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44031         * nptl/sysdeps/s390/tls.h: Moved ...
44032         * sysdeps/s390/nptl/tls.h: ... here.
44034         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44035         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44037 2014-06-13  David S. Miller  <davem@davemloft.net>
44039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44042         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44046         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44047         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44048         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44049         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44050         Remove RESET_PID cpp guards.
44051         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44052         Remove RESET_PID cpp guards.
44053         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44055 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44057         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44058         __sp to uintptr_t.
44060 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44062         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44063         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44064         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44065         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44066         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44067         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44068         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44069         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44071         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44072         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44073         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44074         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44075         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44076         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44077         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44079         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44080         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44081         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44083         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44084         (pthread_rwlock_rdlock): Add elision.
44085         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44086         (pthread_rwlock_wrlock): Add elision.
44087         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44088         (pthread_rwlock_trywrlock): Add elision.
44089         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44090         (pthread_rwlock_tryrdlock): Add elision.
44091         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44092         (pthread_rwlock_tryrdlock): Add elision unlock.
44093         * nptl/sysdeps/pthread/pthread.h:
44094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44095         (PTHREAD_RWLOCK_INITIALIZER,
44096         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44097         Handle new elision field.
44098         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44099         * sysdeps/arm/nptl/bits/pthreadtypes.h
44100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44101         * sysdeps/sh/nptl/bits/pthreadtypes.h
44102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44103         * sysdeps/tile/nptl/bits/pthreadtypes.h
44104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44105         * sysdeps/a/nptl/bits/pthreadtypes.h
44106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44107         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44109         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44111         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44113         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44114         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44115         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44116         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44117         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44118         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44119         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44120         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44121         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44123         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44124         (elision_init): Set try_xbegin to zero when no RTM.
44125         * sysdeps/x86/nptl/bits/pthreadtypes.h
44126         (pthread_rwlock_t): Change __pad1 to __rwelision.
44127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44129 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44131         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44132         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44133         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44134         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44136 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44138         [BZ #16996]
44139         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44140         that the cached result has been set before returning it.
44142 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44144         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44145         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44146         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44147         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44148         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44149         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44151         * nptl/sysdeps/sparc/Makefile: Moved ...
44152         * sysdeps/sparc/nptl/Makefile: ... here.
44153         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44154         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44155         * nptl/sysdeps/sparc/tls.h: Moved ...
44156         * sysdeps/sparc/nptl/tls.h: ... here.
44157         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44158         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44159         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44160         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44161         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44162         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44163         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44164         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44165         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44166         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44167         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44168         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44169         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44170         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44171         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44172         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44173         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44174         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44175         Update #include.
44176         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44177         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44178         Update #include.
44179         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44180         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44181         Update #include.
44182         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44183         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44184         Update #include.
44186         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44188         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44189         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44191         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44192         (struct list_links): Type removed.
44193         (struct thread_node, struct timer_node): Replace struct list_links
44194         with struct list_head.
44195         (list_unlink_ip): Likewise.
44196         * sysdeps/pthread/timer_routines.c
44197         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44198         (list_append, list_insbefore): Likewise.
44199         (list_init): Function removed.
44200         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44201         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44202         * sysdeps/pthread/Makefile: ... here, new file.
44204         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44205         * sysdeps/nptl/Implies: ... here.
44206         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44207         * nptl/sysdeps/pthread/list.h: Moved ...
44208         * include/list.h: ... here.
44209         * nptl/sysdeps/pthread/createthread.c: Moved ...
44210         * nptl/createthread.c: ... here.
44211         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44212         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44213         * nptl/pt-longjmp.c: ... here.
44214         * nptl/sysdeps/pthread/Makefile: Moved ...
44215         * sysdeps/nptl/Makefile: ... here.
44216         * nptl/sysdeps/pthread/Subdirs: Moved ...
44217         * sysdeps/nptl/Subdirs: ... here.
44218         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44219         * sysdeps/nptl/aio_misc.h: ... here.
44220         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44221         * sysdeps/nptl/bits/libc-lock.h: ... here.
44222         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44223         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44224         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44225         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44226         * nptl/sysdeps/pthread/configure: Moved ...
44227         * sysdeps/nptl/configure: ... here.
44228         * nptl/sysdeps/pthread/configure.ac: Moved ...
44229         * sysdeps/nptl/configure.ac: ... here.
44230         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44231         * sysdeps/nptl/gai_misc.h: ... here.
44232         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44233         * sysdeps/nptl/librt-cancellation.c: ... here.
44234         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44235         * sysdeps/nptl/malloc-machine.h: ... here.
44236         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44237         * sysdeps/nptl/pthread-functions.h: ... here.
44238         * nptl/sysdeps/pthread/pthread.h: Moved ...
44239         * sysdeps/nptl/pthread.h: ... here.
44240         * nptl/sysdeps/pthread/setxid.h: Moved ...
44241         * sysdeps/nptl/setxid.h: ... here.
44242         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44243         * sysdeps/nptl/sigfillset.c: ... here.
44244         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44245         * sysdeps/nptl/tcb-offsets.h: ... here.
44246         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44247         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44248         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44249         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44250         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44251         * sysdeps/pthread/allocalim.h: ... here.
44252         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44253         * sysdeps/pthread/bits/sigthread.h: ... here.
44254         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44255         * sysdeps/pthread/flockfile.c: ... here.
44256         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44257         * sysdeps/pthread/ftrylockfile.c: ... here.
44258         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44259         * sysdeps/pthread/funlockfile.c: ... here.
44260         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44261         * sysdeps/pthread/posix-timer.h: ... here.
44262         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44263         * sysdeps/pthread/timer_create.c: ... here.
44264         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44265         * sysdeps/pthread/timer_delete.c: ... here.
44266         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44267         * sysdeps/pthread/timer_getoverr.c: ... here.
44268         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44269         * sysdeps/pthread/timer_gettime.c: ... here.
44270         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44271         * sysdeps/pthread/timer_routines.c: ... here.
44272         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44273         * sysdeps/pthread/timer_settime.c: ... here.
44274         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44275         * sysdeps/pthread/tst-timer.c: ... here.
44276         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44277         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44279         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44280         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44282         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44283         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44284         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44285         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44286         Update #include target.
44287         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44288         * sysdeps/i386/i686/nptl/Makefile: ... here.
44289         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44290         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44291         Update #include target.
44292         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44293         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44294         * nptl/sysdeps/i386/Makefile: Moved ...
44295         * sysdeps/i386/nptl/Makefile: ... here.
44296         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44297         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44298         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44299         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44300         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44301         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44302         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44303         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44304         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44305         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44306         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44307         * nptl/sysdeps/i386/tls.h: Moved ...
44308         * sysdeps/i386/nptl/tls.h: ... here.
44310         * sysdeps/sh/Makefile [$(subdir) = csu]
44311         (gen-as-const-headers): Add tcb-offsets.sym.
44312         * nptl/sysdeps/sh/Makefile: File removed.
44313         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44314         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44315         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44316         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44317         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44318         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44319         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44320         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44321         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44322         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44323         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44324         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44325         * nptl/sysdeps/sh/tls.h: Moved ...
44326         * sysdeps/sh/nptl/tls.h: ... here.
44327         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44328         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44329         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44330         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44331         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44332         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44333         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44334         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44335         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44336         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44338         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44339         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44340         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44342         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44343         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44344         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44345         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44346         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44348         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44350         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44351         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44352         Moved ...
44353         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44354         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44355         Moved ...
44356         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44357         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44358         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44359         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44360         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44361         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44362         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44363         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44364         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44365         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44366         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44367         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44368         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44369         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44370         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44371         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44372         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44373         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44374         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44376 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44378         * posix/spawn_faction_addopen.c: Include string.h.
44380 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44382         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44383         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44384         * nptl/sysdeps/x86_64/Makefile: Moved ...
44385         * sysdeps/x86_64/nptl/Makefile: ... here.
44386         * nptl/sysdeps/x86_64/configure: Moved ...
44387         * sysdeps/x86_64/nptl/configure: ... here.
44388         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44389         * sysdeps/x86_64/nptl/configure.ac: ... here.
44390         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44391         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44392         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44393         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44394         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44395         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44396         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44397         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44398         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44399         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44400         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44401         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44402         * nptl/sysdeps/x86_64/tls.h: Moved ...
44403         * sysdeps/x86_64/nptl/tls.h: ... here.
44404         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44405         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44406         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44407         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44409         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44411 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44415 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44417         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44418         type.
44419         [POSIX] (off_t): Likewise.
44420         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44421         [POSIX] (S_ISBLK): Require macro.
44422         [POSIX] (S_ISCHR): Likewise.
44423         [POSIX] (S_ISDIR): Likewise.
44424         [POSIX] (S_ISFIFO): Likewise.
44425         [POSIX] (S_ISREG): Likewise.
44426         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44427         optional-macro.
44428         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44429         type.
44430         [POSIX] (time_t): Likewise.
44431         [POSIX] (timer_t): Likewise.
44433 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44435         [BZ #17048]
44436         * posix/spawn_int.h (struct __spawn_action): Make the path string
44437         non-const to support deallocation.
44438         * posix/spawn_faction_addopen.c
44439         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44440         * posix/spawn_faction_destroy.c
44441         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44442         path in all spawn_do_open actions.
44443         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44444         posix_spawn_file_actions_addopen.
44446 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44448         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44449         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44450         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44451         conditional code always true.
44452         (__libc_vfork): New alias.
44454 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44456         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44457         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44459         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44461         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44462         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44464         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44465         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44467         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44468         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44470 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44472         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44473         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44474         multiarch strcmp for PPC64.
44475         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44476         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44478         multiarch optimizations.
44479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44480         (__libc_ifunc_impl_list): Likewise.
44482 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44484         * benchtests/scripts/validate_benchout.py: New script.
44485         * benchtests/Makefile (bench-func): Call it.
44486         * benchtests/scripts/benchout.schema.json: New file.
44488 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44490         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44491         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44492         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44493         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44494         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44495         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44496         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44497         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44498         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44499         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44500         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44501         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44502         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44503         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44504         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44505         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44507         Moved ...
44508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44509         ... here.
44510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44511         Moved ...
44512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44514         Moved ...
44515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44516         ... here.
44517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44518         Moved ...
44519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44520         ... here.
44521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44522         Moved ...
44523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44525         Moved ...
44526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44527         ... here.
44528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44529         Moved ...
44530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44531         ... here.
44532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44533         Moved ...
44534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44536         Moved ...
44537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44538         ... here.
44539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44540         Moved ...
44541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44542         ... here.
44543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44544         Moved ...
44545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44546         ... here.
44547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44548         Moved ...
44549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44551         Moved ...
44552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44553         ... here.
44554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44555         Moved ...
44556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44557         ... here.
44558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44559         Moved ...
44560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44561         ... here.
44562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44563         Moved ...
44564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44566         Moved ...
44567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44568         ... here.
44569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44570         Moved ...
44571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44572         ... here.
44573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44574         Moved ...
44575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44577         Moved ...
44578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44579         ... here.
44580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44581         Moved ...
44582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44584         Moved ...
44585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44587         Moved ...
44588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44589         ... here.
44590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44591         Moved ...
44592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44593         ... here.
44594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44595         Moved ...
44596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44597         ... here.
44598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44599         Moved ...
44600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44602         Moved ...
44603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44604         ... here.
44605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44606         Moved ...
44607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44608         ... here.
44609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44610         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44612         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44614         Moved ...
44615         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44616         ... here.
44617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44618         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44620         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44621         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44622         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44623         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44624         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44626         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44628         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44629         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44630         Moved ...
44631         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44632         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44633         Moved ...
44634         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44635         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44636         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44637         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44638         Moved ...
44639         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44640         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44641         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44642         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44643         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44644         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44645         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44647 2014-06-10  Wilco  <wdijkstr@arm.com>
44649         * math/test-fenv-return.c: New file.
44650         * math/Makefile: Add new test test-fenv-return.
44652 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44654         [BZ #17042]
44655         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44656         when x - 1 is zero.
44657         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44658         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44659         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44660         0.0L for an argument of 1.0L.
44661         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44662         Likewise.
44663         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44664         value when x - 1 is zero.
44665         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44666         * sysdeps/i386/fpu/libm-test-ulps: Update.
44667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44669 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44671         [BZ #15119]
44672         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44674 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44676         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44677         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44679 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44681         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44682         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44684         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44685         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44687         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44688         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44690         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44691         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44693         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44694         if not already defined.
44695         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44696         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44697         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44698         (TLS_INIT_TP): Use it.
44699         (TLS_DEFINE_INIT_TP): New macro.
44700         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44702 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44704         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44705         constant.
44706         [POSIX] (IXANY): Likewise.
44707         [POSIX] (OLCUC): Likewise.
44708         [POSIX || POSIX2008] (CBAUD): Do not allow.
44709         [POSIX || POSIX2008] (DEFECHO): Likewise.
44710         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44711         [POSIX || POSIX2008] (ECHOKE): Likewise.
44712         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44713         [POSIX || POSIX2008] (EXTA): Likewise.
44714         [POSIX || POSIX2008] (EXTB): Likewise.
44715         [POSIX || POSIX2008] (FLUSHO): Likewise.
44716         [POSIX || POSIX2008] (LOBLK): Likewise.
44717         [POSIX || POSIX2008] (PENDIN): Likewise.
44718         [POSIX || POSIX2008] (SWTCH): Likewise.
44719         [POSIX || POSIX2008] (VDISCARD): Likewise.
44720         [POSIX || POSIX2008] (VDSUSP): Likewise.
44721         [POSIX || POSIX2008] (VLNEXT): Likewise.
44722         [POSIX || POSIX2008] (VREPRINT): Likewise.
44723         [POSIX || POSIX2008] (VSTATUS): Likewise.
44724         [POSIX || POSIX2008] (VWERASE): Likewise.
44725         (B*): Change to B[0123456789]*.
44726         * conform/data/time.h-data [POSIX || UNIX98]
44727         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44728         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44729         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44730         [POSIX] (tm_*): Do not allow.
44732 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44734         * Makefile (install): Don't set LANGUAGE.
44735         * Makefile.in (install): Likewise.
44736         * assert/Makefile (test-assert-ENV): Remove variable.
44737         (test-assert-perr-ENV): Likewise.
44738         * elf/Makefile (neededtest4-ENV): Likewise.
44739         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44740         [$(cross-compiling) = no]: Don't set LANGUAGE.
44741         * io/ftwtest-sh (LANG): Remove variable.
44742         * libio/Makefile (tst-widetext-ENV): Likewise.
44743         * manual/install.texi (Running make install): Don't refer to
44744         environment settings for make install.
44745         * INSTALL: Regenerated.
44746         * nptl/tst-tls6.sh: Don't set LANG.
44747         * posix/globtest.sh (LANG): Remove variable.
44748         * string/Makefile (tester-ENV): Likewise.
44749         (inl-tester-ENV): Likewise.
44750         (noinl-tester-ENV): Likewise.
44751         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44752         [$(cross-compiling) = no]: Don't set LANGUAGE.
44753         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44754         without explicit environment settings.
44756 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44758         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44759         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44760         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44761         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44763 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44765         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44766         other files in the crypt directory.
44767         * crypt/crypt.c: Remove duplicate includes.
44768         * crypt/crypt-entry.c: Likewise.
44769         * crypt/crypt_util.c: Likewise.
44771 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44773         * Makeconfig (run-program-env): New variable.
44774         (run-program-prefix-before-env): Likewise.
44775         (run-program-prefix-after-env): Likewise.
44776         (run-program-prefix): Define in terms of new variables.
44777         (built-program-cmd-before-env): New variable.
44778         (built-program-cmd-after-env): Likewise.
44779         (built-program-cmd): Define in terms of new variables.
44780         (test-program-prefix-before-env): New variable.
44781         (test-program-prefix-after-env): Likewise.
44782         (test-program-prefix): Define in terms of new variables.
44783         (test-program-cmd-before-env): New variable.
44784         (test-program-cmd-after-env): Likewise.
44785         (test-program-cmd): Define in terms of new variables.
44786         * Rules (make-test-out): Use $(run-program-env).
44787         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44788         (help): Do not mention environment variables.  Mention
44789         --timeoutfactor option.
44790         (timeoutfactor): New variable.
44791         (blacklist_exports): Remove function.
44792         (exports): Remove variable.
44793         (command): Do not include ${exports}.
44794         * manual/install.texi (Configuring and compiling): Do not mention
44795         test wrappers preserving environment variables.  Mention that last
44796         assignment to a variable must take precedence.
44797         * INSTALL: Regenerated.
44798         * benchtests/Makefile (run-bench): Use $(run-program-env).
44799         * catgets/Makefile ($(objpfx)test1.cat): Use
44800         $(built-program-cmd-before-env), $(run-program-env) and
44801         $(built-program-cmd-after-env).
44802         ($(objpfx)test2.cat): Do not specify environment variables
44803         explicitly.
44804         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44805         $(run-program-env) and $(built-program-cmd-after-env).
44806         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44807         $(run-program-env) and $(test-program-cmd-after-env).
44808         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44809         explicitly.
44810         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44811         run_program_env and test_program_cmd_after_env arguments.
44812         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44813         * elf/tst-pathopt.sh: Use run_program_env argument.
44814         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44815         $(test-wrapper-env) and $(run-program-env).
44816         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44817         run_program_env arguments.
44818         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44819         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44820         $(test-program-prefix-before-env), $(run-program-env) and
44821         $(test-program-prefix-after-env).
44822         ($(objpfx)tst-gettext2.out): Likewise.
44823         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44824         run_program_env and test_program_prefix_after_env arguments.
44825         * intl/tst-gettext2.sh: Likewise.
44826         * intl/tst-gettext4.sh: Do not set environment variables
44827         explicitly.
44828         * intl/tst-gettext6.sh: Likewise.
44829         * intl/tst-translit.sh: Likewise.
44830         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44831         $(test-program-prefix-before-env), $(run-program-env) and
44832         $(test-program-prefix-after-env).
44833         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44834         run_program_env and test_program_prefix_after_env arguments.
44835         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44836         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44837         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44838         explicitly with each use of ${test_wrapper_env}.
44839         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44840         $(test-program-prefix-before-env), $(run-program-env) and
44841         $(test-program-prefix-after-env).
44842         * posix/tst-getconf.sh: Do not set environment variables
44843         explicitly.
44844         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44845         run_program_env and test_program_prefix_after_env arguments.
44846         * stdio-common/tst-printf.sh: Do not set environment variables
44847         explicitly.
44848         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
44849         $(test-program-prefix-before-env), $(run-program-env) and
44850         $(test-program-prefix-after-env).
44851         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
44852         run_program_env and test_program_prefix_after_env arguments.
44853         Split $test calls into $test_pre and $test.
44854         * timezone/Makefile (build-testdata): Use
44855         $(built-program-cmd-before-env), $(run-program-env) and
44856         $(built-program-cmd-after-env).
44858 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44860         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
44861         strlen for non SHARED builds.
44863 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44865         * nptl/allocatestack.c (check_list): Inlined function...
44866         (__reclaim_stacks): ... here.
44868 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44870         [BZ #15698]
44871         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44872         memory overrun.
44874 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
44876         * Rules (make-test-out): Include
44877         LOCPATH=$(common-objpfx)localedata in default environment.
44878         * debug/Makefile (tst-chk1-ENV): Remove variable.
44879         (tst-chk2-ENV): Likewise.
44880         (tst-chk3-ENV): Likewise.
44881         (tst-chk4-ENV): Likewise.
44882         (tst-chk5-ENV): Likewise.
44883         (tst-chk6-ENV): Likewise.
44884         (tst-lfschk1-ENV): Likewise.
44885         (tst-lfschk2-ENV): Likewise.
44886         (tst-lfschk3-ENV): Likewise.
44887         (tst-lfschk4-ENV): Likewise.
44888         (tst-lfschk5-ENV): Likewise.
44889         (tst-lfschk6-ENV): Likewise.
44890         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
44891         (tst-iconv7-ENV): Likewise.
44892         * intl/Makefile (LOCPATH-ENV): Likewise.
44893         (tst-codeset-ENV): Likewise.
44894         (tst-gettext3-ENV): Likewise.
44895         (tst-gettext5-ENV): Likewise.
44896         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
44897         (tst-fopenloc-ENV): Likewise.
44898         (tst-fgetws-ENV): Remove variable.
44899         (tst-ungetwc1-ENV): Likewise.
44900         (tst-ungetwc2-ENV): Likewise.
44901         (bug-ungetwc2-ENV): Likewise.
44902         (tst-swscanf-ENV): Likewise.
44903         (bug-ftell-ENV): Likewise.
44904         (tst-fgetwc-ENV): Likewise.
44905         (tst-fseek-ENV): Likewise.
44906         (tst-ftell-partial-wide-ENV): Likewise.
44907         (tst-ftell-active-handler-ENV): Likewise.
44908         (tst-ftell-append-ENV): Likewise.
44909         * posix/Makefile (tst-fnmatch-ENV): Likewise.
44910         (tst-regexloc-ENV): Likewise.
44911         (bug-regex1-ENV): Likewise.
44912         (tst-regex-ENV): Likewise.
44913         (tst-regex2-ENV): Likewise.
44914         (bug-regex5-ENV): Likewise.
44915         (bug-regex6-ENV): Likewise.
44916         (bug-regex17-ENV): Likewise.
44917         (bug-regex18-ENV): Likewise.
44918         (bug-regex19-ENV): Likewise.
44919         (bug-regex20-ENV): Likewise.
44920         (bug-regex22-ENV): Likewise.
44921         (bug-regex23-ENV): Likewise.
44922         (bug-regex25-ENV): Likewise.
44923         (bug-regex26-ENV): Likewise.
44924         (bug-regex30-ENV): Likewise.
44925         (bug-regex32-ENV): Likewise.
44926         (bug-regex33-ENV): Likewise.
44927         (bug-regex34-ENV): Likewise.
44928         (bug-regex35-ENV): Likewise.
44929         (tst-rxspencer-ENV): Likewise.
44930         (tst-rxspencer-no-utf8-ENV): Likewise.
44931         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
44932         (tst-sscanf-ENV): Likewise.
44933         (tst-swprintf-ENV): Likewise.
44934         (tst-swscanf-ENV): Likewise.
44935         (test-vfprintf-ENV): Likewise.
44936         (scanf13-ENV): Likewise.
44937         (bug14-ENV): Likewise.
44938         (tst-grouping-ENV): Likewise.
44939         * stdlib/Makefile (tst-strtod-ENV): Likewise.
44940         (tst-strtod3-ENV): Likewise.
44941         (tst-strtod4-ENV): Likewise.
44942         (tst-strtod5-ENV): Likewise.
44943         (testmb2-ENV): Likewise./
44944         * string/Makefile (tst-strxfrm-ENV): Likewise.
44945         (tst-strxfrm2-ENV): Likewise.
44946         (bug-strcoll1-ENV): Likewise.
44947         (test-strcasecmp-ENV): Likewise.
44948         (test-strncasecmp-ENV): Likewise.
44949         * time/Makefile (tst-strptime-ENV): Likewise.
44950         (tst-ftime_l-ENV): Likewise.
44951         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
44952         (tst-mbrtowc-ENV): Likewise.
44953         (tst-wcrtomb-ENV): Likewise.
44954         (tst-mbrtowc2-ENV): Likewise.
44955         (tst-c16c32-1-ENV): Likewise.
44956         (tst-mbsnrtowcs-ENV): Likewise.
44958 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44960         * manual/resource.texi (How to get information about the memory
44961         subsystem?): Fix typo.
44962         Reported by Peon de la Parra Ivan <peon@keba.com>
44964 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
44966         [BZ #16882]
44967         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
44968         (pthread_spin_lock): Branch out of spin loop to proper location.
44969         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
44970         (pthread_spin_lock): Likewise.
44972         * nptl/tst-spin4.c: New test.
44973         * nptl/Makefile (tests): Add tst-spin4.
44975 2014-06-03  Andreas Schwab  <schwab@suse.de>
44977         [BZ #15946]
44978         * resolv/res_send.c (send_dg): Reload file descriptor after
44979         calling reopen.
44981 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
44983         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44985 2014-06-03  Richard Henderson  <rth@redhat.com>
44987         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
44988         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
44989         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
44990         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
44991         in the SAVE_PID block.
44992         (__libc_vfork): New alias.
44993         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
44995         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
44996         child in registers, not on the stack.  Remove RESET_PID conditionals.
44997         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
44999 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45001         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45003 2014-06-03  Wilco  <wdijkstr@arm.com>
45005         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45006         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45007         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45008         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45009         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45010         Likewise.
45012 2014-06-03  Wilco  <wdijkstr@arm.com>
45014         * sysdeps/aarch64/fpu/math_private.h
45015         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45016         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45017         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45018         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45019         Fix declarations.
45021 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45023         * crypt/crypt-private.h: Include ufc-crypt.h.
45024         (__b64_from_24bit): Declare extern.
45025         * crypt/crypt_util.c(__b64_from_24bit): New function.
45026         (b64t): New static const variable.
45027         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45028         (b64t): Remove variable.
45029         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45030         * crypt/sha256-crypt.c: Include crypt-private.h.
45031         (b64t): Remove variable.
45032         (__sha256_crypt_r): Remove b64_from_24bit and replace
45033         with __b64_from_24bit.
45034         * crypt/sha512-crypt.c: Likewise.
45036 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45038         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45039         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45040         Label the code __libc_vfork rather than __vfork.
45041         [!NOT_IN_libc] (vfork): Define as weak alias.
45042         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45043         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45044         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45046 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45048         * malloc/malloc.c (malloc_info): Fix format specifier for
45049         n_mmaps.
45051 2014-06-02  Wilco  <wdijkstr@arm.com>
45053         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45054         FPCR write.
45056 2014-06-02  Wilco  <wdijkstr@arm.com>
45058         [BZ #17009]
45059         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45060         Rewrite to reduce FPCR/FPSR accesses.
45062 2014-06-01  David S. Miller  <davem@davemloft.net>
45064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45066 2014-05-31  David S. Miller  <davem@davemloft.net>
45068         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45069         to occur in round to nearest mode when |x| >= 2.0
45071 2014-05-30  Richard Henderson  <rth@twiddle.net>
45073         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45074         (PSEUDO_RET_NOERRNO): Remove.
45075         (ret): Don't redefine.
45076         (ret_NOERRNO): Define in terms of ret.
45077         (ret_ERRVAL): Likewise.
45079         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45080         use of PSEUDO_RET; perform the error check directly.
45082 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45084         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45085         with __int128_t.
45087 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45089         * malloc/malloc (malloc_info): Fix formatting.
45091 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45092             Roland McGrath  <roland@hack.frob.com>
45094         * malloc/malloc (malloc_info): Also print mmapped statistics.
45096 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45098         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45099         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45101 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45103         * malloc/malloc.c (malloc_info): Inline mi_arena.
45105 2014-05-29  Richard Henderson  <rth@twiddle.net>
45107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45108         Remove comma before expanding ASM_ARGS_##nr.
45109         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45110         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45111         of ASM_ARGS_##nr.
45112         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45113         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45114         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45115         (ASM_ARGS_1): Add leading comma.
45117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45118         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45119         to __errno_location.
45120         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45121         Remove the expected plt for __errno_location.
45123         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45124         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45125         call to __read_tp.
45127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45128         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45129         it and break it down.
45130         (DOCARGS_0, DOCARGS_1): Do nothing.
45131         (DOCARGS_2): Update to store into the new stack frame.
45132         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45133         (UNDOCARGS_1): Update to restore from the new stack frame.
45134         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45135         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45137         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45138         (SINGLE_THREAD_P): New parameter for result regno.
45139         (PSEUDO): Update to match; use cbz instead of beq.
45141         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45142         Use ENTRY to define the _nocancel entry point.  Share the syscall
45143         and syscall error check paths with the cancel path.
45144         (PSEUDO_END): New.
45146         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45147         whitespace; tabs before and after asm mnemonics.
45149 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45151         [BZ #15132]
45152         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45153         Call fstat64 or stat64 internally, depending on arguments passed.
45154         Replace stat buffer argument with file descriptor argument.
45155         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45156         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45157         Pass fd to __internal_statvfs instead of calling fstat64.
45158         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45159         Pass fd to __internal_statvfs64 instead of calling fstat64.
45160         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45161         Pass -1 to __internal_statvfs instead of calling stat64.
45162         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45163         Pass -1 to __internal_statvfs64 instead of calling stat64.
45165 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45167         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45168         that was previously under [RESET_PID].
45169         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45171         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45172         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45174 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45176         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45178         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45179         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45181 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45183         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45185 2014-05-27  Andreas Schwab  <schwab@suse.de>
45187         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45188         TLS_INIT_TP macro.
45189         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45190         * elf/rtld.c (init_tls, dl_main): Likewise.
45191         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45192         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45193         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45194         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45195         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45196         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45197         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45198         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45199         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45200         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45201         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45202         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45203         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45204         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45205         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45206         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45207         * sysdeps/generic/tls.h: Update description.
45209 2014-05-27  Will Newton  <will.newton@linaro.org>
45211         [BZ #16990]
45212         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45213         and restore r2 rather than just restoring.
45215 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45217         [BZ #16724]
45218         * libio/tst-ftell-append.c: New test case.
45219         * libio/Makefile (tests): Add test case.
45220         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45221         append mode.
45222         * libio/wfileops.c (do_ftell_wide): Likewise.
45224 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45228         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45229         ...
45230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45232         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45233         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45234         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45235         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45236         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45237         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45238         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45239         Moved ...
45240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45242         Moved ...
45243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45244         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45245         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45246         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45247         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45248         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45249         ...
45250         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45251         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45252         Moved ...
45253         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45254         here.
45255         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45256         ...
45257         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45258         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45259         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45261         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45262         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45263         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45264         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45267         merge into ...
45268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45270         ...
45271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45273         ...
45274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45276         Moved ...
45277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45278         here.
45279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45280         Moved ...
45281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45283         Moved ...
45284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45287         conditional [RESET_PID].
45288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45289         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45290         removed.
45291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45292         removed.
45294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45295         <tcb-offsets.h>.
45296         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45297         (__libc_vfork): New strong alias.
45298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45299         removed.
45300         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45301         Removed.
45303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45304         <tcb-offsets.h>.
45305         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45306         (__libc_vfork): New strong alias.
45307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45308         removed.
45309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45310         removed.
45312 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45314         * malloc/malloc.c (mi_arena): New function.
45315         (malloc_info): Remove nested function mi_arena. Call non-nosted
45316         function mi_arena.
45318 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45320         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45321         by insrwi.
45322         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45323         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45324         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45325         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45326         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45327         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45328         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45330 2014-05-26  Andreas Schwab  <schwab@suse.de>
45332         [BZ #16984]
45333         * locale/programs/repertoire.c (repertoire_read): Add slash
45334         between I18NPATH element and file name.
45335         * locale/programs/locfile.c (locfile_read): Likewise.
45337 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45339         * nptl/pthread_mutexattr_settype.c
45340         (__pthread_mutexattr_settype):
45341         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45343 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45345         * nptl/tst-mutex5 (do_test):
45346         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45348 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45350         * benchtests/README: Document 'init' directive.
45351         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45352         BENCH_INIT.
45353         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45354         (parse_file): Recognize 'init' directive.
45356 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45358         [BZ #16796]
45359         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45360         alignment of struct pthread.
45362 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45364         [BZ #16878]
45365         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45366         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45367         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45368         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45370 2014-05-25  Richard Henderson  <rth@twiddle.net>
45372         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45373         (SINGLE_THREAD_P_PIC): Remove.
45374         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45375         (SINGLE_THREAD_P_PIC): Remove.
45377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45378         branch to syscall error ...
45379         (PSEUDO): ... here.
45380         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45381         from __local_syscall_error to .Lsyscall_error.
45382         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45383         (SYSCALL_ERROR): Update label name.
45385         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45386         Do not use DOARGS/UNDOARGS.
45387         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45388         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45389         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45390         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45391         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45393         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45394         block comment.
45396         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45397         define if !NOT_IN_libc.
45398         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45399         define with non-default symbol versions.
45401 2014-05-23  Richard Henderson  <rth@twiddle.net>
45403         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45404         (vfork, __vfork): Define via compat_symbol.
45406         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45407         [!HAVE_IFUNC] (vfork_compat): Remove.
45408         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45410 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45412         [BZ #16978]
45413         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45414         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45415         variable.
45417 2014-05-23  Richard Henderson  <rth@twiddle.net>
45419         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45420         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45421         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45422         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45424         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45425         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45426         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45427         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45428         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45429         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45430         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45431         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45432         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45433         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45434         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45435         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45436         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45437         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45438         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45439         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45440         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45441         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45442         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45443         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45444         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45445         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45446         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45447         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45448         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45449         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45450         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45451         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45452         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45453         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45454         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45455         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45456         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45457         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45458         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45459         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45460         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45461         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45462         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45463         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45464         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45465         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45466         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45467         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45468         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45469         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45470         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45471         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45472         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45473         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45474         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45475         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45476         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45477         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45478         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45479         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45481         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45482         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45483         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45484         before exiting on error.
45485         (__libc_vfork): New strong alias.
45486         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45487         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45489         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45490         that was previously under [RESET_PID].
45491         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45493         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45495 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45497         [BZ #16977]
45498         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45499         value when x - 1 is zero.
45500         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45501         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45502         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45503         0.0L for an argument of 1.0L.
45504         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45505         Likewise.
45506         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45507         value when x - 1 is zero.
45508         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45509         * sysdeps/i386/fpu/libm-test-ulps: Update.
45510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45512 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45514         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45515         alphasort and versionsort.
45517 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45519         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45520         macro.
45521         [copysignf]: Likewise.
45523 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45525         * crypt/md5-crypt.c: Fix formatting.
45527 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45529         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45530         (b64_from_24bit): New function.
45532 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45534         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45535         libc_hidden_builtin_def to ifunc.
45536         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45537         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45539 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45541         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45542         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45544 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45546         * nscd/Depend (linuxthreads): Remove.
45547         (nptl): Add.
45548         * resolv/Depend (linuxthreads): Remove.
45549         * rt/Depend (linuxthreads): Remove.
45551         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45552         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45553         $(common-objpfx)elf/.
45554         (link-libc-before-gnulib): Likewise.
45555         (elfobjdir): Remove variable.
45556         * Makefile (install): Use $(elf-objpfx) instead of
45557         $(common-objpfx)elf/.
45558         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45559         $(elfobjdir)/.
45560         (link-libc-deps): Likewise.
45561         ($(common-objpfx)libc.so): Likewise.
45562         ($(common-objpfx)linkobj/libc.so): Likewise.
45563         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45564         instead of $(common-objpfx)elf/.
45565         (symbolic-link-list): Likewise.
45566         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45567         [$(cross-compiling) = no]: Likewise.
45568         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45569         $(elfobjdir)/.
45570         (static-gnulib-arch): Likewise.
45571         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45572         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45573         $(common-objpfx)elf/.
45575 2014-05-21  Richard Henderson  <rth@redhat.com>
45577         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45578         (SINGLE_THREAD_P): Use the correct width load.  Fold
45579         into the ldr offset.
45581         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45582         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45584 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45586         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45587         (libgcc_s_resume): Use __attribute_used__.
45588         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45589         Likewise.
45591 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45593         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45594         optimization when used with float constants.
45596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45598 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45600         [BZ #16915]
45601         * locale/nl_langinfo_l.c: Make direct reference to every
45602         _nl_current_CATEGORY symbol.
45603         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45604         (tests-static): Add tst-langinfo-static.
45605         (tests-special): Add tst-langinfo-static.out.
45606         ($(objpfx)tst-langinfo.out): Redirect output.
45607         ($(objpfx)tst-langinfo-static.out): New.
45608         * localedata/tst-langinfo.sh: Send output to stdout.
45609         * localedata/tst-langinfo-static.c: New file.
45611         [BZ #16965]
45612         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45613         when the shift amount is modulo the limb size.
45615 2014-05-20  Richard Henderson  <rth@redhat.com>
45617         [BZ #16967]
45618         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45619         Change type of sa_flags from unsigned int to int.
45621         [BZ #16966]
45622         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45624         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45626 2014-05-20  Will Newton  <will.newton@linaro.org>
45628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45629         Test the return value of the system call in the nocancel case.
45631 2014-05-20  Will Newton  <will.newton@linaro.org>
45632             Yvan Roux  <yvan.roux@linaro.org>
45634         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45635         #include of asm/ptrace.h.
45636         (PTRACE_GET_THREAD_AREA): Remove #undef.
45637         (PTRACE_GETHBPREGS): Likewise.
45638         (PTRACE_SETHBPREGS): Likewise.
45639         (struct user_regs_struct): New structure.
45640         (struct user_fpsimd_struct): New structure.
45641         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45642         #include of asm/ptrace.h and second #include of sys/user.h.
45643         (PTRACE_GET_THREAD_AREA): Remove #undef.
45644         (PTRACE_GETHBPREGS): Likewise.
45645         (PTRACE_SETHBPREGS): Likewise.
45646         (ELF_NGREG): Use new struct user_regs_struct.
45647         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45649 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45651         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45652         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45654 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45656         [BZ #16958]
45657         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45658         membar to avoid block loads/stores to overlap previous stores.
45660 2014-05-17  Richard Henderson  <rth@redhat.com>
45662         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45663         Create the __##syscall_name##_nocancel entry point.
45664         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45665         Remove; let the sysdep-cancel.h code create it.
45667 2014-05-17  David S. Miller  <davem@davemloft.net>
45669         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45670         Protect with __USE_GNU.
45671         (TIOCSET_TEMPT): Likewise.
45672         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45673         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45674         these are already provided in bits/ioctl-types.h
45676 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45678         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45679         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45681         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45682         Use wait4 regardless of [__NR_waitpid].
45684 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45686         PR libgcc/60166
45687         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45688         (_FP_NANSIGN_Q): Set the quiet bit.
45690 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45692         * benchtests/Makefile
45693         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45694         not $(common-objpfx)math/libm.so.
45695         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45696         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45697         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45698         $(common-objpfx)dlfcn/libdl.so.
45699         ($(objpfx)tst-audit8): Depend on $(libm), not
45700         $(common-objpfx)math/libm.so.
45701         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45702         not $(common-objpfx)dlfcn/libdl.so.
45703         * math/Makefile
45704         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45705         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45706         [$(build-shared) = yes].
45707         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45708         $(common-objpfx)nptl/libpthread.so.
45709         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45710         $(common-objpfx)math/libm.so$(libm.so-version) or
45711         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45712         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45713         $(common-objpfx)dlfcn/libdl.so.
45714         * setjmp/Makefile (link-libm): Remove variable.
45715         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45716         * stdio-common/Makefile (link-libm): Remove variable.
45717         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45718         * stdlib/Makefile (link-libm): Remove variable.
45719         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45720         ($(objpfx)tst-strtod-round): Likewise.
45721         ($(objpfx)tst-tininess): Likewise.
45722         ($(objpfx)tst-strtod-underflow): Likewise.
45723         ($(objpfx)tst-strtod6): Likewise.
45724         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45725         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45726         $(common-objpfx)dlfcn/libdl.so.
45728 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45730         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45731         BSD terminal modes definitions.
45733 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45735         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45736         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45738         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45739         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45740         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45741         Don't do #include_next.
45742         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45743         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45744         Don't do #include_next.
45745         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45746         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45747         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45748         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45750 2014-05-16  Allan McRae  <allan@archlinux.org>
45752         * po/sv.po: Update Swedish translation from translation project.
45754         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45755         in sed expression.
45757 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45759         [BZ #16917]
45760         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45761         errno if the TIOCGPTN ioctl fails with an error different than
45762         EINVAL.
45763         * login/tst-ptsname.c: New file.
45764         * login/Makefile (tests): Add tst-ptsname.
45766         [BZ #16943]
45767         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45768         and prlimit64.
45770 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45772         [BZ #16849]
45773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45774         herrno to return EAI_AGAIN.
45776 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45778         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45779         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45780         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45781         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45782         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45783         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45784         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45785         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45786         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45787         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45788         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45789         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45790         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45791         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45792         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45793         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45794         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45795         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45796         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45797         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45798         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45799         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45800         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45801         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45802         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45803         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45804         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45805         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45806         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45807         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45809         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45811         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45813         Moved ...
45814         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45816         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45818         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45820         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45822         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45824         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45826         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45828         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45830         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45832         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45834         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45836         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45838         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45840         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45842         Moved ...
45843         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45845         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45847         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
45848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
45849         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
45850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
45851         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
45852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
45853         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
45854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
45855         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
45856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
45857         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
45858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
45859         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
45860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
45861         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
45862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45863         Moved ...
45864         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
45865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
45866         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
45868         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
45869         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
45870         (libpthread-sysdep_routines): Add elision-related stuff here instead.
45871         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
45872         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
45873         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
45874         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
45875         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
45876         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
45877         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
45878         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
45879         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
45880         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
45881         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
45882         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
45883         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
45884         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
45885         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
45886         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
45887         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
45888         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
45889         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
45890         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
45891         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
45892         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
45893         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
45894         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
45895         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
45896         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
45897         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
45898         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
45900         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
45901         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
45903         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
45904         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
45905         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
45906         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
45907         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
45908         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
45909         Moved ...
45910         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
45911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
45912         Moved ...
45913         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
45914         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
45915         Moved ...
45916         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
45917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
45918         Moved ...
45919         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
45920         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
45921         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
45922         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
45923         Moved ...
45924         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
45925         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
45926         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
45927         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
45928         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
45929         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
45930         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
45931         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
45932         Moved ...
45933         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
45934         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45935         Moved ...
45936         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45937         ... here.
45938         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
45939         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
45940         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
45941         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
45942         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45943         Moved ...
45944         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45945         ... here.
45946         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
45947         Moved ...
45948         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
45949         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
45950         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
45951         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
45952         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
45953         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
45954         Moved ...
45955         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
45956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
45957         Moved ...
45958         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
45959         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
45960         Moved ...
45961         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
45962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
45963         Moved ...
45964         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
45965         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
45966         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
45967         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
45968         Moved ...
45969         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
45970         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
45971         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
45972         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
45973         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
45974         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
45975         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
45976         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
45977         Moved ...
45978         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
45979         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45980         Moved ...
45981         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45982         ... here.
45983         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
45984         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
45985         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
45986         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
45987         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45988         Moved ...
45989         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45990         ... here.
45991         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
45992         Moved ...
45993         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
45994         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
45995         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
45996         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
45997         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
45998         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
45999         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46000         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46001         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46002         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46003         Moved ...
46004         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46006         Moved ...
46007         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46009         Moved ...
46010         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46011         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46012         Moved ...
46013         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46014         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46015         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46016         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46017         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46018         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46019         Moved ...
46020         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46021         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46022         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46023         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46024         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46025         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46026         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46028         Moved ...
46029         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46031         Moved ...
46032         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46033         ... here.
46034         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46035         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46036         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46037         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46038         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46039         Moved ...
46040         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46041         ... here.
46042         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46043         Moved ...
46044         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46045         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46046         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46047         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46048         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46049         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46050         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46051         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46052         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46053         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46054         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46056         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46057         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46059         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46060         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46062         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46063         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46064         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46065         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46066         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46067         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46068         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46069         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46070         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46071         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46072         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46073         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46074         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46075         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46076         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46078         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46080         Moved ...
46081         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46082         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46083         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46084         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46085         Moved ...
46086         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46087         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46088         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46090         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46092         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46094         Moved ...
46095         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46096         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46097         Moved ...
46098         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46100         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46101         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46102         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46103         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46104         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46105         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46106         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46107         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46108         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46109         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46110         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46111         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46112         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46113         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46114         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46116         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46117         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46118         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46119         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46120         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46122         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46123         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46124         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46125         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46126         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46127         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46128         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46129         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46130         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46131         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46133         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46134         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46136         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46137         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46138         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46139         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46140         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46141         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46142         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46143         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46144         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46145         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46146         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46147         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46148         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46149         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46150         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46151         Update #include.
46152         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46153         Likewise.
46154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46155         Likewise.
46156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46157         Likewise.
46158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46159         Likewise.
46160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46161         Likewise.
46162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46163         Likewise.
46164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46165         Likewise.
46166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46167         Likewise.
46168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46169         Likewise.
46170         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46171         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46172         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46173         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46175         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46176         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46177         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46178         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46180         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46181         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46182         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46183         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46184         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46186         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46187         that was previously under [RESET_PID].
46188         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46189         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46190         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46192         * sysdeps/i386/nptl/Implies: New file.
46193         * sysdeps/x86_64/nptl/Implies: New file.
46194         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46195         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46196         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46197         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46199         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46200         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46201         (__libc_vfork): New strong alias.
46202         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46203         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46205         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46206         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46207         (__libc_vfork): New strong alias.
46208         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46209         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46211         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46212         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46213         (__libc_vfork): New strong alias.
46214         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46215         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46216         * nptl/pt-vfork.c: New file.
46217         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46218         (libpthread: GLIBC_2.20): New version set (empty).
46220 2014-05-14  Will Newton  <will.newton@linaro.org>
46222         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46223         rather than #if.
46225 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46227         [BZ #16564]
46228         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46229         arguments with exponent 65 or above.
46230         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46231         arguments 0x1p113L or above.
46232         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46233         to arguments 0x1p107L or above.
46234         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46235         positive arguments with exponent 65 or above.
46236         * math/auto-libm-test-in: Add more tests of log1p.
46237         * math/auto-libm-test-out: Regenerated.
46239         [BZ #16928]
46240         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46241         non-finite arguments is +0.
46242         * math/s_cacosf.c (__cacosf): Likewise.
46243         * math/s_cacosl.c (__cacosl): Likewise.
46244         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46245         * sysdeps/i386/fpu/libm-test-ulps: Update.
46246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46248         [BZ #16927]
46249         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46250         value.
46251         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46252         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46253         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46254         for explicit high bit of mantissa when testing for argument equal
46255         to 1.
46256         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46257         * sysdeps/i386/fpu/libm-test-ulps: Update.
46258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46260         [BZ #16516]
46261         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46262         (__erf): Scale by 16 instead of 8 in potentially underflowing
46263         case.  Ensure exception if result actually underflows.
46264         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46265         (__erff): Scale by 16 instead of 8 in potentially underflowing
46266         case.  Ensure exception if result actually underflows.
46267         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46268         (efx8): Remove variable.
46269         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46270         case.  Ensure exception if result actually underflows.
46271         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46272         (efx8): Remove variable.
46273         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46274         case.  Ensure exception if result actually underflows.
46275         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46276         (efx8): Remove variable.
46277         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46278         case.  Ensure exception if result actually underflows.
46279         * math/auto-libm-test-in: Add more tests of erf.
46280         * math/auto-libm-test-out: Regenerated.
46282 2014-05-14  Andreas Schwab  <schwab@suse.de>
46284         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46285         Remove code conditionalized on USE___THREAD.
46287         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46288         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46289         not definedness.
46291 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46293         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46294         Define unconditionally.
46295         (__ASSUME_O_CLOEXEC): Likewise.
46296         (__ASSUME_SOCK_CLOEXEC): Likewise.
46297         (__ASSUME_IN_NONBLOCK): Likewise.
46298         (__ASSUME_PIPE2): Likewise.
46299         (__ASSUME_EVENTFD2): Likewise.
46300         (__ASSUME_SIGNALFD4): Likewise.
46301         (__ASSUME_DUP3): Likewise.
46302         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46303         (__ASSUME_DUP3): Do not define.
46304         (__ASSUME_EVENTFD2): Likewise.
46305         (__ASSUME_IN_NONBLOCK): Likewise.
46306         (__ASSUME_O_CLOEXEC): Likewise.
46307         (__ASSUME_PIPE2): Likewise.
46308         (__ASSUME_SIGNALFD4): Likewise.
46309         (__ASSUME_SOCK_CLOEXEC): Likewise.
46310         (__ASSUME_UTIMES): Undefine.
46311         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46312         (__ASSUME_UTIMES): Do not define.
46313         (__ASSUME_O_CLOEXEC): Likewise.
46314         (__ASSUME_SOCK_CLOEXEC): Likewise.
46315         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46316         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46317         0x020621].
46318         (__ASSUME_PIPE2): Likewise.
46319         (__ASSUME_EVENTFD2): Likewise.
46320         (__ASSUME_SIGNALFD4): Likewise.
46321         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46322         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46323         Do not define.
46324         (__ASSUME_EVENTFD2): Likewise.
46325         (__ASSUME_SIGNALFD4): Likewise.
46326         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46327         (__ASSUME_32BITUIDS): Likewise.
46328         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46329         (__ASSUME_IPC64): Likewise.
46330         (__ASSUME_ST_INO_64_BIT): Likewise.
46331         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46332         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46333         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46334         (__ASSUME_UTIMES): Do not define.
46335         (__ASSUME_PSELECT): Likewise.
46336         (__ASSUME_PPOLL): Likewise.
46337         (__ASSUME_O_CLOEXEC): Likewise.
46338         (__ASSUME_SOCK_CLOEXEC): Likewise.
46339         (__ASSUME_IN_NONBLOCK): Likewise.
46340         (__ASSUME_PIPE2): Likewise.
46341         (__ASSUME_EVENTFD2): Likewise.
46342         (__ASSUME_SIGNALFD4): Likewise.
46343         (__ASSUME_DUP3): Likewise.
46344         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46345         (__ASSUME_UTIMES): Likewise.
46346         (__ASSUME_O_CLOEXEC): Likewise.
46347         (__ASSUME_SOCK_CLOEXEC): Likewise.
46348         (__ASSUME_IN_NONBLOCK): Likewise.
46349         (__ASSUME_PIPE2): Likewise.
46350         (__ASSUME_EVENTFD2): Likewise.
46351         (__ASSUME_SIGNALFD4): Likewise.
46352         (__ASSUME_DUP3): Likewise.
46353         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46354         (__ASSUME_UTIMES): Likewise.
46355         (__ASSUME_O_CLOEXEC): Likewise.
46356         (__ASSUME_SOCK_CLOEXEC): Likewise.
46357         (__ASSUME_IN_NONBLOCK): Likewise.
46358         (__ASSUME_PIPE2): Likewise.
46359         (__ASSUME_EVENTFD2): Likewise.
46360         (__ASSUME_SIGNALFD4): Likewise.
46361         (__ASSUME_DUP3): Likewise.
46362         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46363         Likewise.
46364         (__ASSUME_UTIMES): Likewise.
46365         (__ASSUME_EVENTFD2): Likewise.
46366         (__ASSUME_SIGNALFD4): Likewise.
46367         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46368         (__ASSUME_O_CLOEXEC): Likewise.
46369         (__ASSUME_SOCK_CLOEXEC): Likewise.
46370         (__ASSUME_IN_NONBLOCK): Likewise.
46371         (__ASSUME_PIPE2): Likewise.
46372         (__ASSUME_EVENTFD2): Likewise.
46373         (__ASSUME_SIGNALFD4): Likewise.
46374         (__ASSUME_DUP3): Likewise.
46375         (__ASSUME_UTIMES): Undefine.
46377         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46378         feclearexcept.  Remove symbol versioning code.
46379         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46380         symbol versioning code.
46381         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46382         symbol versioning code.
46383         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46384         feupdateenv.  Remove symbol versioning code.
46385         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46386         fegetexceptflag.  Remove symbol versioning code.
46387         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46388         fesetexceptflag.  Remove symbol versioning code.
46389         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46390         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46391         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46392         (__posix_fadvise64_l32): Remove prototype.
46393         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46394         code.
46396 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46398         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46399         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46400         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46401         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46403 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46405         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46406         current working directory
46408 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46410         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46411         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46412         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46413         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46414         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46415         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46416         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46417         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46418         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46419         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46420         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46421         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46422         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46423         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46424         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46425         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46426         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46427         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46428         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46429         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46430         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46431         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46432         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46433         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46434         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46435         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46436         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46437         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46438         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46439         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46440         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46441         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46442         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46443         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46444         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46445         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46446         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46447         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46448         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46449         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46450         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46451         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46453         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46454         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46456         * sysdeps/unix/sysv/linux/arm/Makefile
46457         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46458         Add rt-aeabi_unwind_cpp_pr1.
46459         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46460         Add nptl-aeabi_unwind_cpp_pr1.
46461         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46462         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46463         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46464         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46465         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46466         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46468         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46469         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46470         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46471         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46473         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46474         Deconditionalize the code that was previously under [RESET_PID].
46475         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46477         * sysdeps/generic/exit-thread.h: New file.
46478         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46479         * include/unistd.h (__exit_thread): Remove declaration.
46480         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46481         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46482         * csu/libc-start.c: Include <exit-thread.h>.
46483         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46484         * nptl/pthread_create.c: Include <exit-thread.h>.
46485         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46486         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46487         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46488         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46489         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46490         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46491         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46492         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46493         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46494         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46495         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46496         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46497         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46498         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46499         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46500         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46501         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46503 2014-05-13  Andreas Schwab  <schwab@suse.de>
46505         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46507 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46509         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46510         (__ASSUME_UTIMES): Do not condition on kernel version.
46511         (__ASSUME_PSELECT): Define unconditionally.
46512         (__ASSUME_PPOLL): Likewise.
46513         (__ASSUME_ATFCTS): Likewise.
46514         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46515         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46516         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46517         (__ASSUME_UTIMENSAT): Define unconditionally.
46518         (__ASSUME_PRIVATE_FUTEX): Likewise.
46519         (__ASSUME_FALLOCATE): Likewise.
46520         (__ASSUME_O_CLOEXEC): Likewise.
46521         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46522         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46523         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46524         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46525         (__ASSUME_IN_NONBLOCK): Likewise.
46526         (__ASSUME_PIPE2): Likewise.
46527         (__ASSUME_EVENTFD2): Likewise.
46528         (__ASSUME_SIGNALFD4): Likewise.
46529         (__ASSUME_DUP3): Likewise.
46530         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46531         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46532         (__ASSUME_AT_RANDOM): Likewise.
46533         (__ASSUME_PREADV): Likewise.
46534         (__ASSUME_PWRITEV): Likewise.
46535         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46536         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46537         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46538         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46539         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46540         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46541         (__ASSUME_O_CLOEXEC): Define unconditionally.
46542         (__ASSUME_PSELECT): Do not undefine conditionally.
46543         (__ASSUME_PPOLL): Likewise.
46544         (__ASSUME_ATFCTS): Likewise.
46545         (__ASSUME_SET_ROBUST_LIST): Likewise.
46546         (__ASSUME_UTIMENSAT): Likewise.
46547         (__ASSUME_FDATASYNC): Define unconditionally.
46548         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46549         (__ASSUME_SIGFRAME_V2): Likewise.
46550         )__ASSUME_EVENTFD2): Likewise.
46551         (__ASSUME_SIGNALFD4): Likewise.
46552         (__ASSUME_PSELECT): Do not undefine conditionally.
46553         (__ASSUME_PPOLL): Likewise.
46554         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46555         (__ASSUME_PSELECT): Define unconditionally.
46556         (__ASSUME_PPOLL): Likewise.
46557         (__ASSUME_O_CLOEXEC): Likewise.
46558         (__ASSUME_SOCK_CLOEXEC): Likewise.
46559         (__ASSUME_IN_NONBLOCK): Likewise.
46560         (__ASSUME_PIPE2): Likewise.
46561         (__ASSUME_EVENTFD2): Likewise.
46562         (__ASSUME_SIGNALFD4): Likewise.
46563         (__ASSUME_DUP3): Likewise.
46564         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46565         (__ASSUME_O_CLOEXEC): Likewise.
46566         (__ASSUME_SOCK_CLOEXEC): Likewise.
46567         (__ASSUME_IN_NONBLOCK): Likewise.
46568         (__ASSUME_PIPE2): Likewise.
46569         (__ASSUME_EVENTFD2): Likewise.
46570         (__ASSUME_SIGNALFD4): Likewise.
46571         (__ASSUME_DUP3): Likewise.
46572         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46573         (__ASSUME_EVENTFD2): Likewise.
46574         (__ASSUME_SIGNALFD4): Likewise.
46575         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46577 2014-05-12  Andreas Schwab  <schwab@suse.de>
46579         [BZ #16932]
46580         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46581         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46582         than maximum RPC packet size.
46583         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46584         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46585         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46586         (_nss_nis_getservbyport_r): Likewise.
46588 2014-05-12  Will Newton  <will.newton@linaro.org>
46590         * malloc/Makefile (tests): Add tst-mallopt.
46591         * malloc/tst-mallopt.c: New file.
46593 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46595         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46596         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46598 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46600         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46601         (tst-tlsmod6.so): Likewise.
46603 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46605         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46607 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46609         [BZ #16064]
46610         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46611         and <dl-procinfo.h>.
46612         (__fegetenv): Save SSE state in envp->__eip if supported.
46613         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46614         envp->__eip if supported.
46615         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46616         and <dl-procinfo.h>.
46617         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46618         __data_offset and __data_selector in environment to 0.  Set SSE
46619         state if supported.
46620         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46621         test-fenv-sse.
46622         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46623         -mfpmath=sse.
46624         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46626 2014-05-09  Will Newton  <will.newton@linaro.org>
46628         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46629         and libc_relro_required for ARM.
46630         * sysdeps/arm/preconfigure: Regenerate.
46632 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46633             Stefan Liebler  <stli@linux.vnet.ibm.com>
46635         * config.make.in (enable-lock-elision): New Makefile variable.
46636         * configure.ac: Likewise.
46637         * configure: Regenerate.
46638         * sysdeps/s390/configure.ac:
46639         Add check for gcc transactions support.
46640         * sysdeps/s390/configure: Regenerate.
46641         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46642         Build elision files if enabled.
46643         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46644         Add lock elision support for s390.
46645         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46646         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46647         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46648         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46649         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46650         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46651         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46652         Likewise.
46653         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46654         Likewise.
46655         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46656         Likewise.
46657         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46658         Likewise.
46659         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46660         (__lll_timedlock_elision, __lll_lock_elision)
46661         (__lll_unlock_elision, __lll_trylock_elision)
46662         (lll_timedlock_elision, lll_lock_elision)
46663         (lll_unlock_elision, lll_trylock_elision): Add.
46664         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46665         (pthread_mutex_t): Add lock elision support for s390.
46667 2014-05-14  Wilco  <wdijkstr@arm.com>
46669         * sysdeps/arm/fclrexcpt.c: Cleanup.
46670         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46671         * sysdeps/arm/feenablxcpt.c: Cleanup.
46672         * sysdeps/arm/fegetenv.c: Cleanup.
46673         * sysdeps/arm/fegetexcept.c: Cleanup.
46674         * sysdeps/arm/fegetround.c: Cleanup.
46675         * sysdeps/arm/feholdexcpt.c: Cleanup.
46676         * sysdeps/arm/fesetenv.c: Cleanup.
46677         * sysdeps/arm/fesetround.c: Cleanup.
46678         * sysdeps/arm/feupdateenv.c: Cleanup.
46679         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46680         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46681         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46682         * sysdeps/arm/ftestexcept.c: Cleanup.
46683         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46684         * sysdeps/arm/setfpucw.c: Cleanup.
46686 2014-05-09  Will Newton  <will.newton@linaro.org>
46688         * sysdeps/arm/armv7/strcmp.S: New file.
46689         * NEWS: Mention addition of ARMv7 optimized strcmp.
46691 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46693         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46694         look for %.ac rather than %.in.
46696         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46697         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46698         * sysdeps/mach/hurd/configure: Regenerated.
46699         * sysdeps/unix/sysv/linux/configure: Regenerated.
46701         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46703 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46705         [BZ #16922]
46706         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46707         (LONG_SUB): Ditto.
46708         (PTR_SUB): Ditto.
46710 2014-05-07  Andreas Schwab  <schwab@suse.de>
46712         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46713         when skipping over non-matching result from nscd.
46715 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46717         [BZ #16876]
46718         * nptl/sockperf.c (client): Check socket return value.
46720         [BZ #16877]
46721         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46722         nscd security class.
46724 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46726         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46727         * sysdeps/arm/unwind.h: ... here.
46729 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46731         [BZ #16916]
46732         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46733         Define.
46735 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46737         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46738         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46739         multiarch strncpy for PPC64.
46740         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46741         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46743         multiarch optimizations.
46744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46745         (__libc_ifunc_impl_list): Likewise.
46746         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46747         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46748         multiarch stpncpy for PPC64.
46749         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46750         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46752 2014-05-06  Andreas Schwab  <schwab@suse.de>
46754         [BZ #16912]
46755         * gmon/mcount.c (_MCOUNT_DECL): Use
46756         atomic_compare_and_exchange_bool_acq instead of
46757         catomic_compare_and_exchange_bool_acq.
46759 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46761         * elf/Makefile (others, install-bin): Remove pldd.
46762         (pldd-modules): Variable removed.
46763         ($(objpfx)pldd): Target removed.
46764         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46765         (others, install-bin): Append pldd here.
46766         ($(objpfx)pldd): New target.
46768         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46769         to 0, so the first #if test emitted later doesn't see it undefined.
46770         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46771         * sysdeps/gnu/errlist.c: Regenerated.
46773 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46775         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46776         [libc_hidden_builtin_def]: Define to empty value.
46777         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46778         [libc_hidden_builtin_def]: Likewise.
46779         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46780         [libc_hidden_builtin_def]: Likewise.
46781         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46782         [libc_hidden_builtin_def]: Likewise.
46783         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46784         __redirect_memcpy and define ifunc as default hidden symbol.
46785         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46786         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46788 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46790         * locale/iso-4217.def: Reintroduce XDR currency.
46792 2014-05-04  Allan McRae  <allan@archlinux.org>
46794         * po/eo.po: Update Esperanto translation from translation project.
46796 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46798         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46799         and FEATURE_INDEX_MAX to 1.
46800         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46802 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46804         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46805         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46806         * iconvdata/big5.c (ONE_DIRECTION): Define.
46807         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46808         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46809         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46810         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46811         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46812         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46813         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46814         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46815         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46816         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46817         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46818         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46819         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46820         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46821         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46822         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46823         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46824         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46825         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46826         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46827         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46828         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46829         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46830         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46831         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46832         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46833         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46834         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46835         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46836         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46837         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46838         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46839         * iconvdata/johab.c (ONE_DIRECTION): Define.
46840         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46841         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46842         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46843         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46844         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46845         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46846         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46847         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
46848         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
46849         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
46851 2014-05-01  Roland McGrath  <roland@hack.frob.com>
46853         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
46854         (_IO_JUMPS_OFFSET): Define to 0.
46856         * nptl/sysdeps/pthread/bits/libc-lock.h
46857         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
46858         (__libc_lock_define_initialized_recursive): Always define using
46859         initializer.  Modern compilers treat uninitialized (implicit zero) and
46860         explicit zero initializers the same (i.e. put the datum in bss).
46862 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46864         * nscd/nscd-client.h: Include <string.h>.
46866 2014-05-01  David S. Miller  <davem@davemloft.net>
46868         [BZ #16885]
46869         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
46870         multiple zero bytes exist at the end of a string.
46871         Reported by Aurelien Jarno <aurelien@aurel32.net>
46873         * string/test-strcmp.c (check): Add explicit test for situations where
46874         there are multiple zero bytes after the first.
46876 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46878         [BZ #16890]
46879         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
46880         when compiling wprintf.
46881         * stdio-common/tstdiomisc.c (t3): New function.
46882         (main): Call it.
46884 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46886         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
46887         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
46888         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
46889         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
46891 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46893         * stdlib/longlong.h: Updated from GCC.
46895 2014-05-01  Will Newton  <will.newton@linaro.org>
46896             Bernard Ogden  <bernie.ogden@linaro.org>
46898         * NEWS: Update fixed bug list.
46900         [BZ #15119]
46901         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
46903 2014-04-30  David S. Miller  <davem@davemloft.net>
46905         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
46906         (libc_feholdexcept_setround_sparc_ctx): New function.
46907         (libc_fesetenv_sparc_ctx): Likewise.
46908         (libc_feupdateenv_sparc_ctx): Likewise.
46909         (libc_feholdsetround_sparc_ctx): Likewise.
46910         (libc_feholdexcept_setround_ctx): Define.
46911         (libc_feholdexcept_setroundf_ctx): Likewise.
46912         (libc_feholdexcept_setroundl_ctx): Likewise.
46913         (libc_fesetenv_ctx): Likewise.
46914         (libc_fesetenvf_ctx): Likewise.
46915         (libc_fesetenvl_ctx): Likewise.
46916         (libc_feupdateenv_ctx): Likewise.
46917         (libc_feupdateenvf_ctx): Likewise.
46918         (libc_feupdateenvl_ctx): Likewise.
46919         (libc_feresetround_ctx): Likewise.
46920         (libc_feresetroundf_ctx): Likewise.
46921         (libc_feresetroundl_ctx): Likewise.
46922         (libc_feholdsetround_ctx): Likewise.
46923         (libc_feholdsetroundf_ctx): Likewise.
46924         (libc_feholdsetroundl_ctx): Likewise.
46926         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46927         with __USE_GNU instead of XOPEN cpp guards.
46929         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
46930         0.
46932         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46933         with XOPEN cpp guards.
46935 2014-04-30  Julian Brown  <julian@codesourcery.com>
46937         [BZ #16888]
46938         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
46939         handling.
46941 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
46943         [BZ #9894]
46944         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
46945         Change to 2.6.32.
46946         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
46947         * sysdeps/unix/sysv/linux/configure: Regenerated.
46948         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
46949         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
46950         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
46951         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
46952         * README: Update reference to required Linux kernel version.
46953         * manual/install.texi (Linux): Update reference to required Linux
46954         kernel headers version.
46955         * INSTALL: Regenerated.
46957         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
46958         header inclusion.
46959         [POSIX] (limits.h): Likewise.
46960         [POSIX] (math.h): Likewise.
46961         [POSIX] (sys/wait.h): Likewise.
46962         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
46963         function.
46964         [POSIX] (stddef.h): Do not allow header inclusion.
46966 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46968         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
46970 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
46972         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
46973         Return immediately after lll_futex_wake.
46975 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46977         [BZ #16791]
46978         * nscd/nscd-client.h (datahead_init_common): Initialize entire
46979         structure.
46980         (datahead_init_pos): Call datahead_init_common early.
46981         (datahead_init_neg): Likewise.
46983         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
46984         datahead_init_neg): New functions.
46985         * nscd/aicache.c (addhstaiX): Use them.
46986         * nscd/grpcache.c (cache_addgr): Likewise.
46987         * nscd/hstcache.c (cache_addhst): Likewise.
46988         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46989         * nscd/netgroupcache.c (do_notfound): Likewise.
46990         (addgetnetgrentX): Likewise.
46991         (addinnetgrX): Likewise.
46992         * nscd/pwdcache.c (cache_addpw): Likewise.
46993         * nscd/servicescache.c (cache_addserv): Likewise.
46995 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46996             Atsushi Onoe  <atsushi@onoe.org>
46998         [BZ #14308]
46999         [BZ #12994]
47000         [BZ #13651]
47001         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47002         one response is valid.
47003         * resolv/res_send.c (send_dg): Check for validity of other
47004         response if the current response is a referral.
47006 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47008         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47010 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47012         [BZ #16823]
47013         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47014         Always divide by positive zero when computing -Inf result.
47015         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47016         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47018 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47020         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47021         FPSCR if value do not change.
47022         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47023         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47024         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47025         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47026         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47027         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47028         function.
47030 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47032         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47033         * sysdeps/unix/sysv/linux/hppa: Move directory from
47034         ports/systeps/unix/sysv/linux/hppa.
47035         * README: Update listing for hppa-*-linux-gnu.
47037 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47039         [BZ #16754]
47040         * manual/stdio.texi (Hook functions): Fix types of stream hook
47041         functions.
47042         [BZ #16854]
47043         * socket/sys/socket.h: Fix typo in comment.
47045 2014-04-28  Wilco  <wdijkstr@arm.com>
47047         * sysdeps/arm/fenv_private.h: New file.
47048         * sysdeps/arm/math_private.h: New file.
47049         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47051 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47053         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47054         with __int128_t.
47055         (La_x86_64_retval): Likewise.
47057 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47059         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47060         fpsr if value didn't change.
47061         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47062         to fpcr if value didn't change.
47063         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47064         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47065         fpsr or fpcr if value didn't change.
47066         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47067         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47068         fpcr if value didn't change.
47069         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47070         to fpsr if value didn't change.
47072 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47074         * nptl/tst-sem3.c: Use test-skeleton.c
47075         (main): Rename to do_test.  Use return instead of
47076         exit.
47077         * nptl/tst-sem4.c: Use test-skeleton.c
47078         (main): Rename to do_test.
47080 2014-04-22  David S. Miller  <davem@davemloft.net>
47082         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47083         (struct sigaction): New struct member __glibc_reserved0, change
47084         type of sa_flags to int.
47086 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47088         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47089         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47091 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47093         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47094         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47096 2014-04-22  Will Newton  <will.newton@linaro.org>
47097             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47099         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47100         (__longjmp): Add longjmp and longjmp_target SystemTap
47101         probes.
47102         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47103         (__sigsetjmp): Add setjmp SystemTap probe.
47105 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47107         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47108         match manual order.
47110 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47112         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47114         * sysdeps/powerpc/fpu/fenv_private.h
47115         (libc_feholdexcept_setroundl_ctx): Define to
47116         libc_feholdexcept_setround_ppc_ctx.
47117         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47118         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47119         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47120         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47122 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47124         * sysdeps/aarch64/math-tests.h: New file.
47126 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47128         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47129         New.
47130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47131         Check and set bit_AVX2_Usable.
47132         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47133         macro.
47134         (bit_AVX2): Likewise.
47135         (index_AVX2_Usable): Likewise.
47136         (CPUID_AVX2): Likewise.
47137         (HAS_AVX2): Likewise.
47139 2014-04-17  Will Newton  <will.newton@linaro.org>
47141         * manual/setjmp.texi (System V contexts): Add note that
47142         calling setcontext on a context created by a call to a
47143         signal handler is undefined.  Update text to note that
47144         setcontext from a signal handler is possible but not
47145         recommended.
47147         [BZ #16629]
47148         * stdlib/tst-setcontext.c: Include signal.h.
47149         (main): Check that the signal stack before and
47150         after swapcontext is the same.
47152         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47153         Re-implement to restore registers in user code and avoid
47154         rt_sigreturn system call.
47156 2014-04-17  Wilco  <wdijkstr@arm.com>
47158         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47159         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47160         * math/test-fenv.c: Skip exception trap tests on targets which only
47161         support non-stop mode.
47163 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47164             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47166         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47167         (libc_feholdsetround_aarch64_ctx)
47168         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47169         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47170         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47171         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47172         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47173         (libc_feresetround_noexl_ctx): Define.
47175 2014-04-16  Richard Henderson  <rth@redhat.com>
47177         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47179         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47180         unwind tables.
47182         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47183         const from the non-libc, non-ldso copy.
47185         * sysdeps/alpha/libm-test-ulps: Regenerate.
47187 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47188             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47190         * sysdeps/aarch64/fpu/math_private.h: New file.
47192 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47194         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47196 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47198         [BZ #16275]
47199         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47200         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47201         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47202         Intel MPX bound registers before _dl_profile_fixup.
47203         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47204         registers after _dl_profile_fixup.  Save and restore bound
47205         registers bnd0/bnd1 when calling _dl_call_pltexit.
47206         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47207         (LR_BND_OFFSET): Likewise.
47208         (LRV_BND0_OFFSET): Likewise.
47209         (LRV_BND1_OFFSET): Likewise.
47211 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47213         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47214         to...
47215         * sysdeps/mach/hurd/i386/tls.h: ... here.
47216         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47217         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47218         fields.
47220 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47222         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47224 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47226         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47228 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47230         [BZ #14770]
47231         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47232         * sysdeps/s390/configure: Regenerate.
47234         [BZ #16824]
47235         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47236         Set round-to-nearest internally to reduce error accumulation.
47238 2014-04-16  Alan Modra  <amodra@gmail.com>
47240         [BZ #16740]
47241         [BZ #16619]
47242         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47243         * math/libm-test.inc (frexp_test_data): Add tests.
47244         * NEWS: Update fixed bug list.
47246 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47248         * benchtests/Makefile: Depend on libraries in build directory.
47249         (bench-math): Separate out math tests.
47250         (bench-pthread): Separate out pthread tests.
47251         (bench): Include math and pthread tests.
47253 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47255         [BZ #16831]
47256         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47257         _dl_debug_initialize.
47259         * configure.ac: Remove SELinux header check.
47260         * configure: Regenerate.
47261         * nscd/selinux.c (perms): Array of const char* to permission names.
47262         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47263         default policy. Call string_to_security_class and string_to_av_perm to
47264         translate strings. Enforce default policy and call avs_has_perm with
47265         results of translated strings.
47267 2014-04-13  David S. Miller  <davem@davemloft.net>
47269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47271 2014-04-12  Allan McRae  <allan@archlinux.org>
47273         [BZ #16838]
47274         * manual/string.texi (Collation Functions): Fix qsort argument
47275         order in example.
47276         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47278 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47280         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47281         Make the test a no-op if there are no exceptions defined.
47283 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47285         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47286         enable-hardcoded-path-in-tests
47288 2014-04-11  Will Newton  <will.newton@linaro.org>
47290         * benchtests/Makefile (extra-objs): Add json-lib.o.
47291         (bench-func): Tidy up JSON output.
47292         * benchtests/bench-skeleton.c: Include json-lib.h.
47293         (main): Use JSON library functions to do output of
47294         benchmark results.
47295         * benchtests/bench-timing-type.c (main): Output the
47296         timing type simply, leaving formatting to the user.
47297         * benchtests/json-lib.c: New file.
47298         * benchtests/json-lib.h: Likewise.
47300 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47302         [BZ #15215]
47303         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47304         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47305         memory barriers.  Add comments.
47306         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47307         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47308         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47309         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47310         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47311         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47313 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47315         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47316         * sysdeps/s390/s390-64/configure.ac: ... this ...
47317         * sysdeps/s390/configure.ac: ... to here.
47318         * sysdeps/s390/s390-32/configure: Delete file.
47319         * sysdeps/s390/s390-64/configure: Delete file.
47320         * sysdeps/s390/configure: Regenerate.
47322 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47324         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47326 2014-04-11  Will Newton  <will.newton@linaro.org>
47328         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47329         to zero if it is not defined elsewhere.  (mtrim): Test
47330         the value of MALLOC_DEBUG with #if rather than #ifdef.
47332 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47334         * benchtests/pthread_once-inputs: New file.
47335         * benchtests/pthread_once-source.c: New file.
47336         * benchtests/README: Update documentation.
47338 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47339             H.J. Lu  <hongjiu.lu@intel.com>
47341         [BZ #16275]
47342         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47343         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47344         * sysdeps/x86_64/configure: Regenerated.
47345         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47346         macro.
47347         (REGISTER_SAVE_RAX): Likewise.
47348         (REGISTER_SAVE_RCX): Likewise.
47349         (REGISTER_SAVE_RDX): Likewise.
47350         (REGISTER_SAVE_RSI): Likewise.
47351         (REGISTER_SAVE_RDI): Likewise.
47352         (REGISTER_SAVE_R8): Likewise.
47353         (REGISTER_SAVE_R9): Likewise.
47354         (REGISTER_SAVE_BND0): Likewise.
47355         (REGISTER_SAVE_BND1): Likewise.
47356         (REGISTER_SAVE_BND2): Likewise.
47357         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47358         bound registers when calling _dl_fixup.
47360 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47362         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47363         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47364         of its definition.
47365         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47366         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47367         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47368         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47369         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47370         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47371         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47373 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47375         [BZ #15514]
47376         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47377         pathconf(_PC_NAME_MAX).
47379 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47381         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47382         Remove macro usage.
47383         (__PTHREAD_SPINS): Move definition to ...
47384         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47385         (__PTHREAD_SPINS): ... here.
47386         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47387         (__PTHREAD_SPIN): Likewise.
47388         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47389         (__PTHREAD_SPIN): Likewise.
47390         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47391         (__PTHREAD_SPIN): Likewise.
47392         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47393         (__PTHREAD_SPIN): Likewise.
47394         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47395         (__PTHREAD_SPIN): Likewise.
47396         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47397         (__PTHREAD_SPIN): Likewise.
47398         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47399         (__PTHREAD_SPIN): Likewise.
47400         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47401         (__PTHREAD_SPIN): Likewise.
47402         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47403         (__PTHREAD_SPIN): Likewise.
47404         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47405         (__PTHREAD_SPIN): Likewise.
47406         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47407         (__PTHREAD_SPIN): Likewise.
47408         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47409         (__PTHREAD_SPIN): Likewise.
47411         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47412         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47413         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47414         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47415         imply folder.
47416         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47417         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47418         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47419         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47420         correct imply path.
47421         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47422         strlen symbol for non multi-arch builds.
47423         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47424         missing hidden_def and weak_alias.
47426 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47428         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47430 2014-04-07  Will Newton  <will.newton@linaro.org>
47432         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47433         and contents.  [!_LIBC] Remove #ifndef and contents.
47434         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47435         * string/memccpy.c (__memccpy): Use ANSI prototype.
47436         * string/memfrob.c (memfrob): Likewise.
47437         * string/strcoll.c (STRCOLL): Likewise.
47438         * string/strlen.c (strlen): Likewise.
47439         * string/strtok.c (STRTOK): Likewise.
47440         * string/strcat.c: Remove unused #include of memcopy.h.
47441         (strcat): Use ANSI prototype.
47442         * string/strchr.c: Remove unused #include of memcopy.h.
47443         (strchr): Use ANSI prototype.
47444         * string/strcmp.c: Remove unused #include of memcopy.h.
47445         (strcmp): Use ANSI prototype.
47446         * string/strcpy.c: Remove unused #include of memcopy.h.
47447         (strcpy): Use ANSI prototype.
47449 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47451         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47452         * config.make.in (config-extra-cppflags): Set it from
47453         libc_extra_cppflags.
47454         * configure.ac (libc_extra_cflags): Make it accumulate over
47455         configure fragments.
47456         (libc_extra_cppflags): New flag.
47457         * configure. Regenerate.
47458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47459         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47460         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47463         [BZ #16815]
47464         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47465         result for FE_DOWNWARD rounding mode.
47466         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47467         Likewise.
47468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47470 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47472         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47473         in function argument name.
47475 2014-04-03  David Svoboda  <svoboda@cert.org>
47477         [BZ #5666]
47478         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47479         explicitly.
47481 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47483         * elf/dl-unmap-segments.h: New file.
47484         * sysdeps/generic/ldsodefs.h
47485         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47486         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47487         * elf/dl-fptr.c: Likewise.
47488         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47489         * sysdeps/aarch64/tlsdesc.c: Likewise.
47490         * sysdeps/arm/tlsdesc.c: Likewise.
47491         * sysdeps/i386/tlsdesc.c: Likewise.
47492         * sysdeps/tile/dl-runtime.c: Likewise.
47493         * sysdeps/x86_64/tlsdesc.c: Likewise.
47494         * elf/dl-load.h: New file.
47495         * elf/dl-load.c: Include it.
47496         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47497         Macros moved to dl-load.h.
47498         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47499         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47500         Use _dl_unmap_segments in place of __munmap.
47501         Break out segment-mapping loop into ...
47502         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47504 2014-04-03  Will Newton  <will.newton@linaro.org>
47506         * elf/dl-lookup.c (do_lookup_x): Remove comment
47507         referring to nested function and move variable
47508         declarations down to before first use.
47510 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47512         [BZ #16799]
47513         [BZ #16800]
47514         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47515         with 0 numerator.
47516         * math/s_catanf.c (__catanf): Likewise.
47517         * math/s_catanh.c (__catanh): Likewise.
47518         * math/s_catanhf.c (__catanhf): Likewise.
47519         * math/s_catanhl.c (__catanhl): Likewise.
47520         * math/s_catanl.c (__catanl): Likewise.
47521         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47522         by positive zero when computing -Inf result.
47523         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47524         (catanh_test): Likewise.
47525         * sysdeps/i386/fpu/libm-test-ulps: Update.
47526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47528         [BZ #16789]
47529         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47530         instead of using underflowing value in computing result.
47531         * math/s_clog10.c (__clog10): Likewise.
47532         * math/s_clog10f.c (__clog10f): Likewise.
47533         * math/s_clog10l.c (__clog10l): Likewise.
47534         * math/s_clogf.c (__clogf): Likewise.
47535         * math/s_clogl.c (__clogl): Likewise.
47536         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47537         (clog10_test): Likewise.
47538         * sysdeps/i386/fpu/libm-test-ulps: Update.
47539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47541 2014-04-02  Alan Modra  <amodra@gmail.com>
47543         [BZ #16739]
47544         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47545         output when value is near a power of two.  Use int64_t for lx and
47546         remove casts.  Use decimal rather than hex exponent constants.
47547         Don't use long double multiplication when double will suffice.
47548         * math/libm-test.inc (nextafter_test_data): Add tests.
47549         * NEWS: Add 16739 and 16786 to bug list.
47551         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47553         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47555 2014-04-01  Will Newton  <will.newton@linaro.org>
47557         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47558         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47560 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47562         [BZ #13347]
47563         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47564         * nptl/tst-setuid2.c: New file.
47565         * nptl/Makefile (xtests): Add tst-setuid2.
47567 2014-04-01  Alan Modra  <amodra@gmail.com>
47569         [BZ #16786]
47570         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47572 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47574         [BZ #6803]
47575         [BZ #6804]
47576         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47577         set errno as appropriate.
47578         * math/w_scalbf.c (__scalbf): Likewise.
47579         * math/w_scalbl.c (__scalbl): Likewise.
47580         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47581         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47582         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47583         Add more NaN tests.
47585         [BZ #16349]
47586         * math/w_atan2.c: Include <errno.h>.
47587         (__atan2): Set errno for result underflowing to zero.
47588         * math/w_atan2f.c: Include <errno.h>.
47589         (__atan2f): Set errno for result underflowing to zero.
47590         * math/w_atan2l.c: Include <errno.h>.
47591         (__atan2l): Set errno for result underflowing to zero.
47592         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47593         tests.
47594         * math/auto-libm-test-out: Regenerated.
47596 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47598         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47599         Encode instruction correctly in little endian.
47600         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47601         Likewise.
47602         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47603         Likewise.
47604         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47605         Likewise.
47606         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47607         Likewise.
47609 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47611         [BZ #9894]
47612         * sysdeps/unix/sysv/linux/kernel-features.h
47613         [__sparc__ && !__arch64__ && !__sparc_v9__]
47614         (__ASSUME_SET_ROBUST_LIST): Do not define.
47615         [__sparc__ && !__arch64__ && !__sparc_v9__]
47616         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47617         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47618         Likewise.
47619         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47620         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47621         (__ASSUME_REQUEUE_PI): Likewise.
47622         (__ASSUME_SET_ROBUST_LIST): Likewise.
47623         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47624         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47625         Undefine.
47626         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47627         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47628         Likewise.
47629         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47630         Likewise.
47631         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47632         Likewise.
47633         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47634         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47635         Undefine.
47636         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47637         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47638         Likewise.
47640         [BZ #16648]
47641         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47642         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47643         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47645 2014-03-31  Will Newton  <will.newton@linaro.org>
47647         * benchtests/Makefile (bench): Add ffs and ffsll to list
47648         of tests.
47649         * benchtests/ffs-inputs: New file.
47650         * benchtests/ffsll-inputs: Likewise.
47652 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47654         [BZ #16770]
47655         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47656         too large before casting to int.
47657         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47658         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47659         * math/libm-test.inc (scalb_test_data): Add more tests.
47661 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47663         * benchtests/Makefile (DETAILED_OPT): New make option.
47664         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47665         set.
47666         * benchtests/bench-skeleton.c: Include stdbool.h.
47667         (main): Store and print timings per input.
47668         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47669         member to each argument value.
47670         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47671         (_print_arg_data): Initialize per-input timing to 0.
47673         * benchtests/Makefile (timing-type): New binary.
47674         (bench-clean): Also remove bench-timing-type.
47675         (bench): New target for timing-type.
47676         (bench-func): Print output in JSON format.
47677         * benchtests/bench-skeleton.c (main): Print output in JSON
47678         format.
47679         * benchtests/bench-timing-type.c: New file.
47680         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47681         (TIMING_PRINT_STATS): Remove.
47682         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47683         name separately.
47685         * benchtests/bench-modf.c: Remove.
47686         * benchtests/modf-inputs: New inputs file.
47688 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47690         [BZ #16362]
47691         * math/s_clog10.c (M_PI_LOG10E): New macro.
47692         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47693         imaginary parts are 0.
47694         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47695         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47696         imaginary parts are 0.
47697         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47698         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47699         imaginary parts are 0.
47700         * math/libm-test.inc (clog10_test_data): Update expected results
47701         for when real and imaginary parts are 0.
47703 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47705         * elf/dl-load.c: Finish conversion of __builtin_expect into
47706         __glibc_{un}likely.
47708 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47710         [BZ #16348]
47711         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47712         1+x for argument with exponent below -67.
47713         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47714         Likewise.
47715         * math/auto-libm-test-in: Add more tests of exp.
47716         * math/auto-libm-test-out: Regenerated.
47718 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47720         [BZ #16759]
47721         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47722         (nscd_getnetgrent): Use it.
47724         [BZ #16760]
47725         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47726         of stpcpy.
47728 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47730         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47731         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47732         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47733         (lll_robust_unlock): Remove out of line section. Use cfi
47734         intrinsics.
47735         (LLL_STUB_UNWIND_INFO*): Remove.
47736         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47737         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47738         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47739         (lll_robust_unlock): Remove out of line section. Use cfi
47740         intrinsics.
47741         (LLL_STUB_UNWIND_INFO*): Remove.
47743 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47745         [BZ #16758]
47746         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47747         blank values.
47749 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47751         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47753 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47755         [BZ #16198]
47756         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47757         fnstenv.
47758         * math/test-fenv-preserve.c: New file.
47759         * math/Makefile (tests): Add test-fenv-preserve.
47761 2014-03-26  Will Newton <will.newton@linaro.org>
47763         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47765 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47767         * scripts/versionlist.awk: Partition the version sets and emit all
47768         GLIBC_* (sorted) before all others (sorted).
47770 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47772         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47773         GLIBC_2.2.5 version.
47775 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47777         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47778         calls.
47780         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47781         previous change.
47783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47785 2014-03-25  Andreas Schwab  <schwab@suse.de>
47787         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47788         label to be used after in6ailist is initialized.
47790 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47792         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47793         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47795 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47797         [BZ #16357]
47798         [BZ #16599]
47799         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47800         min_plus_half.
47801         (fp_formats): Update initializers.
47802         (init_fp_formats): Initialize new field.
47803         (output_for_one_input_case): Allow underflow for results up to
47804         min_plus_half.
47805         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47806         * math/auto-libm-test-in: Don't mark some underflows from asin and
47807         atanh as spurious.
47808         * math/auto-libm-test-out: Regenerated.
47809         * sysdeps/i386/fpu/libm-test-ulps: Update.
47810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47812 2014-03-25  Andreas Schwab  <schwab@suse.de>
47814         * libio/Makefile (tst-ftell-partial-wide-ENV)
47815         (tst-ftell-active-handler-ENV): Define.
47817 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47819         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47821 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47823         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47825 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47827         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47828         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47829         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47831 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47833         [BZ #16634]
47834         * elf/dl-load.c (open_verify): Add mode parameter.
47835         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47836         (open_path): Change from boolean 'secure' to complete flag 'mode'
47837         (_dl_map_object): Adjust.
47838         * elf/Makefile (tests): Add tst-dlopen-aout.
47839         * elf/tst-dlopen-aout.c: New test.
47841 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47843         [BZ #16714]
47844         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47845         (struct stat): Rename member pad0 to __glibc_reserved0.
47847         [BZ #16712]
47848         * sysdeps/s390/s390-32/bits/wordsize.h
47849         (__WORDSIZE32_SIZE_ULONG): New define.
47850         * sysdeps/s390/s390-64/bits/wordsize.h
47851         (__WORDSIZE32_SIZE_ULONG): Likewise.
47852         * sysdeps/generic/stdint.h (SIZE_MAX):
47853         Define as UL if __WORDSIZE32_SIZE_ULONG.
47855         [BZ #16713]
47856         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
47857         (__glibc_reserved0): New variable.
47858         (sa_flags): Change type to int.
47860         * posix/Makefile (before-compile): Use += before-compile instead
47861         of a :=.
47863         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47864         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47866 2014-03-20  Andreas Schwab  <schwab@suse.de>
47868         [BZ #16743]
47869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
47870         non-matching result from nscd.
47872 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47874         * scripts/bench.py: Moved to ...
47875         * benchtests/scripts/bench.py: ... here.
47876         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
47878 2014-03-24  Andreas Schwab  <schwab@suse.de>
47880         [BZ #16002]
47881         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
47882         alloca_account and account alloca use for struct in6ailist.
47884 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47886         [BZ #16284]
47887         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
47888         rounding mode to recompute results that overflow to infinity or
47889         underflow to zero.
47890         * math/auto-libm-test-in: Don't mark tests as expected to fail for
47891         bug 16284.
47892         * math/auto-libm-test-out: Regenerated.
47893         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
47894         (ccosh_test): Likewise.
47895         (csin_test_data): Use plus_oflow.
47896         (csin_test): Use ALL_RM_TEST.
47897         (csinh_test_data): Use plus_oflow.
47898         (csinh_test): Use ALL_RM_TEST.
47899         * sysdeps/i386/fpu/libm-test-ulps: Update.
47900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47902 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
47904         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
47905         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
47906         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
47908         [BZ #16731]
47909         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
47910         when x - 1 is zero.
47911         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
47912         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
47913         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47914         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
47915         argument is 1.
47916         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
47917         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
47918         zero.
47919         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
47920         * sysdeps/i386/fpu/libm-test-ulps: Update.
47921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47923 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47925         * scripts/bench.pl: Remove file.
47926         * scripts/bench.py: New benchmark script.
47927         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
47928         * benchtests/README: Mention python dependency.
47929         * scripts/pylintrc: New file.
47930         * scripts/pylint: New file.
47932         * bits/mathdef.h: Use #ifdef instead of #if.
47933         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
47934         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47935         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
47936         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47937         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
47938         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47940 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47941             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47943         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
47944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
47945         and strpbrk-ppc64 objects.
47946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47947         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
47948         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
47949         multiarch strpbrk for POWER7.
47950         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
47951         multiarch strpbrk for PPC64.
47952         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
47953         ifunc selector.
47954         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
47955         strpbrk for POWER7.
47957 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47959         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
47960         (atan_test): Likewise.
47961         (atanh_test_data): Use NO_TEST_INLINE for two tests.
47962         (atanh_test): Use ALL_RM_TEST.
47963         (atan2_test_data): Likewise.
47964         (cabs_test): Likewise.
47965         (cacosh_test): Likewise.
47966         (carg_test): Likewise.
47967         (casin_test): Likewise.
47968         (casinh_test): Likewise.
47969         (cbrt_test): Likewise.
47970         (csqrt_test): Likewise.
47971         (erf_test): Likewise.
47972         (erfc_test): Likewise.
47973         (pow10_test): Likewise.
47974         (exp2_test): Likewise.
47975         (hypot_test): Likewise.
47976         (j0_test): Likewise.
47977         (j1_test): Likewise.
47978         (lgamma_test): Likewise.
47979         (gamma_test): Likewise.
47980         (sincos_test): Likewise.
47981         (tanh_test): Likewise.
47982         (y0_test): Likewise.
47983         (y1_test): Likewise.
47984         * sysdeps/i386/fpu/libm-test-ulps: Update.
47985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47987 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47989         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
47990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
47991         and strcspn-ppc64 objects.
47992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47993         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
47994         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
47995         multiarch strcspn for POWER7.
47996         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
47997         multiarch strcspn for PPC64.
47998         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
47999         ifunc selector.
48000         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48001         strcspn for POWER7.
48003 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48005         * math/gen-libm-test.pl (generate_testfile): Expect only function
48006         name as argument to AUTO_TESTS_* and pass results for all rounding
48007         modes to parse_args.
48008         (parse_auto_input): Separate inputs of automatic tests from
48009         outputs before storing in %auto_tests.
48010         * math/libm-test.inc (acos_test_data): Update call to
48011         AUTO_TESTS_f_f.
48012         (acos_test): Use ALL_RM_TEST.
48013         (acos_tonearest_test_data): Remove.
48014         (acos_test_tonearest): Likewise.
48015         (acos_towardzero_test_data): Likewise.
48016         (acos_test_towardzero): Likewise.
48017         (acos_downward_test_data): Likewise.
48018         (acos_test_downward): Likewise.
48019         (acos_upward_test_data): Likewise.
48020         (acos_test_upward): Likewise.
48021         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48022         (asin_test_data): Likewise.
48023         (asin_test): Use ALL_RM_TEST.
48024         (asin_tonearest_test_data): Remove.
48025         (asin_test_tonearest): Likewise.
48026         (asin_towardzero_test_data): Likewise.
48027         (asin_test_towardzero): Likewise.
48028         (asin_downward_test_data): Likewise.
48029         (asin_test_downward): Likewise.
48030         (asin_upward_test_data): Likewise.
48031         (asin_test_upward): Likewise.
48032         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48033         (atan_test_data): Likewise.
48034         (atanh_test_data): Likewise.
48035         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48036         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48037         (carg_test_data): Likewise.
48038         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48039         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48040         (ccosh_test_data): Likewise.
48041         (cexp_test_data): Likewise.
48042         (clog_test_data): Likewise.
48043         (clog10_test_data): Likewise.
48044         (cos_test_data): Update call to AUTO_TESTS_f_f.
48045         (cos_test): Use ALL_RM_TEST.
48046         (cos_tonearest_test_data): Remove.
48047         (cos_test_tonearest): Likewise.
48048         (cos_towardzero_test_data): Likewise.
48049         (cos_test_towardzero): Likewise.
48050         (cos_downward_test_data): Likewise.
48051         (cos_test_downward): Likewise.
48052         (cos_upward_test_data): Likewise.
48053         (cos_test_upward): Likewise.
48054         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48055         (cosh_test): Use ALL_RM_TEST.
48056         (cosh_tonearest_test_data): Remove.
48057         (cosh_test_tonearest): Likewise.
48058         (cosh_towardzero_test_data): Likewise.
48059         (cosh_test_towardzero): Likewise.
48060         (cosh_downward_test_data): Likewise.
48061         (cosh_test_downward): Likewise.
48062         (cosh_upward_test_data): Likewise.
48063         (cosh_test_upward): Likewise.
48064         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48065         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48066         (ctan_test_data): Likewise.
48067         (ctan_test): Use ALL_RM_TEST.
48068         (ctan_tonearest_test_data): Remove.
48069         (ctan_test_tonearest): Likewise.
48070         (ctan_towardzero_test_data): Likewise.
48071         (ctan_test_towardzero): Likewise.
48072         (ctan_downward_test_data): Likewise.
48073         (ctan_test_downward): Likewise.
48074         (ctan_upward_test_data): Likewise.
48075         (ctan_test_upward): Likewise.
48076         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48077         (ctanh_test): Use ALL_RM_TEST.
48078         (ctanh_tonearest_test_data): Remove.
48079         (ctanh_test_tonearest): Likewise.
48080         (ctanh_towardzero_test_data): Likewise.
48081         (ctanh_test_towardzero): Likewise.
48082         (ctanh_downward_test_data): Likewise.
48083         (ctanh_test_downward): Likewise.
48084         (ctanh_upward_test_data): Likewise.
48085         (ctanh_test_upward): Likewise.
48086         (erf_test_data): Update call to AUTO_TESTS_f_f.
48087         (erfc_test_data): Likewise.
48088         (exp_test_data): Likewise.
48089         (exp_test): Use ALL_RM_TEST.
48090         (exp_tonearest_test_data): Remove.
48091         (exp_test_tonearest): Likewise.
48092         (exp_towardzero_test_data): Likewise.
48093         (exp_test_towardzero): Likewise.
48094         (exp_downward_test_data): Likewise.
48095         (exp_test_downward): Likewise.
48096         (exp_upward_test_data): Likewise.
48097         (exp_test_upward): Likewise.
48098         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48099         (exp10_test): Use ALL_RM_TEST.
48100         (exp10_tonearest_test_data): Remove.
48101         (exp10_test_tonearest): Likewise.
48102         (exp10_towardzero_test_data): Likewise.
48103         (exp10_test_towardzero): Likewise.
48104         (exp10_downward_test_data): Likewise.
48105         (exp10_test_downward): Likewise.
48106         (exp10_upward_test_data): Likewise.
48107         (exp10_test_upward): Likewise.
48108         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48109         (expm1_test_data): Likewise.
48110         (expm1_test): Use ALL_RM_TEST.
48111         (expm1_tonearest_test_data): Remove.
48112         (expm1_test_tonearest): Likewise.
48113         (expm1_towardzero_test_data): Likewise.
48114         (expm1_test_towardzero): Likewise.
48115         (expm1_downward_test_data): Likewise.
48116         (expm1_test_downward): Likewise.
48117         (expm1_upward_test_data): Likewise.
48118         (expm1_test_upward): Likewise.
48119         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48120         (fma_test): Use ALL_RM_TEST.
48121         (fma_towardzero_test_data): Remove.
48122         (fma_test_towardzero): Likewise.
48123         (fma_downward_test_data): Likewise.
48124         (fma_test_downward): Likewise.
48125         (fma_upward_test_data): Likewise.
48126         (fma_test_upward): Likewise.
48127         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48128         (j0_test_data): Update call to AUTO_TESTS_f_f.
48129         (j1_test_data): Likewise.
48130         (jn_test_data): Update call to AUTO_TESTS_if_f.
48131         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48132         (log_test_data): Update call to AUTO_TESTS_f_f.
48133         (log10_test_data): Likewise.
48134         (log1p_test_data): Likewise.
48135         (log2_test_data): Likewise.
48136         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48137         (pow_tonearest_test_data): Likewise.
48138         (sin_test_data): Update call to AUTO_TESTS_f_f.
48139         (sin_test): Use ALL_RM_TEST.
48140         (sin_tonearest_test_data): Remove.
48141         (sin_test_tonearest): Likewise.
48142         (sin_towardzero_test_data): Likewise.
48143         (sin_test_towardzero): Likewise.
48144         (sin_downward_test_data): Likewise.
48145         (sin_test_downward): Likewise.
48146         (sin_upward_test_data): Likewise.
48147         (sin_test_upward): Likewise.
48148         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48149         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48150         (sinh_test): Use ALL_RM_TEST.
48151         (sinh_tonearest_test_data): Remove.
48152         (sinh_test_tonearest): Likewise.
48153         (sinh_towardzero_test_data): Likewise.
48154         (sinh_test_towardzero): Likewise.
48155         (sinh_downward_test_data): Likewise.
48156         (sinh_test_downward): Likewise.
48157         (sinh_upward_test_data): Likewise.
48158         (sinh_test_upward): Likewise.
48159         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48160         (sqrt_test): Use ALL_RM_TEST.
48161         (sqrt_tonearest_test_data): Remove.
48162         (sqrt_test_tonearest): Likewise.
48163         (sqrt_towardzero_test_data): Likewise.
48164         (sqrt_test_towardzero): Likewise.
48165         (sqrt_downward_test_data): Likewise.
48166         (sqrt_test_downward): Likewise.
48167         (sqrt_upward_test_data): Likewise.
48168         (sqrt_test_upward): Likewise.
48169         (tan_test_data): Update call to AUTO_TESTS_f_f.
48170         (tan_test): Use ALL_RM_TEST.
48171         (tan_tonearest_test_data): Remove.
48172         (tan_test_tonearest): Likewise.
48173         (tan_towardzero_test_data): Likewise.
48174         (tan_test_towardzero): Likewise.
48175         (tan_downward_test_data): Likewise.
48176         (tan_test_downward): Likewise.
48177         (tan_upward_test_data): Likewise.
48178         (tan_test_upward): Likewise.
48179         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48180         (tgamma_test_data): Likewise.
48181         (y0_test_data): Likewise.
48182         (y1_test_data): Likewise.
48183         (yn_test_data): Update call to AUTO_TESTS_if_f.
48184         (main): Do not call removed functions.
48186 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48188         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48189         (ldexp_test_data): Remove.
48190         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48191         scalbn_test_data.
48192         (scalb_test): Use ALL_RM_TEST.
48194 2014-03-19  Andreas Schwab  <schwab@suse.de>
48196         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48198 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48200         [BZ #16649]
48201         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48202         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48203         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48204         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48205         (__ASSUME_PREADV): Undefine.
48206         (__ASSUME_PWRITEV): Likewise.
48208 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48210         * bits/mman-linux.h: Add comment about non-Linux use.
48211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48212         bits/mman-linux.h resting place.
48214         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48215         * bits/mman-linux.h: ... here.
48217 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48219         * conform/conformtest.pl: Add standard definition when calling C
48220         preprocessor on data files.
48221         (checknamespace): Remove unused variable.
48223 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48225         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48226         minus_oflow, plus_uflow and minus_uflow in expected results.
48227         * math/libm-test.inc (scalbn_test_data): Add more tests of
48228         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48229         minus_uflow.
48230         (scalbn_test): Use ALL_RM_TEST.
48231         (scalbln_test_data): Add more tests of negative arguments.  Use
48232         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48233         (scalbln_test): Use ALL_RM_TEST.
48235 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48237         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48239 2014-03-18  Will Newton  <will.newton@linaro.org>
48241         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48242         inaccurate comment.
48244 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48246         * Makerules [!subdir] (check-abi): Exit with error status if a
48247         test failed.
48249 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48251         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48252         for rint.  Include results for all rounding modes.
48253         (nearbyint_test): Use ALL_RM_TEST.
48254         (rint_test_data): Include all tests used for nearbyint.
48256 2014-03-17  Will Newton  <will.newton@linaro.org>
48258         * nptl/sysdeps/pthread/pthread.h: Revert previous
48259         change.
48261         * sysdeps/generic/ldsodefs.h: Revert previous
48262         change.
48264         * libio/genops.c: Revert previous change.
48265         * libio/libioP.h: Likewise.
48266         * stdio-common/vfprintf.c: Likewise.
48268         * sysdeps/generic/math_private.h: Revert previous
48269         change.
48271         * sysdeps/generic/math_private.h: Check whether
48272         HAVE_RM_CTX is defined with #ifdef rather
48273         than #if.
48275         * argp/argp-fmtstream.h: Check whether
48276         __STRICT_ANSI__ is defined with #ifdef rather
48277         than #if.
48278         * argp/argp.h: Likewise.
48280         * libio/genops.c: Check whether
48281         _IO_JUMPS_OFFSET is defined with #ifdef rather
48282         than #if.
48283         * libio/libioP.h: Likewise.
48284         * stdio-common/vfprintf.c: Likewise.
48286         * sysdeps/generic/ldsodefs.h: Check whether
48287         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48288         than #if.
48290         * nptl/sysdeps/pthread/pthread.h: Check
48291         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48292         its value.
48294 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48296         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48297         setting O_APPEND.
48298         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48299         test case.
48301         [BZ #16680]
48302         * libio/fileops.c (_IO_file_open): Seek to end of file but
48303         don't cache the offset.
48304         (get_file_offset): Remove function.
48305         (do_ftell): Use cached offset when available.
48306         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48307         don't cache the offset.
48308         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48309         case.
48310         (do_one_test): Call it.
48311         (do_ftell_test): Fix up expected old offset for a+ mode.
48312         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48313         available.
48315         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48316         up test status with function return status.
48317         (do_write_test): Likewise.
48318         (do_append_test): Likewise.
48320         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48321         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48322         Remove.
48324 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48326         * math/gen-libm-test.pl (parse_args): Handle results specified for
48327         each rounding mode separately.
48328         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48329         tests and results from lrint_tonearest_test_data,
48330         lrint_towardzero_test_data, lrint_downward_test_data and
48331         lrint_upward_test_data.
48332         (lrint_test): Use ALL_RM_TEST.
48333         (lrint_tonearest_test_data): Remove.
48334         (lrint_test_tonearest): Likewise.
48335         (lrint_towardzero_test_data): Likewise.
48336         (lrint_test_towardzero): Likewise.
48337         (lrint_downward_test_data): Likewise.
48338         (lrint_test_downward): Likewise.
48339         (lrint_upward_test_data): Likewise.
48340         (lrint_test_upward): Likewise.
48341         (llrint_test_data): Merge in per-rounding-mode tests and results
48342         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48343         llrint_downward_test_data and llrint_upward_test_data.
48344         (llrint_test): Use ALL_RM_TEST.
48345         (llrint_tonearest_test_data): Remove.
48346         (llrint_test_tonearest): Likewise.
48347         (llrint_towardzero_test_data): Likewise.
48348         (llrint_test_towardzero): Likewise.
48349         (llrint_downward_test_data): Likewise.
48350         (llrint_test_downward): Likewise.
48351         (llrint_upward_test_data): Likewise.
48352         (llrint_test_upward): Likewise.
48353         (rint_test_data): Merge in per-rounding-mode tests and results
48354         from rint_tonearest_test_data, rint_towardzero_test_data,
48355         rint_downward_test_data and rint_upward_test_data.  Add
48356         per-rounding-mode results for tests not in those arrays.
48357         (rint_test): Use ALL_RM_TEST.
48358         (rint_tonearest_test_data): Remove.
48359         (rint_test_tonearest): Likewise.
48360         (rint_towardzero_test_data): Likewise.
48361         (rint_test_towardzero): Likewise.
48362         (rint_downward_test_data): Likewise.
48363         (rint_test_downward): Likewise.
48364         (rint_upward_test_data): Likewise.
48365         (rint_test_upward): Likewise.
48366         (main): Don't call removed functions.
48368 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48370         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48371         "Compiled on ..." crapola.  It is anti-useful.
48373 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48375         * scripts/evaluate-test.sh: Handle fourth argument to determine
48376         whether test run should stop on failure.
48377         * Makeconfig (stop-on-test-failure): New variable.
48378         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48379         $(stop-on-test-failure).
48380         * Makefile (tests): Give a summary of results from testing and
48381         exit with failure status if they include an ERROR or FAIL.
48382         (xtests): Likewise.
48383         * manual/install.texi (Configuring and compiling): Mention
48384         stop-on-test-failure=y.
48385         * INSTALL: Regenerated.
48387 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48389         * scripts/versionlist.awk: New file.
48390         * Makerules [$(build-shared) = yes]
48391         (postclean-generated): Add Versions.def, not Versions.def.v and
48392         Versions.def.v.i.
48393         ($(common-objpfx)Versions.def.v.i): Target removed.
48394         ($(common-objpfx)Versions.def): New target.
48395         ($(common-objpfx)Versions.all): Depend on that rather that
48396         $(common-objpfx)Versions.def.v.
48397         * Versions.def: File removed.
48399         * Makeconfig (+gccwarn): Add -Wundef.
48400         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48401         a dl-sysdep.h breaking its contract.
48402         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48403         * include/stackinfo.h: New file.
48404         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48405         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48406         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48407         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48408         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48409         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48410         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48411         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48412         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48413         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48414         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48415         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48416         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48417         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48418         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48420 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48422         [BZ #16707]
48423         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48424         implementation.
48425         * math/libm-test.inc (round_test_data): Add more tests.
48427         [BZ #16706]
48428         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48429         implementation.
48430         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48432         [BZ #16701]
48433         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48434         implementation.
48435         * math/libm-test.inc (ceil_test_data): Add more tests.
48437         * math/libm-test.inc (trunc_test_data): Add more tests related to
48438         BZ#16414.
48440 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48442         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48443         with #if rather than #ifdef.
48444         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48446 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48448         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48449         first.  Disable AVX-512 GCC support if assembler doesn't support
48450         it.
48451         * sysdeps/x86_64/configure: Regenerated.
48453 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48455         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48456         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48457         (__old_pthread_attr_setstack): Likewise.
48458         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48459         [!_STACK_GROWS_DOWN]: Likewise.
48461 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48463         * config.make.in (have-bash2): Delete.
48464         * configure.ac (libc_cv_have_bash2): Delete.
48465         * configure: Regenerate.
48466         * elf/Makefile (common-ldd-rewrite): Rename to ...
48467         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48468         (sh-ldd-rewrite): Delete.
48469         (bash-ldd-rewrite): Delete.
48470         (have-bash2): Delete checks.
48471         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48472         ldd-rewrite.
48474         * config.make.in (have-ksh): Delete.
48475         (KSH): Delete.
48476         * configure.ac (libc_cv_have_ksh): Delete.
48477         * configure: Regenerate.
48479         * elf/Makefile: Delete $(have-ksh) check.
48480         ($(objpfx)sotruss): Change KSH to BASH.
48481         * elf/sotruss.ksh: Rename to ...
48482         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48483         function style to match POSIX.  Drop ksh vim mode setting.
48485         * manual/time.texi (Specifying the Time Zone with TZ): Change
48486         Tuesday to Thursday.
48488         * debug/tst-longjmp_chk2.c: Update header comment.
48489         (stackoverflow_handler): Add comment.  Call assert on pass value.
48491 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48493         [BZ #16194]
48494         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48495         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48496         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48497         (La_x86_64_vector): Add zmm.
48498         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48499         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48500         ($(objpfx)tst-audit10): New target.
48501         ($(objpfx)tst-audit10.out): Likewise.
48502         (tst-audit10-ENV): New.
48503         (AVX512-CFLAGS): Likewise.
48504         (CFLAGS-tst-audit10.c): Likewise.
48505         (CFLAGS-tst-auditmod10a.c): Likewise.
48506         (CFLAGS-tst-auditmod10b.c): Likewise.
48507         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48508         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48509         * sysdeps/x86_64/configure: Regenerated.
48510         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48511         AVX-512 zmm register support.
48512         (_dl_x86_64_save_sse): Likewise.
48513         (_dl_x86_64_restore_sse): Likewise.
48514         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48515         size vector registers.
48516         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48517         (ZMM_SIZE): Likewise.
48518         * sysdeps/x86_64/tst-audit10.c: New file.
48519         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48520         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48522 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48524         * configure.ac (HAVE_EHDR_START): New check.
48525         * configure: Regenerated.
48526         * config.h.in (HAVE_EHDR_START): New #undef.
48527         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48528         assuming the lowest-addressed segment maps the start of the file.
48530 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48532         * INSTALL: Regenerated.
48534 2014-03-13  Will Newton  <will.newton@linaro.org>
48536         * manual/setjmp.texi (System V contexts): Improve
48537         clarity and grammar of documentation.
48539 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48541         [BZ #16381]
48542         * elf/Makefile (tests): Add tst-pie2.
48543         (tests-pie): Add tst-pie2.
48544         * elf/tst-pie2.c: New file.
48545         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48546         for ET_EXEC.
48547         * elf/rtld.c (map_doit): Load executable as lt_executable.
48548         (dl_main): Likewise.
48550 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48552         [BZ #16642]
48553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48554         (__ASSUME_PSELECT): Undefine.
48556 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48558         [BZ #16689]
48559         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48560         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48561         static build.
48562         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48563         selector for static builds.
48565 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48567         [BZ #16695]
48568         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48569         key in the buffer.
48571 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48573         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48574         IFUNC selector for static builds.
48576 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48578         * sysdeps/mips/math_private.h [__mips_hard_float]
48579         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48580         libc_feresetround_mips_ctx.
48581         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48582         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48583         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48585         [BZ #16677]
48586         * math/s_nextafter.c (__nextafter): Do not return value from
48587         overflowing computation.
48588         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48589         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48590         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48591         Likewise.
48592         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48593         Likewise.
48594         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48595         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48597 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48599         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48600         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48601         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48602         the new mov targetting sp.
48604 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48606         [BZ #16683]
48607         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48608         Define it for static builds as well.
48609         (NO_BZERO_IMPL): Likewise.
48611 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48613         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48614         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48615         multiarch strspn for PPC64.
48616         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48617         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48619         (__libc_ifunc_impl_list): Likewise.
48620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48621         multiarch optimizations
48622         * string/strspn.c (strspn): Using macro to redefine symbol name.
48624 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48625             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48627         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48628         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48629         multiarch strncat for PPC64.
48630         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48631         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48633         (__libc_ifunc_impl_list): Likewise.
48634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48635         multiarch optimizations
48637 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48639         [BZ #16639]
48640         * nscd/nscd.service: Make service type forking.
48642 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48644         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48645         sign in non default rounding modes.
48646         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48648 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48650         * math/libm-test.inc (ALL_RM_TEST): New macro.
48651         (ceil_test): Use ALL_RM_TEST.
48652         (cimag_test): Likewise.
48653         (conj_test): Likewise.
48654         (copysign_test): Likewise.
48655         (cproj_test): Likewise.
48656         (creal_test): Likewise.
48657         (fabs_test): Likewise.
48658         (floor_test): Likewise.
48659         (fmax_test): Likewise.
48660         (fmin_test): Likewise.
48661         (fmod_test): Likewise.
48662         (fpclassify_test): Likewise.
48663         (frexp_test): Likewise.
48664         (ilogb_test): Likewise.
48665         (isfinite_test): Likewise.
48666         (finite_test): Likewise.
48667         (isgreater_test): Likewise.
48668         (isgreaterequal_test): Likewise.
48669         (isinf_test): Likewise.
48670         (isless_test): Likewise.
48671         (islessequal_test): Likewise.
48672         (islessgreater_test): Likewise.
48673         (isnan_test): Likewise.
48674         (isnormal_test): Likewise.
48675         (issignaling_test): Likewise.
48676         (isunordered_test): Likewise.
48677         (logb_test): Likewise.
48678         (logb_downward_test_data): Remove.
48679         (logb_test_downward): Likewise.
48680         (lround_test): Use ALL_RM_TEST.
48681         (llround_test): Likewise.
48682         (modf_test): Likewise.
48683         (nexttoward_test): Likewise.
48684         (remainder_test): Likewise.
48685         (drem_test): Likewise.
48686         (remainder_tonearest_test_data): Likewise.
48687         (remainder_test_tonearest): Likewise.
48688         (drem_test_tonearest): Likewise.
48689         (remainder_towardzero_test_data): Likewise.
48690         (remainder_test_towardzero): Likewise.
48691         (drem_test_towardzero): Likewise.
48692         (remainder_downward_test_data): Likewise.
48693         (remainder_test_downward): Likewise.
48694         (drem_test_downward): Likewise.
48695         (remainder_upward_test_data): Likewise.
48696         (remainder_test_upward): Likewise.
48697         (drem_test_upward): Likewise.
48698         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48699         (round_test): Use ALL_RM_TEST.
48700         (signbit_test): Likewise.
48701         (trunc_test): Likewise.
48702         (significand_test): Likewise.
48703         (main): Don't call removed functions.
48705 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48707         [BZ #16674]
48708         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48709         || __USE_XOPEN2K8].
48710         (ILL_ILLOPN): Likewise.
48711         (ILL_ILLADR): Likewise.
48712         (ILL_ILLTRP): Likewise.
48713         (ILL_PRVOPC): Likewise.
48714         (ILL_PRVREG): Likewise.
48715         (ILL_COPROC): Likewise.
48716         (ILL_BADSTK): Likewise.
48717         (FPE_INTDIV): Likewise.
48718         (FPE_INTOVF): Likewise.
48719         (FPE_FLTDIV): Likewise.
48720         (FPE_FLTOVF): Likewise.
48721         (FPE_FLTUND): Likewise.
48722         (FPE_FLTRES): Likewise.
48723         (FPE_FLTINV): Likewise.
48724         (FPE_FLTSUB): Likewise.
48725         (SEGV_MAPERR): Likewise.
48726         (SEGV_ACCERR): Likewise.
48727         (BUS_ADRALN): Likewise.
48728         (BUS_ADRERR): Likewise.
48729         (BUS_OBJERR): Likewise.
48730         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48731         (TRAP_TRACE): Likewise.
48732         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48733         __USE_XOPEN2K8].
48734         (CLD_KILLED): Likewise.
48735         (CLD_DUMPED): Likewise.
48736         (CLD_TRAPPED): Likewise.
48737         (CLD_STOPPED): Likewise.
48738         (CLD_CONTINUED): Likewise.
48739         (POLL_IN): Likewise.
48740         (POLL_OUT): Likewise.
48741         (POLL_MSG): Likewise.
48742         (POLL_ERR): Likewise.
48743         (POLL_PRI): Likewise.
48744         (POLL_HUP): Likewise.
48745         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48746         Likewise.
48747         (ILL_ILLOPN): Likewise.
48748         (ILL_ILLADR): Likewise.
48749         (ILL_ILLTRP): Likewise.
48750         (ILL_PRVOPC): Likewise.
48751         (ILL_PRVREG): Likewise.
48752         (ILL_COPROC): Likewise.
48753         (ILL_BADSTK): Likewise.
48754         (FPE_INTDIV): Likewise.
48755         (FPE_INTOVF): Likewise.
48756         (FPE_FLTDIV): Likewise.
48757         (FPE_FLTOVF): Likewise.
48758         (FPE_FLTUND): Likewise.
48759         (FPE_FLTRES): Likewise.
48760         (FPE_FLTINV): Likewise.
48761         (FPE_FLTSUB): Likewise.
48762         (SEGV_MAPERR): Likewise.
48763         (SEGV_ACCERR): Likewise.
48764         (BUS_ADRALN): Likewise.
48765         (BUS_ADRERR): Likewise.
48766         (BUS_OBJERR): Likewise.
48767         (BUS_MCEERR_AR): Likewise.
48768         (BUS_MCEERR_AO): Likewise.
48769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48770         (TRAP_TRACE): Likewise.
48771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48772         __USE_XOPEN2K8].
48773         (CLD_KILLED): Likewise.
48774         (CLD_DUMPED): Likewise.
48775         (CLD_TRAPPED): Likewise.
48776         (CLD_STOPPED): Likewise.
48777         (CLD_CONTINUED): Likewise.
48778         (POLL_IN): Likewise.
48779         (POLL_OUT): Likewise.
48780         (POLL_MSG): Likewise.
48781         (POLL_ERR): Likewise.
48782         (POLL_PRI): Likewise.
48783         (POLL_HUP): Likewise.
48784         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48785         (ILL_ILLOPN): Likewise.
48786         (ILL_ILLADR): Likewise.
48787         (ILL_ILLTRP): Likewise.
48788         (ILL_PRVOPC): Likewise.
48789         (ILL_PRVREG): Likewise.
48790         (ILL_COPROC): Likewise.
48791         (ILL_BADSTK): Likewise.
48792         (FPE_INTDIV): Likewise.
48793         (FPE_INTOVF): Likewise.
48794         (FPE_FLTDIV): Likewise.
48795         (FPE_FLTOVF): Likewise.
48796         (FPE_FLTUND): Likewise.
48797         (FPE_FLTRES): Likewise.
48798         (FPE_FLTINV): Likewise.
48799         (FPE_FLTSUB): Likewise.
48800         (SEGV_MAPERR): Likewise.
48801         (SEGV_ACCERR): Likewise.
48802         (BUS_ADRALN): Likewise.
48803         (BUS_ADRERR): Likewise.
48804         (BUS_OBJERR): Likewise.
48805         (BUS_MCEERR_AR): Likewise.
48806         (BUS_MCEERR_AO): Likewise.
48807         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48808         (TRAP_TRACE): Likewise.
48809         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48810         __USE_XOPEN2K8].
48811         (CLD_KILLED): Likewise.
48812         (CLD_DUMPED): Likewise.
48813         (CLD_TRAPPED): Likewise.
48814         (CLD_STOPPED): Likewise.
48815         (CLD_CONTINUED): Likewise.
48816         (POLL_IN): Likewise.
48817         (POLL_OUT): Likewise.
48818         (POLL_MSG): Likewise.
48819         (POLL_ERR): Likewise.
48820         (POLL_PRI): Likewise.
48821         (POLL_HUP): Likewise.
48822         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48823         Likewise.
48824         (ILL_ILLOPN): Likewise.
48825         (ILL_ILLADR): Likewise.
48826         (ILL_ILLTRP): Likewise.
48827         (ILL_PRVOPC): Likewise.
48828         (ILL_PRVREG): Likewise.
48829         (ILL_COPROC): Likewise.
48830         (ILL_BADSTK): Likewise.
48831         (ILL_BADIADDR): Likewise.
48832         (ILL_BREAK): Likewise.
48833         (FPE_INTDIV): Likewise.
48834         (FPE_INTOVF): Likewise.
48835         (FPE_FLTDIV): Likewise.
48836         (FPE_FLTOVF): Likewise.
48837         (FPE_FLTUND): Likewise.
48838         (FPE_FLTRES): Likewise.
48839         (FPE_FLTINV): Likewise.
48840         (FPE_FLTSUB): Likewise.
48841         (FPE_DECOVF): Likewise.
48842         (FPE_DECDIV): Likewise.
48843         (FPE_DECERR): Likewise.
48844         (FPE_INVASC): Likewise.
48845         (FPE_INVDEC): Likewise.
48846         (SEGV_MAPERR): Likewise.
48847         (SEGV_ACCERR): Likewise.
48848         (SEGV_PSTKOVF): Likewise.
48849         (BUS_ADRALN): Likewise.
48850         (BUS_ADRERR): Likewise.
48851         (BUS_OBJERR): Likewise.
48852         (BUS_MCEERR_AR): Likewise.
48853         (BUS_MCEERR_AO): Likewise.
48854         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48855         (TRAP_TRACE): Likewise.
48856         (TRAP_BRANCH): Likewise.
48857         (TRAP_HWBKPT): Likewise.
48858         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48859         __USE_XOPEN2K8].
48860         (CLD_KILLED): Likewise.
48861         (CLD_DUMPED): Likewise.
48862         (CLD_TRAPPED): Likewise.
48863         (CLD_STOPPED): Likewise.
48864         (CLD_CONTINUED): Likewise.
48865         (POLL_IN): Likewise.
48866         (POLL_OUT): Likewise.
48867         (POLL_MSG): Likewise.
48868         (POLL_ERR): Likewise.
48869         (POLL_PRI): Likewise.
48870         (POLL_HUP): Likewise.
48871         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
48872         (ILL_ILLOPN): Likewise.
48873         (ILL_ILLADR): Likewise.
48874         (ILL_ILLTRP): Likewise.
48875         (ILL_PRVOPC): Likewise.
48876         (ILL_PRVREG): Likewise.
48877         (ILL_COPROC): Likewise.
48878         (ILL_BADSTK): Likewise.
48879         (FPE_INTDIV): Likewise.
48880         (FPE_INTOVF): Likewise.
48881         (FPE_FLTDIV): Likewise.
48882         (FPE_FLTOVF): Likewise.
48883         (FPE_FLTUND): Likewise.
48884         (FPE_FLTRES): Likewise.
48885         (FPE_FLTINV): Likewise.
48886         (FPE_FLTSUB): Likewise.
48887         (SEGV_MAPERR): Likewise.
48888         (SEGV_ACCERR): Likewise.
48889         (BUS_ADRALN): Likewise.
48890         (BUS_ADRERR): Likewise.
48891         (BUS_OBJERR): Likewise.
48892         (BUS_MCEERR_AR): Likewise.
48893         (BUS_MCEERR_AO): Likewise.
48894         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48895         (TRAP_TRACE): Likewise.
48896         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48897         __USE_XOPEN2K8].
48898         (CLD_KILLED): Likewise.
48899         (CLD_DUMPED): Likewise.
48900         (CLD_TRAPPED): Likewise.
48901         (CLD_STOPPED): Likewise.
48902         (CLD_CONTINUED): Likewise.
48903         (POLL_IN): Likewise.
48904         (POLL_OUT): Likewise.
48905         (POLL_MSG): Likewise.
48906         (POLL_ERR): Likewise.
48907         (POLL_PRI): Likewise.
48908         (POLL_HUP): Likewise.
48909         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
48910         (ILL_ILLOPN): Likewise.
48911         (ILL_ILLADR): Likewise.
48912         (ILL_ILLTRP): Likewise.
48913         (ILL_PRVOPC): Likewise.
48914         (ILL_PRVREG): Likewise.
48915         (ILL_COPROC): Likewise.
48916         (ILL_BADSTK): Likewise.
48917         (FPE_INTDIV): Likewise.
48918         (FPE_INTOVF): Likewise.
48919         (FPE_FLTDIV): Likewise.
48920         (FPE_FLTOVF): Likewise.
48921         (FPE_FLTUND): Likewise.
48922         (FPE_FLTRES): Likewise.
48923         (FPE_FLTINV): Likewise.
48924         (FPE_FLTSUB): Likewise.
48925         (SEGV_MAPERR): Likewise.
48926         (SEGV_ACCERR): Likewise.
48927         (BUS_ADRALN): Likewise.
48928         (BUS_ADRERR): Likewise.
48929         (BUS_OBJERR): Likewise.
48930         (BUS_MCEERR_AR): Likewise.
48931         (BUS_MCEERR_AO): Likewise.
48932         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48933         (TRAP_TRACE): Likewise.
48934         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48935         __USE_XOPEN2K8].
48936         (CLD_KILLED): Likewise.
48937         (CLD_DUMPED): Likewise.
48938         (CLD_TRAPPED): Likewise.
48939         (CLD_STOPPED): Likewise.
48940         (CLD_CONTINUED): Likewise.
48941         (POLL_IN): Likewise.
48942         (POLL_OUT): Likewise.
48943         (POLL_MSG): Likewise.
48944         (POLL_ERR): Likewise.
48945         (POLL_PRI): Likewise.
48946         (POLL_HUP): Likewise.
48947         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
48948         (ILL_ILLOPN): Likewise.
48949         (ILL_ILLADR): Likewise.
48950         (ILL_ILLTRP): Likewise.
48951         (ILL_PRVOPC): Likewise.
48952         (ILL_PRVREG): Likewise.
48953         (ILL_COPROC): Likewise.
48954         (ILL_BADSTK): Likewise.
48955         (FPE_INTDIV): Likewise.
48956         (FPE_INTOVF): Likewise.
48957         (FPE_FLTDIV): Likewise.
48958         (FPE_FLTOVF): Likewise.
48959         (FPE_FLTUND): Likewise.
48960         (FPE_FLTRES): Likewise.
48961         (FPE_FLTINV): Likewise.
48962         (FPE_FLTSUB): Likewise.
48963         (SEGV_MAPERR): Likewise.
48964         (SEGV_ACCERR): Likewise.
48965         (BUS_ADRALN): Likewise.
48966         (BUS_ADRERR): Likewise.
48967         (BUS_OBJERR): Likewise.
48968         (BUS_MCEERR_AR): Likewise.
48969         (BUS_MCEERR_AO): Likewise.
48970         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48971         (TRAP_TRACE): Likewise.
48972         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48973         __USE_XOPEN2K8].
48974         (CLD_KILLED): Likewise.
48975         (CLD_DUMPED): Likewise.
48976         (CLD_TRAPPED): Likewise.
48977         (CLD_STOPPED): Likewise.
48978         (CLD_CONTINUED): Likewise.
48979         (POLL_IN): Likewise.
48980         (POLL_OUT): Likewise.
48981         (POLL_MSG): Likewise.
48982         (POLL_ERR): Likewise.
48983         (POLL_PRI): Likewise.
48984         (POLL_HUP): Likewise.
48985         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
48986         (ILL_ILLOPN): Likewise.
48987         (ILL_ILLADR): Likewise.
48988         (ILL_ILLTRP): Likewise.
48989         (ILL_PRVOPC): Likewise.
48990         (ILL_PRVREG): Likewise.
48991         (ILL_COPROC): Likewise.
48992         (ILL_BADSTK): Likewise.
48993         (ILL_DBLFLT): Likewise.
48994         (ILL_HARDWALL): Likewise.
48995         (FPE_INTDIV): Likewise.
48996         (FPE_INTOVF): Likewise.
48997         (FPE_FLTDIV): Likewise.
48998         (FPE_FLTOVF): Likewise.
48999         (FPE_FLTUND): Likewise.
49000         (FPE_FLTRES): Likewise.
49001         (FPE_FLTINV): Likewise.
49002         (FPE_FLTSUB): Likewise.
49003         (SEGV_MAPERR): Likewise.
49004         (SEGV_ACCERR): Likewise.
49005         (BUS_ADRALN): Likewise.
49006         (BUS_ADRERR): Likewise.
49007         (BUS_OBJERR): Likewise.
49008         (BUS_MCEERR_AR): Likewise.
49009         (BUS_MCEERR_AO): Likewise.
49010         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49011         (TRAP_TRACE): Likewise.
49012         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49013         __USE_XOPEN2K8].
49014         (CLD_KILLED): Likewise.
49015         (CLD_DUMPED): Likewise.
49016         (CLD_TRAPPED): Likewise.
49017         (CLD_STOPPED): Likewise.
49018         (CLD_CONTINUED): Likewise.
49019         (POLL_IN): Likewise.
49020         (POLL_OUT): Likewise.
49021         (POLL_MSG): Likewise.
49022         (POLL_ERR): Likewise.
49023         (POLL_PRI): Likewise.
49024         (POLL_HUP): Likewise.
49025         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49026         (ILL_ILLOPN): Likewise.
49027         (ILL_ILLADR): Likewise.
49028         (ILL_ILLTRP): Likewise.
49029         (ILL_PRVOPC): Likewise.
49030         (ILL_PRVREG): Likewise.
49031         (ILL_COPROC): Likewise.
49032         (ILL_BADSTK): Likewise.
49033         (FPE_INTDIV): Likewise.
49034         (FPE_INTOVF): Likewise.
49035         (FPE_FLTDIV): Likewise.
49036         (FPE_FLTOVF): Likewise.
49037         (FPE_FLTUND): Likewise.
49038         (FPE_FLTRES): Likewise.
49039         (FPE_FLTINV): Likewise.
49040         (FPE_FLTSUB): Likewise.
49041         (SEGV_MAPERR): Likewise.
49042         (SEGV_ACCERR): Likewise.
49043         (BUS_ADRALN): Likewise.
49044         (BUS_ADRERR): Likewise.
49045         (BUS_OBJERR): Likewise.
49046         (BUS_MCEERR_AR): Likewise.
49047         (BUS_MCEERR_AO): Likewise.
49048         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49049         (TRAP_TRACE): Likewise.
49050         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49051         __USE_XOPEN2K8].
49052         (CLD_KILLED): Likewise.
49053         (CLD_DUMPED): Likewise.
49054         (CLD_TRAPPED): Likewise.
49055         (CLD_STOPPED): Likewise.
49056         (CLD_CONTINUED): Likewise.
49057         (POLL_IN): Likewise.
49058         (POLL_OUT): Likewise.
49059         (POLL_MSG): Likewise.
49060         (POLL_ERR): Likewise.
49061         (POLL_PRI): Likewise.
49062         (POLL_HUP): Likewise.
49063         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49064         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49066         [BZ #16670]
49067         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49068         before #include of <time.h>.
49069         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49070         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49071         (test-xfail-UNIX98/sched.h/conform): Likewise.
49073 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49075         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49076         error absence of trapping exception support.
49077         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49079 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49081         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49082         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49083         * timezone/Makefile (testdata): Move definition above include of
49084         Rules.
49085         (test-zones): New variable.
49086         (tests-special): Add zone files.
49087         (build-testdata): Use $(evaluate-test).
49089         * elf/Makefile (tests-special): Rename tests to end with .out.
49090         ($(objpfx)noload-mem): Likewise.
49091         ($(objpfx)tst-leaks1-mem): Likewise.
49092         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49093         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49094         $(objpfx)test-iconvconfig.out.
49095         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49096         set -e inside subshell and redirect output to file.
49097         * iconvdata/Makefile (generated): Rename tests to end with .out.
49098         Correct type.
49099         (tests-special): Rename tests to end with .out.
49100         ($(objpfx)mtrace-tst-loading): Likewise.
49101         * intl/Makefile (generated): Likewise.
49102         (tests-special): Likewise.
49103         ($(objpfx)mtrace-tst-gettext): Likewise.
49104         * misc/Makefile (generated): Likewise.
49105         (tests-special): Likewise.
49106         ($(objpfx)tst-error1-mem): Likewise.
49107         * nptl/Makefile (tests-special): Likewise.
49108         ($(objpfx)tst-stack3-mem): Likewise.
49109         (generated): Likewise.
49110         * posix/Makefile (generated): Likewise.
49111         (tests-special): Likewise.
49112         (xtests-special): Likewise.
49113         ($(objpfx)tst-fnmatch-mem): Likewise.
49114         ($(objpfx)bug-regex2-mem): Likewise.
49115         ($(objpfx)bug-regex14-mem): Likewise.
49116         ($(objpfx)bug-regex21-mem): Likewise.
49117         ($(objpfx)bug-regex31-mem): Likewise.
49118         ($(objpfx)tst-vfork3-mem): Likewise.
49119         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49120         ($(objpfx)tst-pcre-mem): Likewise.
49121         ($(objpfx)tst-boost-mem): Likewise.
49122         ($(objpfx)bug-ga2-mem): Likewise.
49123         ($(objpfx)bug-glob2-mem): Likewise.
49124         * resolv/Makefile (generate): Likewise.
49125         (tests-special): Likewise.
49126         (xtests-special): Likewise.
49127         (generated): Likewise.
49128         ($(objpfx)mtrace-tst-leaks): Likewise.
49129         ($(objpfx)mtrace-tst-leaks2): Likewise.
49131         * scripts/merge-test-results.sh: New file.
49132         * Makefile (tests-special-notdir): New variable.
49133         (tests): Run merge-test-results.sh.
49134         (xtests): Likewise.
49135         * Rules (tests-special-notdir): New variable.
49136         (xtests-special-notdir): Likewise.
49137         (tests): Run merge-test-results.sh
49138         (xtests): Likewise.
49140         * Makeconfig (test-xfail-name): New variable.
49141         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49142         compute variable name for expected failures.
49143         * conform/Makefile (conformtest-headers-data): New variable.
49144         (conformtest-standards): Likewise.
49145         (conformtest-headers-ISO): Likewise.
49146         (conformtest-headers-ISO99): Likewise.
49147         (conformtest-headers-ISO11): Likewise.
49148         (conformtest-headers-POSIX): Likewise.
49149         (conformtest-headers-XPG3): Likewise.
49150         (conformtest-headers-XPG4): Likewise.
49151         (conformtest-headers-UNIX98): Likewise.
49152         (conformtest-headers-XOPEN2K): Likewise.
49153         (conformtest-headers-POSIX2008): Likewise.
49154         (conformtest-headers-XOPEN2K8): Likewise.
49155         (conformtest-header-list-base): Likewise.
49156         (conformtest-header-list-tests): Likewise.
49157         (conformtest-header-base): Likewise.
49158         (conformtest-header-tests): Likewise.
49159         (tests-special): Add $(conformtest-header-list-tests).  If
49160         [$(fast-check) && !$(cross-compiling)], add
49161         $(conformtest-header-tests) instead of
49162         $(objpfx)run-conformtest.out.
49163         (generated): Add $(conformtest-header-list-base).  If
49164         [$(fast-check) && !$(cross-compiling)], add
49165         $(conformtest-header-base).  Remove previous setting.
49166         ($(conformtest-header-list-tests)): New target.
49167         (test-xfail-run-conformtest): Remove variable.
49168         ($(objpfx)run-conformtest.out): Remove target.
49169         (test-xfail-ISO11/complex.h/conform): New variable.
49170         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49171         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49172         (test-xfail-XPG3/varargs.h/conform): Likewise.
49173         (test-xfail-XPG4/varargs.h/conform): Likewise.
49174         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49175         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49176         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49177         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49178         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49179         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49180         (test-xfail-XPG3/ftw.h/conform): Likewise.
49181         (test-xfail-XPG3/grp.h/conform): Likewise.
49182         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49183         (test-xfail-XPG3/limits.h/conform): Likewise.
49184         (test-xfail-XPG3/pwd.h/conform): Likewise.
49185         (test-xfail-XPG3/search.h/conform): Likewise.
49186         (test-xfail-XPG3/signal.h/conform): Likewise.
49187         (test-xfail-XPG3/stdio.h/conform): Likewise.
49188         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49189         (test-xfail-XPG3/string.h/conform): Likewise.
49190         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49191         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49192         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49193         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49194         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49195         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49196         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49197         (test-xfail-XPG3/termios.h/conform): Likewise.
49198         (test-xfail-XPG3/time.h/conform): Likewise.
49199         (test-xfail-XPG3/unistd.h/conform): Likewise.
49200         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49201         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49202         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49203         (test-xfail-XPG4/netdb.h/conform): Likewise.
49204         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49205         (test-xfail-XPG4/signal.h/conform): Likewise.
49206         (test-xfail-XPG4/stdio.h/conform): Likewise.
49207         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49208         (test-xfail-XPG4/stropts.h/conform): Likewise.
49209         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49210         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49211         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49212         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49213         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49214         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49215         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49216         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49217         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49218         (test-xfail-XPG4/termios.h/conform): Likewise.
49219         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49220         (test-xfail-XPG4/unistd.h/conform): Likewise.
49221         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49222         (test-xfail-POSIX/sched.h/conform): Likewise.
49223         (test-xfail-POSIX/signal.h/conform): Likewise.
49224         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49225         (test-xfail-POSIX/tar.h/conform): Likewise.
49226         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49227         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49228         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49229         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49230         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49231         (test-xfail-UNIX98/sched.h/conform): Likewise.
49232         (test-xfail-UNIX98/signal.h/conform): Likewise.
49233         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49234         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49235         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49236         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49237         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49238         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49239         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49240         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49241         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49242         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49243         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49244         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49245         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49246         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49247         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49248         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49249         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49250         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49251         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49252         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49253         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49254         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49255         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49256         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49257         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49258         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49259         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49260         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49261         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49262         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49263         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49264         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49265         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49266         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49267         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49268         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49269         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49270         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49271         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49272         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49273         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49274         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49275         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49276         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49277         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49278         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49279         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49280         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49281         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49282         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49283         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49284         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49285         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49286         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49287         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49288         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49289         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49290         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49291         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49292         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49293         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49294         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49295         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49296         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49297         (conformtest-cc-flags): Likewise.
49298         ($(conformtest-header-tests): New target.
49299         * conform/check-header-lists.sh: New file.
49300         * conform/run-conformtest.sh: Remove.
49302         * conform/conformtest.pl: Allow ' and \ in values given for
49303         constants.
49304         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49305         inclusion.
49306         [POSIX] (sys/types.h): Likewise.
49307         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49308         inclusion.
49309         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49310         inclusion.
49311         * conform/data/signal.h-data (SIGIO): Remove expectation.
49312         [XPG3] (SIGBUS): Do not expect.
49313         [POSIX || XPG3] (SIGPOLL): Likewise.
49314         [POSIX || XPG3] (SIGPROF): Likewise.
49315         [POSIX || XPG3] (SIGSYS): Likewise.
49316         [XPG3] (SIGTRAP): Likewise.
49317         [POSIX || XPG3] (SIGURG): Likewise.
49318         [POSIX || XPG3] (SIGVTALRM): Likewise.
49319         [POSIX || XPG3] (SIGXCPU): Likewise.
49320         [POSIX || XPG3] (SIGXFSZ): Likewise.
49321         [POSIX] (SA_SIGINFO): Expect.
49322         [XPG3] (siginfo_t): Do not expect type or contents.
49323         [POSIX] (si_pid): Do not expect element.
49324         [POSIX] (si_uid): Likewise.
49325         [POSIX] (si_addr): Likewise.
49326         [POSIX] (si_status): Likewise.
49327         [POSIX] (si_band): Likewise.
49328         [XPG4] (si_value): Likewise.
49329         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49330         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49331         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49332         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49333         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49334         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49335         [POSIX || XPG3] (ILL_COPROC): Likewise.
49336         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49337         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49338         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49339         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49340         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49341         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49342         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49343         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49344         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49345         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49346         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49347         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49348         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49349         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49350         [POSIX || XPG3] (CLD_EXITED): Likewise.
49351         [POSIX || XPG3] (CLD_KILLED): Likewise.
49352         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49353         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49354         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49355         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49356         [POSIX || XPG3] (POLL_IN): Likewise.
49357         [POSIX || XPG3] (POLL_OUT): Likewise.
49358         [POSIX || XPG3] (POLL_MSG): Likewise.
49359         [POSIX || XPG3] (POLL_ERR): Likewise.
49360         [POSIX || XPG3] (POLL_PRI): Likewise.
49361         [POSIX || XPG3] (POLL_HUP): Likewise.
49362         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49363         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49364         (SIG*): Do not allow.
49365         [XPG3] (si_*): Likewise.
49366         [XPG3] (SI_*): Likewise.
49367         [XPG3 || XPG4] (sigev_*): Likewise.
49368         [XPG3 || XPG4] (SIGEV_*): Likewise.
49369         [XPG3 || XPG4] (sival_*): Likewise.
49370         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49371         [POSIX || XPG3] (BUS_*): Likewise.
49372         [POSIX || XPG3] (CLD_*): Likewise.
49373         [POSIX || XPG3] (FPE_*): Likewise.
49374         [POSIX || XPG3] (ILL_*): Likewise.
49375         [POSIX || XPG3] (POLL_*): Likewise.
49376         [POSIX || XPG3] (SEGV_*): Likewise.
49377         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49378         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49379         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49380         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49381         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49382         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49383         Specify type and value.
49384         (TVERSLEN): Likewise.
49385         (REGTYPE): Likewise.
49386         (AREGTYPE): Likewise.
49387         (LNKTYPE): Likewise.
49388         (SYMTYPE): Likewise.
49389         (CHRTYPE): Likewise.
49390         (BLKTYPE): Likewise.
49391         (DIRTYPE): Likewise.
49392         (FIFOTYPE): Likewise.
49393         (CONTTYPE): Likewise.
49394         (TSUID): Likewise.
49395         (TSGID): Likewise.
49396         (TSVTX): Likewise.
49397         (TUREAD): Likewise.
49398         (TUWRITE): Likewise.
49399         (TUEXEC): Likewise.
49400         (TGREAD): Likewise.
49401         (TGWRITE): Likewise.
49402         (TGEXEC): Likewise.
49403         (TOREAD): Likewise.
49404         (TOWRITE): Likewise.
49405         (TOEXEC): Likewise.
49406         [POSIX] (TSVTX): Expect constant.
49408 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49410         * Makefile (tests): Change dependencies to ....
49411         (tests-special): ... additions to this variable.
49412         (tests): Depend on $(tests-special).
49413         * Makerules (check-abi-list): New variable.
49414         (check-abi): Depend on $(check-abi-list).
49415         [$(subdir) = elf] (tests-special): Add
49416         $(objpfx)check-abi-libc.out.
49417         [$(build-shared) = yes && subdir] (tests-special): Add
49418         $(check-abi-list).
49419         [$(build-shared) = yes && subdir] (tests): Do not depend on
49420         check-abi.
49421         * Rules (tests): Depend on $(tests-special).
49422         (xtests): Depend on $(xtests-special).
49423         * catgets/Makefile (tests): Change dependencies to ....
49424         (tests-special): ... additions to this variable.
49425         * conform/Makefile (tests): Change dependencies to ....
49426         (tests-special): ... additions to this variable.
49427         * elf/Makefile (tests): Change dependencies to ....
49428         (tests-special): ... additions to this variable.
49429         * grp/Makefile (tests): Change dependencies to ....
49430         (tests-special): ... additions to this variable.
49431         * iconv/Makefile (xtests): Change dependencies to ....
49432         (xtests-special): ... additions to this variable.
49433         * iconvdata/Makefile (tests): Change dependencies to ....
49434         (tests-special): ... additions to this variable.
49435         * intl/Makefile (tests): Change dependencies to ....
49436         (tests-special): ... additions to this variable.  Also add
49437         $(objpfx)tst-gettext.out.
49438         * io/Makefile (tests): Change dependencies to ....
49439         (tests-special): ... additions to this variable.
49440         * libio/Makefile (tests): Change dependencies to ....
49441         (tests-special): ... additions to this variable.
49442         * malloc/Makefile (tests): Change dependencies to ....
49443         (tests-special): ... additions to this variable.
49444         * misc/Makefile (tests): Change dependencies to ....
49445         (tests-special): ... additions to this variable.
49446         * nptl/Makefile (tests): Change dependencies to ....
49447         (tests-special): ... additions to this variable.
49448         * nptl_db/Makefile (tests): Change dependencies to ....
49449         (tests-special): ... additions to this variable.
49450         * posix/Makefile (tests): Change dependencies to ....
49451         (tests-special): ... additions to this variable.
49452         (xtests): Change dependencies to ....
49453         (xtests-special): ... additions to this variable.
49454         * resolv/Makefile (tests): Change dependencies to ....
49455         (tests-special): ... additions to this variable.
49456         (xtests): Change dependencies to ....
49457         (xtests-special): ... additions to this variable.
49458         * stdio-common/Makefile (tests): Change dependencies to ....
49459         (tests-special): ... additions to this variable.
49460         (do-tst-unbputc): Remove target.
49461         (do-tst-printf): Likewise.
49462         * stdlib/Makefile (tests): Change dependencies to ....
49463         (tests-special): ... additions to this variable.
49464         * string/Makefile (tests): Change dependencies to ....
49465         (tests-special): ... additions to this variable.
49466         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49467         (tests-special): ... additions to this variable.
49469         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49470         whole file.
49471         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49472         whole file.
49473         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49474         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49476         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49477         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49478         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49479         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49480         * conform/data/libgen.h-data [XPG3]: Likewise.
49481         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49482         * conform/data/ndbm.h-data [XPG3]: Likewise.
49483         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49484         * conform/data/netdb.h-data [XPG3]: Likewise.
49485         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49486         * conform/data/poll.h-data [XPG3]: Likewise.
49487         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49488         * conform/data/strings.h-data [XPG3]: Likewise.
49489         * conform/data/stropts.h-data [XPG3]: Likewise.
49490         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49491         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49492         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49493         Likewise.
49494         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49495         * conform/data/sys/time.h-data [XPG3]: Likewise.
49496         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49497         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49498         * conform/data/sys/un.h-data [XPG3]: Likewise.
49499         * conform/data/syslog.h-data [XPG3]: Likewise.
49500         * conform/data/ucontext.h-data [XPG3]: Likewise.
49501         * conform/data/utmpx.h-data [XPG3]: Likewise.
49502         * conform/data/varargs.h-data [UNIX98]: Enable file.
49504         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49506         * math/libm-test.inc (struct test_f_f_data): Move expected results
49507         into structure for each rounding mode.
49508         (struct test_ff_f_data): Likewise.
49509         (struct test_ff_f_data_nexttoward): Likewise.
49510         (struct test_fi_f_data): Likewise.
49511         (struct test_fl_f_data): Likewise.
49512         (struct test_if_f_data): Likewise.
49513         (struct test_fff_f_data): Likewise.
49514         (struct test_c_f_data): Likewise.
49515         (struct test_f_f1_data): Likewise.
49516         (struct test_fF_f1_data): Likewise.
49517         (struct test_ffI_f1_data): Likewise.
49518         (struct test_c_c_data): Likewise.
49519         (struct test_cc_c_data): Likewise.
49520         (struct test_f_i_data): Likewise.
49521         (struct test_ff_i_data): Likewise.
49522         (struct test_f_l_data): Likewise.
49523         (struct test_f_L_data): Likewise.
49524         (struct test_fFF_11_data): Likewise.
49525         (RM_): New macro.
49526         (RM_FE_DOWNWARD): Likewise.
49527         (RM_FE_TONEAREST): Likewise.
49528         (RM_FE_TOWARDZERO): Likewise.
49529         (RM_FE_UPWARD): Likewise.
49530         (RUN_TEST_LOOP_f_f): Update references to expected results.
49531         (RUN_TEST_LOOP_2_f): Likewise.
49532         (RUN_TEST_LOOP_fff_f): Likewise.
49533         (RUN_TEST_LOOP_c_f): Likewise.
49534         (RUN_TEST_LOOP_f_f1): Likewise.
49535         (RUN_TEST_LOOP_fF_f1): Likewise.
49536         (RUN_TEST_LOOP_fI_f1): Likewise.
49537         (RUN_TEST_LOOP_ffI_f1): Likewise.
49538         (RUN_TEST_LOOP_c_c): Likewise.
49539         (RUN_TEST_LOOP_cc_c): Likewise.
49540         (RUN_TEST_LOOP_f_i): Likewise.
49541         (RUN_TEST_LOOP_f_i_tg): Likewise.
49542         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49543         (RUN_TEST_LOOP_f_b): Likewise.
49544         (RUN_TEST_LOOP_f_b_tg): Likewise.
49545         (RUN_TEST_LOOP_f_l): Likewise.
49546         (RUN_TEST_LOOP_f_L): Likewise.
49547         (RUN_TEST_LOOP_fFF_11): Likewise.
49548         * math/gen-libm-test.pl (parse_args): Output four copies of
49549         expected results for each test.
49551         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49552         (__ASSUME_UTIMES): Remove.
49553         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49554         (__ASSUME_UTIMES): Likewise.
49556         * math/gen-auto-libm-tests.c: Update comment on output format.
49557         (output_for_one_input_case): Generate before-rounding and
49558         after-rounding information as conditions on output flags not
49559         floating-point format.
49560         * math/auto-libm-test-out: Regenerated.
49561         * math/gen-libm-test.pl (cond_value): New function.
49562         (or_cond_value): Use cond_value.
49563         (generate_testfile): Handle conditional exceptions.
49565 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49567         * math/libm-test.inc (max_valid_error): New variable.
49568         (init_max_error): Take new argument specifying whether function
49569         results are exactly determined.  Set max_valid_error and bound
49570         other variables for errors based on this argument.
49571         (set_max_error): Do not record results above max_valid_error.
49572         (check_float_internal): Only accept errors of up to 0.5ulps if
49573         also at most max_valid_error.
49574         (START): Take new argument EXACT and pass it to init_max_error.
49575         (acos_test): Update call to START.
49576         (acos_test_tonearest): Likewise.
49577         (acos_test_towardzero): Likewise.
49578         (acos_test_downward): Likewise.
49579         (acos_test_upward): Likewise.
49580         (acosh_test): Likewise.
49581         (asin_test): Likewise.
49582         (asin_test_tonearest): Likewise.
49583         (asin_test_towardzero): Likewise.
49584         (asin_test_downward): Likewise.
49585         (asin_test_upward): Likewise.
49586         (asinh_test): Likewise.
49587         (atan_test): Likewise.
49588         (atanh_test): Likewise.
49589         (atan2_test): Likewise.
49590         (cabs_test): Likewise.
49591         (cacos_test): Likewise.
49592         (cacosh_test): Likewise.
49593         (carg_test): Likewise.
49594         (casin_test): Likewise.
49595         (casinh_test): Likewise.
49596         (catan_test): Likewise.
49597         (catanh_test): Likewise.
49598         (cbrt_test): Likewise.
49599         (ccos_test): Likewise.
49600         (ccosh_test): Likewise.
49601         (ceil_test): Likewise.
49602         (cexp_test): Likewise.
49603         (cimag_test): Likewise.
49604         (clog_test): Likewise.
49605         (clog10_test): Likewise.
49606         (conj_test): Likewise.
49607         (copysign_test): Likewise.
49608         (cos_test): Likewise.
49609         (cos_test_tonearest): Likewise.
49610         (cos_test_towardzero): Likewise.
49611         (cos_test_downward): Likewise.
49612         (cos_test_upward): Likewise.
49613         (cosh_test): Likewise.
49614         (cosh_test_tonearest): Likewise.
49615         (cosh_test_towardzero): Likewise.
49616         (cosh_test_downward): Likewise.
49617         (cosh_test_upward): Likewise.
49618         (cpow_test): Likewise.
49619         (cproj_test): Likewise.
49620         (creal_test): Likewise.
49621         (csin_test): Likewise.
49622         (csinh_test): Likewise.
49623         (csqrt_test): Likewise.
49624         (ctan_test): Likewise.
49625         (ctan_test_tonearest): Likewise.
49626         (ctan_test_towardzero): Likewise.
49627         (ctan_test_downward): Likewise.
49628         (ctan_test_upward): Likewise.
49629         (ctanh_test): Likewise.
49630         (ctanh_test_tonearest): Likewise.
49631         (ctanh_test_towardzero): Likewise.
49632         (ctanh_test_downward): Likewise.
49633         (ctanh_test_upward): Likewise.
49634         (erf_test): Likewise.
49635         (erfc_test): Likewise.
49636         (exp_test): Likewise.
49637         (exp_test_tonearest): Likewise.
49638         (exp_test_towardzero): Likewise.
49639         (exp_test_downward): Likewise.
49640         (exp_test_upward): Likewise.
49641         (exp10_test): Likewise.
49642         (exp10_test_tonearest): Likewise.
49643         (exp10_test_towardzero): Likewise.
49644         (exp10_test_downward): Likewise.
49645         (exp10_test_upward): Likewise.
49646         (pow10_test): Likewise.
49647         (exp2_test): Likewise.
49648         (expm1_test): Likewise.
49649         (expm1_test_tonearest): Likewise.
49650         (expm1_test_towardzero): Likewise.
49651         (expm1_test_downward): Likewise.
49652         (expm1_test_upward): Likewise.
49653         (fabs_test): Likewise.
49654         (fdim_test): Likewise.
49655         (floor_test): Likewise.
49656         (fma_test): Likewise.
49657         (fma_test_towardzero): Likewise.
49658         (fma_test_downward): Likewise.
49659         (fma_test_upward): Likewise.
49660         (fmax_test): Likewise.
49661         (fmin_test): Likewise.
49662         (fmod_test): Likewise.
49663         (fpclassify_test): Likewise.
49664         (frexp_test): Likewise.
49665         (hypot_test): Likewise.
49666         (ilogb_test): Likewise.
49667         (isfinite_test): Likewise.
49668         (finite_test): Likewise.
49669         (isgreater_test): Likewise.
49670         (isgreaterequal_test): Likewise.
49671         (isinf_test): Likewise.
49672         (isless_test): Likewise.
49673         (islessequal_test): Likewise.
49674         (islessgreater_test): Likewise.
49675         (isnan_test): Likewise.
49676         (isnormal_test): Likewise.
49677         (issignaling_test): Likewise.
49678         (isunordered_test): Likewise.
49679         (j0_test): Likewise.
49680         (j1_test): Likewise.
49681         (jn_test): Likewise.
49682         (ldexp_test): Likewise.
49683         (lgamma_test): Likewise.
49684         (gamma_test): Likewise.
49685         (lrint_test): Likewise.
49686         (lrint_test_tonearest): Likewise.
49687         (lrint_test_towardzero): Likewise.
49688         (lrint_test_downward): Likewise.
49689         (lrint_test_upward): Likewise.
49690         (llrint_test): Likewise.
49691         (llrint_test_tonearest): Likewise.
49692         (llrint_test_towardzero): Likewise.
49693         (llrint_test_downward): Likewise.
49694         (llrint_test_upward): Likewise.
49695         (log_test): Likewise.
49696         (log10_test): Likewise.
49697         (log1p_test): Likewise.
49698         (log2_test): Likewise.
49699         (logb_test): Likewise.
49700         (logb_test_downward): Likewise.
49701         (lround_test): Likewise.
49702         (llround_test): Likewise.
49703         (modf_test): Likewise.
49704         (nearbyint_test): Likewise.
49705         (nextafter_test): Likewise.
49706         (nexttoward_test): Likewise.
49707         (pow_test): Likewise.
49708         (pow_test_tonearest): Likewise.
49709         (pow_test_towardzero): Likewise.
49710         (pow_test_downward): Likewise.
49711         (pow_test_upward): Likewise.
49712         (remainder_test): Likewise.
49713         (drem_test): Likewise.
49714         (remainder_test_tonearest): Likewise.
49715         (drem_test_tonearest): Likewise.
49716         (remainder_test_towardzero): Likewise.
49717         (drem_test_towardzero): Likewise.
49718         (remainder_test_downward): Likewise.
49719         (drem_test_downward): Likewise.
49720         (remainder_test_upward): Likewise.
49721         (drem_test_upward): Likewise.
49722         (remquo_test): Likewise.
49723         (rint_test): Likewise.
49724         (rint_test_tonearest): Likewise.
49725         (rint_test_towardzero): Likewise.
49726         (rint_test_downward): Likewise.
49727         (rint_test_upward): Likewise.
49728         (round_test): Likewise.
49729         (scalb_test): Likewise.
49730         (scalbn_test): Likewise.
49731         (scalbln_test): Likewise.
49732         (signbit_test): Likewise.
49733         (sin_test): Likewise.
49734         (sin_test_tonearest): Likewise.
49735         (sin_test_towardzero): Likewise.
49736         (sin_test_downward): Likewise.
49737         (sin_test_upward): Likewise.
49738         (sincos_test): Likewise.
49739         (sinh_test): Likewise.
49740         (sinh_test_tonearest): Likewise.
49741         (sinh_test_towardzero): Likewise.
49742         (sinh_test_downward): Likewise.
49743         (sinh_test_upward): Likewise.
49744         (sqrt_test): Likewise.
49745         (sqrt_test_tonearest): Likewise.
49746         (sqrt_test_towardzero): Likewise.
49747         (sqrt_test_downward): Likewise.
49748         (sqrt_test_upward): Likewise.
49749         (tan_test): Likewise.
49750         (tan_test_tonearest): Likewise.
49751         (tan_test_towardzero): Likewise.
49752         (tan_test_downward): Likewise.
49753         (tan_test_upward): Likewise.
49754         (tanh_test): Likewise.
49755         (tgamma_test): Likewise.
49756         (trunc_test): Likewise.
49757         (y0_test): Likewise.
49758         (y1_test): Likewise.
49759         (yn_test): Likewise.
49760         (significand_test): Likewise.
49762         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49763         individual tests in comment.
49764         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49765         (prev_max_error): New variable.
49766         (prev_real_max_error): Likewise.
49767         (prev_imag_max_error): Likewise.
49768         (compare_ulp_data): Don't refer to test names in comment.
49769         (find_test_ulps): Remove function.
49770         (find_function_ulps): Likewise.
49771         (find_complex_function_ulps): Likewise.
49772         (init_max_error): Take function name as argument.  Look up ulps
49773         for that function.
49774         (print_ulps): Remove function.
49775         (print_max_error): Use prev_max_error instead of calling
49776         find_function_ulps.
49777         (print_complex_max_error): Use prev_real_max_error and
49778         prev_imag_max_error instead of calling find_complex_function_ulps.
49779         (check_float_internal): Take max_ulp parameter instead of calling
49780         find_test_ulps.  Don't call print_ulps.
49781         (check_float): Update call to check_float_internal.
49782         (check_complex): Update calls to check_float_internal.
49783         (START): Pass argument to init_max_error.
49784         * math/gen-libm-test.pl (%results): Don't include "kind"
49785         information.
49786         (parse_ulps): Don't handle ulps of individual tests.
49787         (print_ulps_file): Likewise.
49788         (output_ulps): Likewise.
49789         * math/README.libm-test: Update.
49790         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49791         individual tests.
49792         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49793         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49794         * sysdeps/arm/libm-test-ulps: Likewise.
49795         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49796         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49797         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49798         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49799         * sysdeps/microblaze/libm-test-ulps: Likewise.
49800         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49801         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49802         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49803         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49804         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49805         * sysdeps/sh/libm-test-ulps: Likewise.
49806         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49807         * sysdeps/tile/libm-test-ulps: Likewise.
49808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49810 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49812         * math/libm-test.inc (print_complex_max_error): Check separately
49813         whether real and imaginary errors are within allowed range and
49814         pass 0 to print_complex_function_ulps instead of value within
49815         allowed range.
49817 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49819         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49820         formatting.
49821         (get_handles_fopen): Likewise.
49822         (do_write_test): Likewise.
49824         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49826         * libio/fileops.c (do_ftell): Use cached offset when
49827         available.
49828         * libio/iofwide.c (do_ftell_wide): Likewise.
49829         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49830         _IO_file_attach.
49831         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49833         [BZ #16532]
49834         * libio/libioP.h (get_file_offset): New function.
49835         * libio/fileops.c (get_file_offset): Likewise.
49836         (do_ftell): Likewise.
49837         (_IO_new_file_seekoff): Split out ftell logic.
49838         * libio/wfileops.c (do_ftell_wide): Likewise.
49839         (_IO_wfile_seekoff): Split out ftell logic.
49840         * libio/tst-ftell-active-handler.c: New test case.
49841         * libio/Makefile (tests): Add it.
49843 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49845         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49846         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
49848 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49850         [BZ #16639]
49851         * nscd/connections.c (nscd_init): Call do_exit.
49852         (start_threads): Call do_exit and notify_parent.
49853         (begin_drop_privileges): Call do_exit.
49854         (finish_drop_privileges): Likewise.
49855         * nscd/selinux.c (preserve_capabilities): Likewise.
49856         (install_real_capabilities): Likewise.
49857         (nscd_selinux_enabled): Likewise.
49858         (avc_create_thread): Likewise.
49859         (avc_alloc_lock): Likewise.
49860         (nscd_avc_init): Likewise.
49861         * nscd/nscd.c (parent_fd): New static variable.
49862         (main): Create a pipe between parent and child processes.
49863         Skip closing parent_fd.
49864         (monitor_child): New function.
49865         (do_exit): Likewise.
49866         (notify_parent): Likewise.
49867         * nscd/nscd.h (notify_parent): Likewise.
49868         (do_exit): Likewise.
49870 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
49872         * malloc/malloc.c (__libc_calloc): Revert last change.
49874 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49878 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49880         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
49881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
49882         implementation.
49883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49884         (__libc_ifunc_impl_list): Likewise.
49885         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
49886         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
49887         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
49888         * string/strrchr.c: Define STRRCHR.
49890 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
49892         * benchtest/bench-strtok.c (simple_strtok): Delete.
49893         (strtok_string): Use as benchmark.
49894         * string/strtok (STRTOK): New macro.
49896 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
49898         * manual/threads.texi: Add header and standard comments to all
49899         functions.
49901         * elf/dl-lookup.c (check_match): New function.
49902         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
49903         (do_lookup_x): Remove nested function check_match. Use non-nested
49904         function check_match.
49906 2014-02-28  Roland McGrath  <roland@hack.frob.com>
49908         * csu/Makefile (generated, before-compile): Use += rather than =.
49909         * catgets/Makefile (generated, generated-dirs): Likewise.
49910         * debug/Makefile (generated): Likewise.
49911         * dlfcn/Makefile (generated): Likewise.
49912         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
49913         * iconvdata/Makefile (before-compile, generated): Likewise.
49914         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
49915         * libio/Makefile (generated): Likewise.
49916         * malloc/Makefile (generated): Likewise.
49917         * manual/Makefile (generated, generated-dirs): Likewise.
49918         * misc/Makefile (generated): Likewise.
49919         * posix/Makefile (generated): Likewise.
49920         * resolv/Makefile (generated): Likewise.
49921         * sunrpc/Makefile (generated, generated-dirs): Likewise.
49922         * timezone/Makefile (generated, generated-dirs): Likewise.
49924         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
49926 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49929         power8 implementation.
49930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
49931         file: POWER8 llround ifunc implementation.
49932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
49933         (__lllround): Add POWER8 implementation.
49934         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
49935         POWER8 llround implementation.
49937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
49938         power8 implementation.
49939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
49940         file: POWER8 llrint ifunc implementation.
49941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
49942         Add POWER8 implementation.
49943         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
49944         POWER8 llrint implementation.
49946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
49947         power8 implementation.
49948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
49949         file: POWER8 finite ifunc implementation.
49950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
49951         Add POWER8 implementation.
49952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
49953         Likewise.
49954         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
49955         POWER8 finite implementation.
49956         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
49958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
49959         power8 implementation.
49960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
49961         file: POWER8 isinf ifunc implementation.
49962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
49963         POWER8 implementation.
49964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
49965         Likewise.
49966         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
49967         isinf implementation.
49968         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
49970         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
49971         (INIT_ARCH): Add hwcap2 initialization.
49972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49973         power8 implementation.
49974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
49975         file: POWER8 isnan ifunc implementation.
49976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
49977         POWER8 implementation.
49978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
49979         Likewise.
49980         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
49981         isnan implementation.
49982         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
49984 2014-02-27  Joey Ye  <joey.ye@arm.com>
49986         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49987         (_FP_NANFRAC_Q): Set to zero.
49989 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49991         [BZ #16623]
49992         * math/auto-libm-test-in: New test inputs.
49993         * math/auto-libm-test-out: Regenerate.
49994         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
49995         and DA.
49996         (__cos): Likewise.
49997         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49999 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50001         * scripts/evaluate-test.sh: Take new argument indicating whether
50002         failure is expected.
50003         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50004         indicating whether failure is expected.
50005         * conform/Makefile (test-xfail-run-conformtest): New variable.
50006         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50007         level.
50008         * posix/Makefile (test-xfail-annexc): New variable.
50009         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50011 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50013         * argp/Makefile: Include Makeconfig immediately after defining
50014         subdir.
50015         * assert/Makefile: Likewise.
50016         * benchtests/Makefile: Likewise.
50017         * catgets/Makefile: Likewise.
50018         * conform/Makefile: Likewise.
50019         * crypt/Makefile: Likewise.
50020         * csu/Makefile: Likewise.
50021         (all): Remove target.
50022         * ctype/Makefile: Include Makeconfig immediately after defining
50023         subdir.
50024         * debug/Makefile: Likewise.
50025         * dirent/Makefile: Likewise.
50026         * dlfcn/Makefile: Likewise.
50027         * gmon/Makefile: Likewise.
50028         * gnulib/Makefile: Likewise.
50029         * grp/Makefile: Likewise.
50030         * gshadow/Makefile: Likewise.
50031         * hesiod/Makefile: Likewise.
50032         * hurd/Makefile: Likewise.
50033         (all): Remove target.
50034         * iconvdata/Makefile: Include Makeconfig immediately after
50035         defining subdir.
50036         * inet/Makefile: Likewise.
50037         * intl/Makefile: Likewise.
50038         * io/Makefile: Likewise.
50039         * libio/Makefile: Likewise.
50040         (all): Remove target.
50041         * locale/Makefile: Include Makeconfig immediately after defining
50042         subdir.
50043         * login/Makefile: Likewise.
50044         * mach/Makefile: Likewise.
50045         (all): Remove target.
50046         * malloc/Makefile: Include Makeconfig immediately after defining
50047         subdir.
50048         (all): Remove target.
50049         * manual/Makefile: Include Makeconfig immediately after defining
50050         subdir.
50051         * math/Makefile: Likewise.
50052         * misc/Makefile: Likewise.
50053         * nis/Makefile: Likewise.
50054         * nss/Makefile: Likewise.
50055         * po/Makefile: Likewise.
50056         (all): Remove target.
50057         * posix/Makefile: Include Makeconfig immediately after defining
50058         subdir.
50059         * pwd/Makefile: Likewise.
50060         * resolv/Makefile: Likewise.
50061         * resource/Makefile: Likewise.
50062         * rt/Makefile: Likewise.
50063         * setjmp/Makefile: Likewise.
50064         * shadow/Makefile: Likewise.
50065         * signal/Makefile: Likewise.
50066         * socket/Makefile: Likewise.
50067         * soft-fp/Makefile: Likewise.
50068         * stdio-common/Makefile: Likewise.
50069         * stdlib/Makefile: Likewise.
50070         * streams/Makefile: Likewise.
50071         * string/Makefile: Likewise.
50072         * sunrpc/Makefile: Likewise.
50073         (all): Remove target.
50074         * sysvipc/Makefile: Include Makeconfig immediately after defining
50075         subdir.
50076         * termios/Makefile: Likewise.
50077         * time/Makefile: Likewise.
50078         * timezone/Makefile: Likewise.
50079         (all): Remove target.
50080         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50081         subdir.
50082         * wctype/Makefile: Likewise.
50084 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50086         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50087         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50088         (libc_feholdexcept_setround_mips): Ditto.
50089         (libc_feholdsetround): New.
50090         (libc_feholdsetroundf): New.
50091         (libc_feholdsetroundl): New.
50092         (libc_feupdateenv_test_mips): New.
50093         (libc_feupdateenv_test): New.
50094         (libc_feupdateenv_testf): New.
50095         (libc_feupdateenv_testl): New.
50096         (libc_feresetround): New.
50097         (libc_feresetroundf): New.
50098         (libc_feresetroundl): New.
50099         (libc_fetestexcept_mips): New.
50100         (libc_fetestexcept): New.
50101         (libc_fetestexceptf): New.
50102         (libc_fetestexceptl): New.
50103         (HAVE_RM_CTX): New.
50104         (libc_feholdexcept_setround_mips_ctx): New.
50105         (libc_feholdexcept_setround_ctx): New.
50106         (libc_feholdexcept_setroundf_ctx): New.
50107         (libc_feholdexcept_setroundl_ctx): New.
50108         (libc_fesetenv_mips_ctx): New.
50109         (libc_fesetenv_ctx): New.
50110         (libc_fesetenv_ctxf): New.
50111         (libc_fesetenv_ctxl): New.
50112         (libc_feupdateenv_mips_ctx): New.
50113         (libc_feupdateenv_ctx): New.
50114         (libc_feupdateenvf_ctx): New.
50115         (libc_feupdateenvl_ctx): New.
50116         (libc_feholdsetround_mips_ctx): New.
50117         (libc_feholdsetround_ctx): New.
50118         (libc_feholdsetroundf_ctx): New.
50119         (libc_feholdsetroundl_ctx): New.
50120         (libc_feresetround_mips_ctx): New.
50121         (libc_feresetround_ctx): New.
50122         (libc_feresetroundf_ctx): New.
50123         (libc_feresetroundl_ctx): New.
50125 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50127         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50129         * manual/ipc.texi: New file.
50130         * manual/Makefile (chapters): Add ipc.
50131         * manual/job.texi: Add "Inter-Process Communication" to next.
50132         * manual/process.texi: Add "Inter-Process Communication" to prev.
50134 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50138 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50140         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50142         * manual/arith.texi: Fix spaces after sentences.
50143         * manual/charset.texi: Likewise.
50144         * manual/errno.texi: Likewise.
50145         * manual/install.texi: Likewise.
50146         * manual/llio.texi: Likewise.
50147         * manual/locale.texi: Likewise.
50148         * manual/maint.texi: Likewise.
50149         * manual/math.texi: Likewise.
50150         * manual/memory.texi: Likewise.
50151         * manual/message.texi: Likewise.
50152         * manual/probes.texi: Likewise.
50153         * manual/resource.texi: Likewise.
50154         * manual/signal.texi: Likewise.
50155         * manual/socket.texi: Likewise.
50156         * manual/stdio.texi: Likewise.
50157         * manual/string.texi: Likewise.
50158         * manual/time.texi: Likewise.
50159         * manual/users.texi: Likewise.
50161 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50163         [BZ #16632]
50164         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50165         _DEFAULT_SOURCE is defined.
50167 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50168             Carlos O'Donell  <carlos@redhat.com>
50170         [BZ #16613]
50171         * elf/dl-tls.c (_dl_count_modids): New function.
50172         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50173         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50174         audit library and increment generation counter.
50175         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50176         * elf/tst-audit9.c: New file.
50177         * elf/tst-auditmod9a.c: New file.
50178         * elf/tst-auditmod9b.c: New file.
50179         * elf/Makefile: Add rules to build and run tst-audit9.
50181 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50183         [BZ #15347]
50184         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50186 2014-02-25  Will Newton  <will.newton@linaro.org>
50188         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50189         (__longjmp): Restore sp and lr before restoring callee
50190         saved registers.  Add longjmp and longjmp_target
50191         SystemTap probe point.
50192         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50193         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50194         Define to zero to match jmpbuf layout.
50195         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50196         (__sigsetjmp): Save sp and lr before saving callee
50197         saved registers.  Add setjmp SystemTap probe point.
50199 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50201         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50203 2014-02-24  Andreas Schwab  <schwab@suse.de>
50205         [BZ #15804]
50206         * elf/pldd.c (wait_for_ptrace_stop): New function.
50207         (main): Call it after attaching.
50209 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50211         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50212         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50213         Versions files is now verboten.
50214         * hurd/Versions (libc: GLIBC_2.0):
50215         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50216         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50217         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50218         * mach/Versions: Likewise.
50220         * csu/Versions: Remove unused %include.
50221         * resolv/Versions: Likewise.
50223 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50225         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50226         ($(objpfx)check-local-headers.out): Likewise.
50227         ($(objpfx)begin-end-check.out): Likewise.
50228         * Makerules (check-abi-%.out): Likewise.
50229         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50230         ($(objpfx)test2.cat): Likewise.
50231         ($(objpfx)de/libc.cat): Likewise.
50232         ($(objpfx)test-gencat.out): Likewise.
50233         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50234         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50235         ($(objpfx)noload-mem): Likewise.
50236         ($(objpfx)tst-pathopt.out): Likewise.
50237         ($(objpfx)tst-rtld-load-self.out): Likewise.
50238         ($(objpfx)tst-array1-cmp.out): Likewise.
50239         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50240         ($(objpfx)tst-array2-cmp.out): Likewise.
50241         ($(objpfx)tst-array3-cmp.out): Likewise.
50242         ($(objpfx)tst-array4-cmp.out): Likewise.
50243         ($(objpfx)tst-array5-cmp.out): Likewise.
50244         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50245         ($(objpfx)check-textrel.out): Likewise.
50246         ($(objpfx)check-execstack.out): Likewise.
50247         ($(objpfx)check-localplt.out): Likewise.
50248         ($(objpfx)order2-cmp.out): Likewise.
50249         ($(objpfx)tst-leaks1-mem): Likewise.
50250         ($(objpfx)tst-leaks1-static-mem): Likewise.
50251         ($(objpfx)tst-initorder-cmp.out): Likewise.
50252         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50253         ($(objpfx)tst-unused-dep.out): Likewise.
50254         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50255         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50256         * iconv/Makefile (test-iconvconfig): Likewise.
50257         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50258         ($(objpfx)iconv-test.out): Likewise.
50259         ($(objpfx)tst-tables.out): Likewise.
50260         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50261         ($(objpfx)tst-gettext.out): Likewise.
50262         ($(objpfx)tst-translit.out): Likewise.
50263         ($(objpfx)tst-gettext2.out): Likewise.
50264         ($(objpfx)tst-gettext4.out): Likewise.
50265         ($(objpfx)tst-gettext6.out): Likewise.
50266         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50267         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50268         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50269         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50270         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50271         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50272         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50273         ($(objpfx)wordexp-tst.out): Likewise.
50274         ($(objpfx)annexc.out): Likewise.
50275         ($(objpfx)tst-fnmatch-mem): Likewise.
50276         ($(objpfx)bug-regex2-mem): Likewise.
50277         ($(objpfx)bug-regex14-mem): Likewise.
50278         ($(objpfx)bug-regex21-mem): Likewise.
50279         ($(objpfx)bug-regex31-mem): Likewise.
50280         ($(objpfx)tst-vfork3-mem): Likewise.
50281         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50282         ($(objpfx)tst-pcre-mem): Likewise.
50283         ($(objpfx)tst-boost-mem): Likewise.
50284         ($(objpfx)tst-getconf.out): Likewise.
50285         ($(objpfx)bug-ga2-mem): Likewise.
50286         ($(objpfx)bug-glob2-mem): Likewise.
50287         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50288         ($(objpfx)mtrace-tst-leaks2): Likewise.
50289         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50290         ($(objpfx)tst-printf.out): Likewise.
50291         ($(objpfx)tst-setvbuf1.out): Likewise.
50292         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50293         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50294         ($(objpfx)tst-fmtmsg.out): Likewise.
50295         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50296         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50298         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50299         * bits/sigaction.h [__USE_MISC]: Likewise.
50300         * bits/waitstatus.h: Update #endif comments.
50301         * ctype/ctype.h: Likewise.
50302         * dirent/dirent.h: Likewise.
50303         [__USE_MISC]: Remove redundant conditionals.
50304         * grp/grp.h: Update #endif comments.
50305         [__USE_GNU]: Remove redundant conditionals.
50306         [__USE_MISC]: Likewise.
50307         * inet/netinet/in.h [__USE_GNU]: Likewise.
50308         * io/sys/stat.h [__USE_MISC]: Likewise.
50309         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50310         * libio/bits/stdio.h: Update #endif comments.
50311         [__USE_MISC]: Remove redundant conditionals.
50312         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50313         * libio/stdio.h: Update #endif comments.
50314         [__USE_MISC]: Remove redundant conditionals.
50315         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50316         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50317         * math/math.h: Update #else and #endif comments.
50318         [__USE_MISC]: Remove redundant conditionals.
50319         * misc/sys/uio.h: Update #endif comments.
50320         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50321         * posix/glob.h [__USE_MISC]: Likewise.
50322         * posix/sys/types.h: Update #endif comments.
50323         [__USE_MISC]: Remove redundant conditionals.
50324         * posix/sys/wait.h: Update #endif comments.
50325         [__USE_MISC]: Remove redundant conditionals.
50326         * posix/unistd.h: Update #endif comments.
50327         [__USE_MISC]: Remove redundant conditionals.
50328         * pwd/pwd.h [__USE_GNU]: Likewise.
50329         [__USE_MISC]: Likewise.
50330         * resolv/netdb.h [__USE_GNU]: Likewise.
50331         * signal/signal.h: Update #endif comments.
50332         [__USE_MISC]: Remove redundant conditionals.
50333         * stdlib/stdlib.h: Update #else and #endif comments.
50334         [__USE_MISC]: Remove redundant conditionals.
50335         [__USE_GNU]: Likewise.
50336         * string/bits/string2.h [__USE_MISC]: Likewise.
50337         * string/string.h: Update #endif comments.
50338         [__USE_MISC]: Remove redundant conditionals.
50339         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50340         Likewise.
50341         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50342         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50343         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50344         Likewise.
50345         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50346         Likewise.
50347         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50348         comments.
50349         [__USE_MISC]: Remove redundant conditionals.
50350         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50351         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50352         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50353         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50354         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50355         Likewise.
50356         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50357         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50358         Likewise.
50359         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50360         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50361         Likewise.
50362         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50363         Likewise.
50364         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50365         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50366         Likewise.
50367         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50368         Likewise.
50369         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50370         * sysdeps/x86/bits/string.h: Update #endif comments.
50371         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50372         conditionals.
50373         * time/sys/time.h: Update #endif comments.
50374         * time/time.h: Likewise.
50375         [__USE_MISC]: Remove redundant conditionals.
50377 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50379         [BZ #16600]
50380         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50382 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50384         * Versions.def (librt): Add GLIBC_2.17.
50386 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50388         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50389         synonym for _SYS_AUXV_H to allow direct inclusion.
50390         * sysdeps/sparc/bits/hwcap.h: Likewise.
50391         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50392         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50393         * sysdeps/sparc/sysdep.h: Likewise.
50395 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50397         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50399 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50401         * benchtests/bench-strrchr.c: Print length instead of position.
50403 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50405         [BZ #16611]
50406         * sysdeps/unix/sysv/linux/kernel-features.h
50407         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50408         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50409         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50410         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50411         Likewise.
50412         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50413         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50414         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50415         (__ASSUME_SENDMMSG): Define instead of using previous
50416         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50417         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50418         (__ASSUME_SENDMMSG_SYSCALL): Define.
50419         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50420         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50421         Likewise.
50422         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50423         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50424         Likewise.
50425         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50426         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50427         Likewise.
50428         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50429         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50430         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50431         [__ASSUME_SENDMMSG]: Change conditionals to
50432         [__ASSUME_SENDMMSG_SOCKETCALL].
50433         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50434         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50435         Define.
50436         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50437         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50438         Likewise.
50439         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50440         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50441         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50442         [!__ASSUME_SENDMMSG]: Change conditional to
50443         [!__ASSUME_SENDMMSG_SOCKETCALL].
50444         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50445         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50446         Define.
50448         [BZ #16610]
50449         * sysdeps/unix/sysv/linux/kernel-features.h
50450         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50451         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50452         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50453         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50454         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50455         [__i386__ || __sparc__]
50456         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50457         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50458         (__ASSUME_RECVMMSG): Define instead of using previous
50459         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50460         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50461         (__ASSUME_RECVMMSG_SYSCALL): Define.
50462         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50463         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50464         Likewise.
50465         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50466         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50467         Likewise.
50468         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50469         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50470         Likewise.
50471         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50472         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50473         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50474         [__ASSUME_RECVMMSG]: Change condition to
50475         [__ASSUME_RECVMMSG_SOCKETCALL].
50476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50477         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50478         Define.
50479         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50480         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50481         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50482         Likewise.
50483         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50484         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50485         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50486         [!__ASSUME_RECVMMSG]: Change condition to
50487         [!__ASSUME_RECVMMSG_SOCKETCALL].
50488         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50489         (__ASSUME_RECVMMSG_SYSCALL): Define.
50491         [BZ #16609]
50492         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50493         __powerpc__ || __s390__ || __sh__ || __sparc__]
50494         (__ASSUME_SOCKETCALL): Define.
50495         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50496         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50497         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50498         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50499         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50500         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50501         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50502         (__ASSUME_ACCEPT4): Define instead of using previous
50503         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50504         __powerpc__ || __sparc__ || __s390__)] condition.
50505         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50506         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50507         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50508         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50509         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50510         [!__ASSUME_ACCEPT4]: Change condition to
50511         [!__ASSUME_ACCEPT4_SOCKETCALL].
50512         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50513         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50514         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50515         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50516         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50517         __ASSUME_ACCEPT4_SYSCALL.
50518         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50519         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50520         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50521         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50522         __ASSUME_ACCEPT4_SYSCALL.
50523         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50524         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50525         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50526         [__ASSUME_ACCEPT4]: Change condition to
50527         [__ASSUME_ACCEPT4_SOCKETCALL].
50528         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50529         (__ASSUME_SOCKETCALL): Define.
50530         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50531         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50532         (__ASSUME_SOCKETCALL): Define.
50533         (__ASSUME_ACCEPT4): Remove.
50534         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50535         Define.
50536         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50537         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50538         Likewise.
50539         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50540         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50542         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50543         macro.
50544         (HWCAP_ARM_LPAE): Likewise.
50545         (HWCAP_ARM_EVTSTRM): Likewise.
50546         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50547         Add vpfd32, lpae and evtstrm.
50548         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50549         Increase to 22.
50551 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50553         * math/auto-libm-test-in: Add tests of clog10.
50554         * math/auto-libm-test-out: Regenerated.
50555         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50556         * sysdeps/i386/fpu/libm-test-ulps: Update.
50557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50559 2014-02-18  Andreas Schwab  <schwab@suse.de>
50561         [BZ #16574]
50562         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50563         Store non-zero if the second buffer was newly allocated.
50564         (send_dg): Likewise.
50565         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50566         to send_vc and send_dg.
50567         (res_nsend): Pass NULL for ansp2_malloced.
50568         * resolv/res_query.c (__libc_res_nquery): Add parameter
50569         answerp2_malloced and pass it down to __libc_res_nsend.
50570         (res_nquery): Pass additional NULL to __libc_res_nquery.
50571         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50572         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50573         second answer buffer if answerp2_malloced was set.
50574         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50575         (__libc_res_nquerydomain): Add parameter
50576         answerp2_malloced and pass it down to __libc_res_nquery.
50577         (res_nquerydomain): Pass additional NULL to
50578         __libc_res_nquerydomain.
50579         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50580         additional NULL to __libc_res_nsend and __libc_res_nquery.
50581         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50582         additional NULL to __libc_res_nsearch.
50583         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50584         parameter of __libc_res_nsearch to check for separately allocated
50585         second buffer.
50586         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50587         __libc_res_nquery.
50588         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50589         additional NULL to __libc_res_nquery.
50590         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50591         __libc_res_nsearch.
50592         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50593         * include/resolv.h: Update prototypes of __libc_res_nquery,
50594         __libc_res_nsearch, __libc_res_nsend.
50596 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50598         * math/auto-libm-test-in: Add tests of fma.
50599         * math/auto-libm-test-out: Regenerated.
50600         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50601         (fma_towardzero_test_data): Likewise.
50602         (fma_downward_test_data): Likewise.
50603         (fma_upward_test_data): Likewise.
50604         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50605         mpc_mode.
50606         (rounding_modes): Add values for new field.
50607         (func_calc_method): Add value mpfr_fff_f.
50608         (func_calc_desc): Add mpfr_fff_f union field.
50609         (test_function): Add field exact_args.
50610         (FUNC): Add macro argument EXACT_ARGS.
50611         (FUNC_mpfr_f_f): Update call to FUNC.
50612         (FUNC_mpfr_f_f): Likewise.
50613         (FUNC_mpfr_ff_f): Likewise.
50614         (FUNC_mpfr_if_f): Likewise.
50615         (FUNC_mpc_c_f): Likewise.
50616         (FUNC_mpc_c_c): Likewise.
50617         (test_functions): Add fma.  Update calls to FUNC.
50618         (handle_input_arg): Add argument exact_args.
50619         (add_test): Update call to handle_input_arg.
50620         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50621         (output_for_one_input_case): Update call to calc_generic_results.
50622         Recalculate exact zero results in each rounding mode.
50624         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50625         non-negative before setting low bit.
50626         * math/auto-libm-test-in: Mark one asin test possibly having
50627         spurious underflow.
50628         * math/auto-libm-test-out: Regenerated.
50629         * sysdeps/i386/fpu/libm-test-ulps: Update.
50630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50632 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50634         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50635         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50636         ports/sysdeps/unix/sysv/linux/microblaze.
50637         * README: Add missing listing for microblaze*-*-linux-gnu.
50639 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50641         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50642         duplicate code
50644 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50646         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50647         * sysdeps/unix/sysv/linux/ia64: Move directory from
50648         ports/sysdeps/unix/sysv/linux/ia64.
50649         * README: Update listing for ia64-*-linux-gnu.
50651 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50652             Joseph Myers  <joseph@codesourcery.com>
50654         * Makeconfig (test-name): New variable.
50655         (evaluate-test): Likewise.
50656         * Makerules (do-test-clean): Remove .test-result files.
50657         (common-mostlyclean): Likewise.
50658         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50659         * scripts/evaluate-test.sh: New file.
50661 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50663         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50664         separate $(objpfx)tst-fopenloc-cmp.out and
50665         $(objpfx)tst-fopenloc-mem.out targets.
50666         (tests): Update dependencies.
50667         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50668         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50669         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50670         (tst-rxspencer-no-utf8-ARGS): New variable.
50671         (tst-rxspencer-no-utf8-ENV): Likewise.
50672         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50673         instead of $(objpfx)tst-rxspencer-mem.
50674         ($(objpfx)tst-rxspencer-mem): Change target to
50675         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50676         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50677         * posix/tst-rxspencer-no-utf8.c: New file.
50679         * elf/Makefile ($(objpfx)order.out): Remove rule.
50680         [$(run-built-tests) = yes] (tests): Depend on
50681         $(objpfx)order-cmp.out.
50682         ($(objpfx)order-cmp.out): New rule.
50683         [$(run-built-tests) = yes] (tests): Depend on
50684         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50685         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50686         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50687         $(objpfx)tst-array5-static-cmp.out.
50688         ($(objpfx)tst-array1.out): Remove rule.
50689         ($(objpfx)tst-array1-cmp.out): New rule.
50690         ($(objpfx)tst-array1-static.out): Remove rule.
50691         ($(objpfx)tst-array1-static-cmp.out): New rule.
50692         ($(objpfx)tst-array2.out): Remove rule.
50693         ($(objpfx)tst-array2-cmp.out): New rule.
50694         ($(objpfx)tst-array3.out): Remove rule.
50695         ($(objpfx)tst-array3-cmp.out): New rule.
50696         ($(objpfx)tst-array4.out): Remove rule.
50697         ($(objpfx)tst-array4-cmp.out): New rule.
50698         ($(objpfx)tst-array5.out): Remove rule.
50699         ($(objpfx)tst-array5-cmp.out): New rule.
50700         ($(objpfx)tst-array5-static.out): Remove rule.
50701         ($(objpfx)tst-array5-static-cmp.out): New rule.
50702         [$(run-built-tests) = yes] (tests): Depend on
50703         $(objpfx)order2-cmp.out.
50704         ($(objpfx)order2.out): Remove rule.
50705         ($(objpfx)order2-cmp.out): New rule.
50706         ($(objpfx)tst-initorder.out): Remove rule.
50707         [$(run-built-tests) = yes] (tests): Depend on
50708         $(objpfx)tst-initorder-cmp.out.
50709         ($(objpfx)tst-initorder-cmp.out): New rule.
50710         ($(objpfx)tst-initorder2.out): Remove rule.
50711         [$(run-built-tests) = yes] (tests): Depend on
50712         $(objpfx)tst-initorder2-cmp.out.
50713         ($(objpfx)tst-initorder2-cmp.out): New rule.
50714         [$(run-built-tests) = yes] (tests): Depend on
50715         $(objpfx)tst-unused-dep-cmp.out.
50716         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50717         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50718         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50719         on $(objpfx)tst-setvbuf1-cmp.out.
50720         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50721         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50722         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50723         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50724         ($(objpfx)tst-svc.out): Remove rule.
50725         ($(objpfx)tst-svc-cmp.out): New rule.
50727 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50729         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50730         * ctype/ctype.h [__USE_MISC]: Likewise.
50731         * dirent/dirent.h [__USE_MISC]: Likewise.
50732         * grp/grp.h [__USE_MISC]: Likewise.
50733         * io/fcntl.h [__USE_MISC]: Likewise.
50734         * io/sys/stat.h [__USE_MISC]: Likewise.
50735         * libio/stdio.h [__USE_MISC]: Likewise.
50736         * posix/unistd.h [__USE_MISC]: Likewise.
50737         * pwd/pwd.h [__USE_MISC]: Likewise.
50738         * stdlib.h [__USE_MISC]: Likewise.
50739         * string/bits/string2.h [__USE_MISC]: Likewise.
50740         * string/string.h [__USE_MISC]: Likewise.
50741         * time/time.h [__USE_MISC]: Likewise.
50743 2014-02-13  Andreas Schwab  <schwab@suse.de>
50745         [BZ #16574]
50746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50747         second answer buffer if it was separately allocated.
50749 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50751         * sysdeps/mips/math-tests.h: Include <features.h>.
50752         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50753         (ROUNDING_TESTS_long_double): Do not define.
50754         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50755         (EXCEPTION_TESTS_long_double): Likewise.
50756         * sysdeps/mips/mips64/libm-test-ulps: Update.
50758         * include/features.h (__USE_BSD): Remove macro definitions.
50759         (__USE_SVID): Likewise.
50760         (_BSD_SOURCE): Likewise.
50761         (_SVID_SOURCE): Likewise.
50762         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50763         from definition of _DEFAULT_SOURCE.
50764         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50765         [_DEFAULT_SOURCE].
50766         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50767         * bits/mman.h [__USE_BSD]: Likewise.
50768         * bits/termios.h [__USE_BSD]: Likewise.
50769         * bits/waitstatus.h [__USE_BSD]: Likewise.
50770         * ctype/ctype.h [__USE_SVID]: Likewise.
50771         * dirent/dirent.h [__USE_BSD]: Likewise.
50772         * grp/grp.h [__USE_SVID]: Likewise.
50773         [__USE_BSD]: Likewise.
50774         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50775         * io/fcntl.h [__USE_BSD]: Likewise.
50776         * io/ftw.h [__USE_BSD]: Likewise.
50777         * io/sys/stat.h [__USE_BSD]: Likewise.
50778         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50779         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50780         * libio/stdio.h [__USE_SVID]: Likewise.
50781         [__USE_BSD]: Likewise.
50782         * math/math.h [__USE_SVID]: Likewise.
50783         [__USE_BSD]: Likewise.
50784         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50785         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50786         * misc/search.h [__USE_SVID]: Likewise.
50787         * misc/sys/mman.h [__USE_BSD]: Likewise.
50788         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50789         * misc/sys/uio.h [__USE_BSD]: Likewise.
50790         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50791         * posix/glob.h [__USE_BSD]: Likewise.
50792         * posix/regex.h [__USE_BSD]: Likewise.
50793         * posix/sys/types.h [__USE_BSD]: Likewise.
50794         [__USE_SVID]: Likewise.
50795         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50796         * posix/sys/wait.h [__USE_BSD]: Likewise.
50797         [__USE_SVID]: Likewise.
50798         * posix/unistd.h [__USE_BSD]: Likewise.
50799         [__USE_SVID]: Likewise.
50800         * pwd/pwd.h [__USE_SVID]: Likewise.
50801         * resolv/netdb.h [__USE_BSD]: Likewise.
50802         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50803         * signal/signal.h [__USE_BSD]: Likewise.
50804         [__USE_SVID]: Likewise.
50805         * socket/sys/socket.h [__USE_BSD]: Likewise.
50806         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50807         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50808         [__USE_SVID]: Likewise.
50809         * string/bits/string2.h [__USE_BSD]: Likewise.
50810         [__USE_SVID]: Likewise.
50811         * string/bits/string3.h [__USE_BSD]: Likewise.
50812         * string/endian.h [__USE_BSD]: Likewise.
50813         * string/string.h [__USE_SVID]: Likewise.
50814         [__USE_BSD]: Likewise.
50815         * string/strings.h [__USE_BSD]: Likewise.
50816         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50817         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50818         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50819         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50820         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50821         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50822         Likewise.
50823         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50824         Likewise.
50825         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50826         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50827         Likewise.
50828         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50829         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50830         Likewise.
50831         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50832         Likewise.
50833         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50834         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50835         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50836         Likewise.
50837         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50838         Likewise.
50839         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50840         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50841         * termios/termios.h [__USE_BSD]: Likewise.
50842         * time/sys/time.h [__USE_BSD]: Likewise.
50843         * time/time.h [__USE_BSD]: Likewise.
50844         [__USE_SVID]: Likewise.
50846         * Makefile (subdir_targets): Remove subdir_lint.out.
50848         * stdio-common/Makefile (do-tst-unbputc): Remove target.
50849         (do-tst-printf): Likewise.
50850         (tests): Depend directly on $(objpfx)tst-unbputc.out and
50851         $(objpfx)tst-printf.out.
50853         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
50855         * Makerules (check-abi-%): Change target to
50856         $(objpfx)check-abi-%.out.
50857         (check-abi target): Update dependencies.
50858         (check-abi-pattern variable): Redirect output of diff to $@.
50859         (check-abi variable): Likewise.
50860         * elf/Makefile (check-abi): Update dependencies.
50862         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
50863         unused.
50864         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
50865         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
50866         subnormal range.
50867         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
50868         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
50869         value has largest subnormal exponent.
50870         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
50871         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
50872         * sysdeps/aarch64/soft-fp/sfp-machine.h
50873         (_FP_TININESS_AFTER_ROUNDING): New macro.
50874         * sysdeps/alpha/soft-fp/sfp-machine.h
50875         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50876         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50877         Likewise.
50878         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
50879         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50880         * sysdeps/mips/soft-fp/sfp-machine.h
50881         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50882         * sysdeps/powerpc/soft-fp/sfp-machine.h
50883         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50884         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50885         Likewise.
50886         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50887         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50888         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50889         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50890         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50891         Likewise.
50893 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
50895         [BZ #16545]
50896         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
50897         model 1.
50899 2014-02-12  Richard Henderson  <rth@redhat.com>
50901         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
50902         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
50903         * sysdeps/unix/sysv/linux/alpha: Move directory from
50904         ports/sysdeps/unix/sysv/linux/alpha.
50905         * README: Update listing for alpha-*-linux-gnu.
50907 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
50909         * include/features.h: Update comment documenting feature test
50910         macros.
50911         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
50912         _DEFAULT_SOURCE.
50913         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
50914         (_SVID_SOURCE): Likewise.
50915         (_DEFAULT_SOURCE): Update description of default features.
50916         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
50917         with _GNU_SOURCE.
50918         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
50919         (S_ISVTX): Likewise.
50920         * manual/math.texi (Mathematical Constants): Likewise.
50921         * manual/signal.texi (Interrupted Primitives): Likewise.
50922         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
50923         * math/test-matherr.c (_SVID_SOURCE): Do not define.
50924         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
50925         Don't refer to _SVID_SOURCE in warning text.
50927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50929         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
50930         already defined.
50931         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
50932         * sysdeps/mips/dl-lookup.c: Remove.
50933         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
50935 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50937         [BZ #16447]
50938         * math/auto-libm-test-in: Add testcase for expl.
50939         * math/auto-libm-test-out: Regenerate.
50940         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
50941         calculation of unsafe.
50942         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
50944 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50946         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
50947         * sysdeps/unix/sysv/linux/aarch64: Move directory from
50948         ports/sysdeps/unix/sysv/linux/aarch64.
50949         * README: Update listing for aarch64*-*-linux-gnu.
50951 2014-02-11  Will Newton  <will.newton@linaro.org>
50953         * manual/probes.texi (Mathematical Function Probes): Use
50954         "triggered" instead of "hit".
50956         * manual/probes.texi (Internal Probes): Add documentation
50957         of setjmp, longjmp and longjmp_target probes.
50959         * include/stap-probe.h: Add comment about probe argument
50960         format.
50962         * malloc/mtrace.c (attribute_hidden): Remove unused macro
50963         definition.  (tr_where, tr_freehook, tr_mallochook,
50964         tr_reallochook, tr_memalignhook): Use ANSI protoype.
50966 2014-02-11  David S. Miller  <davem@davemloft.net>
50968         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
50969         processing int_tests.
50971 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
50973         * sysdeps/mips: Move directory from ports/sysdeps/mips.
50974         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
50975         * sysdeps/unix/sysv/linux/mips: Move directory from
50976         ports/sysdeps/unix/sysv/linux/mips.
50977         * README: Update listing for mips-*-linux-gnu and
50978         mips64-*-linux-gnu.
50980 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
50982         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
50983         * sysdeps/unix/sysv/linux/m68k: Move directory from
50984         ports/sysdeps/unix/sysv/linux/m68k.
50985         * README: Update listing for m68k-*-linux-gnu.
50987 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
50989         * sysdeps/tile: Move directory from ports/sysdeps/tile.
50990         * sysdeps/unix/sysv/linux/generic: Move directory from
50991         ports/sysdeps/unix/sysv/linux/generic.
50992         * sysdeps/unix/sysv/linux/tile: Move directory from
50993         ports/sysdeps/unix/sysv/linux/tile.
50994         * README: Update listing for tile*-*-linux-gnu.
50996 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
50998         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
50999         __builtin_expect.
51000         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51001         * catgets/open_catalog.c (__open_catalog): Likewise.
51002         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51003         * debug/confstr_chk.c: Likewise.
51004         * debug/fread_chk.c (__fread_chk): Likewise.
51005         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51006         * debug/getgroups_chk.c: Likewise.
51007         * debug/mbsnrtowcs_chk.c: Likewise.
51008         * debug/mbsrtowcs_chk.c: Likewise.
51009         * debug/mbstowcs_chk.c: Likewise.
51010         * debug/memcpy_chk.c: Likewise.
51011         * debug/memmove_chk.c: Likewise.
51012         * debug/mempcpy_chk.c: Likewise.
51013         * debug/memset_chk.c: Likewise.
51014         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51015         * debug/strcat_chk.c (__strcat_chk): Likewise.
51016         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51017         * debug/strncat_chk.c (__strncat_chk): Likewise.
51018         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51019         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51020         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51021         * debug/wcpncpy_chk.c: Likewise.
51022         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51023         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51024         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51025         * debug/wcsncpy_chk.c: Likewise.
51026         * debug/wcsnrtombs_chk.c: Likewise.
51027         * debug/wcsrtombs_chk.c: Likewise.
51028         * debug/wcstombs_chk.c: Likewise.
51029         * debug/wmemcpy_chk.c: Likewise.
51030         * debug/wmemmove_chk.c: Likewise.
51031         * debug/wmempcpy_chk.c: Likewise.
51032         * debug/wmemset_chk.c: Likewise.
51033         * dirent/scandirat.c (SCANDIRAT): Likewise.
51034         * dlfcn/dladdr1.c (dladdr1): Likewise.
51035         * dlfcn/dladdr.c (dladdr): Likewise.
51036         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51037         * dlfcn/dlerror.c (__dlerror): Likewise.
51038         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51039         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51040         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51041         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51042         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51043         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51044         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51045         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51046         Likewise.
51047         * elf/dl-conflict.c: Likewise.
51048         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51049         * elf/dl-dst.h: Likewise.
51050         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51051         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51052         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51053         * elf/dl-init.c (call_init, _dl_init): Likewise.
51054         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51055         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51056         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51057         Likewise.
51058         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51059         Likewise.
51060         * elf/dl-minimal.c (__libc_memalign): Likewise.
51061         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51062         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51063         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51064         * elf/dl-sym.c (do_sym): Likewise.
51065         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51066         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51067         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51068         * elf/dl-writev.h (_dl_writev): Likewise.
51069         * elf/ldconfig.c (search_dir): Likewise.
51070         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51071         (dl_main): Likewise.
51072         * elf/setup-vdso.h (setup_vdso): Likewise.
51073         * grp/compat-initgroups.c (compat_call): Likewise.
51074         * grp/fgetgrent.c (fgetgrent): Likewise.
51075         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51076         * grp/putgrent.c (putgrent): Likewise.
51077         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51078         Likewise.
51079         * hurd/hurdinit.c: Likewise.
51080         * iconvdata/8bit-gap.c (struct): Likewise.
51081         * iconvdata/ansi_x3.110.c : Likewise.
51082         * iconvdata/big5.c : Likewise.
51083         * iconvdata/big5hkscs.c : Likewise.
51084         * iconvdata/cp1255.c: Likewise.
51085         * iconvdata/cp1258.c : Likewise.
51086         * iconvdata/cp932.c : Likewise.
51087         * iconvdata/euc-cn.c: Likewise.
51088         * iconvdata/euc-jisx0213.c : Likewise.
51089         * iconvdata/euc-jp.c: Likewise.
51090         * iconvdata/euc-jp-ms.c : Likewise.
51091         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51092         * iconvdata/gb18030.c : Likewise.
51093         * iconvdata/gbbig5.c (const): Likewise.
51094         * iconvdata/gbgbk.c: Likewise.
51095         * iconvdata/gbk.c : Likewise.
51096         * iconvdata/ibm1364.c : Likewise.
51097         * iconvdata/ibm930.c : Likewise.
51098         * iconvdata/ibm932.c: Likewise.
51099         * iconvdata/ibm933.c : Likewise.
51100         * iconvdata/ibm935.c : Likewise.
51101         * iconvdata/ibm937.c : Likewise.
51102         * iconvdata/ibm939.c : Likewise.
51103         * iconvdata/ibm943.c: Likewise.
51104         * iconvdata/iso_11548-1.c: Likewise.
51105         * iconvdata/iso-2022-cn.c : Likewise.
51106         * iconvdata/iso-2022-cn-ext.c : Likewise.
51107         * iconvdata/iso-2022-jp-3.c: Likewise.
51108         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51109         * iconvdata/iso-2022-kr.c : Likewise.
51110         * iconvdata/iso646.c (gconv_end): Likewise.
51111         * iconvdata/iso_6937-2.c : Likewise.
51112         * iconvdata/iso_6937.c : Likewise.
51113         * iconvdata/iso8859-1.c: Likewise.
51114         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51115         * iconvdata/shift_jisx0213.c : Likewise.
51116         * iconvdata/sjis.c : Likewise.
51117         * iconvdata/t.61.c : Likewise.
51118         * iconvdata/tcvn5712-1.c : Likewise.
51119         * iconvdata/tscii.c: Likewise.
51120         * iconvdata/uhc.c : Likewise.
51121         * iconvdata/unicode.c (gconv_end): Likewise.
51122         * iconvdata/utf-16.c (gconv_end): Likewise.
51123         * iconvdata/utf-32.c (gconv_end): Likewise.
51124         * iconvdata/utf-7.c (base64): Likewise.
51125         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51126         * iconv/gconv_close.c (__gconv_close): Likewise.
51127         * iconv/gconv_open.c (__gconv_open): Likewise.
51128         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51129         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51130         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51131         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51132         (ucs4le_internal_loop_single): Likewise.
51133         * iconv/iconv.c (iconv): Likewise.
51134         * iconv/iconv_close.c: Likewise.
51135         * iconv/loop.c (SINGLE): Likewise.
51136         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51137         * include/atomic.h: Likewise.
51138         * inet/inet6_option.c (option_alloc): Likewise.
51139         * intl/bindtextdom.c (set_binding_values): Likewise.
51140         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51141         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51142         * intl/localealias.c (read_alias_file): Likewise.
51143         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51144         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51145         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51146         * libio/fmemopen.c (fmemopen): Likewise.
51147         * libio/iofgets.c (_IO_fgets): Likewise.
51148         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51149         * libio/iofgetws.c (fgetws): Likewise.
51150         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51151         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51152         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51153         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51154         * locale/findlocale.c (_nl_find_locale): Likewise.
51155         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51156         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51157         Likewise.
51158         * locale/setlocale.c (setlocale): Likewise.
51159         * login/programs/pt_chown.c (main): Likewise.
51160         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51161         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51162         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51163         (mmap, mmap64, mremap, munmap): Likewise.
51164         * math/e_exp2l.c: Likewise.
51165         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51166         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51167         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51168         * math/s_catan.c (__catan): Likewise.
51169         * math/s_catanf.c (__catanf): Likewise.
51170         * math/s_catanh.c (__catanh): Likewise.
51171         * math/s_catanhf.c (__catanhf): Likewise.
51172         * math/s_catanhl.c (__catanhl): Likewise.
51173         * math/s_catanl.c (__catanl): Likewise.
51174         * math/s_ccosh.c (__ccosh): Likewise.
51175         * math/s_ccoshf.c (__ccoshf): Likewise.
51176         * math/s_ccoshl.c (__ccoshl): Likewise.
51177         * math/s_cexp.c (__cexp): Likewise.
51178         * math/s_cexpf.c (__cexpf): Likewise.
51179         * math/s_cexpl.c (__cexpl): Likewise.
51180         * math/s_clog10.c (__clog10): Likewise.
51181         * math/s_clog10f.c (__clog10f): Likewise.
51182         * math/s_clog10l.c (__clog10l): Likewise.
51183         * math/s_clog.c (__clog): Likewise.
51184         * math/s_clogf.c (__clogf): Likewise.
51185         * math/s_clogl.c (__clogl): Likewise.
51186         * math/s_csin.c (__csin): Likewise.
51187         * math/s_csinf.c (__csinf): Likewise.
51188         * math/s_csinh.c (__csinh): Likewise.
51189         * math/s_csinhf.c (__csinhf): Likewise.
51190         * math/s_csinhl.c (__csinhl): Likewise.
51191         * math/s_csinl.c (__csinl): Likewise.
51192         * math/s_csqrt.c (__csqrt): Likewise.
51193         * math/s_csqrtf.c (__csqrtf): Likewise.
51194         * math/s_csqrtl.c (__csqrtl): Likewise.
51195         * math/s_ctan.c (__ctan): Likewise.
51196         * math/s_ctanf.c (__ctanf): Likewise.
51197         * math/s_ctanh.c (__ctanh): Likewise.
51198         * math/s_ctanhf.c (__ctanhf): Likewise.
51199         * math/s_ctanhl.c (__ctanhl): Likewise.
51200         * math/s_ctanl.c (__ctanl): Likewise.
51201         * math/w_pow.c: Likewise.
51202         * math/w_powf.c: Likewise.
51203         * math/w_powl.c: Likewise.
51204         * math/w_scalb.c (sysv_scalb): Likewise.
51205         * math/w_scalbf.c (sysv_scalbf): Likewise.
51206         * math/w_scalbl.c (sysv_scalbl): Likewise.
51207         * misc/error.c (error_tail): Likewise.
51208         * misc/pselect.c (__pselect): Likewise.
51209         * nis/nis_callback.c (__nis_create_callback): Likewise.
51210         * nis/nis_call.c (__nisfind_server): Likewise.
51211         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51212         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51213         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51214         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51215         * nis/nis_lookup.c (nis_lookup): Likewise.
51216         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51217         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51218         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51219         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51220         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51221         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51222         * nis/nss_compat/compat-initgroups.c (add_group)
51223         (internal_getgrent_r): Likewise.
51224         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51225         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51226         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51227         (internal_getspnam_r): Likewise.
51228         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51229         (_nss_nis_getaliasbyname_r): Likewise.
51230         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51231         (_nss_nis_getntohost_r): Likewise.
51232         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51233         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51234         (_nss_nis_getgrgid_r): Likewise.
51235         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51236         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51237         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51238         (_nss_nis_gethostbyname4_r): Likewise.
51239         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51240         (initgroups_netid): Likewise.
51241         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51242         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51243         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51244         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51245         (_nss_nis_getprotobynumber_r): Likewise.
51246         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51247         (_nss_nis_getsecretkey): Likewise.
51248         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51249         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51250         (_nss_nis_getpwuid_r): Likewise.
51251         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51252         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51253         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51254         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51255         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51256         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51257         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51258         Likewise.
51259         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51260         (_nss_nisplus_getntohost_r): Likewise.
51261         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51262         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51263         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51264         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51265         Likewise.
51266         * nis/nss_nisplus/nisplus-initgroups.c
51267         (_nss_nisplus_initgroups_dyn): Likewise.
51268         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51269         (_nss_nisplus_getnetbyaddr_r): Likewise.
51270         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51271         (_nss_nisplus_getprotobynumber_r): Likewise.
51272         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51273         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51274         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51275         Likewise.
51276         * nis/nss_nisplus/nisplus-service.c
51277         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51278         (_nss_nisplus_getservbyport_r): Likewise.
51279         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51280         (_nss_nisplus_getspnam_r): Likewise.
51281         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51282         Likewise.
51283         * nscd/aicache.c (addhstaiX): Likewise.
51284         * nscd/cache.c (cache_search, prune_cache): Likewise.
51285         * nscd/connections.c (register_traced_file, send_ro_fd)
51286         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51287         (main_loop_epoll): Likewise.
51288         * nscd/grpcache.c (addgrbyX): Likewise.
51289         * nscd/hstcache.c (addhstbyX): Likewise.
51290         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51291         * nscd/mem.c (gc, mempool_alloc): Likewise.
51292         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51293         (addinnetgrX): Likewise.
51294         * nscd/nscd-client.h (__nscd_acquire_maplock)
51295         (__nscd_drop_map_ref): Likewise.
51296         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51297         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51298         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51299         Likewise.
51300         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51301         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51302         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51303         (__nscd_get_map_ref): Likewise.
51304         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51305         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51306         Likewise.
51307         * nscd/pwdcache.c (addpwbyX): Likewise.
51308         * nscd/selinux.c (preserve_capabilities): Likewise.
51309         * nscd/servicescache.c (addservbyX): Likewise.
51310         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51311         * posix/fnmatch.c (fnmatch): Likewise.
51312         * posix/getopt.c (_getopt_internal_r): Likewise.
51313         * posix/glob.c (glob, glob_in_dir): Likewise.
51314         * posix/wordexp.c (exec_comm_child): Likewise.
51315         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51316         (getanswer_r, gaih_getanswer_slice): Likewise.
51317         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51318         * resolv/res_init.c: Likewise.
51319         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51320         * resolv/res_query.c (__libc_res_nquery): Likewise.
51321         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51322         Likewise.
51323         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51324         * stdio-common/perror.c (perror): Likewise.
51325         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51326         * stdio-common/tmpnam.c (tmpnam): Likewise.
51327         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51328         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51329         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51330         Likewise.
51331         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51332         * stdlib/putenv.c (putenv): Likewise.
51333         * stdlib/setenv.c (__add_to_environ): Likewise.
51334         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51335         * stdlib/strtol_l.c (INTERNAL): Likewise.
51336         * string/memmem.c (memmem): Likewise.
51337         * string/strerror.c (strerror): Likewise.
51338         * string/strnlen.c (__strnlen): Likewise.
51339         * string/test-memmem.c (simple_memmem): Likewise.
51340         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51341         * sunrpc/pm_getport.c (__get_socket): Likewise.
51342         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51343         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51344         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51345         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51346         Likewise.
51347         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51348         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51349         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51350         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51351         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51352         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51353         Likewise.
51354         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51355         Likewise.
51356         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51357         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51358         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51359         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51360         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51362         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51363         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51364         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51365         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51366         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51367         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51368         Likewise.
51369         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51370         Likewise.
51371         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51372         Likewise.
51373         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51375         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51376         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51377         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51378         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51379         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51380         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51381         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51382         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51383         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51385         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51386         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51387         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51388         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51389         Likewise.
51390         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51391         Likewise.
51392         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51393         Likewise.
51394         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51395         Likewise.
51396         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51397         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51398         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51399         Likewise.
51400         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51401         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51402         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51403         * sysdeps/posix/sleep.c: Likewise.
51404         * sysdeps/posix/tempname.c: Likewise.
51405         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51406         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51407         Likewise.
51408         * sysdeps/powerpc/powerpc32/dl-machine.h
51409         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51410         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51411         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51412         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51413         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51414         Likewise.
51415         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51416         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51417         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51418         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51419         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51420         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51421         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51422         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51423         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51424         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51425         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51426         (elf_machine_lazy_rel): Likewise.
51427         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51428         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51429         (elf_machine_lazy_rel): Likewise.
51430         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51431         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51432         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51433         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51434         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51435         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51436         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51437         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51438         Likewise.
51439         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51440         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51441         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51442         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51443         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51444         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51445         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51446         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51447         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51448         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51449         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51450         Likewise.
51451         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51452         (__posix_fallocate64_l64): Likewise.
51453         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51454         (posix_fallocate): Likewise.
51455         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51456         Likewise.
51457         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51458         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51459         (getifaddrs_internal): Likewise.
51460         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51461         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51462         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51463         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51464         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51465         (__posix_fallocate64_l64): Likewise.
51466         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51467         Likewise.
51468         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51469         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51470         (__get_clockfreq): Likewise.
51471         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51472         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51473         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51474         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51475         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51476         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51477         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51478         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51479         Likewise.
51480         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51481         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51482         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51483         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51484         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51485         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51486         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51487         Likewise.
51488         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51489         (posix_fallocate): Likewise.
51490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51491         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51492         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51493         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51494         (elf_machine_rela, elf_machine_rela_relative)
51495         (elf_machine_lazy_rel): Likewise.
51496         * time/asctime.c (asctime_internal): Likewise.
51497         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51498         * time/tzset.c (__tzset_parse_tz): Likewise.
51499         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51500         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51501         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51502         * wcsmbs/wcsmbsload.h: Likewise.
51504         [BZ #15894]
51505         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51507         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51508         (arena_get2): Remove THREAD_STATS conditionals.
51509         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51510         (__malloc_stats, int): Likewise.
51512 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51514         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51515         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51517         * manual/setjmp.texi: Fix typos/grammar errors.
51519         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51520         Only return early when n is <= 0.  Delete unused return statement.
51522         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51523         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51524         * debug/tst-longjmp_chk3.c: New file.
51526         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51527         (test_main): Replace code with set_fortify_handler call.
51528         * debug/test-strcpy_chk.c: Likewise.
51529         * debug/tst-chk1.c: Likewise.
51530         * debug/tst-longjmp_chk.c: Likewise.
51531         * test-skeleton.c: Include fcntl.h & paths.h
51532         (set_fortify_handler): Define.
51534         * debug/tst-longjmp_chk.c: Add header comment and include
51535         ../test-skeleton.c.
51536         (do_test): Mark static.
51537         (TEST_FUNCTION): Define.
51539         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51540         (IP_PMTUDISC_INTERFACE): Likewise.
51541         (IP_MULTICAST_IF): Likewise.
51542         (IP_MULTICAST_TTL): Likewise.
51543         (IP_MULTICAST_LOOP): Likewise.
51544         (IP_ADD_MEMBERSHIP): Likewise.
51545         (IP_DROP_MEMBERSHIP): Likewise.
51546         (IP_UNBLOCK_SOURCE): Likewise.
51547         (IP_BLOCK_SOURCE): Likewise.
51548         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51549         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51550         (IP_MSFILTER): Likewise.
51551         (MCAST_JOIN_GROUP): Likewise.
51552         (MCAST_BLOCK_SOURCE): Likewise.
51553         (MCAST_UNBLOCK_SOURCE): Likewise.
51554         (MCAST_LEAVE_GROUP): Likewise.
51555         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51556         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51557         (MCAST_MSFILTER): Likewise.
51558         (IP_MULTICAST_ALL): Likewise.
51559         (IP_UNICAST_IF): Likewise.
51561         * timezone/Makefile: Delete $(have-ksh) check.
51562         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51563         * timezone/tzselect.ksh: Add +x mode bits.
51565         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51566         (ANON_INODE_FS_MAGIC): Likewise.
51567         (BDEVFS_MAGIC): Likewise.
51568         (BINFMTFS_MAGIC): Likewise.
51569         (BTRFS_TEST_MAGIC): Likewise.
51570         (CRAMFS_MAGIC_WEND): Likewise.
51571         (DEBUGFS_MAGIC): Likewise.
51572         (ECRYPTFS_SUPER_MAGIC): Likewise.
51573         (EXT3_SUPER_MAGIC): Likewise.
51574         (EXT4_SUPER_MAGIC): Likewise.
51575         (FUTEXFS_SUPER_MAGIC): Likewise.
51576         (HOSTFS_SUPER_MAGIC): Likewise.
51577         (HUGETLBFS_MAGIC): Likewise.
51578         (MINIX3_SUPER_MAGIC): Likewise.
51579         (MTD_INODE_FS_MAGIC): Likewise.
51580         (NILFS_SUPER_MAGIC): Likewise.
51581         (OPENPROM_SUPER_MAGIC): Likewise.
51582         (PIPEFS_MAGIC): Likewise.
51583         (PSTOREFS_MAGIC): Likewise.
51584         (QNX6_SUPER_MAGIC): Likewise.
51585         (RAMFS_MAGIC): Likewise.
51586         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51587         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51588         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51589         (SECURITYFS_MAGIC): Likewise.
51590         (SELINUX_MAGIC): Likewise.
51591         (SMACK_MAGIC): Likewise.
51592         (SOCKFS_MAGIC): Likewise.
51593         (SQUASHFS_MAGIC): Likewise.
51594         (STACK_END_MAGIC): Likewise.
51595         (TMPFS_MAGIC): Likewise.
51596         (USBDEVICE_SUPER_MAGIC): Likewise.
51597         (V9FS_MAGIC): Likewise.
51598         (XENFS_SUPER_MAGIC): Likewise.
51599         (CRAMFS_MAGIC): Fix typo in comment.
51600         (EXT2_SUPER_MAGIC): Update comment.
51601         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51603 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51605         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51606         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51607         * sysdeps/unix/sysv/linux/arm: Move directory from
51608         ports/sysdeps/unix/sysv/linux/arm.
51609         * README: Update listing for arm-*-linux-gnueabi.
51611         * README: Remove mention of am33.
51613 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51615         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51616         than the comma operator, to avoid "rhs of comma has no effect"
51617         compiler warnings.
51618         (__sigfillset, __sigandset, __sigorset): Likewise.
51619         * include/signal.h (__sigemptyset): Likewise.
51620         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51622 2014-02-07  Allan McRae  <allan@archlinux.org>
51624         * version.h (RELEASE): Set to "development".
51625         (VERSION): Set to "2.19.90"
51626         * NEWS: Add 2.20 section.
51628 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51630         [BZ #16529]
51631         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51633 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51635         * manual/contrib.texi: Update entry for Carlos O'Donell,
51636         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51638 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51640         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51642         * sysdeps/unix/sysv/linux/kernel-features.h
51643         [__LINUX_KERNEL_VERSION >= 0x020621]
51644         (__ASSUME_PROC_PID_TASK_COMM): Define.
51646 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51648         [BZ #16398]
51649         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51650         conversion when destination buffer does not have enough space.
51651         * libio/tst-ftell-partial-wide.c: New test case.
51652         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51654         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51655         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51656         Leonard and Allan McRae.
51658 2014-02-04  David S. Miller  <davem@davemloft.net>
51660         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51661         32-bit.
51663 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51666         New file
51667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51668         New file
51669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51670         New file.
51671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51672         New file.
51673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51674         New file.
51675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51676         New file.
51677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51678         New file.
51679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51680         New file.
51681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51682         New file.
51683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51684         New file.
51685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51686         New file.
51687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51688         New file.
51689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51690         New file.
51692 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51694         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51695         * shlib-versions: Likewise.
51697 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51698             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51700         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51701         (abilist-pattern): New variable, set to %-le.abilist.
51703         * Makerules (abilist-pattern): New variable.
51704         (vpath): Use $(abilist-pattern) in place of %.abilist.
51705         (check-abi-% pattern rule): Likewise.
51706         (check-abi, update-abi): Likewise.
51708 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51712 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51714         * manual/startup.texi: Add next, previous, and top entries for
51715         the `Program Arguments' and `Environment Variables' nodes.
51717 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51719         * manual/macros.texi: Add comments before MTASC-safety macros.
51721         * manual/users.texi: Document MTASC-safety properties.
51723         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51724         (pthread_getspecific, pthread_setspecific): Format with
51725         @deftypefun, and add @safety note.
51726         * manual/signal.texi: Move comments that analyze the above
51727         functions to their home place.
51729 2014-02-03  Allan McRae  <allan@archlinux.org>
51731         * po/sl.po: Update Slovenian translation from translation project.
51733 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51735         * manual/time.texi (timegm): Add missing blank after @c.
51736         Reported by Joseph Myers <joseph@codesourcery.com>.
51738 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51740         * manual/check-safety.sh: New.
51741         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51743         * manual/terminal.texi: Document MTASC-safety properties.
51745         * manual/filesys.texi: Document MTASC-safety properties.
51747         * manual/errno.texi: Document MTASC-safety properties.
51749         * manual/intro.texi: Document safety identifiers and
51750         conditionals.
51752         * manual/string.texi (wcstok): Fix prototype.
51753         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51755         * manual/time.texi: Document MTASC-safety properties.
51757         * manual/string.texi: Document MTASC-safety properties.
51759         * manual/threads.texi: Document MTASC-safety properties.
51761         * manual/stdio.texi: Document MTASC-safety properties.
51763         * manual/syslog.texi: Document MTASC-safety properties.
51765         * manual/sysinfo.texi: Document MTASC-safety properties.
51767         * manual/startup.texi: Document MTASC-safety properties.
51769         * manual/socket.texi: Document MTASC-safety properties.
51771         * manual/signal.texi: Document MTASC-safety properties.
51773 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51775         * manual/setjmp.texi: Document MTASC-safety properties.
51777         * manual/search.texi: Document MTASC-safety properties.
51779         * manual/resource.texi: Document MTASC-safety properties.
51781         * manual/process.texi: Document MTASC-safety properties.
51783         * manual/platform.texi: Document MTASC-safety properties.
51785         * manual/pipe.texi: Document MTASC-safety properties.
51787         * manual/pattern.texi: Document MTASC-safety properties.
51789         * manual/message.texi: Document MTASC-safety properties.
51791         [BZ #12751]
51792         * manual/memory.texi: Document MTASC-safety properties.
51794         * manual/math.texi: Document MTASC-safety properties.
51796         * manual/locale.texi: Document MTASC-safety properties.
51798         * manual/llio.texi: Document MTASC-safety properties.
51800         * manual/libdl.texi: New.
51802         * manual/lang.texi: Document MTASC-safety properties.
51804         * manual/job.texi: Document MTASC-safety properties.
51806         * manual/getopt.texi: Document MTASC-safety properties.
51808         * manual/ctype.texi: Document MTASC-safety properties.
51810 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51812         [BZ #16046]
51813         * csu/libc-tls.c (static_map): Remove variable.
51814         (__libc_setup_tls): Use main executable's link map for TLS data.
51815         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51816         casing for LM_ID_BASE and GL(dl_nns).
51817         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51818         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51819         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51820         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51821         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51822         member.
51823         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51824         l_phnum members.
51826 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51828         * manual/debug.texi: Document MTASC-safety properties.
51830 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51832         [BZ #16510]
51833         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51834         of __x86_64__ when disabling x87 inline functions.
51836 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51838         * manual/charset.texi: Document MTASC-safety properties.
51840         * manual/crypt.texi: Document MTASC-safety properties.
51842         * manual/conf.texi: Document MTASC-safety properties.
51844         * manual/arith.texi: Document MTASC-safety properties.
51846         * manual/argp.texi: Document MTASC-safety properties.
51848         * manual/macros.texi: Introduce macros to document multi
51849         thread, asynchronous signal and asynchronous cancellation
51850         safety properties.
51851         * manual/intro.texi: Introduce the properties themselves.
51853 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51855         * sysdeps/sh/sh4/Makefile: New file.
51857 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
51859         * math/gen-libm-test.pl ($srcdir): New variable.
51860         ($auto_input): Use it.
51862 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51864         [BZ #16506]
51865         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
51866         access beyond array bounds when parsing netgroups file.
51868         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
51869         the old buffer before realloc.
51871 2014-01-27  Allan McRae  <allan@archlinux.org>
51873         * po/fr.po: Update French translation from translation project.
51875 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51877         * sysdeps/sh/libm-test-ulps: Regenerate.
51879 2014-01-24  David S. Miller  <davem@davemloft.net>
51881         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
51883 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51885         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
51886         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
51888 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51890         [BZ #16474]
51891         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
51892         string pointers after reallocation.
51894 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51896         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
51897         __SH4A__ instead of __SH_FPU_ANY__.
51899 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51901         * sysdeps/sh/fpu_control.h: New file.
51902         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
51903         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
51904         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
51905         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
51906         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
51907         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
51908         * sysdeps/sh/sys/ucontext.h: Remove.
51909         * sysdeps/sh/sys: Remove directory.
51911 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51913         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
51914         s390/sys/ucontext.h.
51915         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
51916         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
51918 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
51920         [BZ #15605]
51921         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
51923 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51925         [BZ #16431]
51926         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51927         Adjust the vDSO correctly for internal calls.
51928         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
51930 2014-01-20  Allan McRae  <allan@archlinux.org>
51932         * po/ca.po: Update Catalan translation from translation project.
51934 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
51936         * sysdeps/s390/sotruss-lib.c: New file.
51938 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51940         [BZ #16430]
51941         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
51942         (__GI___gettimeofday): Alias for a different internal symbol to avoid
51943         local calls issues by not having a PLT stub required for IFUNC calls.
51944         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
51946 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
51948         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
51949         * math/test-fpucw-static.c: Likewise.
51951 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51953         [BZ #16453]
51954         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
51956 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51958         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
51959         implementation for powerpc.
51961 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
51963         [BZ #14782]
51964         * sysdeps/posix/system.c (__libc_system): Do not enable
51965         asynchronous cancellation.
51967 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51969         [BZ #16427]
51970         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
51971         handling only for numbers special also in the IEEE case.
51973 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51975         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51977 2014-01-11  Allan McRae  <allan@archlinux.org>
51979         * po/bg.po: Update Bulgarian translation from translation project.
51981         * po/de.po: Update German translation from translation project.
51983 2014-01-10  Roland McGrath  <roland@hack.frob.com>
51985         * sysdeps/generic/gcc-compat.h: New file.
51987 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51989         * benchtests/asin-inputs: Correct slow inputs.
51990         * benchtests/acos-inputs: Likewise.
51992 2014-01-10  Allan McRae  <allan@archlinux.org>
51994         * po:sv.po: Update Swedish translation from translation project.
51996         * po/vi.po: Update Vietnamese translation from translation project.
51998         * po/eo.po: Update Esperanto translation from translation project.
52000         * po/cs.po: Update Czech translation from translation project.
52002         * po/nl.po: Update Dutch translation from translation project.
52004         * po/pl.po: Update Polish translation from translation project.
52006         * po/ru.po: Update Russian translation from translation project.
52008         * po/uk.po: Update Ukrainian translation from translation project.
52010 2014-01-08  Brooks Moses  <bmoses@google.com>
52012         * elf/dl-load.c: Fix comment typo.
52014 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52016         * po/header.pot: Rename to...
52017         * po/pot.header: ... this.
52018         * po/Makefile: Use pot.header.
52020 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52021             Maxim Kuvyrkov  <maxim@kugelworks.com>
52023         [BZ #16394]
52024         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52025         SRC and DEST against LEN.
52027 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52029         [BZ #16414]
52030         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52031         implementation.
52032         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52034 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52038 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52040         [BZ #16408]
52041         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52042         for large positive arguments.
52044 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52046         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52048         * math/auto-libm-test-in: Mark various tests with
52049         xfail-rounding:ldbl-128ibm.
52050         * math/auto-libm-test-out: Regenerated.
52052         [BZ #16407]
52053         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52054         Increase overflow threshold.
52056 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52058         [BZ #14286]
52059         * stdio-common/vfprintf.c: Check for integer overflow.
52061 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52063         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52064         the first argument and return value of __tls_get_addr_internal.
52066 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52068         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52069         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52071 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52073         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52074         * sysdeps/s390/rtld-global-offsets.sym: New file.
52075         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52076         GLIBC_2.19 symbol.
52077         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52078         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52079         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52080         ... this.
52081         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52082         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52083         ... this.
52084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52085         Regenerate.
52086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52087         Regenerate.
52088         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52089         halfs of GPRs for high_gprs contexts.
52090         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52091         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52092         field.
52093         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52094         uc_flags field.
52095         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52096         64 bit versions:
52097         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52098         for high GPRs (uc_high_gprs) and for future extensions
52099         (__reserved).
52100         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52101         for future extensions (__reserved).
52102         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52103         64 bit versions:
52104         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52105         SC_HIGHGPRS offset definition.
52106         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52107         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52109         * Versions.def: Add GLIBC_2.19 for libpthread.
52110         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52111         siglongjmp for libpthread with GLIBC_2.19 symver.
52112         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52113         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52114         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52115         * sysdeps/s390/__longjmp.c: New file.
52116         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52117         * sysdeps/s390/longjmp.c: New file.
52118         * sysdeps/s390/setjmp.S: New file.
52119         * sysdeps/s390/sigjmp.S: New file.
52120         * sysdeps/s390/v1-longjmp.c: New file.
52121         * sysdeps/s390/v1-setjmp.h: New file.
52122         * sysdeps/s390/v1-sigjmp.c: New file.
52123         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52124         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52125         GLIBC_2.19 version.
52126         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52127         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52128         versioned symbols for ____longjmp_chk.
52129         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52130         Likewise.
52131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52132         Regenerate.
52133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52134         Regenerate.
52135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52136         Regenerate.
52137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52138         Regenerate.
52139         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52140         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52141         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52142         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52143         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52144         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52145         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52146         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52147         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52148         * sysdeps/s390/rtld-__longjmp.c: New file.
52149         * sysdeps/s390/rtld-setjmp.S: New file.
52151 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52153         [BZ #16400]
52154         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52155         Return -__logl (x) for small positive arguments without evaluating
52156         a polynomial.
52158 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52160         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52161         Rename to ...
52162         (__ptrace_peeksiginfo_args): ... this.
52163         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52164         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52165         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52167 2014-01-06  Allan McRae  <allan@archlinux.org>
52169         * inet/netinet/in.h: Fix typo in comment.
52171 2014-01-05  Andreas Jaeger  <aj@suse.de>
52173         * sysdeps/i386/fpu/libm-test-ulps: Update.
52175 2014-01-05  Allan McRae  <allan@archlinux.org>
52177         * po/libc.pot: Regenerated.
52179         * malloc/memusagestat.c: Fix gettext call formatting.
52181 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52183         * nscd/nscd.c: Improve usage() output.
52185 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52187         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52188         * sysdeps/unix/sysv/linux/configure: Regenerated.
52189         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52190         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52192 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52194         [BZ #16390]
52195         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52196         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52198 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52200         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52201         extra tokens at end of #undef directive.
52202         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52203         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52204         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52206 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52208         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52210         * math/auto-libm-test-in: Mark various tests with
52211         xfail-rounding:ldbl-128ibm.
52212         * math/auto-libm-test-out: Regenerated.
52214 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52216         [BZ #16386]
52217         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52218         numbers with subnormal high part when calculating exponent.
52220         [BZ #16385]
52221         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52222         fabs.
52224         [BZ #16384]
52225         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52226         M_LN2l.
52227         (__ieee754_acoshl): Use __log1pl not __log1p.
52229 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52231         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52232         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52233         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52234         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52235         (reused_arena, arena_get2): Convert to GNU style.
52236         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52237         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52238         (memalign_check, __malloc_set_state): Likewise.
52239         * malloc/mallocbug.c (main): Likewise.
52240         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52241         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52242         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52243         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52244         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52245         (__posix_memalign, malloc_info): Likewise.
52246         * malloc/malloc.h: Likewise.
52247         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52248         (mallochook, memalignhook, reallochook, mabort): Likewise.
52249         * malloc/mcheck.h: Likewise.
52250         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52251         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52252         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52253         * malloc/morecore.c (__default_morecore): Likewise.
52254         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52255         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52256         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52257         (print_and_abort): Likewise.
52258         * malloc/obstack.h: Likewise.
52259         * malloc/set-freeres.c (__libc_freeres): Likewise.
52260         * malloc/tst-mallocstate.c (main): Likewise.
52261         * malloc/tst-mtrace.c (main): Likewise.
52262         * malloc/tst-realloc.c (do_test): Likewise.
52264 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52266         [BZ #16366]
52267         * nscd/netgroupcache.c (do_notfound): New function.
52268         (addgetnetgrentX): Use it.
52270         [BZ # 16365]
52271         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52272         NSS_STATUS_NOTFOUND.
52274 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52276         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52279 2014-01-01  Allan McRae  <allan@archlinux.org>
52281         * scripts/update-copyrights: Update configure input file suffix.
52283         * NEWS: Update copyright year.
52284         * catgets/gencat.c: Likewise.
52285         * csu/version.c: Likewise.
52286         * debug/catchsegv.sh: Likewise.
52287         * debug/pcprofiledump.c: Likewise.
52288         * debug/xtrace.sh: Likewise.
52289         * elf/ldconfig.c: Likewise.
52290         * elf/ldd.bash.in: Likewise.
52291         * elf/pldd.c: Likewise.
52292         * elf/sotruss.ksh: Likewise.
52293         * elf/sprof.c: Likewise.
52294         * iconv/iconv_prog.c: Likewise.
52295         * iconv/iconvconfig.c: Likewise.
52296         * locale/programs/locale.c: Likewise.
52297         * locale/programs/localedef.c: Likewise.
52298         * login/programs/pt_chown.c: Likewise.
52299         * malloc/memusage.sh: Likewise.
52300         * malloc/memusagestat.c: Likewise.
52301         * malloc/mtrace.pl: Likewise.
52302         * manual/libc.texinfo: Likewise.
52303         * nscd/nscd.c: Likewise.
52304         * nss/getent.c: Likewise.
52305         * nss/makedb.c: Likewise.
52306         * posix/getconf.c: Likewise.
52307         * scripts/test-installation.pl: Likewise.
52309         * All files with FSF copyright notices: Update copyright dates
52310         using scripts/update-copyrights.
52311         * intl/plural.c: Regenerated.
52312         * locale/programs/charmap-kw.h: Likewise.
52313         * locale/programs/locfile-kw.h: Likewise.
52315 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52317         * sysdeps/unix/sysv/linux/configure: Regenerated.
52318         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52319         the linux/fanotify.h header.
52320         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52321         HAVE_LINUX_FANOTIFY_H is defined.
52323 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52325         * benchtests/cos-inputs: New inputs.
52326         * benchtests/sin-inputs: Likewise.
52328         * benchtests/atan-inputs: New inputs. Fix name of multiple
52329         precision fallback inputs.
52331         * benchtests/atanh-inputs: New inputs.
52332         * benchtests/tanh-inputs: Likewise.
52334         * benchtests/acosh-inputs: New inputs.
52335         * benchtests/asinh-inputs: Likewise.
52337         * benchtests/cosh-inputs: New inputs.
52338         * benchtests/sinh-inputs: Likewise.
52340         * benchtests/acos-inputs: Add more inputs.
52341         * benchtests/asin-inputs: Likewise.
52343 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52345         [BZ #16375]
52346         * manual/arith.texi: Fix spelling.
52347         * manual/charset.texi: Likewise.
52348         * manual/errno.texi: Likewise.
52349         * manual/filesys.texi: Likewise.
52350         * manual/lang.texi: Likewise.
52351         * manual/llio.texi: Likewise.
52352         * manual/locale.texi: Likewise.
52353         * manual/message.texi: Likewise.
52354         * manual/resource.texi: Likewise.
52355         * manual/search.texi: Likewise.
52356         * manual/setjmp.texi: Likewise.
52357         * manual/stdio.texi: Likewise.
52358         * manual/string.texi: Likewise.
52359         * manual/sysinfo.texi: Likewise.
52360         * manual/time.texi: Likewise.
52362 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52364         * po/sl.po: New file.
52366 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52368         * .gitignore: Add core/.gdbinit/.gdb_history.
52370 2013-12-27  Allan McRae  <allan@archlinux.org>
52372         [BZ #16369]
52373         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52374         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52376 2013-12-24  Brooks Moses  <bmoses@google.com>
52378         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52379         all compilers that claim C++98 compliance, not just GCC.
52380         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52381         Likewise.
52383 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52385         * NEWS: Restore accidentally deleted bug-fix entries.
52387 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52388             Ondřej Bílka  <neleai@seznam.cz>
52390         [BZ #15073]
52391         * malloc/malloc.c (_int_free): Perform sanity check only if we
52392         have_lock.
52394 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52396         [BZ #12986]
52397         * manual/stdio.texi (String Input Conversions): Clarify that character
52398         classes are not supported.
52400 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52404 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52406         [BZ #16337]
52407         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52408         Calculate results for small negative arguments directly rather
52409         than using reflection formula with special underflow handling.
52411         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52412         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52413         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52414         (fchflags): Likewise.
52415         (revoke): Likewise.
52416         (setlogin): Likewise.
52417         (sigaltstack): Likewise.
52418         (wait4): Likewise.
52419         (sigblock): Remove.
52420         (sigsetmask): Likewise.
52421         (wait3): Likewise.
52422         (waitpid): Likewise.
52423         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52424         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52425         file.
52426         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52427         * sysdeps/unix/bsd/Makefile: ... here.
52428         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52429         * sysdeps/unix/bsd/Versions: ... here.
52430         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52431         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52432         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52433         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52434         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52435         * sysdeps/unix/bsd/sigblock.c: ... here.
52436         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52437         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52438         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52439         * sysdeps/unix/bsd/sigvec.c: ... here.
52440         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52441         * sysdeps/unix/bsd/tcdrain.c: ... here.
52442         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52443         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52444         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52445         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52446         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52447         * sysdeps/unix/bsd/wait.c: ... here.
52448         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52449         * sysdeps/unix/bsd/wait3.c: ... here.
52450         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52451         * sysdeps/unix/bsd/waitpid.c: ... here.
52453 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52455         [BZ #16356]
52456         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52457         round-to-nearest for [!USE_AS_EXPM1L].
52458         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52459         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52460         more tests of exp and exp10.  Expect some exp10 tests to miss
52461         exceptions or fail in directed rounding modes.
52462         * math/auto-libm-test-out: Regenerated.
52463         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52464         (exp10_test_tonearest): New function.
52465         (exp10_towardzero_test_data): New array.
52466         (exp10_test_towardzero): New function.
52467         (exp10_downward_test_data): New array.
52468         (exp10_test_downward): New function.
52469         (exp10_upward_test_data): New array.
52470         (exp10_test_upward): New function.
52471         (main): Call the new functions.
52472         * sysdeps/i386/fpu/libm-test-ulps: Update.
52473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52475 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52477         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52478         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52479         * math/auto-libm-test-out: Regenerated.
52480         * math/libm-test.inc (acosh_test_data): Add more tests.
52481         (atanh_test_data): Likewise.
52482         (ceil_test_data): Likewise.
52483         (copysign_test_data): Likewise.
52484         * sysdeps/i386/fpu/libm-test-ulps: Update.
52485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52487         * timezone/checktab.awk: Update from tzcode 2013i.
52488         * timezone/private.h: Likewise.
52489         * timezone/scheck.c: Likewise.
52490         * timezone/tzfile.h: Likewise.
52491         * timezone/tzselect.ksh: Likewise.
52492         * timezone/zdump.c: Likewise.
52493         * timezone/zic.c: Likewise.
52495         * math/auto-libm-test-in: Add tests of cpow.
52496         * math/auto-libm-test-out: Regenerated.
52497         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52498         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52499         mpc_cc_c.
52500         (func_calc_desc): Add mpc_cc_c union field.
52501         (test_functions): Add cpow.
52502         (special_fill_2pi): New function.
52503         (special_real_inputs): Add 2pi.
52504         (calc_generic_results): Handle mpc_cc_c.
52505         * sysdeps/i386/fpu/libm-test-ulps: Update.
52506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52508         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52509         csqrt, ctan and ctanh.
52510         * math/auto-libm-test-out: Regenerated.
52511         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52512         (TEST_COND_x86): Likewise.
52513         (ccos_test_data): Use AUTO_TESTS_c_c.
52514         (ccosh_test_data): Likewise.
52515         (cexp_test_data): Likewise.
52516         (clog_test_data): Likewise.
52517         (csqrt_test_data): Likewise.
52518         (ctan_test_data): Likewise.
52519         (ctan_tonearest_test_data): Likewise.
52520         (ctan_towardzero_test_data): Likewise.
52521         (ctan_downward_test_data): Likewise.
52522         (ctan_upward_test_data): Likewise.
52523         (ctanh_test_data): Likewise.
52524         (ctanh_tonearest_test_data): Likewise.
52525         (ctanh_towardzero_test_data): Likewise.
52526         (ctanh_downward_test_data): Likewise.
52527         (ctanh_upward_test_data): Likewise.
52528         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52529         mpc_c_c.
52530         (func_calc_desc): Add mpc_c_c union field.
52531         (FUNC_mpc_c_c): New macro.
52532         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52533         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52534         ctanh.
52535         (special_fill_min_subnorm_p120): New function.
52536         (special_real_inputs): Add min_subnorm_p120.
52537         (calc_generic_results): Handle mpc_c_c.
52538         * sysdeps/i386/fpu/libm-test-ulps: Update.
52539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52541 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52543         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52544         (do_sin_slow): New functions.
52545         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52546         (cslow2, csloww1, csloww2): Use the new functions.
52548         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52549         Use M to change sign of result instead of X.  Assume X is
52550         positive.
52551         (csloww1): Likewise.
52552         (__sin): Adjust.
52553         (__cos): Adjust.
52555         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52556         arguments A and DA.
52557         (__sin): Adjust.
52558         (__cos): Likewise.
52560         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52561         (__cos): Likewise.
52562         (sloww1): Don't adjust sign of DX.
52563         (csloww1): Likewise.
52564         (sloww2): Use X directly and don't adjust sign of DX.
52565         (csloww2): Likewise.
52567 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52569         * math/auto-libm-test-in: Add tests of cabs and carg.
52570         * math/auto-libm-test-out: Regenerated.
52571         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52572         (carg_test_data): Likewise.
52573         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52574         mpc_c_f.
52575         (func_calc_desc): Add mpc_c_f union field.
52576         (test_functions): Add cabs and carg.
52577         (calc_generic_results): Handle mpc_c_f.
52579         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52580         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52581         as a macro and a compat symbol.
52582         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52583         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52584         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52585         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52586         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52587         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52588         not use .hidden.
52589         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52590         Likewise.
52591         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52592         Likewise.
52593         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52594         Likewise.
52595         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52596         Likewise.
52597         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52598         Likewise.
52599         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52600         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52601         from GLIBC_2.3.2.
52603 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52607 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52609         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52610         trailing whitespace removed.
52611         * scripts/config.guess: Update to version 2013-11-29.
52612         * scripts/config.sub: Update to version 2013-10-01.
52614         * math/auto-libm-test-in: Add tests of sincos.
52615         * math/auto-libm-test-out: Regenerated.
52616         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52617         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52618         mpfr_f_11.
52619         (func_calc_desc): Add mpfr_f_11 union field.
52620         (test_functions): Add sincos.
52621         (calc_generic_results): Handle mpfr_f_11.
52622         * sysdeps/i386/fpu/libm-test-ulps: Update.
52623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52625 2013-12-19  Andreas Schwab  <schwab@suse.de>
52627         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52628         CALL_MCOUNT.
52629         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52630         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52631         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52633 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52635         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52636         * sysdeps/i386/fpu/libm-test-ulps: Update.
52637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52639         [BZ #16293]
52640         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52641         round-to-nearest mode when using frndint.
52642         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52643         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52644         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52645         Likewise.
52646         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52647         sinh test to fail.
52648         * math/auto-libm-test-out: Regenerated.
52649         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52650         (TEST_COND_x86): Likewise.
52651         (expm1_tonearest_test_data): New array.
52652         (expm1_test_tonearest): New function.
52653         (expm1_towardzero_test_data): New array.
52654         (expm1_test_towardzero): New function.
52655         (expm1_downward_test_data): New array.
52656         (expm1_test_downward): New function.
52657         (expm1_upward_test_data): New array.
52658         (expm1_test_upward): New function.
52659         (main): Run the new test functions.
52660         * sysdeps/i386/fpu/libm-test-ulps: Update.
52661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52663         * include/features.h: Update comment documenting feature test
52664         macros.  Mention _DEFAULT_SOURCE in comment.
52665         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52666         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52667         _BSD_SOURCE and _SVID_SOURCE.
52668         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52669         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52670         !_SVID_SOURCE]: Likewise.
52671         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52672         (__USE_POSIX_IMPLICITLY): Define.
52673         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52674         (_POSIX_SOURCE): Undefine and redefine.
52675         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52676         (_POSIX_C_SOURCE): Likewise.
52677         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52678         (Feature Test Macros): Update documentation of default features.
52680 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52682         * benchtests/Makefile: Add bench-strtok.
52683         * benchtests/bench-strtok.c: New file: strtok benchtest.
52685 2013-12-19  Allan McRae  <allan@archlinux.org>
52687         * manual/install.texi: Suppress menu for plain text output.
52688         * INSTALL: Regenerated.
52690 2013-12-18  Brooks Moses  <bmoses@google.com>
52692         [BZ #15846]
52693         * misc/getauxval.c: Include errno.h.
52694         (__getauxval): Set errno to ENOENT if the requested type is not
52695         found.
52696         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52697         don't declare with __attribute_const__.
52698         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52699         * manual/startup.texi: Document that getauxval sets errno.
52701 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52703         * math/auto-libm-test-in: Add tests of jn and yn.
52704         * math/auto-libm-test-out: Regenerated.
52705         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52706         (yn_test_data): Likewise.
52707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52708         mpfr_if_f.
52709         (func_calc_desc): Add mpfr_if_f union field.
52710         (FUNC_mpfr_if_f): New macro.
52711         (test_functions): Add jn and yn.
52712         (calc_generic_results): Assert type of second input for
52713         mpfr_ff_f.  Handle mpfr_if_f.
52714         (output_for_one_input_case): Disable all checking for arguments
52715         fitting floating-point types in case of an integer argument.
52716         * sysdeps/i386/fpu/libm-test-ulps: Update.
52717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52720         Don't expect fegetround reference in libm.so.
52722 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52724         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52725         $(config-cflags-nofma).
52727 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52729         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52730         * math/auto-libm-test-out: Regenerated.
52732         [BZ #16338]
52733         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52734         to determine exponent and adjust argument to have exponent of -1.
52735         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52736         log2.
52737         * math/auto-libm-test-out: Regenerated.
52738         * sysdeps/i386/fpu/libm-test-ulps: Update.
52739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52741 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52743         * manual/probes.texi: Remove cases when per-thread arenas are
52744         disabled.
52746 2013-12-18  Andreas Schwab  <schwab@suse.de>
52748         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52749         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52750         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52751         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52752         * sysdeps/i386/i686/multiarch/Makefile: Update.
52753         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52755 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52757         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52758         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52760 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52762         [BZ #15968]
52763         Support TZ transition times < 00:00:00.
52764         This is needed for version-3 tz-format files; it supports time
52765         stamps past 2037 for America/Godthab (the only entry in the tz
52766         database for which this change is relevant).
52767         * manual/time.texi (TZ Variable): Document transition times
52768         from -167:59:59 through -00:00:01.
52769         * time/tzset.c (tz_rule): Time of day is now signed.
52770         (__tzset_parse_tz): Parse negative time of day.
52772         Document TZ transition times >= 25:00:00.
52773         * manual/time.texi (TZ Variable): Document transition times from
52774         25:00:00 through 167:59:59.  These are already supported, and this
52775         support will help with version-3 tz-format files.
52777         * manual/time.texi (TZ Variable): Modernize North America example
52778         to reflect current (i.e., 2007-and-later) daylight saving rules.
52780         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52782 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52784         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52785         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52786         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52787         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52788         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52789         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52790         * sysdeps/unix/bsd/clock.c: Likewise.
52791         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52792         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52793         * sysdeps/unix/bsd/init-posix.c: Likewise.
52794         * sysdeps/unix/bsd/poll.c: Likewise.
52795         * sysdeps/unix/bsd/ptsname.c: Likewise.
52796         * sysdeps/unix/bsd/seekdir.c: Likewise.
52797         * sysdeps/unix/bsd/setegid.c: Likewise.
52798         * sysdeps/unix/bsd/seteuid.c: Likewise.
52799         * sysdeps/unix/bsd/setgid.c: Likewise.
52800         * sysdeps/unix/bsd/setrgid.c: Likewise.
52801         * sysdeps/unix/bsd/setruid.c: Likewise.
52802         * sysdeps/unix/bsd/setsid.c: Likewise.
52803         * sysdeps/unix/bsd/setuid.c: Likewise.
52804         * sysdeps/unix/bsd/sigaction.c: Likewise.
52805         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52806         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52807         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52808         * sysdeps/unix/bsd/telldir.c: Likewise.
52809         * sysdeps/unix/bsd/times.c: Likewise.
52810         * sysdeps/unix/bsd/usleep.c: Likewise.
52812         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52813         ($(objpfx)libbsd-compat.a): Remove rule.
52815         * include/features.h (__FAVOR_BSD): Do not define.
52816         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52817         features conflicting with POSIX.
52818         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52819         (_BSD_SOURCE): Remove description of not being a subset of other
52820         feature test macros.
52821         * manual/job.texi (getpgrp): Do not document BSD version.
52822         (getpgid): Do not document by reference to BSD getpgrp.
52823         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52824         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52825         * signal/signal.h [__FAVOR_BSD]: Likewise.
52826         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52827         instead of making contents conditional on [__FAVOR_BSD].
52828         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52830 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52834 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52836         [BZ #16314]
52837         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52838         values below 2**-450, not 2**-500.
52839         * math/auto-libm-test-in: Don't allow spurious underflow from
52840         hypot.
52841         * math/auto-libm-test-out: Regenerated.
52843         [BZ #16316]
52844         [BZ #16330]
52845         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52846         values of ha and hb and sort them after adjusting subnormal
52847         arguments.
52848         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
52849         Likewise.
52850         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
52851         values of ea and eb and sort them after adjusting subnormal
52852         arguments.
52853         * math/auto-libm-test-in: Do not expect some hypot tests of
52854         subnormals to fail.  Add more hypot tests.
52855         * math/auto-libm-test-out: Regenerated.
52857 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52859         [BZ #13304]
52860         * sysdeps/sh/s_fma.c: New file.
52861         * sysdeps/sh/s_fmaf.c: New file.
52862         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
52863         version.
52864         * sysdeps/sh/Implies: Add sh/soft-fp.
52866 2013-12-16  Roland McGrath  <roland@hack.frob.com>
52868         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
52869         level of indirection to members `objname', `errstring', `malloced'.
52870         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
52871         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
52872         it as the __longjmp argument (just pass 1 instead).
52873         (_dl_catch_error): Initialize C with argument pointers and address of
52874         volatile local ERRCODE rather than copying values out of C at return.
52876 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
52878         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
52879         * math/auto-libm-test-out: Regenerated.
52880         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
52881         (hypot_test_data): Likewise.
52882         (pow_test_data): Likewise.
52883         (pow_tonearest_test_data): Likewise.
52884         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52885         mpfr_ff_f.
52886         (func_calc_desc): Add mpfr_ff_f union field.
52887         (FUNC_mpfr_ff_f): New macro.
52888         (test_functions): Add atan2, hypot and pow.
52889         (special_fill_min): New function.
52890         (special_fill_minus_min): Likewise.
52891         (special_fill_min_subnorm): Likewise.
52892         (special_fill_minus_min_subnorm): Likewise.
52893         (special_real_inputs): Add min, -min, min_subnorm and
52894         -min_subnorm.
52895         (calc_generic_results): Handle mpfr_ff_f.
52896         * sysdeps/i386/fpu/libm-test-ulps: Update.
52897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52899 2013-12-16  Will Newton  <will.newton@linaro.org>
52901         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
52902         (Aligned Memory Blocks): Add documentation for aligned_alloc
52903         and suggest it as an alternative to posix_memalign.
52904         (Hooks for Malloc): Document __memalign_hook is also called
52905         for aligned_alloc.  (Summary of Malloc): Add summary for
52906         aligned alloc.  Document __memalign_hook is also called
52907         for aligned_alloc.
52909 2013-12-16  Will Newton  <will.newton@linaro.org>
52911         * manual/memory.texi (Malloc Examples): Clarify default
52912         alignment documentation.  Suggest posix_memalign rather
52913         than memalign or valloc.
52914         (Aligned Memory Blocks): Remove suggestion to use memalign
52915         or valloc.  Remove obsolete comment about BSD.
52916         Document memalign errno values and mark the function obsolete.
52917         Document posix_memalign returned error codes.  Mark valloc
52918         as obsolete.  (Hooks for Malloc): __memalign_hook is also
52919         called for posix_memalign and valloc.
52920         (Summary of Malloc): Add posix_memalign to function summary.
52921         __memalign_hook is also called for posix_memalign and valloc.
52923 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52925         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
52926         TAYLOR_SIN.
52927         (__sin): Adjust.
52928         (__cos): Likewise.
52929         (sloww): Use mynumber union.  Expand ternary operator into
52930         if-else statements.
52931         (cslow): use mynumber union.
52933 2013-12-16  Allan McRae  <allan@archlinux.org>
52935         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
52936         * configure: Regenerated.
52938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
52940         [BZ #14120]
52941         * configure.ac: Added --enable-maintainer-mode. Check for
52942         autoconf when enabled.
52943         * configure: Regenerated.
52945         * nscd/nscd.service: New file.
52946         * nscd/nscd.tmpfiles: New file.
52948 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
52950         [BZ #12100]
52951         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
52952         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
52953         * sysdeps/x86_64/multiarch/strstr.c: ... here.
52954         (strstr): Add __strstr_sse2_unaligned ifunc.
52955         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
52956         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
52957         (strcasestr): Remove __strcasestr_sse42 ifunc.
52958         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
52959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52962 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52964         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
52965         * sysdeps/sh/bits/fenv.h: ... here.
52966         * sysdeps/sh/sh4/fpu/bits: Remove directory.
52968 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52970         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
52972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
52973         hypotf multiarch implementations.
52974         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
52975         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
52976         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
52977         multiarch hypot for PPC64.
52978         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
52979         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
52980         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
52981         multiarch hypotf for PPC64.
52983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
52984         modff multiarch implementations.
52985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
52986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
52987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
52988         multiarch modf for PPC64.
52989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
52990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
52991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
52992         multiarch modff for PPC64.
52994         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
52995         and logl multiarch implementations.
52996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
52997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
52998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
52999         multiarch logb for PPC64.
53000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53003         multiarch logb for PPC64.
53004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53007         multiarch logb for PPC64.
53009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53010         isinff multiarch implementation.
53011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53012         file.
53013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53015         multiarch isinf for PPC64.
53016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53017         file.
53018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53019         multiarch isinff for PPC64.
53021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53022         finitef multiarch implementation.
53023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53024         file.
53025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53027         multiarch finite for PPC64.
53028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53029         file.
53030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53031         multiarch finitef for PPC64.
53033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53034         lrint multiarch implementation.
53035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53036         file.
53037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53039         multiarch llrint for PPC64.
53040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53041         multiarch lrint for PPC64.
53043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53044         copysignf multiarch implementation.
53045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53046         file.
53047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53048         file.
53049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53050         multiarch copysign for PPC64.
53051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53052         multiarch copysignf for PPC64.
53054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53055         multiarch implementation.
53056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53057         file.
53058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53059         file.
53060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53061         file.
53062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53063         file.
53064         multiarch llround for PPC64.
53065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53066         multiarch trunc for PPC64.
53067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53068         multiarch truncf for PPC64.
53070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53071         multiarch implementation.
53072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53073         file.
53074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53075         file.
53076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53077         file.
53078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53079         file.
53080         multiarch llround for PPC64.
53081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53082         multiarch round for PPC64.
53083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53084         multiarch roundf for PPC64.
53086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53087         multiarch implementation.
53088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53089         file.
53090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53091         file.
53092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53093         file.
53094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53095         file.
53096         multiarch llround for PPC64.
53097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53098         multiarch floor for PPC64.
53099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53100         multiarch floorf for PPC64.
53102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53103         multiarch implementation.
53104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53105         file.
53106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53107         file.
53108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53109         file.
53110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53111         file.
53112         multiarch llround for PPC64.
53113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53114         multiarch ceil for PPC64.
53115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53116         multiarch ceilf for PPC64.
53118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53119         multiarch implementation.
53120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53121         file.
53122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53123         file.
53124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53125         file.
53126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53127         multiarch llround for PPC64.
53128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53129         multiarch lround for PPC64.
53131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53132         multiarch implementation.
53133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53136         file.
53137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53140         multiarch isnan for PPC64.
53141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53142         multiarch isnanf for PPC64.
53144         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53145         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53146         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53147         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53148         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53151         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53152         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53153         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53154         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53157         multiarch implementations.
53158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53159         (__libc_ifunc_impl_list): Likewise.
53160         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53161         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53162         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53163         multiarch stpcpy for PPC64.
53165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53166         multiarch implementations.
53167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53168         (__libc_ifunc_impl_list): Likewise.
53169         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53170         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53171         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53172         multiarch strcpy for PPC64.
53174         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53175         redefine function name.
53176         (_wordcopy_fwd_dest_aligned): Likewise.
53177         (_wordcopy_bwd_aligned): Likewise.
53178         (_wordcopy_bwd_dest_aligned): Likewise.
53179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53180         multiarch implementations.
53181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53182         (__libc_ifunc_impl_list): Likewise.
53183         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53184         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53185         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53186         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53187         multiarch wcscpy for PPC64.
53189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53190         multiarch implementations.
53191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53192         (__libc_ifunc_impl_list): Likewise.
53193         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53194         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53195         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53196         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53197         multiarch wcscpy for PPC64.
53199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53200         multiarch implementations.
53201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53202         (__libc_ifunc_impl_list): Likewise.
53203         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53204         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53205         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53206         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53207         multiarch wcsrchr for PPC64.
53209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53210         multiarch implementations.
53211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53212         (__libc_ifunc_impl_list): Likewise.
53213         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53214         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53215         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53216         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53217         multiarch wcschr for PPC64.
53219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53220         multiarch implementations.
53221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53222         (__libc_ifunc_impl_list): Likewise.
53223         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53224         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53225         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53226         multiarch strchrnul for PPC64.
53228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53229         implementations.
53230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53231         (__libc_ifunc_impl_list): Likewise.
53232         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53233         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53234         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53235         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53236         strchr for PPC64.
53238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53239         implementations.
53240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53241         (__libc_ifunc_impl_list): Likewise.
53242         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53243         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53244         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53245         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53246         strncmp for PPC64.
53248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53249         multiarch implementations.
53250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53251         (__libc_ifunc_impl_list): Likewise.
53252         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53253         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53254         strncasecmp for PPC64.
53255         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53256         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53257         multiarch strncasecmp_l for PPC64.
53259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53260         multiarch implementations.
53261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53262         (__libc_ifunc_impl_list): Likewise.
53263         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53264         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53265         multiarch strcasecmp for PPC64.
53266         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53267         file.
53268         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53269         multiarch strcasecmp_l for PPC64.
53271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53272         implementations.
53273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53274         (__libc_ifunc_impl_list): Likewise.
53275         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53276         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53277         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53278         strnlen for PPC64.
53280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53281         implementations.
53282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53283         (__libc_ifunc_impl_list): Likewise.
53284         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53285         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53286         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53287         strlen for PPC64.
53289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53290         implementations.
53291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53292         (__libc_ifunc_impl_list): Likewise.
53293         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53294         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53295         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53296         rawmemrchr for PPC64.
53298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53299         implementation.
53300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53301         (__libc_ifunc_impl_list): Likewise.
53302         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53303         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53304         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53305         memrchr for PPC64.
53307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53308         implementation.
53309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53310         (__libc_ifunc_impl_list): Likewise.
53311         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53312         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53313         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53314         memchr for PPC64.
53316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53317         implementation.
53318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53319         (__libc_ifunc_impl_list): Likewise.
53320         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53321         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53322         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53323         mempcpy for PPC64.
53325         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53326         avoid cretion of __bzero symbol.
53327         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53328         Likewise.
53329         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53330         Likewise.
53331         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53332         Likewise.
53333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53334         multiarch implementations.
53335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53336         (__libc_ifunc_impl_list): Likewise.
53337         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53338         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53339         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53340         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53341         bzero for PPC32.
53342         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53343         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53344         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53345         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53346         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53347         memset for PPC64.
53348         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53350         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53352         implementations.
53353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53354         (__libc_ifunc_impl_list): Likewise.
53355         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53356         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53357         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53358         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53359         memcmp for PPC64.
53361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53362         multiarch for POWER/PPC64.
53363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53364         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53365         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53366         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53367         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53368         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53369         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53370         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53371         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53372         memcpy for PPC64.
53374         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53375         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53376         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53377         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53378         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53379         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53380         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53381         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53382         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53383         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53384         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53385         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53386         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53387         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53388         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53397 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53399         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53401 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53403         * benchtests/Makefile (bench): Add exp2 and log2.
53404         (LDLIBS-bench-exp2): Add -lm.
53405         (LDLIBS-bench-log2): Likewise.
53406         * benchtests/exp2-inputs: New inputs file.
53407         * benchtests/log2-inputs: New inputs file.
53408         * benchtests/log-inputs: Add new inputs.
53409         * benchtests/tan-inputs: Likewise.
53411 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53413         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53414         definition...
53415         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53416         (csloww2): ... from here.
53418         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53419         instead of structures.
53420         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53421         (POLYNOMIAL): Likewise.
53422         (TAYLOR_SLOW): Likewise.
53423         (__sin): Likewise.
53424         (__cos): Likewise.
53425         (slow1): Likewise.
53426         (slow2): Likewise.
53427         (sloww): Likewise.
53428         (sloww1); Likewise.
53429         (sloww2): Likewise.
53430         (bsloww1): Likewise.
53431         (bsloww2): Likewise.
53432         (cslow2): Likewise.
53433         (csloww): Likewise.
53434         (csloww1): Likewise.
53435         (csloww2): Likewise.
53437 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53439         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53440         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53441         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53442         * malloc/hooks.c (realloc_check): Likewise.
53444         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53445         * malloc/arena.c: Remove PER_THREAD conditional.
53446         [!PER_THREAD]: Remove code.
53447         (ptmalloc_unlock_all2): Likewise.
53448         (ptmalloc_init): Likewise.
53449         (_int_new_arena): Likewise.
53450         (arena_get2): Likewise.
53451         * malloc/hooks.c (__malloc_get_state): Likewise.
53452         (__malloc_set_state): Likewise.
53453         * malloc/malloc.c: Likewise.
53454         (struct malloc_state): Likewise.
53455         (struct malloc_par): Likewise.
53456         (__libc_realloc): Likewise.
53457         (__libc_mallopt): Likewise.
53459 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53461         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53463 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53465         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53466         macro to a function.  Check for zero perturb_byte.
53467         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53469         * malloc/malloc.c: (force_reg): Remove.
53470         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53471         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53472         force_reg by atomic_forced_read.
53473         * malloc/arena.c (ptmalloc_init): Likewise.
53474         * malloc/hooks.c (top_check): Likewise.
53476 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53480 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53484 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53486         * math/auto-libm-test-in: Add tests of lgamma.
53487         * math/auto-libm-test-out: Regenerated.
53488         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53489         (M_LOG_2_SQRT_PIl): Likewise.
53490         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53491         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53492         mpfr_f_f1.
53493         (func_calc_desc): Add mpfr_f_f1 union field.
53494         (ARGS1): New macro.
53495         (ARGS2): Likewise.
53496         (ARGS3): Likewise.
53497         (ARGS4): Likewise.
53498         (RET1): Likewise.
53499         (RET2): Likewise.
53500         (CALC): Likewise.
53501         (FUNC): Likewise.
53502         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53503         (test_functions): Add lgamma.
53504         (calc_generic_results): Handle mpfr_f_f1.
53505         * sysdeps/i386/fpu/libm-test-ulps: Update.
53506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53508 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53510         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53511         __mpn_add_n for PowerPC64/POWER7.
53512         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53513         __mpn_sub_n for PowerPC64/POWER7.
53515         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53516         __mpn_addmul_1 for PowerPC64.
53517         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53518         __mpn_submul_1 for PowerPC64.
53519         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53520         for PowerPC64.
53521         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53522         for PowerPC64.
53524 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53526         [BZ #15089]
53527         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53529 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53531         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53533         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53534         add multiarch folders.
53535         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53536         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53537         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53538         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53539         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53540         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53541         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53542         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53543         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53544         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53545         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53554         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53556         New file.
53557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53558         New file.
53559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53560         multiarch __ieee754_hypot for PowerPC32.
53561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53562         New file.
53563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53564         New file.
53565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53566         multiarch __ieee754_hypotf for PowerPC32.
53568         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53569         long_double_symbol only if __logbl is defined.
53570         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53571         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53572         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53573         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53574         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53575         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53576         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53577         path for implementation.
53578         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53579         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53581         logb, and logbl multiarch implementations for PowerPC32.
53582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53583         file.
53584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53585         file.
53586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53587         multiarch logb for PowerPC32.
53588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53589         file.
53590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53591         file.
53592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53593         multiarch logbf for PowerPC32.
53594         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53596         file.
53597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53598         multiarch logbl implementation for PowerPC32.
53600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53601         and modff multiarch implementations.
53602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53603         New file.
53604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53605         New file.
53606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53607         multiarch modf for PowerPC32.
53608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53609         New file.
53610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53611         New file.
53612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53613         multiarch modff for PowerPC32.
53615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53616         and lrintf multiarch implementations.
53617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53618         New file.
53619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53620         New file.
53621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53622         multiarch lrint for PowerPC32.
53623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53624         file: multiarch lrintf for PowerPC32.
53626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53627         and lroundf multiarch implementations.
53628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53629         New file.
53630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53631         New file.
53632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53633         New file.
53634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53635         multiarch lround for PowerPC32.
53636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53637         file: multiarch lroundf for PowerPC32.
53639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53640         copysign and copysignf multiarch implementations.
53641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53642         New file.
53643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53644         New file.
53645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53646         file: multiarch copysign for PowerPC32.
53647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53648         file: multiarch copysignf for PowerPC32.
53650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53651         and truncf multiarch implementations.
53652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53653         New file.
53654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53655         file.
53656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53657         multiarch trunc for PowerPC32.
53658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53659         New file.
53660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53661         New file.
53662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53663         multiarch truncf for PowerPC32.
53665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53666         and roundf multiarch implementations.
53667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53668         New file.
53669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53670         file.
53671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53672         multiarch round for PowerPC32.
53673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53674         New file.
53675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53676         New file.
53677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53678         multiarch roundf for PowerPC32.
53680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53681         and floorf multiarch implementations.
53682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53683         New file.
53684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53685         file.
53686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53687         multiarch floor for PowerPC32.
53688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53689         New file.
53690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53691         New file.
53692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53693         multiarch floorf for PowerPC32.
53695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53696         and ceilf multiarch implementations.
53697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53698         New file.
53699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53700         file.
53701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53702         multiarch ceil for PowerPC32.
53703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53704         New file.
53705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53706         file.
53707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53708         multiarch ceilf for PowerPC32.
53710         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53711         is defined.
53712         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53713         FINITEF is defined.
53714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53715         and finitef multiarch implementations.
53716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53717         New file.
53718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53719         file.
53720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53721         multiarch finite for PowerPC32.
53722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53723         New file.
53724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53725         file: multiarch finitef for PowerPC32.
53727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53728         and isinff multiarch implementations.
53729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53730         file.
53731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53732         file.
53733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53734         multiarch isinf for PowerPC32.
53735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53736         New file.
53737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53738         multiarch isinff for PowerPC32.
53740         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53741         alias when __isnan is defined.
53742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53743         and isnanf multiarch implementations.
53744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53745         file.
53746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53747         file.
53748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53749         file.
53750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53751         file.
53752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53753         multiarch isnan for PowerPC32.
53754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53755         New file.
53756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53757         New file.
53758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53759         multiarch isnanf for PowerPC32.
53761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53762         and sqrtf multiarch implementations.
53763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53764         file.
53765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53766         file.
53767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53768         multiarch sqrt for PowerPC32.
53769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53770         file.
53771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53772         file.
53773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53774         multiarch sqrtf for PowerPC32.
53776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53777         and llroundf multiarch implementations.
53778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53779         New file.
53780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53781         New file.
53782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53783         New file.
53784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53785         file: multiarch llround for PowerPC32.
53786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53787         file: multiarch llroundf for PowerPC32.
53789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53790         multiarch PowerPC32 fpu implementations.
53791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53792         New file.
53793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53794         New file.
53795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53796         multiarch llrint for PowerPC32.
53797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53798         New file.
53799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53800         New file.
53801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53802         file.
53804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53806         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53807         file.
53808         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53809         file.
53810         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53811         file.
53812         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53813         multiarch wordcopy for PPC32.
53814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53815         wordcopy objects.
53816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53817         (__libc_ifunc_impl_list): Likewise.
53818         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53819         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53820         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53821         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53822         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53823         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53825         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53827         file.
53828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53829         file.
53830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53831         file.
53832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53833         multiarch wcscpy for PPC32.
53834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53835         multiarch objects.
53836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53837         (__libc_ifunc_impl_list): Likewise.
53838         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53839         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53840         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53841         sysdeps/powerpc/power6/wcscpy.c.
53843         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53844         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53845         file.
53846         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53847         file.
53848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
53849         file.
53850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
53851         multiarch wcsrchr for PPC32.
53852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53853         multiarch objects.
53854         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53855         (__libc_ifunc_impl_list): Likewise.
53856         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53857         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53858         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
53859         sysdeps/powerpc/power6/wcsrchr.c.
53861         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
53862         file.
53863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
53864         file.
53865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
53866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
53867         multiarch wcschr for PPc32.
53868         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53869         multiarch objects.
53870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53871         (__libc_ifunc_impl_list): Likewise.
53872         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
53873         * sysdeps/powerpc/power6/wcschr.c: ... to here.
53874         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
53875         sysdeps/powerpc/power6/wcschr.c.
53877         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
53878         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
53879         file.
53880         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
53881         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
53882         file: multiarch strchr for PPC32.
53883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
53884         multiarch objects.
53885         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53886         (__libc_ifunc_impl_list): Likewise.
53888         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
53889         name.
53890         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
53891         file.
53892         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
53893         file.
53894         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
53895         multiarch strchrnul for PPC32.
53896         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
53897         multiarch objects.
53898         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53899         (__libc_ifunc_impl_list): Likewise.
53901         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
53902         file.
53903         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
53904         multiarch strncasecmp for PPC32.
53905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
53906         file.
53907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
53908         multiarch strncasecmp_l for PPC32.
53909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
53910         strncasecmp multiarch objects.
53911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53912         (__libc_ifunc_impl_list): Likewise.
53914         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
53915         file.
53916         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
53917         multiarch strncasecmp for PPC32.
53918         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
53919         New file.
53920         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
53921         multiarch strcasecmp_l for PPC32.
53922         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
53923         multiarch objects.
53924         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53925         (__libc_ifunc_impl_list): Likewise.
53927         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
53928         file.
53929         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
53930         file.
53931         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
53932         multiarch strncmp for PPC32.
53933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
53934         multiarch objects.
53935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53936         (__libc_ifunc_impl_list): Likewise.
53938         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
53939         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
53940         file.
53941         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
53942         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
53943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
53944         multiarch objects.
53945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53946         (__libc_ifunc_impl_list): Likewise.
53948         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
53949         file.
53950         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
53951         file.
53952         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
53953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
53954         multiarch objects.
53955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53956         (__libc_ifunc_impl_list): Likewise.
53958         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
53959         file.
53960         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
53961         file.
53962         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
53963         multiarch rawmemchr for PPC32.
53964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
53965         multiarch objects.
53966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53967         (__libc_ifunc_impl_list): Likewise.
53969         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
53970         file.
53971         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
53972         file.
53973         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
53974         file: memrchr multiarch for PPC32.
53975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
53976         multiarch objects.
53977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53978         (__libc_ifunc_impl_list): Likewise.
53980         * string/memchr.c (__memchr): Using macro to redefine symbol name.
53981         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
53982         file.
53983         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
53984         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
53985         multiarch memchr for PPC32.
53986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
53987         multiarch objects.
53988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53989         (__libc_ifunc_impl_list): Likewise.
53991         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
53992         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
53993         file.
53994         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
53995         file.
53996         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
53997         file: multiarch mempcpy for PPC32.
53998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
53999         multiarch objects.
54000         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54001         (__libc_ifunc_impl_list): Likewise.
54003         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54004         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54005         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54006         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54007         multiarch bzero for PPC32.
54008         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54009         file.
54010         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54011         file.
54012         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54013         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54014         file: multiarch memset for PPC32.
54015         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54016         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54017         memset multiarch objects.
54018         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54019         (__libc_ifunc_impl_list): Likewise.
54021         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54022         file.
54023         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54025         memcmp for PPC32.
54026         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54028         multiarch objects.
54029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54030         (__libc_ifunc_impl_list): Likewise.
54032         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54033         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54034         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54035         file.
54036         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54037         file.
54038         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54039         file.
54040         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54041         multiarch memcpy for PPC32.
54042         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54043         multiarch objects.
54044         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54045         (__libc_ifunc_impl_list): Likewise.
54047         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54048         support multiarch for POWER/PPC32.
54049         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54050         Likewise.
54051         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54053         Implies file to make multiarch folder appers before the fpu and
54054         default folder for power4 configuration.
54056 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54058         * scripts/bench.pl: Append volatile keyword to type.
54060 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54062         * sysdeps/sh/sotruss-lib.c: New file.
54063         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54065 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54069 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54071         [BZ #6810]
54072         * math/w_tgamma.c: Include <errno.h>.
54073         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54074         * math/w_tgammaf.c: Include <errno.h>.
54075         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54076         * math/w_tgammal.c: Include <errno.h>.
54077         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54078         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54079         underflow.  Add more tgamma tests.
54080         * math/auto-libm-test-out: Regenerated.
54081         * sysdeps/i386/fpu/libm-test-ulps: Update.
54082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54084         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54085         sin, sinh, tan, tanh, tgamma, y0 and y1.
54086         * math/auto-libm-test-out: Regenerated.
54087         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54088         (TEST_COND_x86): Likewise.
54089         (M_E2l): Remove macro.
54090         (M_E3l): Likewise.
54091         (M_2_SQRT_PIl): Likewise.
54092         (M_SQRT_PIl): Likewise.
54093         (M_1_DIV_El): Likewise.
54094         (log_test_data): Use AUTO_TESTS_f_f.
54095         (log10_test_data): Likewise.
54096         (log1p_test_data): Likewise.
54097         (log2_test_data): Likewise.
54098         (sin_test_data): Likewise.
54099         (sin_tonearest_test_data): Likewise.
54100         (sin_towardzero_test_data): Likewise.
54101         (sin_downward_test_data): Likewise.
54102         (sin_upward_test_data): Likewise.
54103         (sinh_test_data): Likewise.
54104         (sinh_tonearest_test_data): Likewise.
54105         (sinh_towardzero_test_data): Likewise.
54106         (sinh_downward_test_data): Likewise.
54107         (sinh_upward_test_data): Likewise.
54108         (tan_test_data): Likewise.
54109         (tan_tonearest_test_data): Likewise.
54110         (tan_towardzero_test_data): Likewise.
54111         (tan_downward_test_data): Likewise.
54112         (tan_upward_test_data): Likewise.
54113         (tanh_test_data): Likewise.
54114         (tgamma_test_data): Likewise.
54115         (y0_test_data): Likewise.
54116         (y1_test_data): Likewise.
54117         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54118         (special_real_inputs): Add pi/4.
54119         * sysdeps/i386/fpu/libm-test-ulps: Update.
54120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54122 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54124         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54125         "longjmp_target" static probes.
54126         (__longjmp): Rename to __longjmp_symbol.
54127         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54128         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54129         on which longjmp to generate.
54130         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54131         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54132         probe.
54133         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54134         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54135         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54136         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54137         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54138         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54140         __longjmp_symbol based on which __longjmp to generate.
54141         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54142         probe.
54143         (setjmp): Rename to setjmp_symbol.
54144         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54145         (_setjmp): Rename to _setjmp_symbol.
54146         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54147         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54148         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54149         which setjmp to generate.
54150         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54151         "longjmp_target" static probes.
54153 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54155         * benchtests/README: Add note about output arguments.
54156         * benchtests/bench-sincos.c: Remove file.
54157         * benchtests/sincos-inputs: New file.
54158         * scripts/bench.pl: Identify output arguments and define
54159         static variables for them.
54161         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54163         [BZ #15941]
54164         * Makefile (INSTALL): Add install-plain.texi as the primary
54165         dependency.
54166         * manual/install-plain.texi: New file.
54167         * manual/install.texi: Include node directive only for
54168         non-plaintext output.
54170 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54172         * stdlib/longlong.h: Update from GCC.
54174         [BZ #6807]
54175         [BZ #15901]
54176         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54177         * math/w_j0f.c (y0f): Likewise.
54178         * math/w_j0l.c (__y0l): Likewise.
54179         * math/w_j1.c (y1): Likewise.
54180         * math/w_j1f.c (y1f): Likewise.
54181         * math/w_j1l.c (__y1l): Likewise.
54182         * math/w_jn.c (yn): Likewise.
54183         * math/w_jnf.c (ynf): Likewise.
54184         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54185         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54186         value for Bessel function domain errors outside _SVID_ mode.
54187         Adjust sign of return value for yn (negative integer, 0).
54188         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54189         by zero in return for negative x and set sign appropriately for
54190         negative n.
54191         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54192         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54193         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54194         expectations in error cases.
54195         (y1_test_data): Likewise.
54196         (yn_test_data): Likewise.
54197         * sysdeps/i386/fpu/libm-test-ulps: Update.
54198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54200 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54202         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54203         "64" to "64-v1".  Add "64-v2".
54204         (abi-64-options): Rename to ...
54205         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54206         (abi-64-condition): Rename to ...
54207         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54208         (abi-64-ld-soname): Rename to ...
54209         (abi-64-v1-ld-soname): ... this.
54210         (abi-64-v2-options): Define.
54211         (abi-64-v2-condition): Likewise.
54212         (abi-64-v2-ld-soname): Likewise.
54213         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54214         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54219 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54220             Alan Modra  <amodra@gmail.com>
54222         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54223         New versions for use with the ELFv2 ABI.
54224         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54225         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54226         declaration.
54227         (struct La_ppc64v2_retval): Likewise.
54228         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54229         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54230         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54231         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54232         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54233         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54234         Do not save or restore CR.
54235         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54236         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54237         return values for ELFv2 ABI.  Fix location of FPR return registers.
54238         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54239         updated values for _CALL_ELF == 2.
54240         (La_regs, La_retval, int_retval): Likewise.
54242 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54244         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54245         (FRAME_MIN_SIZE_PARM): Likewise.
54246         (FRAME_BACKCHAIN): Likewise.
54247         (FRAME_CR_SAVE): Likewise.
54248         (FRAME_LR_SAVE): Likewise.
54249         (FRAME_TOC_SAVE): Likewise.
54250         (FRAME_PARM_SAVE): Likewise.
54251         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54252         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54253         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54254         (call_mcount_parm_offset): New macro.
54255         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54256         (PROF): Use symbolic stack frame offsets.
54257         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54258         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54259         Redefine in terms of FRAME_MIN_SIZE.
54260         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54261         (_dl_profile_resolve): Likewise.  Update comment.
54262         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54263         symbols stack frame offsets.
54264         (__sigsetjmp): Likewise.
54265         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54266         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54267         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54268         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54271         (FRAME_BACKCHAIN): Remove.
54272         (FRAME_CR_SAVE): Likewise.
54273         (FRAME_LR_SAVE): Likewise.
54274         (FRAME_COMPILER_DW): Likewise.
54275         (FRAME_LINKER_DW): Likewise.
54276         (FRAME_TOC_SAVE): Likewise.
54277         (FRAME_PARM_SAVE): Likewise.
54278         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54279         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54280         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54282         (CHECK_SP): Use symbolic stack frame offsets.
54283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54284         zone" instead of caller's parameter save area for temp storage.
54285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54286         Likewise.  Also, use symbolic stack frame offsets.
54287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54288         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54289         our own stack frame instead of the caller's.
54290         (__socket): Use symbolic stack frame offsets.
54292 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54293             Alan Modra  <amodra@gmail.com>
54295         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54296         Define.
54297         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54298         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54299         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54300         New function.
54301         (elf_machine_fixup_plt): Call it.
54302         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54303         reloc arguments.
54304         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54305         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54306         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54307         r2 before calling target.
54309 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54310             Alan Modra  <amodra@gmail.com>
54312         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54313         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54314         versions of macros to support ELFv2 ABI.
54315         (LOCALENTRY): New macro.
54316         (ENTRY, EALIGN): Use it.
54317         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54318         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54319         fall through into ENTRY entry point.
54320         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54321         Only define if _CALL_ELF != 2.
54323         (elf_machine_matches_host): Verify ABI version matches.
54324         (RTLD_START): Use LOCALENTRY.
54325         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54326         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54327         (PLT_ENTRY_WORDS): New macro.
54328         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54329         (elf_machine_runtime_setup): Support ELFv2 ABI.
54330         (elf_machine_fixup_plt): Likewise.
54331         (elf_machine_plt_conflict): Likewise.
54332         (resolve_ifunc): Likewise.
54333         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54334         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54335         Likewise.
54336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54337         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54339         (makecontext): Support ELFv2 ABI.
54340         * elf/elf.h (EF_PPC64_ABI): Define.
54342 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54344         * sysdeps/powerpc/powerpc64/sysdep.h
54345         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54346         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54347         (ENTRY) [ASSEMBLER]: ... but instead here ...
54348         (EALIGN) [ASSEMBLER]: ... and here.
54349         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54350         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54351         (ENTRY_2) [!ASSEMBLER]: Use it.
54352         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54353         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54354         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54355         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54356         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54358         Use PPC64_LOAD_FUNCPTR.
54360         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54362 2013-12-04  Alan Modra  <amodra@gmail.com>
54364         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54365         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54366         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54367         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54369         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54370         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54371         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54372         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54373         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54374         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54376 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54379         (__makecontext): Fix incorrect CFI when backtracing out of
54380         context created via makecontext.
54381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54382         (__setcontext): Fix incorrect CFI during switch to new context.
54383         (__novec_setcontext): Likewise.
54385 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54387         [BZ #4772]
54388         * time/strptime_l.c (__strptime_internal): Allow modifiers
54389         in strptime.
54390         * time/tst-strptime.c (day_tests): Add testcase.
54392 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54394         * scripts/bench.pl: Skip over blank lines.
54396 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54398         [BZ #926]
54399         * manual/time.texi (Calendar Time): Clarify what timezone functions
54400         use.
54402 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54406 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54408         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54409         implementation.
54410         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54411         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54412         * debug/memset_chk.c (__memset_chk): Likewise.
54413         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54414         * debug/strncpy_chk.c: Likewise.
54416 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54418         [BZ #15268]
54419         [BZ #15425]
54420         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54421         (__ieee754_exp): For possibly underflowing results, check size of
54422         result and force underflow exception if required.
54423         * math/auto-libm-test-in: Add more tests of exp.
54424         * math/auto-libm-test-out: Regenerated.
54425         * sysdeps/i386/fpu/libm-test-ulps: Update.
54426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54428         [BZ #16283]
54429         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54430         * math/w_exp2f.c (__exp2f): Likewise.
54431         * math/w_exp2l.c (__exp2l): Likewise.
54432         * math/auto-libm-test-in: Do not allow missing errno on exp2
54433         underflow.
54434         * math/auto-libm-test-out: Regenerated.
54436 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54438         [BZ #16274]
54439         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54440         handle filename validation.
54441         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54442         (do_open): Delete.
54444 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54446         [BZ #6786]
54447         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54448         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54449         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54450         <float.h>.
54451         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54452         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54453         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54454         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54455         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54456         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54457         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54458         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54459         Add more erfc tests.
54460         * math/auto-libm-test-out: Regenerated.
54461         * sysdeps/i386/fpu/libm-test-ulps: Update.
54462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54464         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54465         exp2, expm1, j0 and j1.
54466         * math/auto-libm-test-out: Regenerated.
54467         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54468         (erfc_test_data): Likewise.
54469         (exp_test_data): Likewise.
54470         (exp_tonearest_test_data): Likewise.
54471         (exp_towardzero_test_data): Likewise.
54472         (exp_downward_test_data): Likewise.
54473         (exp_upward_test_data): Likewise.
54474         (exp10_test_data): Likewise.
54475         (exp2_test_data): Likewise.
54476         (expm1_test_data): Likewise.
54477         (j0_test_data): Likewise.
54478         (j1_test_data): Likewise.
54479         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54480         (input_flag_type): Add flag_xfail_rounding.
54481         (input_flags): Add xfail-rounding.
54482         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54483         (output_for_one_input_case): Handle flag_xfail_rounding.
54484         * sysdeps/i386/fpu/libm-test-ulps: Update.
54485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54487 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54489         [BZ #16289]
54490         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54491         division by 0.
54493 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54495         [BZ #16195]
54496         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54497         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54498         (STAP_PROBE0): New macro.
54499         (STAP_PROBE1): Likewise.
54500         (STAP_PROBE2): Likewise.
54501         (STAP_PROBE3): Likewise.
54502         (STAP_PROBE4): Likewise.
54504 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54506         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54508 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54510         * benchtests/Makefile (bench): Add sqrt.
54511         (LDLIBS-bench-sqrt): New.
54512         * benchtests/sqrt-input: New.
54514 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54516         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54517         (GAIH_EAI): Likewise.
54518         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54519         (gaih_inet): Likewise.
54520         (getaddrinfo): Don't use GAIH_EAI.
54522         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54523         (struct gaih): Remove definition.
54525 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54527         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54528         Use HERRNOP directly.
54530 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54534 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54536         * math/gen-auto-libm-tests.c (test_functions): Add more
54537         single-argument functions.
54538         (special_fill_pi_2): New function.
54539         (special_fill_minus_pi_2): Likewise.
54540         (special_fill_pi_6): Likewise.
54541         (special_fill_minus_pi_6): Likewise.
54542         (special_fill_pi_3): Likewise.
54543         (special_fill_2pi_3): Likewise.
54544         (special_fill_e): Likewise.
54545         (special_fill_1_e): Likewise.
54546         (special_fill_e_minus_1): Likewise.
54547         (special_real_inputs): Add more special inputs.
54548         (output_for_one_input_case): Do not require ERANGE on underflow to
54549         zero if round-to-nearest result does not underflow to zero, unless
54550         exact results required.
54551         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54552         atan, atanh, cbrt, cos and cosh.
54553         * math/auto-libm-test-out: Regenerated.
54554         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54555         (acos_tonearest_test_data): Likewise.
54556         (acos_towardzero_test_data): Likewise.
54557         (acos_downward_test_data): Likewise.
54558         (acos_upward_test_data): Likewise.
54559         (acosh_test_data): Likewise.
54560         (asin_test_data): Likewise.
54561         (asin_tonearest_test_data): Likewise.
54562         (asin_towardzero_test_data): Likewise.
54563         (asin_upward_test_data): Likewise.
54564         (asinh_test_data): Likewise.
54565         (atan_test_data): Likewise.
54566         (atanh_test_data): Likewise.
54567         (cbrt_test_data): Likewise.
54568         (cos_test_data): Likewise.
54569         (cos_tonearest_test_data): Likewise.
54570         (cos_towardzero_test_data): Likewise.
54571         (cos_downward_test_data): Likewise.
54572         (cos_upward_test_data): Likewise.
54573         (cosh_test_data): Likewise.
54574         (cosh_tonearest_test_data): Likewise.
54575         (cosh_towardzero_test_data): Likewise.
54576         (cosh_downward_test_data): Likewise.
54577         (cosh_upward_test_data): Likewise.
54578         * sysdeps/i386/fpu/libm-test-ulps: Update.
54579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54581 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54583         [BZ #6787]
54584         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54585         * math/w_exp10f.c (__exp10f): Likewise.
54586         * math/w_exp10l.c (__exp10l): Likewise.
54587         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54588         errno settings in existing tests.
54590         [BZ #14032]
54591         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54592         precision control set to double precision.
54593         * sysdeps/i386/fpu/w_sqrt.c: New file.
54594         * math/auto-libm-test-in: Add more tests.
54595         * math/auto-libm-test-out: Update.
54597         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54598         (sqrt_test_tonearest): New function.
54599         (sqrt_towardzero_test_data): New variable.
54600         (sqrt_test_towardzero): New function.
54601         (sqrt_downward_test_data): New variable.
54602         (sqrt_test_downward): New function.
54603         (sqrt_upward_test_data): New variable.
54604         (sqrt_test_upward): New function.
54605         (main): Call the new functions.
54607         * math/gen-auto-libm-tests.c: New file.
54608         * math/auto-libm-test-in: Likewise.
54609         * math/auto-libm-test-out: New generated file.
54610         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54611         variables.
54612         (%beautify): Add generated representations of zero.
54613         (top level): Set $auto_input and call parse_auto_input.
54614         (beautify): Remove trailing "f" from hex float constants.
54615         (parse_args): Handle XFAIL_TEST.
54616         (convert_condition): New function.
54617         (or_value): Likewise.
54618         (or_cond_value): Likewise.
54619         (generate_testfile): Handle AUTO_TESTS_* lines.
54620         (parse_auto_input): New function.
54621         * math/libm-test.inc (XFAIL_TEST): New macro.
54622         (ERRNO_UNCHANGED): Update value.
54623         (ERRNO_EDOM): Likewise.
54624         (ERRNO_ERANGE): Likewise.
54625         (IGNORE_RESULT): Likewise.
54626         (TEST_COND_flt_32): New macro.
54627         (TEST_COND_dbl_64): Likewise.
54628         (TEST_COND_ldbl_96_intel): Likewise.
54629         (TEST_COND_ldbl_96_m68k): Likewise.
54630         (TEST_COND_ldbl_128): Likewise.
54631         (TEST_COND_ldbl_128ibm): Likewise.
54632         (TEST_COND_long32): Likewise.
54633         (TEST_COND_long64): Likewise.
54634         (TEST_COND_before_rounding): Likewise.
54635         (TEST_COND_after_rounding): Likewise.
54636         (enable_test): Handle XFAIL_TEST flag.
54637         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54638         with finite results.
54639         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54640         auto-libm-test-out.
54642 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54643             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54645         [BZ #16214]
54646         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54647         __tls_get_addr_internal instead of __tls_get_offset in order to
54648         avoid GOT pointer dependency.  Make rtld export
54649         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54650         __tls_get_addr since we are a __tls_get_offset platform.
54651         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54652         GOT pointer being set up before.
54653         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54655 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54657         * manual/math.texi (Errors in Math Functions): Document accuracy
54658         goals.
54660         [BZ #15004]
54661         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54662         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54663         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54664         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54665         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54666         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54667         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54668         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54669         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54670         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54671         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54672         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54673         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54674         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54675         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54676         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54678         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54679         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54680         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54681         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54682         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54683         Likewise.
54684         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54685         Likewise.
54686         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54687         Likewise.
54688         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54689         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54690         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54691         atomic-feupdateenv and flt-rounds.
54692         * sysdeps/powerpc/nofpu/Versions (libc): Add
54693         __atomic_feholdexcept, __atomic_feclearexcept,
54694         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54695         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54696         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54697         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54698         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54699         here.
54700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54701         Update.
54703         * manual/arith.texi (FP Exceptions): Document that exceptions may
54704         not be raised when matherr is used.
54705         (Math Error Reporting): Document overflow in directed rounding
54706         modes.  Document that errno may not be set when finite values are
54707         returned on overflow.  Document intent to set errno on underflow
54708         only for underflow to zero.
54710         [BZ #16271]
54711         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54712         round-to-nearest then adjust result for other rounding modes.
54713         * include/fenv.h (fegetround): Use libm_hidden_proto.
54714         * math/fegetround.c (fegetround): Use libm_hidden_def.
54715         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54716         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54717         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54718         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54719         Likewise.
54720         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54721         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54722         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54723         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54725 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54727         [BZ #16077]
54728         * nss/Versions (libnss_files): Add
54729         _nss_files_gethostbyname3_r.
54730         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54731         New function.
54732         (HOST_DB_LOOKUP): Remove macro.
54733         (_nss_files_gethostbyname_r): Implement function without the
54734         HOST_DB_LOOKUP macro.
54735         (_nss_files_gethostbyname2_r): Likewise.
54737 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54739         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54741 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54743         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54744         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54745         warning.
54747 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54749         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54750         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54751         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54752         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54753         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54754         __fe_nomask_env_priv and attribute_hidden.
54755         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54756         (libc_feupdateenv_test_ppc): Likewise.
54757         (libc_feresetround_ppc): Likewise.
54758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54759         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54760         compat_symbol macro.
54761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54762         (__fe_nomask_env): Likewise.
54763         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54765 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54767         * string/Makefile: Remove ifunc tests.
54768         * string/test-string.h: Define TEST_IFUNC.
54769         * string/test-bcopy-ifunc.c: Remove.
54770         * string/test-bzero-ifunc.c: Likewise.
54771         * string/test-memccpy-ifunc.c: Likewise.
54772         * string/test-memchr-ifunc.c: Likewise.
54773         * string/test-memcmp-ifunc.c: Likewise.
54774         * string/test-memcpy-ifunc.c: Likewise.
54775         * string/test-memmem-ifunc.c: Likewise.
54776         * string/test-memmove-ifunc.c: Likewise.
54777         * string/test-mempcpy-ifunc.c: Likewise.
54778         * string/test-memrchr-ifunc.c: Likewise.
54779         * string/test-memset-ifunc.c: Likewise.
54780         * string/test-rawmemchr-ifunc.c: Likewise.
54781         * string/test-stpcpy-ifunc.c: Likewise.
54782         * string/test-stpncpy-ifunc.c: Likewise.
54783         * string/test-strcasecmp-ifunc.c: Likewise.
54784         * string/test-strcasestr-ifunc.c: Likewise.
54785         * string/test-strcat-ifunc.c: Likewise.
54786         * string/test-strchr-ifunc.c: Likewise.
54787         * string/test-strchrnul-ifunc.c: Likewise.
54788         * string/test-strcmp-ifunc.c: Likewise.
54789         * string/test-strcpy-ifunc.c: Likewise.
54790         * string/test-strcspn-ifunc.c: Likewise.
54791         * string/test-strlen-ifunc.c: Likewise.
54792         * string/test-strncasecmp-ifunc.c: Likewise.
54793         * string/test-strncat-ifunc.c: Likewise.
54794         * string/test-strncmp-ifunc.c: Likewise.
54795         * string/test-strncpy-ifunc.c: Likewise.
54796         * string/test-strnlen-ifunc.c: Likewise.
54797         * string/test-strpbrk-ifunc.c: Likewise.
54798         * string/test-strrchr-ifunc.c: Likewise.
54799         * string/test-strspn-ifunc.c: Likewise.
54800         * string/test-strstr-ifunc.c: Likewise.
54802 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54804         * benchtests/Makefile: Remove ifunc tests.
54805         * benchtests/bench-string.h: Define TEST_IFUNC.
54806         * benchtests/bench-bcopy-ifunc.c: Remove.
54807         * benchtests/bench-bzero-ifunc.c: Likewise.
54808         * benchtests/bench-memccpy-ifunc.c: Likewise.
54809         * benchtests/bench-memchr-ifunc.c: Likewise.
54810         * benchtests/bench-memcmp-ifunc.c: Likewise.
54811         * benchtests/bench-memcpy-ifunc.c: Likewise.
54812         * benchtests/bench-memmem-ifunc.c: Likewise.
54813         * benchtests/bench-memmove-ifunc.c: Likewise.
54814         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54815         * benchtests/bench-memrchr-ifunc.c: Likewise.
54816         * benchtests/bench-memset-ifunc.c: Likewise.
54817         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54818         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54819         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54820         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54821         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54822         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54823         * benchtests/bench-strcat-ifunc.c: Likewise.
54824         * benchtests/bench-strchr-ifunc.c: Likewise.
54825         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54826         * benchtests/bench-strcmp-ifunc.c: Likewise.
54827         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54828         * benchtests/bench-strcpy-ifunc.c: Likewise.
54829         * benchtests/bench-strcspn-ifunc.c: Likewise.
54830         * benchtests/bench-strlen-ifunc.c: Likewise.
54831         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54832         * benchtests/bench-strncat-ifunc.c: Likewise.
54833         * benchtests/bench-strncmp-ifunc.c: Likewise.
54834         * benchtests/bench-strncpy-ifunc.c: Likewise.
54835         * benchtests/bench-strnlen-ifunc.c: Likewise.
54836         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54837         * benchtests/bench-strrchr-ifunc.c: Likewise.
54838         * benchtests/bench-strsep-ifunc.c: Likewise.
54839         * benchtests/bench-strspn-ifunc.c: Likewise.
54840         * benchtests/bench-strstr-ifunc.c: Likewise.
54842 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54844         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54846 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54848         * resolv/netdb.h: Use __glibc_reserved instead __unused.
54849         * rt/aio.h: Likewise.
54850         * sysdeps/gnu/bits/utmp.h: Likewise.
54851         * sysdeps/gnu/bits/utmpx.h: Likewise.
54852         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54853         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
54854         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
54855         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
54856         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
54857         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
54858         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
54859         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
54860         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
54861         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
54862         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
54863         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
54864         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
54865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
54866         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54867         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
54868         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
54869         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
54870         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
54871         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
54872         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
54873         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
54874         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
54875         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54876         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
54877         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54878         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
54879         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
54880         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
54881         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
54882         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
54883         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
54884         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
54885         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
54886         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
54887         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
54888         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
54889         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
54890         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
54891         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
54892         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
54893         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54895 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
54897         [BZ #16245]
54898         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
54899         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
54901 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
54903         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
54904         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
54905         Likewise.
54907 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54909         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
54910         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
54911         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
54912         (__fesetround): Remove define.
54913         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
54914         rounding and exceptions handling.
54915         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
54916         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
54917         (__fe_nomask_env): Likewise.
54918         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
54919         __fegetround instead of fegetround.
54920         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54921         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
54923 2013-11-21  Roland McGrath  <roland@hack.frob.com>
54925         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
54926         it's there.
54928         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
54930 2013-11-21  Meador Inge  <meadori@codesourcery.com>
54932         [BZ #11157]
54933         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
54934         (encrypt_r): Likewise.
54935         * malloc/obstack.h (obstack_free): Likewise.
54936         * posix/unistd.h (encrypt): Likewise.
54938 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
54940         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
54941         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
54942         DL_CALL_DT_FINI() that call the functions directly.
54943         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
54944         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
54945         * elf/dl-fini.c: Likewise.
54947 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
54949         * malloc/hooks.c (memalign_check): Add alignment rounding.
54950         * malloc/malloc.c (_mid_memalign): New function.
54951         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
54952         Implement by calling _mid_memalign.
54953         * manual/probes.texi (Memory Allocation Probes): Remove
54954         memory_valloc_retry and memory_pvalloc_retry.
54956 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54958         * locale/programs/locarchive.c (open_archive): Add const
54959         qualifier to ARCHIVEFNAME and copy default fname to
54960         DEFAULT_FNAME.
54962         [BZ #15601]
54963         * libio/tst-widetext.input: Rename Oriya to Odia.
54964         * locale/iso-639.def: Likewise.
54966         * manual/probes.texi (Mathematical Function Probes): Add
54967         documentation for sin, cos, asin and acos probes.
54968         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
54969         (__sin32): Add slowasin probe.
54970         (__cos32): Add slowacos probe.
54971         (__mpsin): Add slowsin probe.
54972         (__mpcos): Add slowcos probe.
54974 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
54976         [BZ #15483]
54977         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
54978         thread-local __sim_exceptions_thread and global
54979         __sim_exceptions_global.
54980         (__sim_disabled_exceptions): Change to thread-local
54981         __sim_disabled_exceptions_thread and global
54982         __sim_disabled_exceptions_global.
54983         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54984         and global __sim_round_mode_global.
54985         (__simulate_exceptions): Use thread-local floating-point state and
54986         set global state from it as needed.
54987         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
54988         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
54989         __sim_round_mode_thread.
54990         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
54991         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
54992         and global __sim_exceptions_global.
54993         (__sim_disabled_exceptions): Change to thread-local
54994         __sim_disabled_exceptions_thread and global
54995         __sim_disabled_exceptions_global.
54996         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54997         and global __sim_round_mode_global.
54998         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
54999         (SIM_SET_GLOBAL): Likewise.
55000         * sysdeps/powerpc/soft-fp/sfp-machine.h
55001         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55002         __sim_round_mode_thread.
55003         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55004         __sim_disabled_exceptions_thread.
55005         (__sim_exceptions): Change to __sim_exceptions_thread.
55006         (__sim_disabled_exceptions): Change to
55007         __sim_disabled_exceptions_thread.
55008         (__sim_round_mode): Change to __sim_round_mode_thread.
55009         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55010         thread-local floating-point state and set global state from it as
55011         needed.
55012         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55013         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55014         (__sim_disabled_exceptions): Remove extern declaration.
55015         (feenableexcept): Use thread-local floating-point state and set
55016         global state from it as needed.
55017         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55018         extern declaration.
55019         (__sim_disabled_exceptions): Likewise.
55020         (__sim_round_mode): Likewise.
55021         (__fegetenv): Use thread-local floating-point state.
55022         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55023         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55024         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55025         floating-point state and set global state from it as needed.
55026         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55027         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55028         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55029         Likewise.
55030         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55031         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55032         Likewise.
55033         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55034         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55035         Use __sim_round_mode_thread.
55036         * math/test-fenv-tls.c: New file.
55037         * math/Makefile (tests): Add test-fenv-tls.
55038         ($(objpfx)test-fenv-tls): Depend on
55039         $(common-objpfx)nptl/libpthread.so.
55041 2013-11-19  Andreas Schwab  <schwab@suse.de>
55043         * locale/programs/locale.c (show_info): Decode wordarray elements.
55044         * locale/categories.def (LC_MONETARY): Add element for
55045         _NL_MONETARY_CRNCYSTR.
55046         * locale/C-monetary.c (conversion_rate): New variable.
55047         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55048         element.
55050 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55052         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55053         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55055 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55057         * elf/Makefile (tst-auxv): New test.
55058         * elf/tst-auxv.c: New
55059         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55061 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55063         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55064         (hidden_proto): Caller changed.
55065         (hidden_tls_proto): New macro.
55066         (libc_hidden_tls_proto): Likewise.
55067         (rtld_hidden_tls_proto): Likewise.
55068         (libm_hidden_tls_proto): Likewise.
55069         (libresolv_hidden_tls_proto): Likewise.
55070         (librt_hidden_tls_proto): Likewise.
55071         (libdl_hidden_tls_proto): Likewise.
55072         (libnss_files_hidden_tls_proto): Likewise.
55073         (libnsl_hidden_tls_proto): Likewise.
55074         (libnss_nisplus_hidden_tls_proto): Likewise.
55075         (libutil_hidden_tls_proto): Likewise.
55077 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55079         [BZ #10253]
55080         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55081         (decompose_rpath): Defer expansion to fillin_rpath.
55082         (_dl_init_paths): Pass linkmap to fillin_rpath.
55084 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55086         * benchtests/Makefile: Add strsep.
55087         * benchtests/bench-strsep.c: New file: strsep benchtest.
55088         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55090 2013-11-18  Andreas Schwab  <schwab@suse.de>
55092         * locale/programs/locale.c (show_info) [case byte]: Check for
55093         '\377' instead of '\177'.
55094         * locale/C-monetary.c (not_available): Always use "\377".
55095         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55096         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55097         detect unavailable sign_posn locale elements.
55098         * locale/localeconv.c (__localeconv): For grouping and
55099         mon_grouping handle "\177" and "\377" like no grouping.
55100         (INT_ELEM): New macro.  Use it to set all numeric members.
55101         * locale/programs/ld-monetary.c (monetary_read)
55102         <tok_mon_grouping>: Normalize single -1 to the empty string.
55103         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55104         Likewise.
55106 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55108         [BZ #16055]
55109         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55110         when we match (nil).
55111         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55113 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55115         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55116         (NO_TEST_INLINE): Update value.
55117         (ERRNO_UNCHANGED): Likewise.
55118         (ERRNO_EDOM): Likewise.
55119         (ERRNO_ERANGE): Likewise.
55120         (IGNORE_RESULT): Likewise.
55121         (check_float_internal): Check signs of NaN results if
55122         TEST_NAN_SIGN used.
55123         (check_complex): Pass TEST_NAN_SIGN flag through to second
55124         check_float_internal call.
55125         (copysign_test_data): Add tests with quiet NaNs as second
55126         argument.  Use TEST_NAN_SIGN.
55127         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55128         TEST_NAN_SIGN.
55129         (signbit_test_data): Add tests of quiet NaN argument.
55130         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55132         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55133         $ignore_result.
55134         (parse_args): Handle function results specified as IGNORE.
55135         * math/libm-test.inc (IGNORE_RESULT): New macro.
55136         (check_float_internal): Do not check numerical result if flag
55137         IGNORE_RESULT set.
55138         (check_complex): Pass through IGNORE_RESULT to second
55139         check_float_internal call.
55140         (check_int): Do not check numerical result if flag IGNORE_RESULT
55141         set.
55142         (check_long): Likewise.
55143         (check_bool): Likewise.
55144         (check_longlong): Likewise.
55145         (lrint_test_data): Add tests of infinite and NaN arguments.
55146         (lrint_tonearest_test_data): Likewise.
55147         (lrint_towardzero_test_data): Likewise.
55148         (lrint_downward_test_data): Likewise.
55149         (lrint_upward_test_data): Likewise.
55150         (llrint_test_data): Likewise.
55151         (llrint_tonearest_test_data): Likewise.
55152         (llrint_towardzero_test_data): Likewise.
55153         (llrint_downward_test_data): Likewise.
55154         (llrint_upward_test_data): Likewise.
55155         (lround_test_data): Likewise.
55156         (llround_test_data): Likewise.
55158         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55159         (ERRNO_UNCHANGED): Update value.
55160         (ERRNO_EDOM): Likewise.
55161         (ERRNO_ERANGE): Likewise.
55162         (NO_TEST_INLINE_FLOAT): New macro.
55163         (NO_TEST_INLINE_DOUBLE): Likewise.
55164         (enable_test): New function.
55165         (RUN_TEST_f_f): Check enable_test before running test.
55166         (RUN_TEST_2_f): Likewise.
55167         (RUN_TEST_fff_f): Likewise.
55168         (RUN_TEST_c_f): Likewise.
55169         (RUN_TEST_f_f1): Likewise.
55170         (RUN_TEST_fF_f1): Likewise.
55171         (RUN_TEST_fI_f1): Likewise.
55172         (RUN_TEST_ffI_f1): Likewise.
55173         (RUN_TEST_c_c): Likewise.
55174         (RUN_TEST_cc_c): Likewise.
55175         (RUN_TEST_f_i): Likewise.
55176         (RUN_TEST_f_i_tg): Likewise.
55177         (RUN_TEST_ff_i_tg): Likewise.
55178         (RUN_TEST_f_b): Likewise.
55179         (RUN_TEST_f_b_tg): Likewise.
55180         (RUN_TEST_f_l): Likewise.
55181         (RUN_TEST_f_L): Likewise.
55182         (RUN_TEST_fFF_11): Likewise.
55183         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55184         conditionals.
55185         (cosh_test_data): Likewise.
55186         (exp_test_data): Likewise.
55187         (expm1_test_data): Likewise.
55188         (hypot_test_data): Likewise.
55189         (pow_test_data): Likewise.
55190         (sinh_test_data): Likewise.
55191         (tanh_test_data): Likewise.
55192         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55193         flags argument.
55195         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55196         tests with quiet NaN input and output.
55197         (acosh_test_data): Likewise.
55198         (asin_test_data): Likewise.
55199         (asinh_test_data): Likewise.
55200         (atan_test_data): Likewise.
55201         (atanh_test_data): Likewise.
55202         (atan2_test_data): Likewise.
55203         (cbrt_test_data): Likewise.
55204         (cos_test_data): Likewise.
55205         (cosh_test_data): Likewise.
55206         (erf_test_data): Likewise.
55207         (erfc_test_data): Likewise.
55208         (exp_test_data): Likewise.
55209         (exp10_test_data): Likewise.
55210         (exp2_test_data): Likewise.
55211         (expm1_test_data): Likewise.
55212         (hypot_test_data): Likewise.
55213         (j0_test_data): Likewise.
55214         (j1_test_data): Likewise.
55215         (jn_test_data): Likewise.
55216         (lgamma_test_data): Likewise.
55217         (log_test_data): Likewise.
55218         (log10_test_data): Likewise.
55219         (log1p_test_data): Likewise.
55220         (log2_test_data): Likewise.
55221         (pow_test_data): Likewise.
55222         (scalb_test_data): Likewise.
55223         (sin_test_data): Likewise.
55224         (sincos_test_data): Likewise.
55225         (sinh_test_data): Likewise.
55226         (tan_test_data): Likewise.
55227         (tanh_test_data): Likewise.
55228         (tgamma_test_data): Likewise.
55229         (y0_test_data): Likewise.
55230         (y1_test_data): Likewise.
55231         (yn_test_data): Likewise.
55233         [BZ #16167]
55234         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55235         argument being NaN and avoid computations with second argument in
55236         that case.
55237         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55238         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55239         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55241 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55243         * locale/iso-639.def: Add Chitwani Tharu (the).
55245 2013-11-14  Andreas Schwab  <schwab@suse.de>
55247         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55248         word instead of empty string.
55250 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55253         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55255         (__fe_nomask_env): Likewise.
55257 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55259         * benchtests/bench-timing.h: Include time.h.
55261 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55263         [BZ #15997]
55264         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55265         to 3.4.0 for x32.
55266         * sysdeps/unix/sysv/linux/configure: Regenerated.
55268 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55270         [BZ #16151]
55271         * stdlib/strtod_l.c (round_and_return): Do not consider
55272         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55273         exponent one less than half the least subnormal exponent.
55274         * stdlib/test-strtod-round-data: Add more tests.
55275         * stdlib/tst-strtod-round.c (tests): Regenerated.
55277 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55279         [BZ #14143]
55280         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55281         (__fe_mask_env): Likewise.
55282         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55283         libm_hidden_proto and add function prototype.
55284         (__fe_mask_env): Add function prototype.
55285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55286         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55288         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55290         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55292 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55294         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55295         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55297 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55299         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55300         of htab_find_slot().
55302 2013-11-11  David S. Miller  <davem@davemloft.net>
55304         [BZ #16150]
55305         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55306         symbol in the non-vis3 case in static builds.
55307         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55308         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55309         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55310         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55312 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55314         [BZ #387]
55315         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55316         it is empty.
55318 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55320         * benchtests/Makefile: Add bench-strtod.
55321         * benchtests/bench-strtod.c: New file: strtod benchtest
55323 2013-11-11  Andreas Schwab  <schwab@suse.de>
55325         [BZ #16153]
55326         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55327         terminating NUL in key length.
55329 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55331         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55332         Add artificial ODP entry for vDSO symbol for PPC64.
55333         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55334         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55336 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55338         [BZ #15374]
55339         * nss/getent.c (services_keys): Recognize services starting with digit.
55341 2013-11-06  David S. Miller  <davem@davemloft.net>
55343         [BZ #15985]
55344         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55345         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55347 2013-11-06  Will Newton  <will.newton@linaro.org>
55349         * manual/memory.texi (Malloc Examples): Remove register
55350         keyword from examples.
55352 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55354         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55356 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55358         [BZ #6981]
55359         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55360         depending on [__GCC_IEC_559 > 0].
55361         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55362         depending on [__GCC_IEC_559_COMPLEX > 0].
55364 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55366         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55367         to iso-639.def.
55369 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55371         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55373 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55375         [BZ #16112]
55376         * malloc/malloc (malloc_info): Do not handle first bin as
55377         special case.
55379 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55381         * locale/iso-639.def: Add Central Nahuatl (nhn).
55383 2013-11-01  Bruno Haible  <bruno@clisp.org>
55385         [BZ #7003]
55386         * manual/math.texi (BSD Random): Specify range upper bound as
55387         in POSIX.
55389 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55391         * locale/iso-639.def: Add Meadow Mari (mhr).
55393 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55395         [BZ #14752], [BZ #15763]
55396         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55397         Validate name.
55398         * rt/tst_shm.c: Add test for escaping directory.
55400 2013-10-31  Andreas Schwab  <schwab@suse.de>
55402         [BZ #15917]
55403         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55404         followed by 'x' as part of digit sequence.
55405         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55407 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55409         [BZ #16037]
55410         * configure.ac: allow GNU Make 4.0 and greater.
55411         * configure: Regenerated.
55413 2013-10-30  Will Newton  <will.newton@linaro.org>
55415         [BZ #16038]
55416         * malloc/hooks.c (memalign_check): Limit alignment to the
55417         maximum representable power of two.
55418         * malloc/malloc.c (__libc_memalign): Likewise.
55419         * malloc/tst-memalign.c (do_test): Add test for very
55420         large alignment values.
55421         * malloc/tst-posix_memalign.c (do_test): Likewise.
55423 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55425         [BZ #11087]
55426         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55427         (munmap_chunk): Likewise.
55428         (mremap_chunk): Likewise.
55430 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55432         [BZ #15799]
55433         * stdlib/div.c (div): Remove obsolete code.
55434         * stdlib/ldiv.c (ldiv): Likewise.
55435         * stdlib/lldiv.c (lldiv): Likewise.
55437 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55439         [BZ #16071]
55440         * nss/nss_files/files-XXX.c (get_contents_ret): New
55441         enumerator.
55442         (get_contents): New function.
55443         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55445 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55447         * configure.in: Moved to ...
55448         * configure.ac: ... here. Change reference to configure.in
55449         to configure.ac.
55450         * sysdeps/arm/preconfigure.ac: ... here.
55451         configure.in to configure.ac.
55452         * sysdeps/gnu/configure.in: Moved to ...
55453         * sysdeps/gnu/configure.ac: ... here.
55454         * sysdeps/i386/configure.in: Moved to ...
55455         * sysdeps/i386/configure.ac: ... here.
55456         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55457         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55458         * sysdeps/mach/configure.in: Moved to ...
55459         * sysdeps/mach/configure.ac: ... here.
55460         * sysdeps/mach/hurd/configure.in: Moved to ...
55461         * sysdeps/mach/hurd/configure.ac: ... here.
55462         * sysdeps/powerpc/configure.in: Moved to ...
55463         * sysdeps/powerpc/configure.ac: ... here.
55464         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55465         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55466         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55467         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55468         * sysdeps/s390/s390-32/configure.in: Moved to ...
55469         * sysdeps/s390/s390-32/configure.ac: ... here.
55470         * sysdeps/s390/s390-64/configure.in: Moved to ...
55471         * sysdeps/s390/s390-64/configure.ac: ... here.
55472         * sysdeps/sh/configure.in: Moved to ...
55473         * sysdeps/sh/configure.ac: ... here.
55474         * sysdeps/sparc/configure.in: Moved to ...
55475         * sysdeps/sparc/configure.ac: ... here.
55476         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55477         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55478         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55479         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55480         * sysdeps/x86_64/configure.in: Moved to ...
55481         * sysdeps/x86_64/configure.ac: ... here.
55482         * sysdeps/x86_64/preconfigure.in: Moved to ...
55483         * sysdeps/x86_64/preconfigure.ac: ... here.
55484         * aclocal.m4: Change reference to configure.in to configure.ac.
55485         * config.h.in: Likewise.
55486         * manual/install.texi: Likewise.
55487         * manual/maint.texi: Likewise.
55488         * Makefile: Likewise.
55489         * malloc/Makefile: Likewise.
55490         * nscd/Makefile: Likewise.
55491         * Makeconfig: Change reference to configure.in and
55492         preconfigure.in to configure.ac and preconfigure.ac
55493         respectively.
55494         * INSTALL: Regenerated.
55495         * configure: Likewise.
55496         * sysdeps/gnu/configure: Likewise.
55497         * sysdeps/i386/configure: Likewise.
55498         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55499         * sysdeps/mach/configure: Likewise.
55500         * sysdeps/mach/hurd/configure: Likewise.
55501         * sysdeps/powerpc/configure: Likewise.
55502         * sysdeps/powerpc/powerpc32/configure: Likewise.
55503         * sysdeps/powerpc/powerpc64/configure: Likewise.
55504         * sysdeps/s390/s390-32/configure: Likewise.
55505         * sysdeps/s390/s390-64/configure: Likewise.
55506         * sysdeps/sh/configure: Likewise.
55507         * sysdeps/sparc/configure: Likewise.
55508         * sysdeps/unix/sysv/linux/configure: Likewise.
55509         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55510         * sysdeps/x86_64/configure: Likewise.
55511         * sysdeps/x86_64/preconfigure: Likewise.
55513 2013-10-29  Andreas Schwab  <schwab@suse.de>
55515         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55517 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55519         * benchtests/pow-inputs: Add new inputs.
55521         * benchtests/exp-inputs: Add new inputs.
55523         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55524         conditional check for return value.
55525         (__cos32): Likewise.
55527 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55529         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55530         to provide a boost for large inputs with word alignment.
55531         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55532         implementation based on optimized PPC64 strcpy.
55533         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55534         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55535         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55536         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55538 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55540         [BZ #2801]
55541         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55543 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55545         [BZ #14876]
55546         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55547         * time/tst-strptime.c (day_tests): Add testcase.
55549 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55551         [BZ #14029]
55552         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55554 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55556         [BZ #16074]
55557         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55558         MAP_FAILED on error.
55560 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55562         [BZ #16072]
55563         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55564         heap for large requests.
55566 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55568         [BZ #9954]
55569         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55570         result if the result has no associated interface.
55571         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55572         interface for all 127.X.Y.Z addresses.
55574 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55576         * locale/iso-639.def: Add Ligurian (lij)
55578 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55580         [BZ #15825]
55581         * sunrpc/rpc_main.c: Document rpcgen -5.
55583 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55585         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55587 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55589         [BZ #10278]
55590         * posix/glob.c: Match only directories when trailing slash is present.
55591         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55592         (main): Add testcase.
55594 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55596         [BZ #15670]
55597         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55599 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55601         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55602         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55603         AUTH_DES and cindex for FIPS 140-2.
55604         (DES Encryption): Add cindex FIPS 46-3.
55606         * locale/locarchive.h (struct locarhandle): Add fname.
55607         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55608         if an optional argument was specified to --list-archive,
55609         otherwise NULL.
55610         * locale/programs/locarchive.c (show_archive_content): Take new
55611         argument fname and pass it via ah.fname to open_archive.
55612         * locale/programs/localedef.h: Update decl.
55613         (open_archive): If AH->fname is non-null, open that file
55614         rather than the default file name, and don't ignore ENOENT.
55615         (create_archive): Set AH.fname to NULL.
55616         (delete_locales_from_archive): Likewise.
55617         (add_locales_to_archive): Likewise.
55618         * locale/programs/locfile.c (write_all_categories): Likewise.
55620 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55621             Aldy Hernandez  <aldyh@redhat.com>
55623         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55624         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55625         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55626         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55627         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55628         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55629         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55630         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55631         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55632         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55633         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55634         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55635         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55636         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55637         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55638         Likewise.
55639         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55640         Likewise.
55641         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55642         Likewise.
55643         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55644         Likewise.
55645         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55646         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55647         Likewise.
55648         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55649         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55650         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55651         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55652         Likewise.
55653         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55654         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55655         * sysdeps/powerpc/preconfigure: Likewise.
55656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55657         Likewise.
55658         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55659         Replace contents of file by #include of <fenv_libc.h>.
55660         * sysdeps/powerpc/soft-fp/sfp-machine.h
55661         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55662         and <sys/prctl.h>.
55663         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55664         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55665         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55666         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55667         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55668         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55670         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55671         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55672         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55673         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55676         Allow copysignl PLT reference to be missing.
55678 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55679             Joseph Myers  <joseph@codesourcery.com
55681         [BZ #15948]
55682         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55683         single character.
55684         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55686 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55688         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55689         * elf/tst-tls1.c: Likewise.
55690         * elf/tst-tls10.h: Likewise.
55691         * elf/tst-tls14.c: Likewise.
55692         * elf/tst-tls2.c: Likewise.
55693         * elf/tst-tls3.c: Likewise.
55694         * elf/tst-tls4.c: Likewise.
55695         * elf/tst-tls5.c: Likewise.
55696         * elf/tst-tls6.c: Likewise.
55697         * elf/tst-tls7.c: Likewise.
55698         * elf/tst-tls8.c: Likewise.
55699         * elf/tst-tls9.c: Likewise.
55700         * elf/tst-tlsmod1.c: Likewise.
55701         * elf/tst-tlsmod13.c: Likewise.
55702         * elf/tst-tlsmod13a.c: Likewise.
55703         * elf/tst-tlsmod14a.c: Likewise.
55704         * elf/tst-tlsmod16a.c: Likewise.
55705         * elf/tst-tlsmod16b.c: Likewise.
55706         * elf/tst-tlsmod2.c: Likewise.
55707         * elf/tst-tlsmod3.c: Likewise.
55708         * elf/tst-tlsmod4.c: Likewise.
55709         * elf/tst-tlsmod5.c: Likewise.
55710         * elf/tst-tlsmod6.c: Likewise.
55712 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55714         [BZ #12486]
55715         * malloc/malloc.c: remove checks for statistics.
55717 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55719         [BZ #15277]
55720         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55721         * inet/tst-network.c: Add testcase.
55723 2013-10-17  Andreas Schwab  <schwab@suse.de>
55725         [BZ #15218]
55726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55727         to determine canonical name.
55729 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55731         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55732         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55733         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55734         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55735         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55736         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55737         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55738         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55739         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55740         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55741         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55742         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55743         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55744         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55745         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55746         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55747         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55748         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55749         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55750         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55751         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55752         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55753         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55754         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55755         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55756         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55757         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55758         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55759         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55760         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55761         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55762         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55763         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55764         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55765         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55766         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55767         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55768         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55769         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55770         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55771         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55772         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55773         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55774         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55775         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55776         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55777         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55778         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55779         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55780         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55781         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55782         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55783         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55784         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55785         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55786         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55787         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55788         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55790 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55792         [BZ #16041]
55793         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55794         make result into a quiet NaN.
55796 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55798         * soft-fp/adddf3.c: Fix horizontal whitespace.
55799         * soft-fp/addsf3.c: Likewise.
55800         * soft-fp/addtf3.c: Likewise.
55801         * soft-fp/divdf3.c: Likewise.
55802         * soft-fp/divsf3.c: Likewise.
55803         * soft-fp/divtf3.c: Likewise.
55804         * soft-fp/double.h: Likewise.
55805         * soft-fp/eqdf2.c: Likewise.
55806         * soft-fp/eqsf2.c: Likewise.
55807         * soft-fp/eqtf2.c: Likewise.
55808         * soft-fp/extenddftf2.c: Likewise.
55809         * soft-fp/extended.h: Likewise.
55810         * soft-fp/extendsfdf2.c: Likewise.
55811         * soft-fp/extendsftf2.c: Likewise.
55812         * soft-fp/extendxftf2.c: Likewise.
55813         * soft-fp/fixdfdi.c: Likewise.
55814         * soft-fp/fixdfsi.c: Likewise.
55815         * soft-fp/fixdfti.c: Likewise.
55816         * soft-fp/fixsfdi.c: Likewise.
55817         * soft-fp/fixsfsi.c: Likewise.
55818         * soft-fp/fixsfti.c: Likewise.
55819         * soft-fp/fixtfdi.c: Likewise.
55820         * soft-fp/fixtfsi.c: Likewise.
55821         * soft-fp/fixtfti.c: Likewise.
55822         * soft-fp/fixunsdfdi.c: Likewise.
55823         * soft-fp/fixunsdfsi.c: Likewise.
55824         * soft-fp/fixunsdfti.c: Likewise.
55825         * soft-fp/fixunssfdi.c: Likewise.
55826         * soft-fp/fixunssfsi.c: Likewise.
55827         * soft-fp/fixunssfti.c: Likewise.
55828         * soft-fp/fixunstfdi.c: Likewise.
55829         * soft-fp/fixunstfsi.c: Likewise.
55830         * soft-fp/fixunstfti.c: Likewise.
55831         * soft-fp/floatdidf.c: Likewise.
55832         * soft-fp/floatdisf.c: Likewise.
55833         * soft-fp/floatditf.c: Likewise.
55834         * soft-fp/floatsidf.c: Likewise.
55835         * soft-fp/floatsisf.c: Likewise.
55836         * soft-fp/floatsitf.c: Likewise.
55837         * soft-fp/floattidf.c: Likewise.
55838         * soft-fp/floattisf.c: Likewise.
55839         * soft-fp/floattitf.c: Likewise.
55840         * soft-fp/floatundidf.c: Likewise.
55841         * soft-fp/floatundisf.c: Likewise.
55842         * soft-fp/floatunditf.c: Likewise.
55843         * soft-fp/floatunsidf.c: Likewise.
55844         * soft-fp/floatunsisf.c: Likewise.
55845         * soft-fp/floatunsitf.c: Likewise.
55846         * soft-fp/floatuntidf.c: Likewise.
55847         * soft-fp/floatuntisf.c: Likewise.
55848         * soft-fp/floatuntitf.c: Likewise.
55849         * soft-fp/fmadf4.c: Likewise.
55850         * soft-fp/fmasf4.c: Likewise.
55851         * soft-fp/fmatf4.c: Likewise.
55852         * soft-fp/gedf2.c: Likewise.
55853         * soft-fp/gesf2.c: Likewise.
55854         * soft-fp/getf2.c: Likewise.
55855         * soft-fp/ledf2.c: Likewise.
55856         * soft-fp/lesf2.c: Likewise.
55857         * soft-fp/letf2.c: Likewise.
55858         * soft-fp/muldf3.c: Likewise.
55859         * soft-fp/mulsf3.c: Likewise.
55860         * soft-fp/multf3.c: Likewise.
55861         * soft-fp/negdf2.c: Likewise.
55862         * soft-fp/negsf2.c: Likewise.
55863         * soft-fp/negtf2.c: Likewise.
55864         * soft-fp/op-1.h: Likewise.
55865         * soft-fp/op-2.h: Likewise.
55866         * soft-fp/op-4.h: Likewise.
55867         * soft-fp/op-8.h: Likewise.
55868         * soft-fp/op-common.h: Likewise.
55869         * soft-fp/quad.h: Likewise.
55870         * soft-fp/single.h: Likewise.
55871         * soft-fp/soft-fp.h: Likewise.
55872         * soft-fp/sqrtdf2.c: Likewise.
55873         * soft-fp/sqrtsf2.c: Likewise.
55874         * soft-fp/sqrttf2.c: Likewise.
55875         * soft-fp/subdf3.c: Likewise.
55876         * soft-fp/subsf3.c: Likewise.
55877         * soft-fp/subtf3.c: Likewise.
55878         * soft-fp/truncdfsf2.c: Likewise.
55879         * soft-fp/trunctfdf2.c: Likewise.
55880         * soft-fp/trunctfsf2.c: Likewise.
55881         * soft-fp/trunctfxf2.c: Likewise.
55882         * soft-fp/unorddf2.c: Likewise.
55883         * soft-fp/unordsf2.c: Likewise.
55884         * soft-fp/unordtf2.c: Likewise.
55886 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
55888         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
55889         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
55891 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
55893         * elf/dl-libc.c: Clear initfini list after freeing.
55895 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
55897         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
55898         * soft-fp/addsf3.c: Likewise.
55899         * soft-fp/addtf3.c: Likewise.
55900         * soft-fp/divdf3.c: Likewise.
55901         * soft-fp/divsf3.c: Likewise.
55902         * soft-fp/divtf3.c: Likewise.
55903         * soft-fp/double.h: Likewise.
55904         * soft-fp/eqdf2.c: Likewise.
55905         * soft-fp/eqsf2.c: Likewise.
55906         * soft-fp/eqtf2.c: Likewise.
55907         * soft-fp/extenddftf2.c: Likewise.
55908         * soft-fp/extended.h: Likewise.
55909         * soft-fp/extendsfdf2.c: Likewise.
55910         * soft-fp/extendsftf2.c: Likewise.
55911         * soft-fp/extendxftf2.c: Likewise.
55912         * soft-fp/fixdfdi.c: Likewise.
55913         * soft-fp/fixdfsi.c: Likewise.
55914         * soft-fp/fixdfti.c: Likewise.
55915         * soft-fp/fixsfdi.c: Likewise.
55916         * soft-fp/fixsfsi.c: Likewise.
55917         * soft-fp/fixsfti.c: Likewise.
55918         * soft-fp/fixtfdi.c: Likewise.
55919         * soft-fp/fixtfsi.c: Likewise.
55920         * soft-fp/fixtfti.c: Likewise.
55921         * soft-fp/fixunsdfdi.c: Likewise.
55922         * soft-fp/fixunsdfsi.c: Likewise.
55923         * soft-fp/fixunsdfti.c: Likewise.
55924         * soft-fp/fixunssfdi.c: Likewise.
55925         * soft-fp/fixunssfsi.c: Likewise.
55926         * soft-fp/fixunssfti.c: Likewise.
55927         * soft-fp/fixunstfdi.c: Likewise.
55928         * soft-fp/fixunstfsi.c: Likewise.
55929         * soft-fp/fixunstfti.c: Likewise.
55930         * soft-fp/floatdidf.c: Likewise.
55931         * soft-fp/floatdisf.c: Likewise.
55932         * soft-fp/floatditf.c: Likewise.
55933         * soft-fp/floatsidf.c: Likewise.
55934         * soft-fp/floatsisf.c: Likewise.
55935         * soft-fp/floatsitf.c: Likewise.
55936         * soft-fp/floattidf.c: Likewise.
55937         * soft-fp/floattisf.c: Likewise.
55938         * soft-fp/floattitf.c: Likewise.
55939         * soft-fp/floatundidf.c: Likewise.
55940         * soft-fp/floatundisf.c: Likewise.
55941         * soft-fp/floatunsidf.c: Likewise.
55942         * soft-fp/floatunsisf.c: Likewise.
55943         * soft-fp/floatuntidf.c: Likewise.
55944         * soft-fp/floatuntisf.c: Likewise.
55945         * soft-fp/floatuntitf.c: Likewise.
55946         * soft-fp/fmadf4.c: Likewise.
55947         * soft-fp/fmasf4.c: Likewise.
55948         * soft-fp/fmatf4.c: Likewise.
55949         * soft-fp/gedf2.c: Likewise.
55950         * soft-fp/gesf2.c: Likewise.
55951         * soft-fp/getf2.c: Likewise.
55952         * soft-fp/ledf2.c: Likewise.
55953         * soft-fp/lesf2.c: Likewise.
55954         * soft-fp/letf2.c: Likewise.
55955         * soft-fp/muldf3.c: Likewise.
55956         * soft-fp/mulsf3.c: Likewise.
55957         * soft-fp/multf3.c: Likewise.
55958         * soft-fp/negdf2.c: Likewise.
55959         * soft-fp/negsf2.c: Likewise.
55960         * soft-fp/negtf2.c: Likewise.
55961         * soft-fp/op-1.h: Likewise.
55962         * soft-fp/op-2.h: Likewise.
55963         * soft-fp/op-4.h: Likewise.
55964         * soft-fp/op-8.h: Likewise.
55965         * soft-fp/op-common.h: Likewise.
55966         * soft-fp/quad.h: Likewise.
55967         * soft-fp/single.h: Likewise.
55968         * soft-fp/soft-fp.h: Likewise.
55969         * soft-fp/sqrtdf2.c: Likewise.
55970         * soft-fp/sqrtsf2.c: Likewise.
55971         * soft-fp/sqrttf2.c: Likewise.
55972         * soft-fp/subdf3.c: Likewise.
55973         * soft-fp/subsf3.c: Likewise.
55974         * soft-fp/subtf3.c: Likewise.
55975         * soft-fp/truncdfsf2.c: Likewise.
55976         * soft-fp/trunctfdf2.c: Likewise.
55977         * soft-fp/trunctfsf2.c: Likewise.
55978         * soft-fp/trunctfxf2.c: Likewise.
55979         * soft-fp/unorddf2.c: Likewise.
55980         * soft-fp/unordsf2.c: Likewise.
55981         * soft-fp/unordtf2.c: Likewise.
55983 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
55985         [BZ #15672]
55986         * misc/error.c (error_tail): Fix possible buffer overflow.
55988 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
55990         [BZ #13028]
55991         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
55992         address.
55994 2013-10-14  P. J. McDermott  <pj@pehjota.net>
55996         [BZ #832]
55997         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
55998         testing pipefail option.
56000 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56002         * soft-fp/double.h: Indent preprocessor directives inside #if.
56003         * soft-fp/extended.h: Likewise.
56004         * soft-fp/op-2.h: Likewise.
56005         * soft-fp/op-4.h: Likewise.
56006         * soft-fp/op-common.h: Likewise.
56007         * soft-fp/quad.h: Likewise.
56008         * soft-fp/single.h: Likewise.
56009         * soft-fp/soft-fp.h: Likewise.
56011 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56013         * iconv/iconv_prog.c: Fix typos.
56014         * stdio-common/psiginfo-data.h: Likewise.
56016 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56018         [BZ #15764]
56019         * locale/setlocale.c: Fix typo.
56021 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56023         [BZ #16036]
56024         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56025         signaling NaN arguments.
56026         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56027         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56029         [BZ #14910]
56030         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56031         unordered operands.
56032         * soft-fp/gesf2.c (__gesf2): Likewise.
56033         * soft-fp/getf2.c (__getf2): Likewise.
56034         * soft-fp/ledf2.c (__ledf2): Likewise.
56035         * soft-fp/lesf2.c (__lesf2): Likewise.
56036         * soft-fp/letf2.c (__letf2): Likewise.
56038         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56039         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56040         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56041         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56042         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56043         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56044         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56045         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56046         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56047         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56048         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56049         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56050         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56051         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56052         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56053         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56054         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56055         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56056         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56057         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56058         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56059         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56060         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56061         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56062         * soft-fp/floattidf.c (__floattidf): Likewise.
56063         * soft-fp/floattisf.c (__floattisf): Likewise.
56064         * soft-fp/floattitf.c (__floattitf): Likewise.
56065         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56066         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56067         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56068         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56069         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56070         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56071         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56072         * soft-fp/gesf2.c (__gesf2): Likewise.
56073         * soft-fp/getf2.c (__getf2): Likewise.
56074         * soft-fp/ledf2.c (__ledf2): Likewise.
56075         * soft-fp/lesf2.c (__lesf2): Likewise.
56076         * soft-fp/letf2.c (__letf2): Likewise.
56078         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56079         Undefine and redefine.
56080         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56081         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56082         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56083         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56084         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56085         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56086         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56087         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56088         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56089         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56090         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56091         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56092         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56093         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56094         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56096         [BZ #16032]
56097         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56098         without decrementing exponent if mantissa >= that for the
56099         denominator, not >.
56100         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56101         denominator, not >.  Decrement exponent in < case instead of
56102         incrementing in >= case.
56103         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56104         without decrementing exponent if mantissa >= that for the
56105         denominator, not >.
56107         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56108         computing saturated result for unsigned overflow.
56110 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56111             Jeff Law  <law@redhat.com>
56113         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56114         (atan2Mp): Add systemtap probe marker.
56115         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56116         (__ieee754_log): Add systemtap probe marker.
56117         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56118         (atanMp): Add systemtap probe marker.
56119         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56120         (tanMp): Add systemtap probe marker.
56121         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56122         (__slowexp): Add systemtap probe marker.
56123         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56124         (__slowpow): Add systemtap probe marker.
56125         * manual/probes.texi: Document probes.
56127 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56129         [BZ #15362]
56130         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56131         written.
56132         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56133         written.
56134         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56135         written to buffer but not flushed.
56136         * libio/iofwrite_u.c:  Likewise.
56137         * libio/iopadn.c:  Return bytes returned even if EOF was
56138         encountered.
56139         * libio/iowpadn.c:  Likewise.
56140         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56141         if _IO_padn does not write the whole buffer.
56142         [!COMPILE_WPRINTF] (PAD): Likewise.
56144 2013-10-10  David S. Miller  <davem@davemloft.net>
56146         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56147         directory block.
56149 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56151         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56152         instead of FSF address.
56153         * soft-fp/fixdfti.c: Likewise.
56154         * soft-fp/fixsfti.c: Likewise.
56155         * soft-fp/fixtfti.c: Likewise.
56156         * soft-fp/fixunsdfti.c: Likewise.
56157         * soft-fp/fixunssfti.c: Likewise.
56158         * soft-fp/fixunstfti.c: Likewise.
56159         * soft-fp/floattidf.c: Likewise.
56160         * soft-fp/floattisf.c: Likewise.
56161         * soft-fp/floattitf.c: Likewise.
56162         * soft-fp/floatuntidf.c: Likewise.
56163         * soft-fp/floatuntisf.c: Likewise.
56164         * soft-fp/floatuntitf.c: Likewise.
56165         * soft-fp/trunctfxf2.c: Likewise.
56167         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56168         * soft-fp/fixdfti.c: Likewise.
56169         * soft-fp/fixsfti.c: Likewise.
56170         * soft-fp/fixtfti.c: Likewise.
56171         * soft-fp/fixunsdfti.c: Likewise.
56172         * soft-fp/fixunssfti.c: Likewise.
56173         * soft-fp/fixunstfti.c: Likewise.
56174         * soft-fp/floattidf.c: Likewise.
56175         * soft-fp/floattisf.c: Likewise.
56176         * soft-fp/floattitf.c: Likewise.
56177         * soft-fp/floatuntidf.c: Likewise.
56178         * soft-fp/floatuntisf.c: Likewise.
56179         * soft-fp/floatuntitf.c: Likewise.
56180         * soft-fp/trunctfxf2.c: Likewise.
56182 2013-10-10  David S. Miller  <davem@davemloft.net>
56184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56186 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56188         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56189         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56190         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56191         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56192         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56193         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56194         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56197         for NaNs before doing comparisons on argument.
56198         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56199         Likewise.
56201 2013-10-10  Will Newton  <will.newton@linaro.org>
56203         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56204         passed to _int_memalign does not overflow.
56206 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56208         * scripts/bench.pl: Add include-sources directive.
56209         * benchtests/README: Update documentation.
56211 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56213         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56214         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56215         instead of FP_INIT_ROUNDMODE.
56216         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56217         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56219         [BZ #16034]
56220         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56221         copy class of input value.
56222         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56223         not handle exceptions.
56224         * soft-fp/negsf2.c (__negsf2): Likewise.
56225         * soft-fp/negtf2.c (__negtf2): Likewise.
56226         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56228 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56230         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56231         semicolon.  From Linux kernel.
56233 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56235         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56237 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56239         [BZ #156]
56240         * manual/socket.texi: Added statement about buffer
56241         for gethostbyname2_r.
56243 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56245         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56246         Use .p2align directive instead, throughout.
56247         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56248         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56249         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56250         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56251         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56252         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56253         * sysdeps/x86_64/strchr.S: Likewise.
56254         * sysdeps/x86_64/strrchr.S: Likewise.
56256 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56258         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56260         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56262         * sysdeps/generic/math_private.h (__mpsin1): Remove
56263         declaration.
56264         (__mpcos1): Likewise.
56265         (__mpsin): New argument __range_reduce.
56266         (__mpcos): Likewise.
56267         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56268         (slow): Use __mpsin and __mpcos.
56269         (slow1): Likewise.
56270         (slow2): Likewise.
56271         (sloww): Likewise.
56272         (sloww1): Likewise.
56273         (sloww2): Likewise.
56274         (bsloww): Likewise.
56275         (bsloww1): Likewise.
56276         (bsloww2): Likewise.
56277         (cslow2): Likewise.
56278         (csloww): Likewise.
56279         (csloww1): Likewise.
56280         (csloww2): Likewise.
56281         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56282         range_reduce.  Merge in __mpsin1.
56283         (__mpcos): Likewise.
56284         (__mpsin1): Remove.
56285         (__mpcos1): Likewise.
56287 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56289         * locale/loadlocale.c (_nl_intern_locale_data): Use
56290         LOCFILE_ALIGNED_P.
56291         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56292         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56293         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56294         obstack data is appropriately aligned.
56295         (obstack_int32_grow_fast): Likewise.
56296         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56297         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56298         (add_locale_uint32_array): Likewise.
56300 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56302         * benchtests/Makefile: Remove ARGLIST and RET variables.
56303         ($(objpfx)bench-%.c): Pass only function name to the script.
56304         * benchtests/README: Update documentation.
56305         * benchtests/acos-inputs: Add new directives.
56306         * benchtests/acosh-inputs: Likewise.
56307         * benchtests/asin-inputs: Likewise.
56308         * benchtests/asinh-inputs: Likewise.
56309         * benchtests/atan-inputs: Likewise.
56310         * benchtests/atanh-inputs: Likewise.
56311         * benchtests/cos-inputs: Likewise.
56312         * benchtests/cosh-inputs: Likewise.
56313         * benchtests/exp-inputs: Likewise.
56314         * benchtests/log-inputs: Likewise.
56315         * benchtests/pow-inputs: Likewise.
56316         * benchtests/rint-inputs: Likewise.
56317         * benchtests/sin-inputs: Likewise.
56318         * benchtests/sinh-inputs: Likewise.
56319         * benchtests/tan-inputs: Likewise.
56320         * benchtests/tanh-inputs: Likewise.
56321         * scripts/bench.pl: Add support for new directives.
56323 2013-10-07  Alan Modra  <amodra@gmail.com>
56325         * README: Fix careless merge.
56327 2013-10-05  Alan Modra  <amodra@gmail.com>
56329         * NEWS: Mention powerpc64le support and bugs fixed.
56330         * README: Both big-endian and little-endian powerpc64 supported.
56332 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56334         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56335         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56336         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56337         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56339 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56341         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56342         match prototype.
56344 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56346         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56347         Move -mhard-float appending from
56348         ports/sysdeps/powerpc/powerpc32/Makefile.
56349         [$(with-fp) = yes] (ASFLAGS): Likewise.
56350         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56351         * sysdeps/powerpc/nofpu: Move directory from
56352         ports/sysdeps/powerpc/nofpu.
56353         * sysdeps/powerpc/soft-fp: Move directory from
56354         ports/sysdeps/powerpc/soft-fp.
56355         * sysdeps/powerpc/powerpc32/405: Move directory from
56356         ports/sysdeps/powerpc/powerpc32/405.
56357         * sysdeps/powerpc/powerpc32/440: Move directory from
56358         ports/sysdeps/powerpc/powerpc32/440.
56359         * sysdeps/powerpc/powerpc32/464: Move directory from
56360         ports/sysdeps/powerpc/powerpc32/464.
56361         * sysdeps/powerpc/powerpc32/476: Move directory from
56362         ports/sysdeps/powerpc/powerpc32/476.
56363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56364         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56366         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56368         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56370         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56372         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56373         * README: Update for powerpc-*-linux-gnu software floating point
56374         support in libc.
56376         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56377         case to powerpc/powerpc32*.
56378         * sysdeps/unix/sysv/linux/configure: Regenerated.
56380         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56381         (_FPU_MASK_OM): Define as 0x04.
56382         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56383         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56384         0x00c10080.
56385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56386         0x0000003c.
56387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56390         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56391         getcontext_e500.
56392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56393         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56394         setcontext_e500.
56395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56396         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56397         and setcontext_e500.
56399 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56401         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56403 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56405         * manual/threads.texi (Default Thread Attributes): Fix typo.
56407 2013-10-04  Will Newton  <will.newton@linaro.org>
56409         * malloc/Makefile: Add tst-memalign.
56410         * malloc/tst-memalign.c: New file.
56412         * malloc/tst-posix_memalign.c: Add comments.
56413         (do_test): Add comments and call free on all potentially
56414         allocated pointers. Add space after cast.
56416         * malloc/tst-pvalloc.c: Add comments.
56417         (do_test): Add comments and call free on all potentially
56418         allocated pointers. Remove duplicate check for NULL pointer.
56419         Add space after cast.
56421         * malloc/tst-valloc.c: Add comments.
56422         (do_test): Add comments and call free on all potentially
56423         allocated pointers. Remove duplicate check for NULL pointer.
56424         Add space after cast.
56426 2013-10-04  Alan Modra  <amodra@gmail.com>
56428         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56429         Use stdint types in rather than __attribute__((mode())).
56430         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56432 2013-10-04  Alan Modra  <amodra@gmail.com>
56434         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56435         Correct handling of unaligned relocs for little-endian.
56436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56438 2013-10-04  Alan Modra  <amodra@gmail.com>
56440         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56441         * configure: Regenerate.
56442         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56443         * shlib-versions: Likewise.
56445 2013-10-04  Alan Modra  <amodra@gmail.com>
56447         * string/tester.c (test_memrchr): Increment reported test cycle.
56449 2013-10-04  Alan Modra  <amodra@gmail.com>
56451         * string/test-memcpy.c (do_one_test): When reporting errors, print
56452         string address and don't overrun end of string.
56454 2013-10-04  Alan Modra  <amodra@gmail.com>
56456         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56457         insrdi.  Make better use of reg selection to speed exit slightly.
56458         Schedule entry path a little better.  Remove useless "are we done"
56459         checks on entry to main loop.  Handle wrapping around zero address.
56460         Correct main loop count.  Handle single left-over word from main
56461         loop inline rather than by using loop_small.  Remove extra word
56462         case in loop_small caused by wrong loop count.  Add little-endian
56463         support.
56464         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56465         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56466         cache hint.
56467         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56468         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56469         support.  Avoid rlwimi.
56470         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56472 2013-10-04  Alan Modra  <amodra@gmail.com>
56474         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56475         insrdi.  Formatting.
56476         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56477         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56478         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56479         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56480         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56481         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56483 2013-10-04  Alan Modra  <amodra@gmail.com>
56485         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56486         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56487         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56488         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56489         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56490         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56491         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56492         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56493         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56494         use of regs.  Use power7 mtocrf.  Tidy function tails.
56496 2013-10-04  Alan Modra  <amodra@gmail.com>
56498         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56499         Formatting.  Consistently use rXXX register defines or rN defines.
56500         Use early exit labels that avoid restoring unused non-volatile regs.
56501         Make cr field use more consistent with rWORDn compares.  Rename
56502         regs used as shift registers for unaligned loop, using rN defines
56503         for short lifetime/multiple use regs.
56504         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56505         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56506         addi 1,1,64 to pop stack frame.  Simplify return value code.
56507         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56509 2013-10-04  Alan Modra  <amodra@gmail.com>
56511         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56512         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56513         rather than rlwimi.
56514         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56515         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56516         little-endian support.  Correct typos.
56517         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56518         rather than rlwimi.
56519         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56520         in loop and entry code to keep "and." results.
56521         (strchr): Add little-endian support.  Comment.  Move cntlzd
56522         earlier in tail.
56523         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56525 2013-10-04  Alan Modra  <amodra@gmail.com>
56527         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56528         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56529         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56530         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56532 2013-10-04  Alan Modra  <amodra@gmail.com>
56534         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56535         (rTMP): Define as r11.
56536         (strcmp): Add little-endian support.  Optimise tail.
56537         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56538         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56539         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56540         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56541         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56542         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56543         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56545 2013-10-04  Alan Modra  <amodra@gmail.com>
56547         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56548         little-endian support.  Remove unnecessary "are we done" tests.
56549         Handle "s" wrapping around zero and extremely large "size".
56550         Correct main loop count.  Handle single left-over word from main
56551         loop inline rather than by using small_loop.  Correct comments.
56552         Delete "zero" tail, use "end_max" instead.
56553         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56555 2013-10-04  Alan Modra  <amodra@gmail.com>
56557         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56558         support.  Don't branch over align.
56559         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56560         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56561         support.  Rearrange tmp reg use to suit.  Comment.
56562         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56564 2013-10-04  Alan Modra  <amodra@gmail.com>
56566         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56568 2013-10-04  Alan Modra  <amodra@gmail.com>
56570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56571         conditional form of branch and link when obtaining pc.
56572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56574 2013-10-04  Alan Modra  <amodra@gmail.com>
56576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56577         HIWORD/LOWORD.
56578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56581 2013-10-04  Alan Modra  <amodra@gmail.com>
56583         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56584         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56585         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56586         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56587         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56588         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56589         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56590         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56591         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56592         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56594 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56595             Alistair Popple <alistair@ozlabs.au.ibm.com>
56596             Alan Modra <amodra@gmail.com>
56598         [BZ #15723]
56599         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56600         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56601         _dl_hwcap access for little-endian.
56602         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56603         destroy vmx regs when saving unaligned.
56604         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56605         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56606         destroy vmx regs when saving unaligned.
56608 2013-10-04  Alan Modra  <amodra@gmail.com>
56610         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56611         Don't use a union to pack hi/low value.
56613 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56615         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56616         for little-endian.
56617         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56618         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56619         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56620         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56621         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56623 2013-10-04  Alan Modra  <amodra@gmail.com>
56625         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56626         constants to usual value for .cst8 section, and remove redundant
56627         high address load.
56628         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56629         constant for 0x1p52.  Load little-endian words of double from
56630         correct stack offsets.
56632 2013-10-04  Alan Modra  <amodra@gmail.com>
56634         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56635         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56636         words of double from correct stack offsets.
56637         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56638         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56639         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56640         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56641         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56642         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56643         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56644         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56645         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56646         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56647         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56648         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56649         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56650         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56651         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56652         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56653         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56655 2013-10-04  Alan Modra  <amodra@gmail.com>
56657         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56658         64-bit int/double union.
56659         (_FPU_SETCW): Likewise.
56660         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56661         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56663 2013-10-04  Alan Modra  <amodra@gmail.com>
56665         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56666         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56668 2013-10-04  Alan Modra  <amodra@gmail.com>
56670         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56671         use vector int constants.
56672         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56674 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56676         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56677         array with long long.
56678         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56679         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56680         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56681         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56682         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56683         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56684         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56685         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56686         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56687         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56688         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56689         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56690         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56692 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56694         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56695         (__signbit): Likewise.  Correct for little-endian.
56696         (__signbitl): Call __signbit.
56697         (lrint): Correct for little-endian.
56698         (lrintf): Call lrint.
56700 2013-10-04  Alan Modra  <amodra@gmail.com>
56702         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56703         union 32-bit int array member with 64-bit int array.
56704         (t515, tm256): Double rather than long double.
56705         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56707 2013-10-04  Alan Modra  <amodra@gmail.com>
56709         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56710         Delete.
56711         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56713         version of math_ldbl.h.
56715 2013-10-04  Alan Modra  <amodra@gmail.com>
56717         [BZ #15734], [BZ #15735]
56718         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56719         all uses of ieee875 long double macros and unions.  Simplify test
56720         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56721         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56722         normalize after ldbl_extract_mantissa, and don't add hidden bit
56723         already handled.  Don't treat low word of ieee854 mantissa like
56724         low word of IBM long double and mask off bit when testing for
56725         zero.
56726         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56727         all uses of ieee875 long double macros and unions.  Simplify tests
56728         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56729         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56730         two1022, instead use their values.  Recognise that tests for large
56731         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56732         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56733         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56734         test for 0.0L and nan.  Correct negation.
56735         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56736         ieee875 long double macros and unions.  Correct output for large
56737         magnitude x.  Correct absolute value calculation.
56738         (__erfcl): Likewise.
56739         * math/libm-test.inc: Add tests for errors discovered in IBM long
56740         double versions of fmodl, remainderl, erfl and erfcl.
56742 2013-10-04  Alan Modra  <amodra@gmail.com>
56744         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56745         all uses of ieee854 long double macros and unions.  Simplify tests
56746         for long doubles that are fully specified by the high double.
56747         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56748         Likewise.
56749         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56750         Remove dead code too.
56751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56752         (__ieee754_ynl): Likewise.
56753         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56754         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56755         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56756         Remove dead code too.
56757         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56758         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56759         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56760         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56761         Simplify.
56762         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56763         Simplify.
56764         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56765         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56766         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56767         Comment on variable precision.
56768         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56769         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56770         Likewise.
56771         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56772         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56773         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56774         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56775         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56777 2013-10-04  Alan Modra  <amodra@gmail.com>
56779         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56780         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56781         all uses of ieee854 long double macros and unions.
56782         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56783         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56784         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56785         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56786         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56787         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56788         Likewise.
56789         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56790         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56791         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56792         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56793         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56794         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56795         Simplify sign and nan test too.
56796         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56797         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56798         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56799         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56800         Likewise.
56801         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56802         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56803         Likewise.
56804         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56805         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56806         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56807         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56808         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56809         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56811 2013-10-04  Alan Modra  <amodra@gmail.com>
56813         * stdio-common/printf_size.c (__printf_size): Don't use
56814         union ieee854_long_double in fpnum union.
56815         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56816         signbit macro to retrieve sign from long double.
56817         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56818         retrieve sign from long double.
56819         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56820         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56821         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56822         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56823         * math/test-misc.c (main): Don't use union ieee854_long_double.
56825 2013-10-04  Alan Modra  <amodra@gmail.com>
56827         [BZ #15680]
56828         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56829         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56830         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56831         calculation.  Remove unnecessary test for denormal exponent.
56832         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56833         Correct handling of denormals.  Avoid undefined shift behaviour.
56834         Correct normalisation of low mantissa when low double is denormal.
56835         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56836         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56837         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56838         Correct normalisation of low mantissa.  Test for overflow of high
56839         mantissa and normalise.
56840         (ldbl_nearbyint): Use more readable constant for two52.
56841         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56842         (__mpn_construct_long_double): Fix test for overflow of high
56843         mantissa and correct normalisation.  Avoid undefined shift.
56845 2013-10-04  Alan Modra  <amodra@gmail.com>
56847         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56848         (union ibm_extended_long_double): Define as an array of ieee754_double.
56849         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
56850         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
56851         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
56852         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56854         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
56855         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56856         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56857         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56858         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
56859         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56861 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
56863         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
56864         page size instead of calling getpagesize.
56866         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
56867         (LOCFILE_ALIGN_MASK): Likewise.
56868         (LOCFILE_ALIGN_UP): Likewise.
56869         (LOCFILE_ALIGNED_P): Likewise.
56870         * locale/programs/ld-collate.c (collate_output): Use the new
56871         macros instead of __alignof__ (int32_t).
56872         * locale/weight.h (findidx): Likewise.
56874 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
56876         [BZ #431]
56877         * manual/string.texi: Fix strncat and wcsncat.
56879 2013-10-03  Brooks Moses  <bmoses@google.com>
56881         [BZ #15915]
56882         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
56883         * Makerules: ...here, and adjust associated comments.
56885 2013-10-02  Will Newton  <will.newton@linaro.org>
56887         * malloc/Makefile: Add tst-pvalloc.
56888         * malloc/tst-pvalloc.c: New file.
56890 2013-10-02  Will Newton  <will.newton@linaro.org>
56892         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
56893         improve test coverage.
56895 2013-10-02  Will Newton  <will.newton@linaro.org>
56897         * malloc/Makefile: Add tst-posix_memalign.
56898         * malloc/tst-posix_memalign.c: New file.
56900 2013-10-01  Eric Blake  <eblake@redhat.com>
56902         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
56903         Use __THROWNL rather than __THROW on static functions.
56905 2013-09-30  Petr Machata  <pmachata@redhat.com>
56907         * elf/elf.h (R_AARCH64_ABS16): New macro.
56908         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
56909         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
56910         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
56911         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
56912         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
56913         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
56914         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
56915         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
56916         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
56917         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
56918         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
56919         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
56920         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
56921         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
56922         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
56923         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
56924         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
56925         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
56926         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
56927         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
56928         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
56929         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
56930         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
56931         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
56932         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
56933         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
56934         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
56935         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
56936         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
56937         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
56938         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
56939         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
56940         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
56941         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
56942         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
56943         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
56944         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
56945         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
56946         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
56947         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
56948         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
56949         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
56950         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
56951         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
56952         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
56953         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
56954         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
56955         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
56956         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
56957         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
56958         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
56959         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
56960         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
56961         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
56962         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
56963         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
56964         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
56965         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
56966         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
56967         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
56968         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
56969         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
56970         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
56971         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
56972         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
56973         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
56974         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
56975         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
56976         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
56977         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
56978         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
56979         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
56980         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
56981         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
56982         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
56983         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
56984         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
56985         (R_AARCH64_TLSDESC_LDR): Likewise.
56986         (R_AARCH64_TLSDESC_ADD): Likewise.
56987         (R_AARCH64_TLSDESC_CALL): Likewise.
56989 2013-09-30  Andreas Schwab  <schwab@suse.de>
56991         [BZ #15048]
56992         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
56993         the nss database lookup.
56994         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56997 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
56999         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57001 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57003         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57004         ${Bash-specific parameter/pattern/string} parameter expansion.
57005         * sysdeps/unix/make-syscalls.sh: Likewise.
57007 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57009         * sysdeps/sh/stackguard-macros.h: New file.
57011 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57014         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57015         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57016         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57017         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57018         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57020 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57022         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57023         Fix thread ID register.
57025 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57027         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57028         [POSIX || UNIX98]: Require rather than permitting all symbols from
57029         <time.h>.
57030         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57031         element of struct sched_param.
57032         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57033         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57034         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57035         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57036         constant.
57038 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57040         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57041         argument calculation.
57043 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57045         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57046         Expect macro.
57047         [POSIX] (pthread_attr_t): Do not require type.
57048         [POSIX] (pthread_cond_t): Likewise.
57049         [POSIX] (pthread_condattr_t): Likewise.
57050         [POSIX] (pthread_key_t): Likewise.
57051         [POSIX] (pthread_mutex_t): Likewise.
57052         [POSIX] (pthread_mutexattr_t): Likewise.
57053         [POSIX] (pthread_once_t): Likewise.
57054         [POSIX] (pthread_t): Likewise.
57055         [POSIX-based standards] (pthread_atfork): Expect function.
57057 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57058             Richard Sandiford  <richard@codesourcery.com>
57060         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57061         (swap_endianness_p): New extern variable.
57062         (set_big_endian): New inline function.
57063         (maybe_swap_uint32): Likewise.
57064         (maybe_swap_uint32_array): Likewise.
57065         (maybe_swap_uint32_obstack): Likewise.
57066         * locale/programs/locfile.c: Include <stdbool.h>.
57067         (swap_endianness_p): New variable.
57068         (add_locale_uint32): Call maybe_swap_uint32.
57069         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57070         (write_locale_data): Call maybe_swap_uint32_array.
57071         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57072         maybe_swap_uint32.
57073         (obstack_int32_grow_fast): Likewise.
57074         (output_weightwc): Call maybe_swap_uint32_obstack.
57075         (collate_output): Likewise.
57076         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57077         (OPT_LITTLE_ENDIAN): Likewise.
57078         (options): Add --little-endian and --big-endian options.
57079         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57080         * locale/programs/locarchive.c: Include "locfile.h".
57081         (GET): New macro.
57082         (SET): Likewise.
57083         (INC): Likewise.
57084         (create_archive): Use the new macros to access fields of
57085         structures directly mapped from or written to locale archives.
57086         (oldlocrecentcmp): Likewise.
57087         (enlarge_archive): Likewise.
57088         (insert_name): Likewise.
57089         (add_alias): Likewise.
57090         (add_locale): Likewise.
57091         (delete_locales_from_archive): Likewise.
57092         (show_archive_content): Likewise.
57093         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57094         locale data.
57096 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57098         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57099         http://www.gnu.org/doc/freemanuals.texi.
57100         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57102 2013-09-24  Will Newton  <will.newton@linaro.org>
57104         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57105         macro.
57107 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57109         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57110         unsigned char.
57112 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57114         * manual/threads.texi (POSIX Threads): Fix a typo.
57116 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57118         [BZ #14547]
57119         * string/tst-strcoll-overflow.c: New test case.
57120         * string/Makefile (xtests): Add tst-strcoll-overflow.
57121         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57122         cache if string sizes may cause integer overflow.
57124         [BZ #14547]
57125         * string/strcoll_l.c (coll_seq): New members rule, idx,
57126         save_idx and back_us.
57127         (get_next_seq_nocache): New function.
57128         (do_compare_nocache): New function.
57129         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57130         when malloc fails.
57132 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57134         [BZ #15754]
57135         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57136         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57137         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57139         [BZ #15754]
57140         * elf/Makefile (tests): Add tst-ptrguard1.
57141         (tests-static): Add tst-ptrguard1-static.
57142         (tst-ptrguard1-ARGS): Define.
57143         (tst-ptrguard1-static-ARGS): Define.
57144         * elf/tst-ptrguard1.c: New file.
57145         * elf/tst-ptrguard1-static.c: New file.
57146         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57147         * sysdeps/i386/stackguard-macros.h: Likewise.
57148         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57149         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57150         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57151         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57152         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57153         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57155 2013-09-23  Hector Marco  <hecmargi@upv.es>
57156             Ismael Ripoll  <iripoll@disca.upv.es>
57157             Carlos O'Donell  <carlos@redhat.com>
57159         [BZ #15754]
57160         * sysdeps/generic/stackguard-macros.h: Define
57161         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57162         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57163         Define __pointer_chk_guard_local.
57164         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57165         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57167 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57169         [BZ #15859]
57170         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57172 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57174         * include/string.h (__ffs): Declare as hidden.
57175         * string/ffs.c (__ffs): Define as hidden.
57176         * sysdeps/i386/ffs.c (__ffs): Likewise.
57177         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57178         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57179         * sysdeps/s390/ffs.c (__ffs): Likewise.
57180         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57182 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57184         * NEWS: Mention malloc probes.
57186         * malloc/arena.c (new_heap): New memory_heap_new probe.
57187         (grow_heap): New memory_heap_more probe.
57188         (shrink_heap): New memory_heap_less probe.
57189         (heap_trim): New memory_heap_free probe.
57190         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57191         (systrim): New memory_sbrk_less probe.
57192         * manual/probes.texi: Document them.
57194         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57195         * manual/probes.texi: Document it.
57197         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57198         (__libc_realloc): Add memory_realloc_retry probe.
57199         (__libc_memalign): Add memory_memalign_retry probe.
57200         (__libc_valloc): Add memory_valloc_retry probe.
57201         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57202         (__libc_calloc): Add memory_calloc_retry probe.
57203         * manual/probes.texi: Document them.
57205         * malloc/arena.c (get_free_list): Add probe
57206         memory_arena_reuse_free_list.
57207         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57208         and memory_arena_reuse.
57209         (arena_get2) [!PER_THREAD]: Likewise.
57210         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57211         memory_arena_reuse_realloc.
57212         * manual/probes.texi: Document them.
57214         * malloc/malloc.c (__libc_free): Add
57215         memory_mallopt_free_dyn_thresholds probe.
57216         (__libc_mallopt): Add multiple memory_mallopt probes.
57217         * manual/probes.texi: Document them.
57219         * malloc/malloc.c: Include stap-probe.h.
57220         (__libc_mallopt): Add memory_mallopt probe.
57221         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57222         * manual/probes.texi: New.
57223         * manual/Makefile (chapters): Add probes.
57224         * manual/threads.texi: Set next node.
57226 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57228         [BZ #15963, #13985]
57229         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57230         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57231         Add `Chinese' to `nan' entry name.
57233 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57235         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57236         (POLYNOMIAL): Likewise.
57237         (TAYLOR_SINCOS): Likewise.
57238         (TAYLOR_SLOW): Likewise.
57239         (__sin): Use TAYLOR_SINCOS.
57240         (__cos): Likewise.
57241         (slow): Use TAYLOR_SLOW.
57242         (sloww): Likewise.
57243         (bsloww): Likewise.
57244         (csloww): Likewise.
57246 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57248         * stdlib/strtod_l.c: Fix buffer overrun.
57250 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57252         * benchtests/Makefile (bench): Add sincos.
57253         * benchtests/bench-sincos.c: New file.
57255         * math/libm-test.inc (cos_test_data): New test inputs.
57256         (sin_test_data): Likewise.
57258         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57259         macro.
57260         (__sin): Use it.
57261         (__cos): Likewise.
57262         (slow1): Likewise.
57263         (slow2): Likewise.
57264         (sloww1): Likewise.
57265         (sloww2): Likewise.
57266         (bsloww1): Likewise.
57267         (bsloww2): Likewise.
57268         (cslow2): Likewise.
57269         (csloww1): Likewise.
57270         (csloww2): Likewise.
57272         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57273         function.
57274         (__sin): Use it.
57275         (__cos): Likewise.
57277         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57278         gotos.
57279         (__cos): Likewise.
57281 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57283         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57284         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57285         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57286         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57287         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57288         * elf/cache.c (print_entry): Handle the new cache flags.
57290 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57291             Aldy Hernandez  <aldyh@redhat.com>
57293         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57294         Change condition to [_SOFT_FLOAT].
57295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57297         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57301         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57307         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57310         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57311         declaration.
57313 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57315         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57316         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57317         (__longjmp): Use LOAD_GP to load saved GPRs.
57318         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57319         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57320         (__sigsetjmp): Use SAVE_GP to save GPRs.
57322         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57323         Do not append -msoft-float.
57324         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57326 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57328         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57330 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57332         [BZ #15966]
57333         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57334         (_FPU_GETCW): Use initial "__" on variable and field names but not
57335         on macro parameter name.
57336         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57337         parentheses around reference to macro parameter.
57339 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57341         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57342         prototype.
57343         (ctype_startup): Use uint32_t in cast and sizeof for
57344         ctype->charnames.
57346 2013-09-11  Jia Liu  <proljc@gmail.com>
57348         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57349         __daddr_t_defined.
57350         [__FreeBSD__]: Likewise.
57352 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57354         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57355         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57356         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57357         (strchr): Remove __strchr_sse42 ifunc selection.
57358         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57359         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57361 2013-09-11  Will Newton  <will.newton@linaro.org>
57363         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57364         parameter to RES. Remove hardcoded 1000 value.
57365         * benchtests/bench-skeleton.c (main): Pass RES parameter
57366         to TIMING_INIT and multiply result by 1000.
57368 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57372 2013-09-11  Andreas Schwab  <schwab@suse.de>
57374         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57375         if not defined.
57376         (O_TMPFILE) [__USE_GNU]: Define.
57377         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57378         Define.
57380 2013-09-11  Will Newton  <will.newton@linaro.org>
57382         [BZ #15857]
57383         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57384         does not overflow.
57386 2013-09-11  Will Newton  <will.newton@linaro.org>
57388         [BZ #15856]
57389         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57390         does not overflow.
57392 2013-09-11  Will Newton  <will.newton@linaro.org>
57394         [BZ #15855]
57395         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57396         does not overflow.
57398 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57400         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57401         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57402         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57403         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57404         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57406 2013-09-10  Allan McRae  <allan@archlinux.org>
57408         [BZ #15748]
57409         * manual/arith.texi (Parsing of Floats): Clarify
57410         cross-reference.
57412         [BZ #15849]
57413         * manual/install.texi (Running make install): Mention
57414         --enable-pt-chown.
57415         * INSTALL: Regenerated.
57417 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57419         * csu/init-first.c (_init): Remove the !SHARED condition around
57420         FPU control word initialization.
57421         * elf/dl-support.c (_dl_fpu_control): New variable.
57422         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57423         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57424         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57425         * math/test-fpucw-static.c: New file.
57426         * math/test-fpucw-ieee.c: New file.
57427         * math/test-fpucw-ieee-static.c: New file.
57428         * math/Makefile (tests): Add `test-fpucw-ieee' and
57429         `$(tests-static)'.
57430         (tests-static): New variable.
57431         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57432         dependency to...
57433         [($(build-shared),yes)]
57434         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57435         ... this.
57436         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57437         New dependency.
57439 2013-09-09  Allan McRae  <allan@archlinux.org>
57441         [BZ #15939]
57442         * manual/string.texi (Collation Functions): Fix typo in
57443         strcoll example.
57444         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57446         [BZ #15893]
57447         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57449         [BZ #15892]
57450         * libio/memstream.c (open_memstream): Fix memory leak.
57451         * libio/wmemstream.c (open_wmemstream): Likewise.
57453         [BZ #15895]
57454         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57456 2013-09-09  Will Newton  <will.newton@linaro.org>
57458         * malloc/Makefile: Add tst-realloc to tests.
57459         * malloc/tst-realloc.c: New file.
57461 2013-09-09  Allan McRae  <allan@archlinux.org>
57463         [BZ #15844]
57464         * COPYING: Update from GNU website to fix FSF address.
57465         * COPYING.LIB: Likewise.
57467 2013-09-06  David S. Miller  <davem@davemloft.net>
57469         * po/zh_TW.po: Update Chinese (traditional) translation from
57470         translation project.
57472 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57473             Joseph Myers  <joseph@codesourcery.com>
57475         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57476         "localeinfo.h".
57477         (obstack_chunk_alloc): New macro.
57478         (obstack_chunk_free): Likewise.
57479         (record_offset): New function.
57480         (init_locale_data): Likewise.
57481         (align_locale_data): Likewise.
57482         (add_locale_empty): Likewise.
57483         (add_locale_raw_data): Likewise.
57484         (add_locale_raw_obstack): Likewise.
57485         (add_locale_string): Likewise.
57486         (add_locale_wstring): Likewise.
57487         (add_locale_uint32): Likewise.
57488         (add_locale_uint32_array): Likewise.
57489         (add_locale_char): Likewise.
57490         (start_locale_structure): Likewise.
57491         (end_locale_structure): Likewise.
57492         (start_locale_prelude): Likewise.
57493         (end_locale_prelude): Likewise.
57494         (write_locale_data): Take locale_file structure rather than an
57495         iovec.
57496         * locale/programs/locfile.h: Include "obstack.h".
57497         (struct locale_file): Change to store locale file contents instead
57498         of header.
57499         (init_locale_data): New prototype.
57500         (align_locale_data): Likewise.
57501         (add_locale_empty): Likewise.
57502         (add_locale_raw_data): Likewise.
57503         (add_locale_raw_obstack): Likewise.
57504         (add_locale_string): Likewise.
57505         (add_locale_wstring): Likewise.
57506         (add_locale_uint32): Likewise.
57507         (add_locale_uint32_array): Likewise.
57508         (add_locale_char): Likewise.
57509         (start_locale_structure): Likewise.
57510         (end_locale_structure): Likewise.
57511         (start_locale_prelude): Likewise.
57512         (end_locale_prelude): Likewise.
57513         (write_locale_data): Update prototype.
57514         * locale/programs/3level.h (struct TABLE): Remove result field.
57515         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57516         Use new locale_file interface.
57517         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57518         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57519         * locale/programs/ld-address.c (address_output): Use new
57520         locale_file interface.
57521         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57522         NO_ADD_LOCALE.
57523         (collate_finish): Don't call collseq_table_finalize.
57524         (collate_output): Use new locale_file interface.
57525         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57526         in file.
57527         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57528         (TABLE): Move defines earlier in file.
57529         (ELEMENT): Likewise.
57530         (DEFAULT): Likewise.
57531         (wctrans_table_add): Move macro and inline function earlier in
57532         file.
57533         (struct wctype_table): Move type earlier in file.
57534         (add_locale_wctype_table): New static prototype.
57535         (struct locale_ctype_t): Use logical types instead of struct iovec
57536         pointers for members.
57537         (ctype_output): Use new locale_file interface.
57538         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57539         new locale_file interface.
57540         (allocate_arrays): Update for use of new locale_file interface.
57541         * locale/programs/ld-identification.c (identification_output): Use
57542         new locale_file interface.
57543         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57544         * locale/programs/ld-messages.c (messages_output): Likewise.
57545         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57546         * locale/programs/ld-name.c (name_output): Likewise.
57547         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57548         * locale/programs/ld-paper.c (paper_output): Likewise.
57549         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57550         * locale/programs/ld-time.c (time_output): Likewise.
57552 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57554         * benchtests/Makefile: Add memrchr benchmark.
57555         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57556         benchmark as memrchr.
57557         * benchtests/bench-memrchr-ifunc.c: New file.
57558         * benchtests/bench-memrchr.c: New file.
57560 2013-09-06   Will Newton  <will.newton@linaro.org>
57562         * benchtests/Makefile (string-bench): Add memcpy.
57564 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57565             Cong Wang  <amwang@redhat.com>
57567         [BZ #15850]
57568         * sysdeps/unix/sysv/linux/bits/in.h
57569         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57570         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57571         before __USE_KERNEL_IPV6_DEFS uses.
57572         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57573         IPPROTO_BEETPH.
57574         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57575         sockaddr_in6, or ipv6_mreq.
57577 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57579         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57580         memory access for final bytes in some large inputs.
57581         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57583 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57585         * string/test-memrchr.c: New file.
57586         * string/test-memrchr-ifunc.c: New file.
57587         * string/Makefile: Add new memrchr testcase.
57589 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57591         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57592         fanotify_init returns EPERM.
57594 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57596         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57597         errors.
57598         (top level): Treat second token from macro or constant entries for
57599         allowed headers as allowed.
57600         * include/complex.h: Condition internal declarations on
57601         [!_ISOMAC].
57602         * include/fenv.h: Condition include of <stdbool.h> and internal
57603         declarations on [!_ISOMAC].
57605 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57607         [BZ #15923]
57608         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57610 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57612         * configure.in (--enable-versioning): Remove configure option.
57613         (libc_cv_asm_symver_directive): Remove configure test.
57614         (libc_cv_ld_version_script_option): Likewise.
57615         (VERSIONING): Remove variable and AC_SUBST.
57616         (DO_VERSIONING): Remove AC_DEFINE.
57617         * configure: Regenerated.
57618         * config.h.in (DO_VERSIONING): Remove macro.
57619         * Makerules [$(versioning) = yes]: Change conditionals to
57620         [$(build-shared) = yes].
57621         * config.make.in (versioning): Remove variable.
57622         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57623         [$(build-shared) = yes].
57624         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57625         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57626         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57627         [$(build-shared) = yes].
57628         * extra-lib.mk [$(versioning) = yes]: Likewise.
57629         * hurd/Makefile [$(versioning) = yes]: Likewise.
57630         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57631         [SHARED].
57632         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57633         [SHARED].
57634         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57635         [SHARED && !NO_HIDDEN].
57636         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57637         [SHARED].
57638         [SHARED && DO_VERSIONING]: Likewise..
57639         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57640         [$(build-shared) = yes].
57641         * manual/install.texi (--disable-versioning): Remove
57642         documentation.
57643         * INSTALL: Regenerated.
57644         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57645         to [SHARED].
57646         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57647         [$(build-shared) = yes].
57648         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57649         * sysdeps/i386/i686/multiarch/strstr-c.c
57650         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57651         [SHARED && !NO_HIDDEN].
57652         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57653         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57654         * sysdeps/powerpc/powerpc32/dl-machine.c
57655         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57656         * sysdeps/powerpc/powerpc32/sysdep.h
57657         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57658         to [SHARED && PIC && !NO_HIDDEN].
57659         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57660         conditional to [SHARED].
57662 2013-09-04   Will Newton  <will.newton@linaro.org>
57664         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57665         * benchtests/bench-string.h: Include bench-timing.h instead
57666         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57667         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57668         call to HP_TIMING_DIFF_INIT.
57669         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57670         instead of hp-timing.h macros.
57671         * benchtests/bench-memchr.c: Likewise.
57672         * benchtests/bench-memcmp.c: Likewise.
57673         * benchtests/bench-memcpy.c: Likewise.
57674         * benchtests/bench-memmem.c: Likewise.
57675         * benchtests/bench-memmove.c: Likewise.
57676         * benchtests/bench-memset.c: Likewise.
57677         * benchtests/bench-rawmemchr.c: Likewise.
57678         * benchtests/bench-strcasecmp.c: Likewise.
57679         * benchtests/bench-strcasestr.c: Likewise.
57680         * benchtests/bench-strcat.c: Likewise.
57681         * benchtests/bench-strchr.c: Likewise.
57682         * benchtests/bench-strcmp.c: Likewise.
57683         * benchtests/bench-strcpy.c: Likewise.
57684         * benchtests/bench-strcpy_chk.c: Likewise.
57685         * benchtests/bench-strlen.c: Likewise.
57686         * benchtests/bench-strncasecmp.c: Likewise.
57687         * benchtests/bench-strncat.c: Likewise.
57688         * benchtests/bench-strncmp.c: Likewise.
57689         * benchtests/bench-strncpy.c: Likewise.
57690         * benchtests/bench-strnlen.c: Likewise.
57691         * benchtests/bench-strpbrk.c: Likewise.
57692         * benchtests/bench-strrchr.c: Likewise.
57693         * benchtests/bench-strspn.c: Likewise.
57694         * benchtests/bench-strstr.c: Likewise.
57696 2013-09-04  Will Newton  <will.newton@linaro.org>
57698         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57700 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57702         [BZ #15427]
57703         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57704         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57705         * math/libm-test.inc (lgamma_test_data): Add more tests.
57706         * sysdeps/i386/fpu/libm-test-ulps: Update.
57707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57709 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57711         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57712         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57713         Add ifunc.
57714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57715         Add strcmp-sse2-unaligned
57716         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57718 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57720         * Versions.def (libc): Add GLIBC_2.19.
57722 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57724         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57725         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57727 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57729         [BZ #14155]
57730         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57731         intermediate calculations in recurrence.
57732         (__ieee754_ynf): Likewise.
57733         * math/libm-test.inc (jn_test_data): Do not allow spurious
57734         underflow exception.  Add more tests.
57735         (yn_test_data): Add more tests.
57736         * sysdeps/i386/fpu/libm-test-ulps: Update.
57737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57739 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57741         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57743 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57745         * csu/init-first.c: Fix then/than typos.
57746         * locale/programs/ld-collate.c: Likewise.
57747         * locale/programs/linereader.h: Likewise.
57748         * manual/charset.texi: Likewise.
57749         * manual/filesys.texi: Likewise.
57750         * manual/stdio.texi: Likewise.
57751         * manual/string.texi: Likewise.
57752         * stdlib/fmtmsg.c: Likewise.
57753         * sysdeps/i386/stpncpy.S: Likewise.
57754         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57755         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57756         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57757         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57759 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57761         * elf/dl-open.c: Fix typos.
57762         * iconvdata/gbbig5.c: Likewise.
57763         * iconvdata/iso-2022-jp.c: Likewise.
57764         * iconv/gconv_int.h: Likewise.
57765         * iconv/loop.c: Likewise.
57766         * nis/rpcsvc/nis.h: Likewise.
57767         * resolv/ns_name.c: Likewise.
57768         * stdio-common/vfscanf.c: Likewise.
57769         * streams/stropts.h: Likewise.
57770         * sunrpc/rpc_thread.c: Likewise.
57771         * sysdeps/i386/strpbrk.S: Likewise.
57772         * sysdeps/ieee754/k_standard.c: Likewise.
57773         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57774         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57775         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57776         * sysdeps/mach/hurd/profil.c: Likewise.
57777         * sysdeps/s390/dl-procinfo.h: Likewise.
57778         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57779         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57780         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57781         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57782         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57784 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57786         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57789 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57791         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57792         aix specific files.
57793         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57794         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57795         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57796         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57797         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57798         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57799         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57800         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57802 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57803             Roland McGrath  <roland@hack.frob.com>
57805         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57806         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57808 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57810         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57811         __executable_start symbol instead of _start.
57813 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57815         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57816         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57817         Move macros to...
57818         * sysdeps/gnu/ldsodefs.h: ... this new file.
57820         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57821         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57822         instead of ELFOSABI_LINUX.
57824         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57825         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57826         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57827         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57828         Likewise.
57829         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57830         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57831         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57832         Likewise.
57833         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57834         (ibm_extended_long_double): Add ieee_nan member.
57835         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57836         (do_test): New function.
57838         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57839         TEST_TRUNC.
57840         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57841         functions, renamed from truncdfsf_test, trunctfsf_test,
57842         trunctfdf_test.
57843         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57844         functions.
57845         (do_test): Run all these.
57847 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
57849         * argp/argp-help.c: Fix typos.
57850         * argp/argp-parse.c: Likewise.
57851         * debug/backtracesyms.c: Likewise.
57852         * elf/elf.h: Likewise.
57853         * malloc/malloc.c: Likewise.
57854         * nis/nis_print.c: Likewise.
57855         * resolv/res_comp.c: Likewise.
57856         * stdlib/stdlib.h: Likewise.
57857         * sunrpc/clnt_tcp.c: Likewise.
57858         * sunrpc/clnt_udp.c: Likewise.
57859         * sunrpc/clnt_unix.c: Likewise.
57860         * sysdeps/unix/bsd/ptsname.c: Likewise.
57861         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
57862         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
57863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
57864         Likewise.
57865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
57866         Likewise.
57867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
57868         Likewise.
57869         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57871 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57873         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
57874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57876 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
57878         [BZ #15897]
57879         * dlfcn/Makefile (tests): Add bug-dl-leaf.
57880         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
57881         ($(objpfx)bug-dl-leaf): New rule.
57882         ($(objpfx)bug-dl-leaf.so): Likewise.
57883         ($(objpfx)bug-dl-leaf.out): Likewise.
57884         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
57885         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
57886         * dlfcn/bug-dl-leaf.c: New test.
57887         * dlfcn/bug-dl-leaf-lib.c: Likewise.
57888         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
57889         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
57890         (dlclose): Likewise.
57891         (dlmopen): Likewise.
57893 2013-08-27  Roland McGrath  <roland@hack.frob.com>
57895         * include/netdb.h [!_ISOMAC]:
57896         Don't include <tls.h>.
57897         (h_errno, __libc_h_errno): Move declaration and macros out of
57898         [_LIBC_REENTRANT].
57900         * include/resolv.h [_RESOLV_H_]:
57901         Don't include <tls.h>.
57902         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
57903         * resolv/res_libc.c: Don't include <tls.h>.
57904         (_res): Use __attribute__ ((nocommon)) in place of
57905         __attribute__ ((section (".bss"))).
57907         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
57908         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
57910         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
57912         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
57913         only under [SIOCGIFCONF && SIOCGIFNETMASK].
57915         * resolv/res_mkquery.c: Include <sys/time.h>.
57917         * inet/ifreq.c: Moved to ...
57918         * sysdeps/unix/ifreq.c: ... here.
57919         * inet/ifreq.c: New file, true stub version.
57921         * socket/sa_len.c: New file.
57922         * socket/Makefile (aux): Add it.
57923         * sysdeps/unix/sysv/linux/Makefile
57924         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
57925         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
57926         and #include <socket/sa_len.c>.
57927         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
57928         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
57930         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
57931         * bits/socket.h: ... here.
57933         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
57934         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
57935         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
57937 2013-08-27  Andreas Schwab  <schwab@suse.de>
57939         [BZ #15736]
57940         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
57941         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
57942         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
57943         * string/test-strcasecmp.c (test_main): Run tests in several
57944         locales.
57945         * string/test-strncasecmp.c (test_main): Likewise.
57947         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
57948         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
57949         to __strcasecmp_nonascii and __strncasecmp_nonascii.
57950         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
57951         (__strncasecmp_ssse3) [PIC]: Likewise.
57953 2013-08-26  Roland McGrath  <roland@hack.frob.com>
57955         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
57957         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
57958         instead of explicitly declaring xdecrypt.
57959         * nis/nss_nis/nis-publickey.c: Likewise.
57961 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57963         [BZ #15890]
57964         * nscd/aicache.c: Include res_hconf.h.
57965         (addhstaiX): Initialize res_hconf.
57967 2013-08-26  Andreas Schwab  <schwab@suse.de>
57969         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
57970         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
57972 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57974         * nscd/aicache.c (addhstaiX): Fix indentation.
57976 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
57978         * configure.ac: Quote $build_pt_chown test.
57979         * configure: Regenerated.
57981 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
57983         [BZ #15532]
57984         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
57985         * math/s_cexpf.c (__cexpf): Likewise.
57986         * math/s_cexpl.c (__cexpl): Likewise.
57987         * math/libm-test.inc (cexp_test_data): Correct expected return
57988         value for NaN + i0.  Add another test.
57990 2013-08-22  David S. Miller  <davem@davemloft.net>
57992         * po/ca.po: Update Catalan translation from translation project.
57993         * po/uk.po: Add Ukrainian translations from translation project.
57995 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
57997         [BZ #15797]
57998         * math/s_fdim.c (__fdim): Check for infinite arguments if result
57999         is infinite, not alongside NaN test.
58000         * math/s_fdimf.c (__fdimf): Likewise.
58001         * math/s_fdiml.c (__fdiml): Likewise.
58002         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58003         errno is unchanged.
58005 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58007         * argp/argp-help.c: Fix typos.
58008         * crypt/speeds.c: Likewise.
58009         * csu/check_fds.c: Likewise.
58010         * elf/dl-load.c: Likewise.
58011         * elf/dl-open.c: Likewise.
58012         * elf/reldep3.c: Likewise.
58013         * elf/reldep.c: Likewise.
58014         * elf/sprof.c: Likewise.
58015         * iconv/iconv_charmap.c: Likewise.
58016         * iconv/skeleton.c: Likewise.
58017         * iconv/strtab.c: Likewise.
58018         * io/lockf64.c: Likewise.
58019         * libio/libioP.h: Likewise.
58020         * resolv/gai_notify.c: Likewise.
58021         * resolv/ns_name.c: Likewise.
58022         * resolv/ns_samedomain.c: Likewise.
58023         * resolv/res_send.c: Likewise.
58024         * stdlib/random.c: Likewise.
58025         * sunrpc/rpc/xdr.h: Likewise.
58026         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58027         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58028         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58029         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58030         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58031         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58032         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58033         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58034         * sysdeps/mach/hurd/check_fds.c: Likewise.
58035         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58036         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58037         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58038         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58039         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58040         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58041         * sysdeps/pthread/aio_notify.c: Likewise.
58042         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58043         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58044         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58045         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58046         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58048 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58050         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58051         version if bit_Slow_SSE4_2 is set.
58052         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58053         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58055 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58057         [BZ #15867]
58058         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58059         trampoline stack frame information.
58060         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58061         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58062         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58063         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58064         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58065         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58066         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58067         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58068         sa_flags value.
58069         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58070         interrupting a syscall and set with option SA_SIGINFO.
58072 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58074         [BZ #15531]
58075         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58076         argument is infinite.
58077         * math/s_cprojf.c (__cprojf): Likewise.
58078         * math/s_cprojl.c (__cprojl): Likewise.
58079         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58080         * math/libm-test.inc (cproj_test_data): Add more tests.
58082         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58084         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58085         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58086         size.  Use __ffs to determine corresponding shift.
58088 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58089             Roland McGrath  <roland@hack.frob.com>
58091         * Makefile (INSTALL): Remove trailing blank lines from output of
58092         makeinfo.
58094 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58096         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58097         Align 32 bit compat elf_greg to 8 bytes.
58099 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58101         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58103 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58105         * string/strcoll_l.c (coll_seq): New structure.
58106         (get_next_seq_cached): New function.
58107         (get_next_seq): New function.
58108         (do_compare): New function.
58109         (STRCOLL): Use GNU style definition.  Simplify implementation
58110         by using get_next_seq, get_next_seq_cached and do_compare.
58112 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58114         [BZ #14699]
58115         CVE-2013-4237
58116         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58117         member.
58118         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58119         member.
58120         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58121         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58122         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58123         conditional.
58124         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58125         GETDENTS_64BIT_ALIGNED.
58126         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58127         * manual/filesys.texi (Reading/Closing Directory): Document
58128         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58129         strongly.
58130         * manual/conf.texi (Limits for Files): Add portability note to
58131         NAME_MAX, PATH_MAX.
58132         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58134 2013-08-13  Andreas Schwab  <schwab@suse.de>
58136         [BZ #15749]
58137         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58138         of fabs.
58139         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58140         LDBL_MAX_EXP >= 16384]: Add tests for it.
58142 2013-08-12  David S. Miller  <davem@davemloft.net>
58144         * version.h (RELEASE): Set to "development".
58145         (VERSION): Set to "2.18.90".
58146         * NEWS: Add 2.19 section.
58148 2013-08-03  David S. Miller  <davem@davemloft.net>
58150         * po/ko.po: Update Korean translation from translation project.
58152 2013-08-01  David S. Miller  <davem@davemloft.net>
58154         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58155         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58156         Bilka.
58158 2013-07-30  David S. Miller  <davem@davemloft.net>
58160         * po/fr.po: Update French translation from translation project.
58162 2013-07-28  David S. Miller  <davem@davemloft.net>
58164         * po/cs.po: Update Czech translation from translation project.
58166         * po/sv.po: Update Swedish translation from translation project.
58168 2013-07-27  David S. Miller  <davem@davemloft.net>
58170         * po/eo.po: Update Esperanto translation from translation project.
58172         * po/vi.po: Update Vietnamese translation from translation project.
58174         * po/de.po: Update German translation from translation project.
58176 2013-07-26  David S. Miller  <davem@davemloft.net>
58178         * po/bg.po: Update Bulgarian translation from translation project.
58180         * po/nl.po: Update Dutch translation from translation project.
58181         * po/pl.po: Update Polish translation from translation project.
58182         * po/ru.po: Update Russian translation from translation project.
58184 2013-07-24  David S. Miller  <davem@davemloft.net>
58186         * po/libc.pot: Update.
58188 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58190         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58191         variable page size.
58192         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58193         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58194         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58196 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58198         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58200 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58201             Andreas Schwab  <schwab@suse.de>
58202             Roland McGrath  <roland@hack.frob.com>
58203             Joseph Myers  <joseph@codesourcery.com>
58204             Carlos O'Donell  <carlos@redhat.com>
58206         [BZ #15755]
58207         * config.h.in: Define HAVE_PT_CHOWN.
58208         * config.make.in (build-pt-chown): New variable.
58209         * configure.in (--enable-pt_chown): New configure option.
58210         * configure: Regenerate.
58211         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58212         build-pt-chown is enabled.
58213         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58214         pt_chown to fix pty ownership.
58215         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58216         CLOSE_ALL_FDS.
58217         * manual/install.texi (Configuring and compiling): Mention
58218         --enable-pt_chown. Add @findex for grantpt.
58219         * INSTALL: Regenerate.
58221 2013-07-20  David S. Miller  <davem@davemloft.net>
58223         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58224         difference between 32-bit and 64-bit.
58226 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58228         [BZ #15711]
58229         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58230         Avoid system header dependency with -ffreestanding.
58231         ($(objpfx)bits/syscall%d): Likewise.
58233 2013-07-13  David S. Miller  <davem@davemloft.net>
58235         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58236         underflows from atanl/atan2l due to bug 15319.
58237         (casinh_test_data): Likewise.
58239 2013-07-07  David S. Miller  <davem@davemloft.net>
58241         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58243 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58245         * sysdeps/i386/fpu/libm-test-ulps: Update.
58246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58248 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58250         * configure.in (--enable-lock-elision): Fix message text.
58251         * INSTALL: Regenerate.
58252         * configure: Regenerate.
58254 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58258 2013-07-03  Andreas Jaeger  <aj@suse.de>
58260         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58261         define.
58262         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58263         (ptrace_peeksiginfo_args): Add.
58264         (__ptrace_peeksiginfo_flags): Add.
58265         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58266         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58267         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58269 2013-07-03  Allan McRae  <allan@archlinux.org>
58271         * sysdeps/i386/fpu/libm-test-ulps: Update.
58273 2013-07-02  David S. Miller  <davem@davemloft.net>
58275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58277 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58279         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58281 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58283         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58286 2013-07-02  Andi Kleen <ak@linux.intel.com>
58288         * config.h.in (ENABLE_LOCK_ELISION): Add.
58289         * configure.in (--enable-lock-elision): Add option.
58290         * manual/install.texi: Document --enable lock elision.
58291         * configure: Regenerate
58292         * INSTALL: Regenerate.
58294 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58296         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58297         SSE4.2 strcasecmp for libc.a.
58298         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58300 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58302         [BZ #13304]
58303         * soft-fp/op-common.h (_FP_FMA): New macro.
58304         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58305         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58306         (_FP_MUL_MEAT_1_imm): ... here.
58307         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58308         (_FP_MUL_MEAT_1_wide): ... here.
58309         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58310         (_FP_MUL_MEAT_1_hard): ... here.
58311         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58312         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58313         (_FP_MUL_MEAT_2_wide): ... here.
58314         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58315         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58316         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58317         (_FP_MUL_MEAT_2_gmp): ... here.
58318         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58319         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58320         (_FP_MUL_MEAT_4_wide): ... here.
58321         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58322         (_FP_MUL_MEAT_4_gmp): ... here.
58323         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58324         (_FP_WFRACBITS_DW_S): Likewise.
58325         (_FP_WFRACXBITS_DW_S): Likewise.
58326         (_FP_HIGHBIT_DW_S): Likewise.
58327         (FP_FMA_S): Likewise.
58328         (_FP_FRAC_HIGH_DW_S): Likewise.
58329         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58330         (_FP_WFRACBITS_DW_D): Likewise.
58331         (_FP_WFRACXBITS_DW_D): Likewise.
58332         (_FP_HIGHBIT_DW_D): Likewise.
58333         (FP_FMA_D): Likewise.
58334         (_FP_FRAC_HIGH_DW_D): Likewise.
58335         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58336         (_FP_WFRACBITS_DW_E): Likewise.
58337         (_FP_WFRACXBITS_DW_E): Likewise.
58338         (_FP_HIGHBIT_DW_E): Likewise.
58339         (FP_FMA_E): Likewise.
58340         (_FP_FRAC_HIGH_DW_E): Likewise.
58341         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58342         (_FP_WFRACBITS_DW_Q): Likewise.
58343         (_FP_WFRACXBITS_DW_Q): Likewise.
58344         (_FP_HIGHBIT_DW_Q): Likewise.
58345         (FP_FMA_Q): Likewise.
58346         (_FP_FRAC_HIGH_DW_Q): Likewise.
58347         * soft-fp/fmasf4.c: New file.
58348         * soft-fp/fmadf4.c: Likewise.
58349         * soft-fp/fmatf4.c: Likewise.
58351 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58354         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58355         Silvermont.
58356         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58357         macro.
58358         (index_Slow_SSE4_2): Likewise.
58359         (index_Prefer_PMINUB_for_stringop): Likewise.
58360         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58361         bit_Slow_SSE4_2 is set.
58362         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58363         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58365 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58367         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58368         rtld_global._dl_hwcap2.
58369         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58370         POWER8.
58371         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58372         POWER8 feature descriptions defined in _dl_hwcap2.
58373         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58374         string handling for POWER8 feature bits.
58375         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58376         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58377         _dl_powerpc_cap_flags.
58378         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58379         * sysdeps/powerpc/rtld-global-offsets.sym
58380         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58381         _dl_hwcap2 in the rtld_global_ro structure.
58383 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58385         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58386         hardware capabilities in support of AT_HWCAP2.
58387         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58388         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58389         GLRO(dl_hwcap2).
58390         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58391         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58392         explicitly the unknown a_type display mechanism is used.
58393         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58394         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58395         struct member.
58396         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58397         to macro prototype for AT_HWCAP2 support.
58398         * sysdeps/i386/dl-procinfo.h: Likewise.
58399         * sysdeps/s390/dl-procinfo.h: Likewise.
58400         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58401         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58402         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58403         return -1 for unknown a_type display fallback.
58404         * sysdeps/sparc/dl-procinfo.h: Likewise.
58405         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58406         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58408 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58410         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58411         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58413 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58415         [BZ #12492]
58416         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58417         mprotect making __stack_prot writable.
58419 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58420             Joseph Myers  <joseph@codesourcery.com>
58422         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58423         as being properly aligned.
58425 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58427         * dlfcn/modstatic5.c: New file.
58428         * dlfcn/tststatic5.c: New file.
58429         * dlfcn/Makefile (tests): Add tststatic5.
58430         (tests-static): Likewise.
58431         (modules-names): Add modstatic5.
58432         (tststatic5-ENV): New variable.
58433         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58435         [BZ #15022]
58436         * elf/dl-support.c (_dl_main_map): New variable.
58437         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58438         (_dl_nns, _dl_load_adds): Set to 1.
58439         (_dl_initial_searchlist): Refer to _dl_main_map.
58440         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58441         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58442         call to _dl_get_origin.
58443         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58444         around call_map.
58445         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58446         * dlfcn/modstatic3.c: New file.
58447         * dlfcn/tststatic3.c: New file.
58448         * dlfcn/tststatic4.c: New file.
58449         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58450         (tests-static): Likewise.
58451         (modules-names): Add modstatic3.
58452         (tststatic3-ENV, tststatic4-ENV): New variables.
58453         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58454         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58456 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58458         * configure.in (CC): Require GCC version 4.4 or later.
58459         * configure: Regenerated.
58460         * manual/install.texi (Tools for Compilation): Update GCC version
58461         requirement.
58462         * INSTALL: Regenerated.
58464 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58466         [BZ #15674]
58467         * string/test-memcmp.c (check2): New.
58468         (main): Call check2.
58470         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58472 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58474         [BZ #15022]
58475         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58476         over to...
58477         (dl_open_worker) [!SHARED]: ... here.
58479 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58481         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58483 2013-06-25  Richard Henderson  <rth@redhat.com>
58485         * locale/programs/locarchive.c: Include <libc-internal.h>
58487 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58489         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58490         trailing whitespace removed.
58492 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58494         [BZ #10283]
58495         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58496         * locale/programs/locarchive.c: Include libc-mmap.h.
58497         (prepare_address_space): Take two new outputs (the mmap base and len).
58498         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58499         values.
58500         (create_archive): Declare new mmap base and len values for
58501         prepare_address_space, and store the result in ah.
58502         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58503         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58504         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58505         Declare new mmap base and len values for
58506         prepare_address_space, and store the result in new_ah.
58507         (open_archive): Declare new mmap base and len values for
58508         prepare_address_space, and store the result in ah.
58509         (close_archive): If ah->mmap_base is not NULL, use that and
58510         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58511         * sysdeps/generic/libc-mmap.h: New file.
58513 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58515         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58516         (ALIGN_UP): Likewise.
58517         (PTR_ALIGN_DOWN): Likewise.
58518         (PTR_ALIGN_UP): Likewise.
58520 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58522         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58523         entry mapped to PPC_PLATFORM_POWER8.
58524         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58525         POWER8.
58526         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58527         (_dl_string_platform): Add case for exporting platform position for
58528         POWER8.
58529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58530         search path to sysdeps/powerpc/powerpc32/power8 directory.
58531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58532         search path to sysdeps/powerpc/powerpc64/power8 directory.
58533         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58534         power7 directories.
58535         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58536         power7 directories.
58538 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58540         * INSTALL: Regenerate.
58542         * nscd/connections.c (nscd_init): Fix comment.
58544 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58546         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58548         [BZ #15667]
58549         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58550         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58552 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58554         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58555         DL_DST_REQ_STATIC.
58556         (DL_DST_REQ_STATIC): Remove macro.
58558 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58560         [BZ #7006]
58561         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58562         with a shift of 0 bits.
58564 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58566         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58567         $(tststatic-ENV).
58569 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58571         [BZ #15655]
58572         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58574 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58576         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58577         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58578         accepts -fno-tree-loop-distribute-patterns.
58579         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58580         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58581         recursive call.
58582         * string/memset.c (memset): Likewise.
58583         * string/test-memmove.c (simple_memmove): Disable loop transformation
58584         to library calls.
58585         * string/test-memset.c (simple_memset): Likewise.
58586         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58587         * benchtests/bench-memset.c (simple_memset): Likewise.
58588         * configure: Regenerated.
58590 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58592         * math/test-misc.c (main): Ignore fesetround failure when failures
58593         of subsequent rounding tests would be ignored.
58595         [BZ #15654]
58596         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58597         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58598         * math/fegetenv.c (__fegetenv): Return 0.
58599         * math/fegetexcept.c (fegetexcept): Return 0.
58600         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58601         FE_TONEAREST.
58602         * math/feholdexcpt.c (feholdexcept): Return 0.
58603         * math/fesetenv.c (__fesetenv): Return 0.
58604         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58605         argument FE_TONEAREST.
58606         * math/feupdateenv.c (__feupdateenv): Return 0.
58607         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58609 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58611         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58612         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58613         ($(objpfx)rtld-%.os rules): Use them.
58615 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58617         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58618         fields.
58620 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58622         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58623         length of target pattern, then descending length of dependency pattern.
58624         * configure.in (AWK): Require gawk 3.1.2 or newer.
58625         * manual/install.texi (Tools for Compilation): Say that we do.
58626         * configure: Regenerated.
58628         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58629         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58630         * scripts/sysd-rules.awk: ... this new script.
58631         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58632         than a glob-style pattern.
58634 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58636         * math/test-misc.c (main): Do not treat incorrectly rounded
58637         conversions as failure unless ROUNDING_TESTS passes.
58639 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58641         [BZ #15631]
58642         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58643         restore exception state around main square root computation, then
58644         check for inexactness explicitly.
58646         * math/libm-test.inc (fma_test_data): Add another test.
58648 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58650         * manual/threads.texi (Non-POSIX Extensions): New document
58651         node.  Document pthread_getattr_default_np and
58652         pthread_setattr_default_np.
58654         * Versions.def (libpthread): Add GLIBC_2.18.
58655         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58657         Likewise.
58658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58659         Likewise.
58660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58661         Likewise.
58662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58663         Likewise.
58664         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58665         Likewise.
58666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58667         Likewise.
58668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58669         Likewise.
58670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58671         Likewise.
58672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58673         Likewise.
58675 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58678         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58680 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58681             H.J. Lu  <hjl.tools@gmail.com>
58683         [BZ #15627]
58684         * sysdeps/x86_64/rtld-memset.c: Remove file.
58685         * sysdeps/x86_64/rtld-memset.S: New file.
58687 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58689         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58690         (test_in_one_mode): Take arguments for whether the rounding mode
58691         is supported for each floating-point type.
58692         (do_test): Pass new arguments to test_in_one_mode using
58693         ROUNDING_TESTS.
58695 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58697         * posix/tst-waitid.c (do_test): Distinguish different instances of
58698         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58699         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58700         before entering the kernel for waitpid.
58702 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58704         * NEWS: Fix note on clock function precision.  Text by Roland
58705         McGrath.
58707 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58709         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58710         it into place only when and if the sanity check passes.
58712 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58714         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58715         output for whether conversion result is exact.  Take argument
58716         indicating whether type is IBM long double.
58717         (round_for_all): Change need_exact field to ibm_ld.
58718         * stdlib/tst-strtod-round.c (struct exactness): New type.
58719         (struct test): Change bool ld_ok field to struct exactness exact.
58720         (TEST): Update all definitions for change to field.
58721         (tests): Regenerate array contents.
58722         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58723         field value.  Check for IBM long double here.
58724         (do_test): Update calls to test_in_one_mode.
58726 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58728         [BZ #12515]
58729         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58730         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58732 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58734         [BZ #15605]
58735         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58736         generated by the compiler on loop optimizations.
58737         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58738         general definitions.
58740 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58742         * math/bug-nextafter.c: Include <math-tests.h>.
58743         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58744         the relevant type.
58745         * math/bug-nexttoward.c: Include <math-tests.h>.
58746         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58747         the relevant type.
58748         * math/test-misc.c: Include <math-tests.h>.
58749         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58750         the relevant type.
58752 2013-06-12  Andreas Jaeger  <aj@suse.de>
58754         * po/ia.po: Update Interlingua translation from translation
58755         project.
58757 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58759         * include/fenv.h: Include stdbool.h.
58760         (struct rm_ctx): New structure.
58761         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58762         Define macro.
58763         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58764         (SET_RESTORE_ROUNDF): Likewise.
58765         (SET_RESTORE_ROUNDL): Likewise.
58766         (SET_RESTORE_ROUND_NOEX): Likewise.
58767         (SET_RESTORE_ROUND_NOEXF): Likewise.
58768         (SET_RESTORE_ROUND_NOEXL): Likewise.
58769         (SET_RESTORE_ROUND_53BIT): Likewise.
58770         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58771         (libc_feresetround_noexf_ctx): Likewise.
58772         (libc_feresetround_noexl_ctx): Likewise.
58773         (libc_feholdsetround_53bit_ctx): Likewise.
58774         (libc_feresetround_53bit_ctx): Likewise.
58775         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58776         (libc_feholdexcept_setround_sse_ctx): New function.
58777         (libc_fesetenv_sse_ctx): Likewise.
58778         (libc_feupdateenv_sse_ctx): Likewise.
58779         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58780         (libc_feholdexcept_setround_387_ctx): Likewise.
58781         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58782         (libc_feholdsetround_387_prec_ctx): Likewise.
58783         (libc_feholdsetround_387_ctx): Likewise.
58784         (libc_feholdsetround_387_53bit_ctx): Likewise.
58785         (libc_feholdsetround_sse_ctx): Likewise.
58786         (libc_feresetround_sse_ctx): Likewise.
58787         (libc_feresetround_387_ctx): Likewise.
58788         (libc_feupdateenv_387_ctx): Likewise.
58789         (libc_feholdexcept_setroundf_ctx): Define macro.
58790         (libc_fesetenvf_ctx): Likewise.
58791         (libc_feupdateenvf_ctx): Likewise.
58792         (libc_feholdsetroundf_ctx): Likewise.
58793         (libc_feresetroundf_ctx): Likewise.
58794         (libc_feholdexcept_setround_ctx): Likewise.
58795         (libc_fesetenv_ctx): Likewise.
58796         (libc_feupdateenv_ctx): Likewise.
58797         (libc_feholdsetround_ctx): Likewise.
58798         (libc_feresetround_ctx): Likewise.
58799         (libc_feholdexcept_setroundl_ctx): Likewise.
58800         (libc_feupdateenvl_ctx): Likewise.
58801         (libc_feholdsetroundl_ctx): Likewise.
58802         (libc_feresetroundl_ctx): Likewise.
58803         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58804         (libc_feresetround_53bit_ctx): Likewise.
58806 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58808         * locale/iso-639.def: Convert to UTF-8.
58810 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58812         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58813         (EXCEPTION_TESTS_double): Likewise.
58814         (EXCEPTION_TESTS_long_double): Likewise.
58815         (EXCEPTION_TESTS): Likewise.
58816         * math/libm-test.inc (test_exceptions): Only test exceptions if
58817         EXCEPTION_TESTS (FLOAT).
58819 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58821         * benchtests/Makefile (string-bench): Add strcpy_chk and
58822         stpcpy_chk.
58823         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58824         * benchtests/bench-stpcpy_chk.c: New file.
58825         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58826         * benchtests/bench-strcpy_chk.c: New file.
58827         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58828         code.
58829         (do_test): Likewise.
58831 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58833         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58834         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58835         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58836         with tabs where appropriate.
58837         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58838         dl-procinfo.h.
58839         [PPC_PLATFORM_PPC440]: Likewise.
58840         [PPC_PLATFORM_PPC464]: Likewise.
58841         [PPC_PLATFORM_PPC476]: Likewise.
58842         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58843         ppc464, and ppc476 platform strings merging from ports/
58844         dl-procinfo.h.
58846 2013-06-11  Andreas Schwab  <schwab@suse.de>
58848         [BZ #14991]
58849         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
58850         (from_ucs4_idx): Regenerate.
58851         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
58852         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
58853         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
58854         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
58855         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
58856         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
58857         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
58858         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
58859         from FROM_LOOP and TO_LOOP specific macros.
58860         (BODY): Handle combining characters.
58861         * iconvdata/BIG5HKSCS.irreversible: Update.
58862         * iconvdata/BIG5HKSCS.precomposed: New file.
58863         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
58864         characters.
58865         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
58867 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58869         * include/sys/time.h: Fix indentation and add copyright header.
58871         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
58872         (do_test): Likewise.
58873         * string/test-memchr.c (do_one_test): Likewise.
58874         (do_test): Likewise.
58875         * string/test-memcmp.c (do_one_test): Likewise.
58876         (do_test): Likewise.
58877         * string/test-memcpy.c (do_one_test): Likewise.
58878         (do_test): Likewise.
58879         * string/test-memmem.c (do_one_test): Likewise.
58880         (do_test): Likewise.
58881         (do_random_tests): Likewise.
58882         * string/test-memmove.c (do_one_test): Likewise.
58883         (do_test): Likewise.
58884         * string/test-memset.c (do_one_test): Likewise.
58885         (do_test): Likewise.
58886         * string/test-rawmemchr.c (do_one_test): Likewise.
58887         (do_test): Likewise.
58888         * string/test-strcasecmp.c (do_one_test): Likewise.
58889         (do_test): Likewise.
58890         * string/test-strcasestr.c (do_one_test): Likewise.
58891         (do_test): Likewise.
58892         * string/test-strcat.c (do_one_test): Likewise.
58893         (do_test): Likewise.
58894         * string/test-strchr.c (do_one_test): Likewise.
58895         (do_test): Likewise.
58896         * string/test-strcmp.c (do_one_test): Likewise.
58897         (do_test): Likewise.
58898         * string/test-strcpy.c (do_one_test): Likewise.
58899         (do_test): Likewise.
58900         * string/test-string.h: Likewise.
58901         (test_init): Likewise.
58902         * string/test-strlen.c (do_one_test): Likewise.
58903         (do_test): Likewise.
58904         * string/test-strncasecmp.c (do_one_test): Likewise.
58905         (do_test): Likewise.
58906         * string/test-strncat.c (do_one_test): Likewise.
58907         (do_test): Likewise.
58908         * string/test-strncmp.c (do_one_test): Likewise.
58909         (do_test_limit): Likewise.
58910         (do_test): Likewise.
58911         * string/test-strncpy.c (do_one_test): Likewise.
58912         (do_test): Likewise.
58913         * string/test-strnlen.c (do_one_test): Likewise.
58914         (do_test): Likewise.
58915         * string/test-strpbrk.c (do_one_test): Likewise.
58916         (do_test): Likewise.
58917         * string/test-strrchr.c (do_one_test): Likewise.
58918         (do_test): Likewise.
58919         * string/test-strspn.c (do_one_test): Likewise.
58920         (do_test): Likewise.
58921         * string/test-strstr.c (do_one_test): Likewise.
58922         (do_test): Likewise.
58924         * benchtests/Makefile (string-bench): Add string benchmarks.
58925         * benchtests/bench-bcopy-ifunc.c: New file.
58926         * benchtests/bench-bcopy.c: New file.
58927         * benchtests/bench-bzero-ifunc.c: New file.
58928         * benchtests/bench-bzero.c: New file.
58929         * benchtests/bench-memccpy-ifunc.c: New file.
58930         * benchtests/bench-memccpy.c: New file.
58931         * benchtests/bench-memchr-ifunc.c: New file.
58932         * benchtests/bench-memchr.c: New file.
58933         * benchtests/bench-memcmp-ifunc.c: New file.
58934         * benchtests/bench-memcmp.c: New file.
58935         * benchtests/bench-memmem-ifunc.c: New file.
58936         * benchtests/bench-memmem.c: New file.
58937         * benchtests/bench-memmove-ifunc.c: New file.
58938         * benchtests/bench-memmove.c: New file.
58939         * benchtests/bench-mempcpy-ifunc.c: New file.
58940         * benchtests/bench-mempcpy.c: New file.
58941         * benchtests/bench-memset-ifunc.c: New file.
58942         * benchtests/bench-memset.c: New file.
58943         * benchtests/bench-rawmemchr-ifunc.c: New file.
58944         * benchtests/bench-rawmemchr.c: New file.
58945         * benchtests/bench-stpcpy-ifunc.c: New file.
58946         * benchtests/bench-stpcpy.c: New file.
58947         * benchtests/bench-stpncpy-ifunc.c: New file.
58948         * benchtests/bench-stpncpy.c: New file.
58949         * benchtests/bench-strcasecmp-ifunc.c: New file.
58950         * benchtests/bench-strcasecmp.c: New file.
58951         * benchtests/bench-strcasestr-ifunc.c: New file.
58952         * benchtests/bench-strcasestr.c: New file.
58953         * benchtests/bench-strcat-ifunc.c: New file.
58954         * benchtests/bench-strcat.c: New file.
58955         * benchtests/bench-strchr-ifunc.c: New file.
58956         * benchtests/bench-strchr.c: New file.
58957         * benchtests/bench-strchrnul-ifunc.c: New file.
58958         * benchtests/bench-strchrnul.c: New file.
58959         * benchtests/bench-strcmp-ifunc.c: New file.
58960         * benchtests/bench-strcmp.c: New file.
58961         * benchtests/bench-strcpy-ifunc.c: New file.
58962         * benchtests/bench-strcpy.c: New file.
58963         * benchtests/bench-strcspn-ifunc.c: New file.
58964         * benchtests/bench-strcspn.c: New file.
58965         * benchtests/bench-strlen-ifunc.c: New file.
58966         * benchtests/bench-strlen.c: New file.
58967         * benchtests/bench-strncasecmp-ifunc.c: New file.
58968         * benchtests/bench-strncasecmp.c: New file.
58969         * benchtests/bench-strncat-ifunc.c: New file.
58970         * benchtests/bench-strncat.c: New file.
58971         * benchtests/bench-strncmp-ifunc.c: New file.
58972         * benchtests/bench-strncmp.c: New file.
58973         * benchtests/bench-strncpy-ifunc.c: New file.
58974         * benchtests/bench-strncpy.c: New file.
58975         * benchtests/bench-strnlen-ifunc.c: New file.
58976         * benchtests/bench-strnlen.c: New file.
58977         * benchtests/bench-strpbrk-ifunc.c: New file.
58978         * benchtests/bench-strpbrk.c: New file.
58979         * benchtests/bench-strrchr-ifunc.c: New file.
58980         * benchtests/bench-strrchr.c: New file.
58981         * benchtests/bench-strspn-ifunc.c: New file.
58982         * benchtests/bench-strspn.c: New file.
58983         * benchtests/bench-strstr-ifunc.c: New file.
58984         * benchtests/bench-strstr.c: New file.
58986         * benchtests/Makefile: Disable parallel execution of targets.
58987         (string-bench): Add memcpy.
58988         (benchset): New variable to store a list of benchmark sets.
58989         (bench-func): Renamed from bench.
58990         (bench-set): New target.
58991         (bench): Depend on bench-func and bench-set.
58992         * benchtests/README: Add section on benchmark sets.
58993         * benchtests/bench-memcpy-ifunc.c: New file.
58994         * benchtests/bench-memcpy.c: New file.
58995         * benchtests/bench-string.h: New file.
58997 2013-06-11  Andreas Schwab  <schwab@suse.de>
58999         [BZ #15577]
59000         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59001         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59002         values in the triple.
59003         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59004         terminator in the group key.
59006 2013-06-11  Andreas Jaeger  <aj@suse.de>
59008         * po/zh_TW.po: Update Chinese (traditional) translation from
59009         translation project.
59011 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59013         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59014         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59015         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59016         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59017         (clock_getcpuclockid): Likewise.
59018         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59019         Add weak_alias and libc_hidden_def.
59020         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59021         * rt/clock_gettime.c (clock_gettime): Rename to
59022         __clock_gettime.  Add weak_alias and libc_hidden_def.
59023         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59024         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59025         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59026         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59027         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59028         Likewise.
59029         * rt/clock_settime.c (clock_settime): Rename to
59030         __clock_settime.  Add weak_alias and libc_hidden_def.
59031         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59033 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59035         * mach/err_boot.sub: Remove trailing whitespace.
59036         * mach/err_ipc.sub: Likewise.
59037         * mach/err_mach.sub: Likewise.
59039         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59040         (ROUNDING_TESTS_double): Likewise.
59041         (ROUNDING_TESTS_long_double): Likewise.
59042         (ROUNDING_TESTS): Likewise.
59043         * math/libm-test.inc: Include <math-tests.h>.
59044         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59045         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59046         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59047         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59049 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59051         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59052         of assigning.
59054 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59056         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59057         otherwise empty TRANS lines.
59058         * sysdeps/gnu/errlist.c: Regenerated.
59060         * catgets/gencat.c (error_print): Use (void) in function
59061         definition.
59062         * crypt/crypt_util.c (__init_des): Likewise.
59063         * crypt/speeds.c (Stop): Likewise.
59064         (main): Likewise.
59065         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59066         * inet/ruserpass.c (token): Likewise.
59067         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59068         * intl/localealias.c (extend_alias_table): Likewise.
59069         * intl/plural-exp.c (init_germanic_plural): Likewise.
59070         * libio/fcloseall.c (__fcloseall): Likewise.
59071         * libio/genops.c (_IO_flush_all): Likewise.
59072         (_IO_flush_all_linebuffered): Likewise.
59073         (_IO_cleanup): Likewise.
59074         (_IO_iter_begin): Likewise.
59075         (_IO_iter_end): Likewise.
59076         (_IO_list_lock): Likewise.
59077         (_IO_list_unlock): Likewise.
59078         (_IO_list_resetlock): Likewise.
59079         * libio/getchar.c (getchar): Likewise.
59080         * libio/getchar_u.c (getchar_unlocked): Likewise.
59081         * libio/getwchar.c (getwchar): Likewise.
59082         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59083         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59084         * login/getpt.c (__getpt): Likewise.
59085         * login/tst-utmp.c (main): Likewise.
59086         * malloc/hooks.c (__malloc_check_init): Likewise.
59087         * malloc/malloc.c (__malloc_stats): Likewise.
59088         * malloc/mtrace.c (tr_break): Likewise.
59089         (mtrace): Likewise.
59090         (muntrace): Likewise.
59091         * misc/fstab.c (endfsent): Likewise.
59092         * misc/getclktck.c (__getclktck): Likewise.
59093         * misc/getdtsz.c (__getdtablesize): Likewise.
59094         * misc/gethostid.c (gethostid): Likewise.
59095         * misc/getpagesize.c (__getpagesize): Likewise.
59096         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59097         (__get_nprocs): Likewise.
59098         (__get_phys_pages): Likewise.
59099         (__get_avphys_pages): Likewise.
59100         * misc/getttyent.c (getttyent): Likewise.
59101         (setttyent): Likewise.
59102         (endttyent): Likewise.
59103         * misc/getusershell.c (getusershell): Likewise.
59104         (endusershell): Likewise.
59105         (setusershell): Likewise.
59106         (initshells): Likewise.
59107         * misc/hsearch.c (__hdestroy): Likewise.
59108         * misc/sync.c (sync): Likewise.
59109         * misc/syslog.c (closelog_internal): Likewise.
59110         (closelog): Likewise.
59111         * misc/ttyslot.c (ttyslot): Likewise.
59112         * misc/vhangup.c (vhangup): Likewise.
59113         * posix/fork.c (__fork): Likewise.
59114         * posix/getegid.c (__getegid): Likewise.
59115         * posix/geteuid.c (__geteuid): Likewise.
59116         * posix/getgid.c (__getgid): Likewise.
59117         * posix/getpid.c (__getpid): Likewise.
59118         * posix/getppid.c (__getppid): Likewise.
59119         * posix/getuid.c (__getuid): Likewise.
59120         * posix/pause.c (pause): Likewise.
59121         * posix/setpgrp.c (setpgrp): Likewise.
59122         * posix/setsid.c (__setsid): Likewise.
59123         * posix/test-vfork.c (noop): Likewise.
59124         * resolv/gethnamaddr.c (_endhtent): Likewise.
59125         (_gethtent): Likewise.
59126         (ht_endhostent): Likewise.
59127         (gethostent): Likewise.
59128         (dns_service): Likewise.
59129         * stdlib/drand48.c (drand48): Likewise.
59130         * stdlib/lrand48.c (lrand48): Likewise.
59131         * stdlib/mrand48.c (mrand48): Likewise.
59132         * stdlib/rand.c (rand): Likewise.
59133         * stdlib/random.c (__random): Likewise.
59134         * stdlib/setenv.c (clearenv): Likewise.
59135         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59136         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59137         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59138         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59139         (__get_nprocs): Likewise.
59140         (__get_phys_pages): Likewise.
59141         (__get_avphys_pages): Likewise.
59142         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59143         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59144         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59145         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59146         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59147         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59148         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59149         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59150         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59151         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59152         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59153         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59154         * sysdeps/posix/clock.c (clock): Likewise.
59155         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59156         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59157         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59158         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59159         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59160         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59161         (__get_nprocs_conf): Likewise.
59162         (__get_phys_pages): Likewise.
59163         (__get_avphys_pages): Likewise.
59164         * time/clock.c (clock): Likewise.
59165         * time/tzset.c (__tzname_max): Likewise.
59167 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59169         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59170         (__bswap_32): Do not use "register".
59171         * crypt/crypt.c (_ufc_doit_r): Likewise.
59172         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59173         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59174         * gmon/gmon.c (__monstartup): Likewise.
59175         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59176         * hurd/hurdmalloc.c (more_memory): Likewise.
59177         (malloc): Likewise.
59178         (free): Likewise.
59179         (realloc): Likewise.
59180         (malloc_fork_prepare): Likewise.
59181         (malloc_fork_parent): Likewise.
59182         (malloc_fork_child): Likewise.
59183         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59184         (_svcauth_des): Likewise.
59185         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59186         * inet/inet_net.c (inet_network): Likewise.
59187         * inet/inet_netof.c (inet_netof): Likewise.
59188         * inet/rcmd.c (__validuser2_sa): Likewise.
59189         * io/fts.c (fts_open): Likewise.
59190         (fts_load): Likewise.
59191         (fts_close): Likewise.
59192         (fts_read): Likewise.
59193         (fts_children): Likewise.
59194         (fts_build): Likewise.
59195         (fts_stat): Likewise.
59196         (fts_sort): Likewise.
59197         (fts_alloc): Likewise.
59198         (fts_lfree): Likewise.
59199         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59200         (_IO_file_xsgetn): Likewise.
59201         (_IO_file_xsgetn_mmap): Likewise.
59202         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59203         (_IO_cookie_write): Likewise.
59204         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59205         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59206         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59207         * malloc/obstack.c (_obstack_begin): Likewise.
59208         (_obstack_begin_1): Likewise.
59209         (_obstack_newchunk): Likewise.
59210         (_obstack_allocated_p): Likewise.
59211         (obstack_free): Likewise.
59212         (_obstack_memory_used): Likewise.
59213         * misc/getttyent.c (getttynam): Likewise.
59214         (getttyent): Likewise.
59215         (skip): Likewise.
59216         (value): Likewise.
59217         * misc/getusershell.c (initshells): Likewise.
59218         * misc/syslog.c (__vsyslog_chk): Likewise.
59219         * misc/ttyslot.c (ttyslot): Likewise.
59220         * nis/nis_hash.c (__nis_hash): Likewise.
59221         * posix/fnmatch_loop.c (FCT): Likewise.
59222         * posix/getconf.c (print_all): Likewise.
59223         (main): Likewise.
59224         * posix/getopt.c (exchange): Likewise.
59225         * posix/glob.c (globfree): Likewise.
59226         (prefix_array): Likewise.
59227         (__glob_pattern_type): Likewise.
59228         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59229         (NS_GET32): Likewise.
59230         (NS_PUT16): Likewise.
59231         (NS_PUT32): Likewise.
59232         * resolv/gethnamaddr.c (getanswer): Likewise.
59233         (gethostbyname2): Likewise.
59234         (gethostbyaddr): Likewise.
59235         (_gethtent): Likewise.
59236         (_gethtbyname2): Likewise.
59237         (_gethtbyaddr): Likewise.
59238         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59239         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59240         * resolv/res_init.c (__res_vinit): Likewise.
59241         (net_mask): Likewise.
59242         * resolv/res_mkquery.c (outchar): Likewise.
59243         (PRINT): Likewise.
59244         * stdio-common/printf_fp.c (outchar): Likewise.
59245         (PRINT): Likewise.
59246         * stdio-common/printf_fphex.c (outchar): Likewise.
59247         (PRINT): Likewise.
59248         * stdio-common/printf_size.c (outchar): Likewise.
59249         (PRINT): Likewise.
59250         * stdio-common/test_rdwr.c (main): Likewise.
59251         * stdio-common/tfformat.c (matches): Likewise.
59252         * stdio-common/vfprintf.c (outchar): Likewise.
59253         (printf_unknown): Likewise.
59254         (buffered_vfprintf): Likewise.
59255         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59256         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59257         (ReadFile): Likewise.
59258         * stdlib/qsort.c (SWAP): Likewise.
59259         (_quicksort): Likewise.
59260         * stdlib/setenv.c (__add_to_environ): Likewise.
59261         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59262         * stdlib/strtol_l.c (__strtol_l): Likewise.
59263         * stdlib/tst-strtod.c (main): Likewise.
59264         * stdlib/tst-strtol.c (main): Likewise.
59265         * stdlib/tst-strtoll.c (main): Likewise.
59266         * string/bits/string2.h (__strcmp_cc): Likewise.
59267         (__strcmp_cg): Likewise.
59268         (__strcspn_c1): Likewise.
59269         (__strcspn_c2): Likewise.
59270         (__strcspn_c3): Likewise.
59271         (__strspn_c1): Likewise.
59272         (__strspn_c2): Likewise.
59273         (__strspn_c3): Likewise.
59274         (__strsep_1c): Likewise.
59275         (__strsep_2c): Likewise.
59276         (__strsep_3c): Likewise.
59277         * string/memccpy.c (__memccpy): Likewise.
59278         * string/stpcpy.c (__stpcpy): Likewise.
59279         * string/strcmp.c (strcmp): Likewise.
59280         * string/strrchr.c (strrchr): Likewise.
59281         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59282         Likewise.
59283         * sysdeps/mach/hurd/getcwd.c
59284         (_hurd_canonicalize_directory_name_internal): Likewise.
59285         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59286         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59287         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59288         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59289         Likewise, in both definitions.
59290         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59291         definitions.
59292         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59293         64] (__bswap_64): Likewise.
59294         * time/test_time.c (main): Likewise.
59295         * time/tzfile.c (__tzfile_read): Likewise.
59296         (__tzfile_compute): Likewise.
59297         * time/tzset.c (__tzset_parse_tz): Likewise.
59298         (tzset_internal): Likewise.
59299         (compute_change): Likewise.
59300         * wcsmbs/wcscat.c (__wcscat): Likewise.
59301         * wcsmbs/wcschr.c (wcschr): Likewise.
59302         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59303         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59304         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59305         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59306         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59307         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59308         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59309         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59310         * wcsmbs/wmemset.c (wmemset): Likewise.
59312 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59314         * scripts/config.guess: Update to version 2013-05-16.
59315         * scripts/config.sub: Update to version 2013-04-24.
59316         * scripts/install-sh: Update to version 2011-11-20.07.
59317         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59318         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59320 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59322         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59323         * elf/sln.c: Likewise.
59324         * hurd/hurd/ioctl.h: Likewise.
59325         * hurd/hurdmalloc.c: Likewise.
59326         * hurd/xattr.c: Likewise.
59327         * include/shlib-compat.h: Likewise.
59328         * inet/ruserpass.c: Likewise.
59329         * libio/iofgets_u.c: Likewise.
59330         * libio/iofgetws_u.c: Likewise.
59331         * locale/programs/ld-identification.c: Likewise.
59332         * locale/programs/ld-time.c: Likewise.
59333         * mach/msg-destroy.c: Likewise.
59334         * nss/nss_files/files-netgrp.c: Likewise.
59335         * resolv/res_data.c: Likewise.
59336         * soft-fp/op-1.h: Likewise.
59337         * soft-fp/op-2.h: Likewise.
59338         * soft-fp/op-4.h: Likewise.
59339         * soft-fp/op-common.h: Likewise.
59340         * stdio-common/printf_fphex.c: Likewise.
59341         * stdlib/strtod_l.c: Likewise.
59342         * sunrpc/rpc/clnt.h: Likewise.
59343         * sysdeps/generic/framestate.c: Likewise.
59344         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59345         * sysdeps/i386/bsd-setjmp.S: Likewise.
59346         * sysdeps/i386/__longjmp.S: Likewise.
59347         * sysdeps/i386/setjmp.S: Likewise.
59348         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59349         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59350         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59351         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59352         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59353         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59354         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59355         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59356         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59357         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59358         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59359         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59360         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59361         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59362         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59363         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59364         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59365         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59366         * sysdeps/ieee754/support.c: Likewise.
59367         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59368         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59369         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59370         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59371         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59372         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59373         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59374         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59375         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59376         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59377         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59378         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59379         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59380         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59381         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59382         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59383         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59386 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59388         * posix/transbug.c: Remove executable mode.
59390 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59392         * crypt/speeds.c: Remove trailing whitespace.
59393         * dlfcn/default.c: Likewise.
59394         * elf/ifuncdep2.c: Likewise.
59395         * elf/ifuncmain1.c: Likewise.
59396         * elf/ifuncmain1vis.c: Likewise.
59397         * elf/testobj.h: Likewise.
59398         * elf/tst-stackguard1.c: Likewise.
59399         * gmon/sys/gmon.h: Likewise.
59400         * hurd/hurdmsg.c: Likewise.
59401         * hurd/new-fd.c: Likewise.
59402         * hurd/ports-get.c: Likewise.
59403         * iconvdata/ibm1008_420.c: Likewise.
59404         * inet/tst-getni1.c: Likewise.
59405         * inet/tst-getni2.c: Likewise.
59406         * libio/ioungetc.c: Likewise.
59407         * libio/wfiledoalloc.c: Likewise.
59408         * manual/libm-err-tab.pl: Likewise.
59409         * math/w_dremf.c: Likewise.
59410         * misc/ftruncate.c: Likewise.
59411         * posix/bug-glob2.c: Likewise.
59412         * posix/tst-pcre.c: Likewise.
59413         * posix/wait4.c: Likewise.
59414         * resolv/README: Likewise.
59415         * resolv/res_debug.h: Likewise.
59416         * resolv/tst-inet_ntop.c: Likewise.
59417         * setjmp/bug269-setjmp.c: Likewise.
59418         * soft-fp/extended.h: Likewise.
59419         * soft-fp/op-1.h: Likewise.
59420         * soft-fp/op-2.h: Likewise.
59421         * soft-fp/op-4.h: Likewise.
59422         * soft-fp/op-8.h: Likewise.
59423         * soft-fp/testit.c: Likewise.
59424         * stdio-common/bug16.c: Likewise.
59425         * stdlib/random.c: Likewise.
59426         * sunrpc/rpcsvc/rquota.x: Likewise.
59427         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59428         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59429         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59430         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59431         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59432         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59433         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59434         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59435         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59436         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59437         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59438         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59439         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59440         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59441         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59442         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59443         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59444         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59445         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59446         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59447         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59448         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59449         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59450         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59451         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59452         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59453         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59454         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59455         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59456         * sysdeps/ieee754/s_lib_version.c: Likewise.
59457         * sysdeps/mach/hurd/check_fds.c: Likewise.
59458         * sysdeps/mach/hurd/getsockname.c: Likewise.
59459         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59460         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59461         * sysdeps/powerpc/bits/link.h: Likewise.
59462         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59463         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59464         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59465         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59466         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59467         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59468         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59469         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59470         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59471         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59472         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59473         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59474         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59475         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59476         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59477         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59478         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59479         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59480         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59481         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59482         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59483         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59484         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59485         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59486         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59487         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59488         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59489         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59490         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59491         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59492         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59493         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59494         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59495         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59496         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59497         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59498         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59499         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59500         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59501         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59502         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59503         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59504         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59505         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59506         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59507         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59508         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59509         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59510         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59511         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59512         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59513         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59514         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59515         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59516         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59517         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59518         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59519         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59520         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59521         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59522         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59523         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59524         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59525         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59526         * sysdeps/powerpc/sysdep.h: Likewise.
59527         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59528         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59529         * sysdeps/sh/dl-trampoline.S: Likewise.
59530         * sysdeps/sh/memset.S: Likewise.
59531         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59532         * sysdeps/sh/strlen.S: Likewise.
59533         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59534         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59535         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59536         * sysdeps/sparc/sparc32/rem.S: Likewise.
59537         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59538         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59539         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59540         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59541         * sysdeps/sparc/sparc32/urem.S: Likewise.
59542         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59543         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59544         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59545         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59546         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59547         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59548         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59549         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59550         * sysdeps/unix/bsd/times.c: Likewise.
59551         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59552         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59556         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59557         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59558         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59559         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59560         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59561         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59562         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59563         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59564         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59565         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59566         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59567         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59568         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59569         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59570         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59571         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59572         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59573         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59574         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59575         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59576         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59577         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59578         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59579         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59580         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59581         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59582         * sysdeps/x86_64/strcspn.S: Likewise.
59584 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59586         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59587         generated file.  Regenerate properly from gen-translit.pl.
59588         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59589         locale/C-translit.h.
59591 2013-06-05  Andreas Schwab  <schwab@suse.de>
59593         [BZ #15100]
59594         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59595         week as 6 instead of -1.
59596         * time/tst-strptime.c (day_tests): Add test case.
59598 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59600         * sysdeps/generic/math_private.h
59601         (libc_feholdexcept_setround_53bit): Replace with
59602         libc_feholdsetround_53bit.
59603         (libc_feupdateenv_53bit): Replace with
59604         libc_feresetround_53bit.
59605         (SET_RESTORE_ROUND_53BIT): Adjust.
59607 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59609         * string/test-strchrnul.c: Add copyright header.
59611         * posix/tst-getaddrinfo4.c: Increase test timeout.
59613 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59615         [BZ #15536]
59616         * math/libm-test.inc (MAX_EXP): Remove
59617         (MIN_EXP): Define.
59618         (ulp): Use MIN_EXP - MANT_DIG.
59619         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59621 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59623         * po/be.po: Revert last change.
59624         * po/zh_CN.po: Likewise.
59625         * po/header.pot: Likewise.
59627 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59629         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59630         link-libc-deps to empty as target-specific variable.
59631         * Makerules (link-libc-args): New variable.
59632         (libc-for-link): Likewise.
59633         (link-libc-deps): Likewise.
59634         (lib%.so): Depend on $(link-libc-deps).  Link with
59635         $(link-libc-args).
59636         (build-module): Link with $(link-libc-args).
59637         (build-module-asneeded): Likewise.
59638         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59639         list of objects.
59640         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59641         target-specific variable.
59642         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59643         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59644         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59645         libc.
59646         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59647         libc and ld.so.
59648         ($(objpfx)libpcprofile.so): Likewise.
59649         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59650         libc_nonshared.a.
59651         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59652         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59653         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59654         $(link-libc-deps).
59655         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59656         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59657         * login/Makefile ($(objpfx)libutil.so): Likewise.
59658         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59659         * math/Makefile ($(objpfx)libm.so): Likewise.
59660         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59661         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59662         variable instead of depending directly on libc.
59663         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59664         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59665         $(link-libc-deps).
59666         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59667         libc.
59668         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59669         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59670         ($(objpfx)libanl.so): Likewise.
59671         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59672         ld.so.
59673         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59674         $(link-libc-deps).
59675         * sysdeps/i386/fpu/Makefile: Remove file.
59676         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59677         ($(objpfx)libm.so): Remove dependency on ld.so.
59679 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59681         [BZ # 15553]
59682         * nis/yp_xdr.c (XDRMAXNAME): Define.
59683         (XDRMAXRECORD): Define.
59684         (xdr_domainname): Use XDRMAXNAME.
59685         (xdr_mapname): Likewise.
59686         (xdr_peername): Likewise.
59687         (xdr_keydat): Use XDRMAXRECORD.
59688         (xdr_valdat): Likewise.
59690 2013-05-30  Jeff Law  <law@redhat.com>
59692         [BZ #14256]
59693         * manual/errno.texi (ESTALE): Update to account for more than
59694         just NFS file systems.
59695         * sysdeps/gnu/errlist.c: Regenerated.
59697 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59699         [BZ #15465]
59700         * elf/Makefile (tests): Add tst-null-argv.
59701         (modules-names):  Add tst-null-argv-lib.
59702         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59703         (tst-null-argv-ENV): Set environment for tst-null-argv.
59704         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59705         (RTLD_PROGNAME): New macro.
59706         * elf/tst-null-argv.c: New test case.
59707         * elf/tst-null-argv-lib.c: Library for test case.
59708         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59709         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59710         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59711         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59712         * elf/dl-init.c (call_init): Likewise.
59713         (_dl_init): Likewise.
59714         * elf/dl-load.c (print_search_path): Likewise.
59715         (_dl_map_object): Likewise.
59716         * elf/dl-lookup.c (do_lookup_x): Likewise.
59717         (add_dependency): Likewise.
59718         (_dl_lookup_symbol_x): Likewise.
59719         (_dl_debug_bindings): Likewise.
59720         * elf/dl-open.c (_dl_show_scope): Likewise.
59721         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59722         * elf/dl-version.c (match_symbol): Likewise.
59723         (_dl_check_map_versions): Likewise.
59724         * elf/rtld.c (dl_main): Likewise.
59725         (print_unresolved): Use RTLD_PROGNAME.
59726         (print_missing_version): Likewise.
59727         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59728         (elf_machine_rela): Likewise.
59729         * sysdeps/powerpc/powerpc32/dl-machine.c
59730         (__process_machine_rela): Likewise.
59731         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59732         Likewise.
59733         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59734         Likewise.
59735         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59736         Likewise.
59737         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59738         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59739         Likewise.
59740         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59741         Likewise.
59742         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59744 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59746         * po/be.po: Add descriptive title.
59747         * po/zh_CN.po: Likewise.
59748         * po/header.pot: Likewise.
59750 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59752         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59753         error message.
59754         (enlarge_archive): Likewise.
59756 2013-05-28  Ben North  <ben@redfrontdoor.org>
59758         * manual/arith.texi (frexp): It is the magnitude of the return
59759         value which lies in [0.5, 1), not the return value itself.
59761 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59765 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59767         * stdio-common/bug26.c (main): Correct fscanf template.
59769         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59770         declare _dl_skip_args.
59772         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59773         Don't declare.
59775         * manual/platform.texi: Add missing @end deftypefun.
59777 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59779         [BZ #15529]
59780         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59781         bit of mantissa of 2^16382.
59782         * math/libm-test.inc (hypot_test_data): Add more tests.
59784         * math/libm-test.inc: Add drem and pow10 to list of tested
59785         functions.
59786         (pow10_test): New function.
59787         (drem_test): Likewise.
59788         (drem_test_tonearest): Likewise.
59789         (drem_test_towardzero): Likewise.
59790         (drem_test_downward): Likewise.
59791         (drem_test_upward): Likewise.
59792         (main): Call the new functions.
59794         * math/libm-test.inc (finite_test_data): Remove.
59795         (finite_test): Run tests from isfinite_test_data.
59796         (gamma_test_data): Remove.
59797         (gamma_test): Run tests from lgamma_test_data.
59798         * sysdeps/i386/fpu/libm-test-ulps: Update.
59799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59801 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59803         * manual/platform.texi: Add PowerPC PPR function set documentation.
59804         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59805         implementation.
59807 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59809         * math/libm-test.inc (MAX_EXP): Define.
59810         (ULPDIFF): Define.
59811         (ulp): New function.
59812         (check_float_internal): Use ULPDIFF.
59813         (cpow_test): Disable failing test.
59814         (check_ulp): Test ulp() implementation.
59815         (main): Call check_ulp before starting tests.
59817 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59819         * math/gen-libm-test.pl (generate_testfile): Do not handle
59820         START_DATA and END_DATA.
59821         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59822         END_DATA.
59823         (acos_tonearest_test_data): Likewise.
59824         (acos_towardzero_test_data): Likewise.
59825         (acos_downward_test_data): Likewise.
59826         (acos_upward_test_data): Likewise.
59827         (acosh_test_data): Likewise.
59828         (asin_test_data): Likewise.
59829         (asin_tonearest_test_data): Likewise.
59830         (asin_towardzero_test_data): Likewise.
59831         (asin_downward_test_data): Likewise.
59832         (asin_upward_test_data): Likewise.
59833         (asinh_test_data): Likewise.
59834         (atan_test_data): Likewise.
59835         (atanh_test_data): Likewise.
59836         (atan2_test_data): Likewise.
59837         (cabs_test_data): Likewise.
59838         (cacos_test_data): Likewise.
59839         (cacosh_test_data): Likewise.
59840         (carg_test_data): Likewise.
59841         (casin_test_data): Likewise.
59842         (casinh_test_data): Likewise.
59843         (catan_test_data): Likewise.
59844         (catanh_test_data): Likewise.
59845         (cbrt_test_data): Likewise.
59846         (ccos_test_data): Likewise.
59847         (ccosh_test_data): Likewise.
59848         (ceil_test_data): Likewise.
59849         (cexp_test_data): Likewise.
59850         (cimag_test_data): Likewise.
59851         (clog_test_data): Likewise.
59852         (clog10_test_data): Likewise.
59853         (conj_test_data): Likewise.
59854         (copysign_test_data): Likewise.
59855         (cos_test_data): Likewise.
59856         (cos_tonearest_test_data): Likewise.
59857         (cos_towardzero_test_data): Likewise.
59858         (cos_downward_test_data): Likewise.
59859         (cos_upward_test_data): Likewise.
59860         (cosh_test_data): Likewise.
59861         (cosh_tonearest_test_data): Likewise.
59862         (cosh_towardzero_test_data): Likewise.
59863         (cosh_downward_test_data): Likewise.
59864         (cosh_upward_test_data): Likewise.
59865         (cpow_test_data): Likewise.
59866         (cproj_test_data): Likewise.
59867         (creal_test_data): Likewise.
59868         (csin_test_data): Likewise.
59869         (csinh_test_data): Likewise.
59870         (csqrt_test_data): Likewise.
59871         (ctan_test_data): Likewise.
59872         (ctan_tonearest_test_data): Likewise.
59873         (ctan_towardzero_test_data): Likewise.
59874         (ctan_downward_test_data): Likewise.
59875         (ctan_upward_test_data): Likewise.
59876         (ctanh_test_data): Likewise.
59877         (ctanh_tonearest_test_data): Likewise.
59878         (ctanh_towardzero_test_data): Likewise.
59879         (ctanh_downward_test_data): Likewise.
59880         (ctanh_upward_test_data): Likewise.
59881         (erf_test_data): Likewise.
59882         (erfc_test_data): Likewise.
59883         (exp_test_data): Likewise.
59884         (exp_tonearest_test_data): Likewise.
59885         (exp_towardzero_test_data): Likewise.
59886         (exp_downward_test_data): Likewise.
59887         (exp_upward_test_data): Likewise.
59888         (exp10_test_data): Likewise.
59889         (exp2_test_data): Likewise.
59890         (expm1_test_data): Likewise.
59891         (fabs_test_data): Likewise.
59892         (fdim_test_data): Likewise.
59893         (finite_test_data): Likewise.
59894         (floor_test_data): Likewise.
59895         (fma_test_data): Likewise.
59896         (fma_towardzero_test_data): Likewise.
59897         (fma_downward_test_data): Likewise.
59898         (fma_upward_test_data): Likewise.
59899         (fmax_test_data): Likewise.
59900         (fmin_test_data): Likewise.
59901         (fmod_test_data): Likewise.
59902         (fpclassify_test_data): Likewise.
59903         (frexp_test_data): Likewise.
59904         (gamma_test_data): Likewise.
59905         (hypot_test_data): Likewise.
59906         (ilogb_test_data): Likewise.
59907         (isfinite_test_data): Likewise.
59908         (isgreater_test_data): Likewise.
59909         (isgreaterequal_test_data): Likewise.
59910         (isinf_test_data): Likewise.
59911         (isless_test_data): Likewise.
59912         (islessequal_test_data): Likewise.
59913         (islessgreater_test_data): Likewise.
59914         (isnan_test_data): Likewise.
59915         (isnormal_test_data): Likewise.
59916         (issignaling_test_data): Likewise.
59917         (isunordered_test_data): Likewise.
59918         (j0_test_data): Likewise.
59919         (j1_test_data): Likewise.
59920         (jn_test_data): Likewise.
59921         (ldexp_test_data): Likewise.
59922         (lgamma_test_data): Likewise.
59923         (lrint_test_data): Likewise.
59924         (lrint_tonearest_test_data): Likewise.
59925         (lrint_towardzero_test_data): Likewise.
59926         (lrint_downward_test_data): Likewise.
59927         (lrint_upward_test_data): Likewise.
59928         (llrint_test_data): Likewise.
59929         (llrint_tonearest_test_data): Likewise.
59930         (llrint_towardzero_test_data): Likewise.
59931         (llrint_downward_test_data): Likewise.
59932         (llrint_upward_test_data): Likewise.
59933         (log_test_data): Likewise.
59934         (log10_test_data): Likewise.
59935         (log1p_test_data): Likewise.
59936         (log2_test_data): Likewise.
59937         (logb_test_data): Likewise.
59938         (logb_downward_test_data): Likewise.
59939         (lround_test_data): Likewise.
59940         (llround_test_data): Likewise.
59941         (modf_test_data): Likewise.
59942         (nearbyint_test_data): Likewise.
59943         (nextafter_test_data): Likewise.
59944         (nexttoward_test_data): Likewise.
59945         (pow_test_data): Likewise.
59946         (pow_tonearest_test_data): Likewise.
59947         (pow_towardzero_test_data): Likewise.
59948         (pow_downward_test_data): Likewise.
59949         (pow_upward_test_data): Likewise.
59950         (remainder_test_data): Likewise.
59951         (remainder_tonearest_test_data): Likewise.
59952         (remainder_towardzero_test_data): Likewise.
59953         (remainder_downward_test_data): Likewise.
59954         (remainder_upward_test_data): Likewise.
59955         (remquo_test_data): Likewise.
59956         (rint_test_data): Likewise.
59957         (rint_tonearest_test_data): Likewise.
59958         (rint_towardzero_test_data): Likewise.
59959         (rint_downward_test_data): Likewise.
59960         (rint_upward_test_data): Likewise.
59961         (round_test_data): Likewise.
59962         (scalb_test_data): Likewise.
59963         (scalbn_test_data): Likewise.
59964         (scalbln_test_data): Likewise.
59965         (signbit_test_data): Likewise.
59966         (sin_test_data): Likewise.
59967         (sin_tonearest_test_data): Likewise.
59968         (sin_towardzero_test_data): Likewise.
59969         (sin_downward_test_data): Likewise.
59970         (sin_upward_test_data): Likewise.
59971         (sincos_test_data): Likewise.
59972         (sinh_test_data): Likewise.
59973         (sinh_tonearest_test_data): Likewise.
59974         (sinh_towardzero_test_data): Likewise.
59975         (sinh_downward_test_data): Likewise.
59976         (sinh_upward_test_data): Likewise.
59977         (sqrt_test_data): Likewise.
59978         (tan_test_data): Likewise.
59979         (tan_tonearest_test_data): Likewise.
59980         (tan_towardzero_test_data): Likewise.
59981         (tan_downward_test_data): Likewise.
59982         (tan_upward_test_data): Likewise.
59983         (tanh_test_data): Likewise.
59984         (tgamma_test_data): Likewise.
59985         (trunc_test_data): Likewise.
59986         (y0_test_data): Likewise.
59987         (y1_test_data): Likewise.
59988         (yn_test_data): Likewise.
59989         (significand_test_data): Likewise.
59991         * math/gen-libm-test.pl (@functions): Remove variable.
59992         (generate_testfile): Don't handle START and END lines.
59993         * math/libm-test.inc (START): New macro.
59994         (END): Likewise.
59995         (END_COMPLEX): Likewise.
59996         (acos_test): Use END macro without arguments.
59997         (acos_test_tonearest): Likewise.
59998         (acos_test_towardzero): Likewise.
59999         (acos_test_downward): Likewise.
60000         (acos_test_upward): Likewise.
60001         (acosh_test): Likewise.
60002         (asin_test): Likewise.
60003         (asin_test_tonearest): Likewise.
60004         (asin_test_towardzero): Likewise.
60005         (asin_test_downward): Likewise.
60006         (asin_test_upward): Likewise.
60007         (asinh_test): Likewise.
60008         (atan_test): Likewise.
60009         (atanh_test): Likewise.
60010         (atan2_test): Likewise.
60011         (cabs_test): Likewise.
60012         (cacos_test): Use END_COMPLEX macro without arguments.
60013         (cacosh_test): Likewise.
60014         (carg_test): Use END macro without arguments.
60015         (casin_test): Use END_COMPLEX macro without arguments.
60016         (casinh_test): Likewise.
60017         (catan_test): Likewise.
60018         (catanh_test): Likewise.
60019         (cbrt_test): Use END macro without arguments.
60020         (ccos_test): Use END_COMPLEX macro without arguments.
60021         (ccosh_test): Likewise.
60022         (ceil_test): Use END macro without arguments.
60023         (cexp_test): Use END_COMPLEX macro without arguments.
60024         (cimag_test): Use END macro without arguments.
60025         (clog_test): Use END_COMPLEX macro without arguments.
60026         (clog10_test): Likewise.
60027         (conj_test): Likewise.
60028         (copysign_test): Use END macro without arguments.
60029         (cos_test): Likewise.
60030         (cos_test_tonearest): Likewise.
60031         (cos_test_towardzero): Likewise.
60032         (cos_test_downward): Likewise.
60033         (cos_test_upward): Likewise.
60034         (cosh_test): Likewise.
60035         (cosh_test_tonearest): Likewise.
60036         (cosh_test_towardzero): Likewise.
60037         (cosh_test_downward): Likewise.
60038         (cosh_test_upward): Likewise.
60039         (cpow_test): Use END_COMPLEX macro without arguments.
60040         (cproj_test): Likewise.
60041         (creal_test): Use END macro without arguments.
60042         (csin_test): Use END_COMPLEX macro without arguments.
60043         (csinh_test): Likewise.
60044         (csqrt_test): Likewise.
60045         (ctan_test): Likewise.
60046         (ctan_test_tonearest): Likewise.
60047         (ctan_test_towardzero): Likewise.
60048         (ctan_test_downward): Likewise.
60049         (ctan_test_upward): Likewise.
60050         (ctanh_test): Likewise.
60051         (ctanh_test_tonearest): Likewise.
60052         (ctanh_test_towardzero): Likewise.
60053         (ctanh_test_downward): Likewise.
60054         (ctanh_test_upward): Likewise.
60055         (erf_test): Use END macro without arguments.
60056         (erfc_test): Likewise.
60057         (exp_test): Likewise.
60058         (exp_test_tonearest): Likewise.
60059         (exp_test_towardzero): Likewise.
60060         (exp_test_downward): Likewise.
60061         (exp_test_upward): Likewise.
60062         (exp10_test): Likewise.
60063         (exp2_test): Likewise.
60064         (expm1_test): Likewise.
60065         (fabs_test): Likewise.
60066         (fdim_test): Likewise.
60067         (finite_test): Likewise.
60068         (floor_test): Likewise.
60069         (fma_test): Likewise.
60070         (fma_test_towardzero): Likewise.
60071         (fma_test_downward): Likewise.
60072         (fma_test_upward): Likewise.
60073         (fmax_test): Likewise.
60074         (fmin_test): Likewise.
60075         (fmod_test): Likewise.
60076         (fpclassify_test): Likewise.
60077         (frexp_test): Likewise.
60078         (gamma_test): Likewise.
60079         (hypot_test): Likewise.
60080         (ilogb_test): Likewise.
60081         (isfinite_test): Likewise.
60082         (isgreater_test): Likewise.
60083         (isgreaterequal_test): Likewise.
60084         (isinf_test): Likewise.
60085         (isless_test): Likewise.
60086         (islessequal_test): Likewise.
60087         (islessgreater_test): Likewise.
60088         (isnan_test): Likewise.
60089         (isnormal_test): Likewise.
60090         (issignaling_test): Likewise.
60091         (isunordered_test): Likewise.
60092         (j0_test): Likewise.
60093         (j1_test): Likewise.
60094         (jn_test): Likewise.
60095         (ldexp_test): Likewise.
60096         (lgamma_test): Likewise.
60097         (lrint_test): Likewise.
60098         (lrint_test_tonearest): Likewise.
60099         (lrint_test_towardzero): Likewise.
60100         (lrint_test_downward): Likewise.
60101         (lrint_test_upward): Likewise.
60102         (llrint_test): Likewise.
60103         (llrint_test_tonearest): Likewise.
60104         (llrint_test_towardzero): Likewise.
60105         (llrint_test_downward): Likewise.
60106         (llrint_test_upward): Likewise.
60107         (log_test): Likewise.
60108         (log10_test): Likewise.
60109         (log1p_test): Likewise.
60110         (log2_test): Likewise.
60111         (logb_test): Likewise.
60112         (logb_test_downward): Likewise.
60113         (lround_test): Likewise.
60114         (llround_test): Likewise.
60115         (modf_test): Likewise.
60116         (nearbyint_test): Likewise.
60117         (nextafter_test): Likewise.
60118         (nexttoward_test): Likewise.
60119         (pow_test): Likewise.
60120         (pow_test_tonearest): Likewise.
60121         (pow_test_towardzero): Likewise.
60122         (pow_test_downward): Likewise.
60123         (pow_test_upward): Likewise.
60124         (remainder_test): Likewise.
60125         (remainder_test_tonearest): Likewise.
60126         (remainder_test_towardzero): Likewise.
60127         (remainder_test_downward): Likewise.
60128         (remainder_test_upward): Likewise.
60129         (remquo_test): Likewise.
60130         (rint_test): Likewise.
60131         (rint_test_tonearest): Likewise.
60132         (rint_test_towardzero): Likewise.
60133         (rint_test_downward): Likewise.
60134         (rint_test_upward): Likewise.
60135         (round_test): Likewise.
60136         (scalb_test): Likewise.
60137         (scalbn_test): Likewise.
60138         (scalbln_test): Likewise.
60139         (signbit_test): Likewise.
60140         (sin_test): Likewise.
60141         (sin_test_tonearest): Likewise.
60142         (sin_test_towardzero): Likewise.
60143         (sin_test_downward): Likewise.
60144         (sin_test_upward): Likewise.
60145         (sincos_test): Likewise.
60146         (sinh_test): Likewise.
60147         (sinh_test_tonearest): Likewise.
60148         (sinh_test_towardzero): Likewise.
60149         (sinh_test_downward): Likewise.
60150         (sinh_test_upward): Likewise.
60151         (sqrt_test): Likewise.
60152         (tan_test): Likewise.
60153         (tan_test_tonearest): Likewise.
60154         (tan_test_towardzero): Likewise.
60155         (tan_test_downward): Likewise.
60156         (tan_test_upward): Likewise.
60157         (tanh_test): Likewise.
60158         (tgamma_test): Likewise.
60159         (trunc_test): Likewise.
60160         (y0_test): Likewise.
60161         (y1_test): Likewise.
60162         (yn_test): Likewise.
60163         (significand_test): Likewise.
60165 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60167         [BZ #15381]
60168         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60170 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60172         [BZ #14894]
60173         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60174         __ppc_mdoio and __ppc_mdoom.
60175         * manual/platform.texi: Document new functions __ppc_yield,
60176         __ppc_mdoio and __ppc_mdoom.
60178 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60180         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60181         (main): Mention "tls" pseudo-hwcap is legacy.
60182         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60184 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60186         * math/gen-libm-test.pl (parse_args): Output only string of
60187         arguments as text for test name, not full call or descriptions of
60188         tests for extra outputs.
60189         (generate_testfile): Do not pass function name to parse_args.
60190         Generate this_func variable from START.
60191         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60192         field to arg_str.
60193         (struct test_ff_f_data): Likewise.
60194         (test_ff_f_data_nexttoward): Likewise.
60195         (struct test_fi_f_data): Likewise.
60196         (struct test_fl_f_data): Likewise.
60197         (struct test_if_f_data): Likewise.
60198         (struct test_fff_f_data): Likewise.
60199         (struct test_c_f_data): Likewise.
60200         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60201         (struct test_fF_f1_data): Likewise.
60202         (struct test_ffI_f1_data): Likewise.
60203         (struct test_c_c_data): Rename test_name field to arg_str.
60204         (struct test_cc_c_data): Likewise.
60205         (struct test_f_i_data): Likewise.
60206         (struct test_ff_i_data): Likewise.
60207         (struct test_f_l_data): Likewise.
60208         (struct test_f_L_data): Likewise.
60209         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60210         and extra2_name.
60211         (COMMON_TEST_SETUP): New macro.
60212         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60213         (COMMON_TEST_CLEANUP): Likewise.
60214         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60215         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60216         macros.
60217         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60218         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60219         macros.
60220         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60221         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60222         cleanup macros.
60223         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60224         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60225         macros.
60226         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60227         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60228         macros.
60229         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60230         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60231         cleanup macros.
60232         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60233         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60234         cleanup macros.
60235         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60236         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60237         cleanup macros.
60238         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60239         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60240         macros.
60241         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60242         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60243         macros.
60244         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60245         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60246         macros.
60247         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60248         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60249         cleanup macros.
60250         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60251         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60252         cleanup macros.
60253         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60254         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60255         macros.
60256         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60257         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60258         cleanup macros.
60259         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60260         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60261         macros.
60262         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60263         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60264         macros.
60265         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60266         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60267         cleanup macros.
60268         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60270 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60272         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60273         to _sifields.sigfault.
60274         (si_addr_lsb): Define new macro.
60275         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60276         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60277         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60279 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60281         [BZ #15441]
60282         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60283         returns -1.
60284         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60285         null return -1.
60286         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60287         loading the domain.
60289 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60291         * math/gen-libm-test.pl (parse_args): Do not include expected
60292         result in test name.
60293         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60294         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60295         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60296         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60297         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60300 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60302         * benchtests/Makefile: Sort function entries.
60304         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60305         tanh, asinh, acosh, atanh.
60306         * benchtests/acos-inputs: New file.
60307         * benchtests/acosh-inputs: New file.
60308         * benchtests/asin-inputs: New file.
60309         * benchtests/asinh-inputs: New file.
60310         * benchtests/atanh-inputs: New file.
60311         * benchtests/cosh-inputs: New file.
60312         * benchtests/log-inputs: New file.
60313         * benchtests/sinh-inputs: New file.
60314         * benchtests/tanh-inputs: New file.
60316 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60318         [BZ #15339]
60319         * posix/tst-getaddrinfo4.c: New test.
60320         * posix/Makefile (tests): Add it.
60322 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60324         [BZ #15339]
60325         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60326         when no services were used.
60327         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60328         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60330 2013-05-21  Andreas Schwab  <schwab@suse.de>
60332         [BZ #15014]
60333         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60334         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60335         successful.
60336         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60337         redundant variable declarations and reallocation of buffer when
60338         parsing as IPv6 address.  Always set NSS status when called from
60339         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60340         buffer too small.  Correct computation of needed size.
60341         * nss/Makefile (tests): Add test-digits-dots.
60342         * nss/test-digits-dots.c: New test.
60344 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60346         * benchtests/Makefile: Remove instructions for adding
60347         benchmark tests.
60348         * benchtests/README: New file to explain how to execute and
60349         enhance the benchmark tests.
60351 2013-05-21  Andreas Schwab  <schwab@suse.de>
60353         [BZ #15493]
60354         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60355         * setjmp/tst-sigsetjmp.c: New test.
60357 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60359         * sysdeps/x86_64/memset.S (memset): New implementation.
60360         (__bzero): Likewise.
60361         (__memset_tail): New function.
60363 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60365         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60366         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60367         __memcpy_sse2_unaligned ifunc selection.
60368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60369         Add memcpy-sse2-unaligned.S.
60370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60371         Add: __memcpy_sse2_unaligned.
60373 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60375         [BZ #15490]
60376         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60377         math_force_eval before restoring floating-point envrionment.
60378         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60379         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60380         Likewise.
60381         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60382         <math_private.h>.
60383         (__nearbyintl): Use math_force_eval before restoring
60384         floating-point environment.
60385         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60387         * math/gen-libm-test.pl (special_functions): Remove.
60388         (parse_args): Don't handle TEST_extra.  Handle functions with no
60389         return value.
60390         * math/libm-test.inc (struct test_sincos_data): Replace with
60391         struct test_fFF_11_data.
60392         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60393         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60394         (sincos_test_data): Change element type to struct
60395         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60396         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60397         RUN_TEST_LOOP_sincos.
60398         * math/README.libm-test: Don't mention special handling of
60399         individual functions.
60400         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60401         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60402         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60403         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60404         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60407         * math/gen-libm-test.pl (get_variable): Remove function.
60408         (parse_args): Don't show pointer parameters to call in test
60409         names.  Use "extra output N" in test names for extra outputs
60410         rather than naming variables.
60412 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60414         [BZ #15488]
60415         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60416         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60417         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60418         double tests.
60419         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60420         disable.
60421         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60422         check_long_double.
60424         * math/gen-libm-test.pl (@tests): Remove variable.
60425         ($count): Likewise.
60426         (new_test): Remove function.
60427         (show_exceptions): New function.
60428         (special_functions): Use show_exceptions instead of new_test.
60429         (parse_args): Likewise.
60430         (generate_testfile): Pass only function name in generated call to
60431         print_max_error or print_complex_max_error.
60432         (get_ulps): Do not handle complex tests specially.
60433         (output_test): Rename to ...
60434         (get_all_ulps_for_test): ... this.  Return a string rather than
60435         printing to a file.  Require ulps to be present.
60436         (output_ulps): Generate arrays rather than #defines.
60437         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60438         (struct ulp_data): New type.
60439         (BUILD_COMPLEX_ULP): Remove macro.
60440         (compare_ulp_data): New function.
60441         (find_ulps): Likewise.
60442         (find_test_ulps): Likewise.
60443         (find_function_ulps): Likewise.
60444         (find_complex_function_ulps): Likewise.
60445         (print_max_error): Determine allowed ulps using
60446         find_function_ulps.
60447         (print_complex_max_error): Determine allowed ulps using
60448         find_complex_function_ulps.
60449         (check_float_internal): Determine max ulps using find_test_ulps.
60450         (check_float): Do not take max_ulp parameter.  Update call to
60451         check_float_internal.
60452         (check_complex): Likewise.
60453         (check_int): Do not take max_ulp parameter.
60454         (check_long): Likewise.
60455         (check_bool): Likewise.
60456         (check_longlong): Likewise.
60457         (struct test_f_f_data): Remove max_ulp field.
60458         (struct test_ff_f_data): Likewise.
60459         (struct test_ff_f_data_nexttoward): Likewise.
60460         (struct test_fi_f_data): Likewise.
60461         (struct test_fl_f_data): Likewise.
60462         (struct test_if_f_data): Likewise.
60463         (struct test_fff_f_data): Likewise.
60464         (struct test_c_f_data): Likewise.
60465         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60466         (struct test_fF_f1_data): Likewise.
60467         (struct test_ffI_f1_data): Likewise.
60468         (struct test_c_c_data): Remove max_ulp field.
60469         (struct test_cc_c_data): Likewise.
60470         (struct test_f_i_data): Likewise.
60471         (struct test_ff_i_data): Likewise.
60472         (struct test_f_l_data): Likewise.
60473         (struct test_f_L_data): Likewise.
60474         (struct test_sincos_data): Likewise.
60475         (RUN_TEST_f_f): Do not handle ulps.
60476         (RUN_TEST_LOOP_f_f): Likewise.
60477         (RUN_TEST_2_f): Likewise.
60478         (RUN_TEST_LOOP_2_f): Likewise.
60479         (RUN_TEST_fff_f): Likewise.
60480         (RUN_TEST_LOOP_fff_f): Likewise.
60481         (RUN_TEST_c_f): Likewise.
60482         (RUN_TEST_LOOP_c_f): Likewise.
60483         (RUN_TEST_f_f1): Likewise.
60484         (RUN_TEST_LOOP_f_f1): Likewise.
60485         (RUN_TEST_fF_f1): Likewise.
60486         (RUN_TEST_LOOP_fF_f1): Likewise.
60487         (RUN_TEST_fI_f1): Likewise.
60488         (RUN_TEST_LOOP_fI_f1): Likewise.
60489         (RUN_TEST_ffI_f1): Likewise.
60490         (RUN_TEST_LOOP_ffI_f1): Likewise.
60491         (RUN_TEST_c_c): Likewise.
60492         (RUN_TEST_LOOP_c_c): Likewise.
60493         (RUN_TEST_cc_c): Likewise.
60494         (RUN_TEST_LOOP_cc_c): Likewise.
60495         (RUN_TEST_f_i): Likewise.
60496         (RUN_TEST_LOOP_f_i): Likewise.
60497         (RUN_TEST_f_i_tg): Likewise.
60498         (RUN_TEST_LOOP_f_i_tg): Likewise.
60499         (RUN_TEST_ff_i_tg): Likewise.
60500         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60501         (RUN_TEST_f_b): Likewise.
60502         (RUN_TEST_LOOP_f_b): Likewise.
60503         (RUN_TEST_f_b_tg): Likewise.
60504         (RUN_TEST_LOOP_f_b_tg): Likewise.
60505         (RUN_TEST_f_l): Likewise.
60506         (RUN_TEST_LOOP_f_l): Likewise.
60507         (RUN_TEST_f_L): Likewise.
60508         (RUN_TEST_LOOP_f_L): Likewise.
60509         (RUN_TEST_sincos): Likewise.
60510         (RUN_TEST_LOOP_sincos): Likewise.
60512 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60514         [BZ #15480]
60515         [BZ #15485]
60516         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60517         main case of finite arguments, set rounding mode to FE_TONEAREST
60518         and discard exceptions.
60519         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60520         exceptions.
60521         (remainder_tonearest_test_data): New variable.
60522         (remainder_test_tonearest): New function.
60523         (remainder_towardzero_test_data): New variable.
60524         (remainder_test_towardzero): New function.
60525         (remainder_downward_test_data): New variable.
60526         (remainder_test_downward): New function.
60527         (remainder_upward_test_data): New variable.
60528         (remainder_test_upward): New function.
60529         (main): Call the new test functions.
60531         * math/libm-test.inc (struct test_f_f1_data): Remove field
60532         extra_init.
60533         (struct test_fF_f1_data): Likewise.
60534         (struct test_ffI_f1_data): Likewise.
60535         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60536         based on value of EXTRA_EXPECTED.
60537         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60538         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60539         EXTRA_VAR based on value of EXTRA_EXPECTED.
60540         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60541         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60542         EXTRA_VAR based on value of EXTRA_EXPECTED.
60543         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60544         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60545         EXTRA_VAR based on value of EXTRA_EXPECTED.
60546         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60547         * math/gen-libm-test.pl (parse_args): Don't output initializers
60548         for extra output values.
60550         * math/libm-test.inc (check_int): Expect result to be exactly
60551         equal to expected value and do not handle ulps.
60552         (check_long): Likewise.
60553         (check_longlong): Likewise.
60555         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60556         exceptions.
60557         (cimag_test_data): Likewise.
60558         (conj_test_data): Likewise.
60559         (copysign_test_data): Likewise.
60560         (cproj_test_data): Likewise.
60561         (creal_test_data): Likewise.
60562         (fabs_test_data): Likewise.
60563         (fdim_test_data): Likewise.
60564         (finite_test_data): Likewise.
60565         (floor_test_data): Likewise.
60566         (fmax_test_data): Likewise.
60567         (fmin_test_data): Likewise.
60568         (fmod_test_data): Likewise.
60569         (fpclassify_test_data): Likewise.
60570         (frexp_test_data): Likewise.
60571         (ilogb_test_data): Likewise.
60572         (isfinite_test_data): Likewise.
60573         (isgreater_test_data): Likewise.
60574         (isgreaterequal_test_data): Likewise.
60575         (isinf_test_data): Likewise.
60576         (isless_test_data): Likewise.
60577         (islessequal_test_data): Likewise.
60578         (islessgreater_test_data): Likewise.
60579         (isnan_test_data): Likewise.
60580         (isnormal_test_data): Likewise.
60581         (issignaling_test_data): Likewise.
60582         (isunordered_test_data): Likewise.
60583         (ldexp_test_data): Likewise.
60584         (lrint_test_data): Likewise.
60585         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60586         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60587         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60588         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60589         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60590         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60591         test input.
60592         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60593         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60594         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60595         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60596         that test input.
60597         (lrint_downward_test_data): Test for "inexact" exceptions.
60598         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60599         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60600         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60601         test input.
60602         (lrint_upward_test_data): Test for "inexact" exceptions.
60603         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60604         test input.
60605         (llrint_test_data): Test for "inexact" exceptions.
60606         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60607         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60608         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60609         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60610         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60611         (llrint_downward_test_data): Test for "inexact" exceptions.
60612         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60613         (llrint_upward_test_data): Test for "inexact" exceptions.
60614         (logb_test_data): Likewise.
60615         (logb_downward_test_data): Likewise.
60616         (nextafter_test_data): Likewise.
60617         (nexttoward_test_data): Likewise.
60618         (remainder_test_data): Likewise.
60619         (remquo_test_data): Likewise.
60620         (scalbn_test_data): Likewise.
60621         (scalbln_test_data): Likewise.
60622         (signbit_test_data): Likewise.
60623         (sqrt_test_data): Likewise.
60624         (significand_test_data): Likewise.
60626 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60628         [BZ #15424]
60629         * benchtests/bench-modf.c (struct args): Mark arg0 as
60630         volatile.
60631         * scripts/bench.pl: Mark members of struct args as volatile.
60633 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60635         [BZ # 15497]
60636         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60637         negative infinity on POWER6 or lower.
60638         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60640 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60642         [BZ #15442]
60643         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60644         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60645         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60646         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60647         (_FP_SETQNAN): New macro.
60648         (_FP_SETQNAN_SEMIRAW): Likewise.
60649         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60650         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60651         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60652         (FP_EXTEND): Use _FP_FRAC_SNANP.
60653         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60654         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60655         into account.
60656         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60657         New macro.
60658         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60659         Likewise.
60661 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60663         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60664         with DIVIDE_BY_ZERO_EXCEPTION.
60665         (gamma_test_data): Likewise.
60666         (lgamma_test_data): Likewise.
60667         (log_test_data): Likewise.
60668         (log10_test_data): Likewise.
60669         (log2_test_data): Likewise.
60670         (tgamma_test_data): Likewise.
60672         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60673         (acos_test_tonearest): Likewise.
60674         (acos_test_towardzero): Likewise.
60675         (acos_test_downward): Likewise.
60676         (acos_test_upward): Likewise.
60677         (acosh_test): Likewise.
60678         (asin_test): Likewise.
60679         (asin_test_tonearest): Likewise.
60680         (asin_test_towardzero): Likewise.
60681         (asin_test_downward): Likewise.
60682         (asin_test_upward): Likewise.
60683         (asinh_test): Likewise.
60684         (atan_test): Likewise.
60685         (atanh_test): Likewise.
60686         (atan2_test): Likewise.
60687         (cabs_test): Likewise.
60688         (cacos_test): Likewise.
60689         (cacosh_test): Likewise.
60690         (casin_test): Likewise.
60691         (casinh_test): Likewise.
60692         (catan_test): Likewise.
60693         (catanh_test): Likewise.
60694         (cbrt_test): Likewise.
60695         (ccos_test): Likewise.
60696         (ccosh_test): Likewise.
60697         (cexp_test): Likewise.
60698         (clog_test): Likewise.
60699         (clog10_test): Likewise.
60700         (cos_test): Likewise.
60701         (cos_test_tonearest): Likewise.
60702         (cos_test_towardzero): Likewise.
60703         (cos_test_downward): Likewise.
60704         (cos_test_upward): Likewise.
60705         (cosh_test): Likewise.
60706         (cosh_test_tonearest): Likewise.
60707         (cosh_test_towardzero): Likewise.
60708         (cosh_test_downward): Likewise.
60709         (cosh_test_upward): Likewise.
60710         (cpow_test): Likewise.
60711         (csin_test): Likewise.
60712         (csinh_test): Likewise.
60713         (csqrt_test): Likewise.
60714         (ctan_test): Likewise.
60715         (ctan_test_tonearest): Likewise.
60716         (ctan_test_towardzero): Likewise.
60717         (ctan_test_downward): Likewise.
60718         (ctan_test_upward): Likewise.
60719         (ctanh_test): Likewise.
60720         (ctanh_test_tonearest): Likewise.
60721         (ctanh_test_towardzero): Likewise.
60722         (ctanh_test_downward): Likewise.
60723         (ctanh_test_upward): Likewise.
60724         (erf_test): Likewise.
60725         (erfc_test): Likewise.
60726         (exp_test): Likewise.
60727         (exp_test_tonearest): Likewise.
60728         (exp_test_towardzero): Likewise.
60729         (exp_test_downward): Likewise.
60730         (exp_test_upward): Likewise.
60731         (exp10_test): Likewise.
60732         (exp2_test): Likewise.
60733         (expm1_test): Likewise.
60734         (fmod_test): Likewise.
60735         (gamma_test): Likewise.
60736         (hypot_test): Likewise.
60737         (j0_test): Likewise.
60738         (j1_test): Likewise.
60739         (jn_test): Likewise.
60740         (lgamma_test): Likewise.
60741         (log_test): Likewise.
60742         (log10_test): Likewise.
60743         (log1p_test): Likewise.
60744         (log2_test): Likewise.
60745         (logb_test_downward): Likewise.
60746         (pow_test): Likewise.
60747         (pow_test_tonearest): Likewise.
60748         (pow_test_towardzero): Likewise.
60749         (pow_test_downward): Likewise.
60750         (pow_test_upward): Likewise.
60751         (remainder_test): Likewise.
60752         (remquo_test): Likewise.
60753         (sin_test): Likewise.
60754         (sin_test_tonearest): Likewise.
60755         (sin_test_towardzero): Likewise.
60756         (sin_test_downward): Likewise.
60757         (sin_test_upward): Likewise.
60758         (sincos_test): Likewise.
60759         (sinh_test): Likewise.
60760         (sinh_test_tonearest): Likewise.
60761         (sinh_test_towardzero): Likewise.
60762         (sinh_test_downward): Likewise.
60763         (sinh_test_upward): Likewise.
60764         (sqrt_test): Likewise.
60765         (tan_test): Likewise.
60766         (tan_test_tonearest): Likewise.
60767         (tan_test_towardzero): Likewise.
60768         (tan_test_downward): Likewise.
60769         (tan_test_upward): Likewise.
60770         (tanh_test): Likewise.
60771         (tgamma_test): Likewise.
60772         (y0_test): Likewise.
60773         (y1_test): Likewise.
60774         (yn_test): Likewise.
60776         * math/gen-libm-test.pl (adjust_arg): Remove function.
60777         (special_function): Remove argument $in_func.  Only handle
60778         generating output for tables of tests, not inside functions.
60779         (parse_args): Likewise.
60780         (generate_testfile): Remove variable $in_func.  Update call to
60781         parse_args.
60782         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60783         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60784         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60785         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60786         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60787         (MAX_VALUE_INIT): Rename macro to max_value.
60788         (MIN_VALUE_INIT): Rename macro to min_value.
60789         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60790         (plus_zero): Remove variable.
60791         (minus_zero): Likewise.
60792         (plus_infty): Likewise.
60793         (minus_infty): Likewise.
60794         (qnan_value): Likewise.
60795         (max_value): Likewise.
60796         (min_value): Likewise.
60797         (min_subnorm_value): Likewise.
60799 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60801         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60802         uint64_t or uint32_t usage.
60803         * crypt/sha256-block.c: Likewise.
60804         * crypt/sha256-crypt.c: Likewise.
60805         * crypt/sha256.c: Likewise.
60806         * crypt/sha512-block.c: Likewise.
60807         * crypt/sha512-crypt.c: Likewise.
60808         * crypt/sha512.c: Likewise.
60809         * debug/backtrace-tst.c: Likewise.
60810         * debug/pcprofiledump.c: Likewise.
60811         * elf/cache.c: Likewise.
60812         * elf/dl-cache.c: Likewise.
60813         * elf/dl-misc.c: Likewise.
60814         * elf/dl-profile.c: Likewise.
60815         * elf/dl-support.c: Likewise.
60816         * elf/ldconfig.c: Likewise.
60817         * elf/sprof.c: Likewise.
60818         * iconv/dummy-repertoire.c: Likewise.
60819         * iconv/iconv_charmap.c: Likewise.
60820         * iconv/skeleton.c: Likewise.
60821         * iconvdata/8bit-generic.c: Likewise.
60822         * iconvdata/cp737.h: Likewise.
60823         * iconvdata/cp775.h: Likewise.
60824         * iconvdata/ibm1008.h: Likewise.
60825         * iconvdata/ibm1025.h: Likewise.
60826         * iconvdata/ibm1046.h: Likewise.
60827         * iconvdata/ibm1097.h: Likewise.
60828         * iconvdata/ibm1112.h: Likewise.
60829         * iconvdata/ibm1122.h: Likewise.
60830         * iconvdata/ibm1123.h: Likewise.
60831         * iconvdata/ibm1124.h: Likewise.
60832         * iconvdata/ibm1129.h: Likewise.
60833         * iconvdata/ibm1130.h: Likewise.
60834         * iconvdata/ibm1132.h: Likewise.
60835         * iconvdata/ibm1133.h: Likewise.
60836         * iconvdata/ibm1137.h: Likewise.
60837         * iconvdata/ibm1140.h: Likewise.
60838         * iconvdata/ibm1141.h: Likewise.
60839         * iconvdata/ibm1142.h: Likewise.
60840         * iconvdata/ibm1143.h: Likewise.
60841         * iconvdata/ibm1144.h: Likewise.
60842         * iconvdata/ibm1145.h: Likewise.
60843         * iconvdata/ibm1146.h: Likewise.
60844         * iconvdata/ibm1147.h: Likewise.
60845         * iconvdata/ibm1148.h: Likewise.
60846         * iconvdata/ibm1149.h: Likewise.
60847         * iconvdata/ibm1153.h: Likewise.
60848         * iconvdata/ibm1154.h: Likewise.
60849         * iconvdata/ibm1155.h: Likewise.
60850         * iconvdata/ibm1156.h: Likewise.
60851         * iconvdata/ibm1157.h: Likewise.
60852         * iconvdata/ibm1158.h: Likewise.
60853         * iconvdata/ibm1160.h: Likewise.
60854         * iconvdata/ibm1161.h: Likewise.
60855         * iconvdata/ibm1162.h: Likewise.
60856         * iconvdata/ibm1163.h: Likewise.
60857         * iconvdata/ibm1164.h: Likewise.
60858         * iconvdata/ibm1166.h: Likewise.
60859         * iconvdata/ibm1167.h: Likewise.
60860         * iconvdata/ibm12712.h: Likewise.
60861         * iconvdata/ibm1390.h: Likewise.
60862         * iconvdata/ibm1399.h: Likewise.
60863         * iconvdata/ibm16804.h: Likewise.
60864         * iconvdata/ibm4517.h: Likewise.
60865         * iconvdata/ibm4899.h: Likewise.
60866         * iconvdata/ibm4909.h: Likewise.
60867         * iconvdata/ibm4971.h: Likewise.
60868         * iconvdata/ibm5347.h: Likewise.
60869         * iconvdata/ibm803.h: Likewise.
60870         * iconvdata/ibm856.h: Likewise.
60871         * iconvdata/ibm901.h: Likewise.
60872         * iconvdata/ibm902.h: Likewise.
60873         * iconvdata/ibm9030.h: Likewise.
60874         * iconvdata/ibm9066.h: Likewise.
60875         * iconvdata/ibm921.h: Likewise.
60876         * iconvdata/ibm922.h: Likewise.
60877         * iconvdata/ibm9448.h: Likewise.
60878         * iconvdata/isiri-3342.h: Likewise.
60879         * iconvdata/jis0201.h: Likewise.
60880         * include/link.h: Likewise.
60881         * include/netdb.h: Likewise.
60882         * inet/check_native.c: Likewise.
60883         * inet/check_pf.c: Likewise.
60884         * inet/getipv4sourcefilter.c: Likewise.
60885         * inet/getnameinfo.c: Likewise.
60886         * inet/getsourcefilter.c: Likewise.
60887         * inet/htonl.c: Likewise.
60888         * inet/setipv4sourcefilter.c: Likewise.
60889         * inet/setsourcefilter.c: Likewise.
60890         * inet/test-inet6_opt.c: Likewise.
60891         * inet/tst-network.c: Likewise.
60892         * locale/C-collate.c: Likewise.
60893         * locale/C-ctype.c: Likewise.
60894         * locale/C-time.c: Likewise.
60895         * locale/C-translit.h: Likewise.
60896         * locale/loadarchive.c: Likewise.
60897         * locale/programs/3level.h: Likewise.
60898         * locale/programs/charmap.c: Likewise.
60899         * locale/programs/charmap.h: Likewise.
60900         * locale/programs/ld-address.c: Likewise.
60901         * locale/programs/ld-collate.c: Likewise.
60902         * locale/programs/ld-ctype.c: Likewise.
60903         * locale/programs/ld-identification.c: Likewise.
60904         * locale/programs/ld-measurement.c: Likewise.
60905         * locale/programs/ld-messages.c: Likewise.
60906         * locale/programs/ld-monetary.c: Likewise.
60907         * locale/programs/ld-name.c: Likewise.
60908         * locale/programs/ld-numeric.c: Likewise.
60909         * locale/programs/ld-paper.c: Likewise.
60910         * locale/programs/ld-telephone.c: Likewise.
60911         * locale/programs/ld-time.c: Likewise.
60912         * locale/programs/linereader.c: Likewise.
60913         * locale/programs/locale.c: Likewise.
60914         * locale/programs/locarchive.c: Likewise.
60915         * locale/programs/locfile.h: Likewise.
60916         * locale/programs/repertoire.c: Likewise.
60917         * locale/programs/simple-hash.c: Likewise.
60918         * locale/programs/simple-hash.h: Likewise.
60919         * malloc/memusage.c: Likewise.
60920         * malloc/memusagestat.c: Likewise.
60921         * nis/nis_defaults.c: Likewise.
60922         * nis/nis_hash.c: Likewise.
60923         * nis/nis_print.c: Likewise.
60924         * nis/nis_xdr.c: Likewise.
60925         * nscd/connections.c: Likewise.
60926         * nscd/hstcache.c: Likewise.
60927         * nscd/nscd_gethst_r.c: Likewise.
60928         * nscd/nscd_getserv_r.c: Likewise.
60929         * nscd/nscd_helper.c: Likewise.
60930         * nscd/servicescache.c: Likewise.
60931         * nss/makedb.c: Likewise.
60932         * nss/nss_db/db-XXX.c: Likewise.
60933         * nss/nss_db/db-initgroups.c: Likewise.
60934         * nss/nss_db/db-netgrp.c: Likewise.
60935         * nss/nss_files/files-network.c: Likewise.
60936         * nss/nss_files/files-parse.c: Likewise.
60937         * posix/bug-regex5.c: Likewise.
60938         * posix/fnmatch_loop.c: Likewise.
60939         * posix/regcomp.c: Likewise.
60940         * posix/regexec.c: Likewise.
60941         * posix/tst-rfc3484-2.c: Likewise.
60942         * posix/tst-rfc3484-3.c: Likewise.
60943         * posix/tst-rfc3484.c: Likewise.
60944         * resolv/nss_dns/dns-canon.c: Likewise.
60945         * resolv/nss_dns/dns-network.c: Likewise.
60946         * resolv/res_init.c: Likewise.
60947         * resolv/res_mkquery.c: Likewise.
60948         * resolv/tst-aton.c: Likewise.
60949         * stdlib/cxa_atexit.c: Likewise.
60950         * stdlib/cxa_finalize.c: Likewise.
60951         * stdlib/gen-fpioconst.c: Likewise.
60952         * stdlib/strtol_l.c: Likewise.
60953         * string/tst-endian.c: Likewise.
60954         * sunrpc/auth_des.c: Likewise.
60955         * sunrpc/clnt_udp.c: Likewise.
60956         * sunrpc/rtime.c: Likewise.
60957         * sunrpc/svcauth_des.c: Likewise.
60958         * sunrpc/xdr.c: Likewise.
60959         * sunrpc/xdr_intXX_t.c: Likewise.
60960         * sunrpc/xdr_rec.c: Likewise.
60961         * sysdeps/generic/ldconfig.h: Likewise.
60962         * sysdeps/generic/ldsodefs.h: Likewise.
60963         * sysdeps/generic/memusage.h: Likewise.
60964         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60965         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
60966         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
60967         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60968         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60969         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60970         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60971         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60972         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60973         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60974         * sysdeps/posix/getaddrinfo.c: Likewise.
60975         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60976         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60977         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60978         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60979         * sysdeps/powerpc/test-gettimebase.c: Likewise.
60980         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
60981         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
60982         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
60983         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
60984         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
60985         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60986         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60987         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
60988         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
60989         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
60990         * sysdeps/x86_64/dl-tls.h: Likewise.
60991         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
60992         * time/alt_digit.c: Likewise.
60993         * time/era.c: Likewise.
60994         * wcsmbs/tst-c16c32-1.c: Likewise.
60996 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60998         * math/libm-test.inc (struct test_sincos_data): New type.
60999         (RUN_TEST_LOOP_sincos): New macro.
61000         (sincos_test_data): New variable.
61001         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61003 2013-05-16  Richard Henderson  <rth@redhat.com>
61005         * math/atest-exp2.c (LIMB64): New macro.
61006         (CONSTSZ): New macro.
61007         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61008         (hexdig): Move ...
61009         (print_mpn_fp): ... to function scope.
61010         (read_mpn_hex): Remove.
61011         (get_log2): Remove.
61012         (exp2_mpn): Use mp_log2.
61013         (main): Use mp_exp1.
61015 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61017         * math/libm-test.inc: Remove comment about not testing "inexact"
61018         exceptions.
61019         (INEXACT_EXCEPTION): New macro.
61020         (NO_INEXACT_EXCEPTION): Likewise.
61021         (INVALID_EXCEPTION_OK): Update value.
61022         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61023         (OVERFLOW_EXCEPTION_OK): Likewise.
61024         (UNDERFLOW_EXCEPTION_OK): Likewise.
61025         (IGNORE_ZERO_INF_SIGN): Likewise.
61026         (ERRNO_UNCHANGED): Likewise.
61027         (ERRNO_EDOM): Likewise.
61028         (ERRNO_ERANGE): Likewise.
61029         (test_exceptions): Handle testing "inexact" exceptions.
61030         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61031         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61032         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61033         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61034         INEXACT_EXCEPTION.
61035         (rint_towardzero_test_data): Likewise.
61036         (rint_downward_test_data): Likewise.
61037         (rint_upward_test_data): Likewise.
61039         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61040         with OVERFLOW_EXCEPTION.
61041         (exp10_test_data): Likewise.
61042         (exp2_test_data): Likewise.
61043         (expm1_test_data): Likewise.
61044         (lgamma_test_data): Likewise.
61045         (pow_test_data): Likewise.
61046         (tgamma_test_data): Likewise.
61047         (yn_test_data): Remove duplicate test of overflow.
61049         * math/libm-test.inc (struct test_cc_c_data): New type.
61050         (RUN_TEST_LOOP_cc_c): New macro.
61051         (cpow_test_data): New variable.
61052         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61054         * math/libm-test.inc (struct test_f_L_data): New type.
61055         (RUN_TEST_LOOP_f_L): New macro.
61056         (llrint_test_data): New variable.
61057         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61058         (llrint_tonearest_test_data): New variable.
61059         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61060         (llrint_towardzero_test_data): New variable.
61061         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61062         (llrint_downward_test_data): New variable.
61063         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61064         (llrint_upward_test_data): New variable.
61065         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61066         (llround_test_data): New variable.
61067         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61069 2013-05-13  Peter Collingbourne  <pcc@google.com>
61071         * math/atest-exp2.c (get_log2): Remove const attribute.
61073 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61075         * math/libm-test.inc (struct test_f_l_data): New type.
61076         (RUN_TEST_LOOP_f_l): New macro.
61077         (lrint_test_data): New variable.
61078         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61079         (lrint_tonearest_test_data): New variable.
61080         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61081         (lrint_towardzero_test_data): New variable.
61082         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61083         (lrint_downward_test_data): New variable.
61084         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61085         (lrint_upward_test_data): New variable.
61086         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61087         (lround_test_data): New variable.
61088         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61090 2013-05-15  Peter Collingbourne  <pcc@google.com>
61092         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61093         (EXTRACT_WORDS64) Use where appropriate.
61094         (INSERT_WORDS64) Likewise.
61096         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61097         constraints with x constraints.
61098         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61100         * malloc/obstack.c (_obstack_compat): Add initializer.
61102 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61104         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61105         si_trapno and add si_addr_lsb to _sifields.sigfault.
61106         (si_trapno): Remove macro.
61107         (si_addr_lsb): Define new macro.
61108         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61110 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61112         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61113         instead of TEST_f_l.
61114         (llrint_test_tonearest): Likewise.
61115         (llrint_test_towardzero): Likewise.
61116         (llrint_test_downward): Likewise.
61117         (llrint_test_upward): Likewise.
61118         (llround_test): Likewise.
61120         * math/libm-test.inc (struct test_f_i_data): Add comment.
61121         (RUN_TEST_LOOP_f_b): New macro.
61122         (RUN_TEST_LOOP_f_b_tg): Likewise.
61123         (finite_test_data): New variable.
61124         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61125         (isfinite_test_data): New variable.
61126         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61127         (isinf_test_data): New variable.
61128         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61129         (isnan_test_data): New variable.
61130         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61131         (isnormal_test_data): New variable.
61132         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61133         (issignaling_test_data): New variable.
61134         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61135         (signbit_test_data): New variable.
61136         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61138         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61139         with INVALID_EXCEPTION.
61140         (acosh_test_data): Likewise.
61141         (asin_test_data): Likewise.
61142         (atanh_test_data): Likewise.
61143         (fmod_test_data): Likewise.
61144         (log_test_data): Likewise.
61145         (log10_test_data): Likewise.
61146         (log2_test_data): Likewise.
61147         (pow_test_data): Likewise.
61148         (sqrt_test_data): Likewise.
61149         (y0_test_data): Likewise.
61150         (y1_test_data): Likewise.
61151         (yn_test_data): Likewise.
61153         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61154         function contents.
61156         * math/libm-test.inc (struct test_ff_i_data): New type.
61157         (RUN_TEST_LOOP_ff_i_tg): New macro.
61158         (isgreater_test_data): New variable.
61159         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61160         (isgreaterequal_test_data): New variable.
61161         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61162         (isless_test_data): New variable.
61163         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61164         (islessequal_test_data): New variable.
61165         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61166         (islessgreater_test_data): New variable.
61167         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61168         (isunordered_test_data): New variable.
61169         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61171 2013-05-14  David S. Miller  <davem@davemloft.net>
61173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61175 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61177         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61179         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61180         extra_test to int.
61181         (struct test_f_i_data): Change type of max_ulp to int.
61183         * math/libm-test.inc (test_ffI_f1_data): New type.
61184         (RUN_TEST_LOOP_ffI_f1): New macro.
61185         (remquo_test_data): New variable.
61186         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61188         * setjmp/tst-setjmp-fp.c: New file.
61189         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61190         (link-libm): New variable.
61191         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61193         * math/libm-test.inc (struct test_f_i_data): New type.
61194         (RUN_TEST_LOOP_f_i): New macro.
61195         (RUN_TEST_LOOP_f_i_tg): Likewise.
61196         (fpclassify_test_data): New variable.
61197         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61198         (ilogb_test_data): New variable.
61199         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61201         * math/libm-test.inc (scalbln_test): Correct function name in END
61202         call.
61204         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61205         (RUN_TEST_LOOP_fI_f1): New macro.
61206         (frexp_test_data): New variable.
61207         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61209         * math/libm-test.inc (struct test_fF_f1_data): New type.
61210         (RUN_TEST_LOOP_fF_f1): New macro.
61211         (modf_test_data): New variable.
61212         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61214         * math/libm-test.inc (struct test_f_f1_data): New type.
61215         (RUN_TEST_LOOP_f_f1): New macro.
61216         (gamma_test_data): New variable.
61217         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61218         (lgamma_test_data): New variable.
61219         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61221 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61223         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61224         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61225         (main): Comment "tls" pseudo-hwcap.
61227 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61229         * math/libm-test.inc (struct test_fl_f_data): New type.
61230         (RUN_TEST_LOOP_fl_f): New variable.
61231         (scalbln_test_data): New variable.
61232         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61234         * math/libm-test.inc (struct test_fi_f_data): New type.
61235         (RUN_TEST_LOOP_fi_f): New macro.
61236         (ldexp_test_data): New variable.
61237         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61238         (scalbn_test_data): New variable.
61239         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61241         * math/libm-test.inc (struct test_c_f_data): New type.
61242         (RUN_TEST_LOOP_c_f): New macro.
61243         (cabs_test_data): New variable.
61244         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61245         (carg_test_data): New variable.
61246         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61247         (cimag_test_data): New variable.
61248         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61249         (creal_test_data): New variable.
61250         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61252         * math/libm-test.inc (struct test_if_f_data): New type.
61253         (RUN_TEST_LOOP_if_f): New macro.
61254         (jn_test_data): New variable.
61255         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61256         (yn_test_data): New variable.
61257         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61259         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61261 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61263         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61264         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61266 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61268         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61269         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61270         (bench-deps): Add bench-timing.h.
61271         * benchtests-bench-skeleton.c: Include bench-timing.h.
61272         (main): Use TIMING_* macros instead of clock_gettime.
61273         * benchtests/bench-timing.h: New file.
61275         [BZ #14582]
61276         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61277         Renamed from _LIB_VERSION.
61278         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61280 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61282         * math/libm-test.inc (struct test_fff_f_data): New type.
61283         (RUN_TEST_LOOP_fff_f): New macro.
61284         (fma_test_data): New variable.
61285         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61286         (fma_towardzero_test_data): New variable.
61287         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61288         (fma_downward_test_data): New variable.
61289         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61290         (fma_upward_test_data): New variable.
61291         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61293         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61294         (struct test_c_c_data): New type.
61295         (RUN_TEST_LOOP_c_c): New macro.
61296         (cacos_test_data): New variable.
61297         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61298         (cacosh_test_data): New variable.
61299         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61300         (casin_test_data): New variable.
61301         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61302         (casinh_test_data): New variable.
61303         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61304         (catan_test_data): New variable.
61305         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61306         (catanh_test_data): New variable.
61307         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61308         (ccos_test_data): New variable.
61309         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61310         (ccosh_test_data): New variable.
61311         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61312         (cexp_test_data): New variable.
61313         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61314         (clog_test_data): New variable.
61315         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61316         (clog10_test_data): New variable.
61317         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61318         (conj_test_data): New variable.
61319         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61320         (cproj_test_data): New variable.
61321         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61322         (csin_test_data): New variable.
61323         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61324         (csinh_test_data): New variable.
61325         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61326         (csqrt_test_data): New variable.
61327         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61328         (ctan_test_data): New variable.
61329         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61330         (ctan_tonearest_test_data): New variable.
61331         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61332         (ctan_towardzero_test_data): New variable.
61333         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61334         (ctan_downward_test_data): New variable.
61335         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61336         (ctan_upward_test_data): New variable.
61337         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61338         (ctanh_test_data): New variable.
61339         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61340         (ctanh_tonearest_test_data): New variable.
61341         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61342         (ctanh_towardzero_test_data): New variable.
61343         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61344         (ctanh_downward_test_data): New variable.
61345         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61346         (ctanh_upward_test_data): New variable.
61347         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61348         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61349         of BUILD_COMPLEX.
61351         * math/libm-test.inc (struct test_ff_f_data): New type.
61352         (struct test_ff_f_data_nexttoward): Likewise.
61353         (RUN_TEST_LOOP_2_f): New macro.
61354         (RUN_TEST_LOOP_ff_f): Likewise.
61355         (atan2_test_data): New variable.
61356         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61357         (copysign_test_data): New variable.
61358         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61359         (fdim_test_data): New variable.
61360         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61361         (fmax_test_data): New variable.
61362         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61363         (fmin_test_data): New variable.
61364         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61365         (fmod_test_data): New variable.
61366         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61367         (hypot_test_data): New variable.
61368         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61369         (nextafter_test_data): New variable.
61370         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61371         (nexttoward_test_data): New variable.
61372         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61373         (pow_test_data): New variable.
61374         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61375         (pow_tonearest_test_data): New variable.
61376         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61377         (pow_towardzero_test_data): New variable.
61378         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61379         (pow_downward_test_data): New variable.
61380         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61381         (pow_upward_test_data): New variable.
61382         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61383         (remainder_test_data): New variable.
61384         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61385         (scalb_test_data): New variable.
61386         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61387         * sysdeps/i386/fpu/libm-test-ulps: Update.
61389 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61391         * math/libm-test.inc (fma_test): Use max_value instead of local
61392         variable fltmax.
61393         (nextafter_test): Likewise.
61395         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61396         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61397         (acos_downward_test_data): New variable.
61398         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61399         (acos_upward_test_data): New variable.
61400         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61401         (acosh_test_data): New variable.
61402         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61403         (asin_test_data): New variable.
61404         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61405         (asin_tonearest_test_data): New variable.
61406         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61407         (asin_towardzero_test_data): New variable.
61408         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61409         (asin_downward_test_data): New variable.
61410         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61411         (asin_upward_test_data): New variable.
61412         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61413         (asinh_test_data): New variable.
61414         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61415         (atan_test_data): New variable.
61416         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61417         (atanh_test_data): New variable.
61418         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61419         (cbrt_test_data): New variable.
61420         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61421         (ceil_test_data): New variable.
61422         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61423         (cos_test_data): New variable.
61424         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61425         (cos_tonearest_test_data): New variable.
61426         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61427         (cos_towardzero_test_data): New variable.
61428         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61429         (cos_downward_test_data): New variable.
61430         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61431         (cos_upward_test_data): New variable.
61432         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61433         (cosh_test_data): New variable.
61434         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61435         (cosh_tonearest_test_data): New variable.
61436         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61437         (cosh_towardzero_test_data): New variable.
61438         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61439         (cosh_downward_test_data): New variable.
61440         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61441         (cosh_upward_test_data): New variable.
61442         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61443         (erf_test_data): New variable.
61444         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61445         (erfc_test_data): New variable.
61446         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61447         (exp_test_data): New variable.
61448         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61449         (exp_tonearest_test_data): New variable.
61450         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61451         (exp_towardzero_test_data): New variable.
61452         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61453         (exp_downward_test_data): New variable.
61454         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61455         (exp_upward_test_data): New variable.
61456         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61457         (exp10_test_data): New variable.
61458         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61459         (exp2_test_data): New variable.
61460         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61461         (expm1_test_data): New variable.
61462         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61463         (fabs_test_data): New variable.
61464         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61465         (floor_test_data): New variable.
61466         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61467         (j0_test_data): New variable.
61468         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61469         (j1_test_data): New variable.
61470         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61471         (log_test_data): New variable.
61472         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61473         (log10_test_data): New variable.
61474         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61475         (log1p_test_data): New variable.
61476         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61477         (log2_test_data): New variable.
61478         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61479         (logb_test_data): New variable.
61480         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61481         (logb_downward_test_data): New variable.
61482         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61483         (nearbyint_test_data): New variable.
61484         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61485         (rint_test_data): New variable.
61486         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61487         (rint_tonearest_test_data): New variable.
61488         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61489         (rint_towardzero_test_data): New variable.
61490         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61491         (rint_downward_test_data): New variable.
61492         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61493         (rint_upward_test_data): New variable.
61494         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61495         (round_test_data): New variable.
61496         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61497         (sin_test_data): New variable.
61498         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61499         (sin_tonearest_test_data): New variable.
61500         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61501         (sin_towardzero_test_data): New variable.
61502         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61503         (sin_downward_test_data): New variable.
61504         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61505         (sin_upward_test_data): New variable.
61506         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61507         (sinh_test_data): New variable.
61508         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61509         (sinh_tonearest_test_data): New variable.
61510         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61511         (sinh_towardzero_test_data): New variable.
61512         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61513         (sinh_downward_test_data): New variable.
61514         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61515         (sinh_upward_test_data): New variable.
61516         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61517         (sqrt_test_data): New variable.
61518         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61519         (tan_test_data): New variable.
61520         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61521         (tan_tonearest_test_data): New variable.
61522         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61523         (tan_towardzero_test_data): New variable.
61524         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61525         (tan_downward_test_data): New variable.
61526         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61527         (tan_upward_test_data): New variable.
61528         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61529         (tanh_test_data): New variable.
61530         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61531         (tgamma_test_data): New variable.
61532         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61533         (trunc_test_data): New variable.
61534         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61535         (y0_test_data): New variable.
61536         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61537         (y1_test_data): New variable.
61538         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61539         (significand_test_data): New variable.
61540         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61542 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61544         [BZ #12387]
61545         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61547 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61549         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61551 2013-05-10  Andreas Jaeger  <aj@suse.de>
61553         [BZ #15448]
61554         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61555         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61557 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61559         * math/gen-libm-test.pl (adjust_arg): New function.
61560         (special_functions): Handle generating output in both functions
61561         and arrays.
61562         (parse_args): Likewise.
61563         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61564         $in_func argument to parse_args.
61565         * math/libm-test.inc (struct test_f_f_data): New type.
61566         (IF_ROUND_INIT_): New macro.
61567         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61568         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61569         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61570         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61571         (ROUND_RESTORE_): Likewise.
61572         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61573         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61574         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61575         (ROUND_RESTORE_FE_UPWARD): Likewise.
61576         (RUN_TEST_LOOP_f_f): New macro.
61577         (acos_test_data): New variable.
61578         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61579         (acos_tonearest_test_data): New variable.
61580         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61582 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61584         * benchtests/bench-skeleton.c (startup): Fix coding style.
61586 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61588         [BZ #6809]
61589         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61590         negative infinity argument.
61591         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61592         negative infinity argument.
61593         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61594         negative infinity argument.
61595         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61596         domain errors.
61598 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61600         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61601         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61602         * iconv/iconv_prog.c (main): Likewise.
61603         * locale/programs/charmap-dir.c (charmap_readdir)
61604         (fopen_uncompressed): Likewise.
61605         * locale/programs/locfile.c (siblings_uncached)
61606         (write_locale_data): Use lstat64 instead of lstat.
61607         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61608         stat.
61610 2013-05-10  Andreas Jaeger  <aj@suse.de>
61612         [BZ #15395]
61613         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61614         localization.
61615         Include <locale.h>.
61617 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61619         * elf/dl-close.c (_dl_close_worker): Add comments.
61621 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61623         [BZ #15359]
61624         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61625         high part of pi/2.
61626         (__ieee754_rem_pio2l): Update comments.
61628         [BZ #15429]
61629         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61630         high part of pi/2.
61631         (__ieee754_rem_pio2l): Update comments.
61633         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61634         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61636         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61637         M_PI_4l.
61639         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61640         (M_PI_34_LOG10El): Likewise.
61641         (M_PI2_LOG10El): Likewise.
61642         (M_PI4_LOG10El): Likewise.
61643         (M_PI_LOG10El): Likewise.
61645 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61649 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61651         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61652         (MINUS_ZERO_INIT): Likewise.
61653         (PLUS_INFTY_INIT): Likewise.
61654         (MINUS_INFTY_INIT): Likewise.
61655         (QNAN_VALUE_INIT): Likewise.
61656         (MAX_VALUE_INIT): Likewise.
61657         (MIN_VALUE_INIT): Likewise.
61658         (MIN_SUBNORM_VALUE_INIT): Likewise.
61659         (plus_zero): Initialize with PLUS_ZERO_INIT.
61660         (minus_zero): Initialize with MINUS_ZERO_INIT.
61661         (plus_infty): Initialize with PLUS_INFTY_INIT.
61662         (minus_infty): Initialize with MINUS_INFTY_INIT.
61663         (qnan_value): Initialize with QNAN_VALUE_INIT.
61664         (max_value): Initialize with MAX_VALUE_INIT.
61665         (min_value): Initialize with MIN_VALUE_INIT.
61666         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61668         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61669         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61670         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61671         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61673         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61674         (RUN_TEST_2_f): Likewise.
61675         (RUN_TEST_ff_f): Likewise.
61676         (RUN_TEST_fi_f): Likewise.
61677         (RUN_TEST_fl_f): Likewise.
61678         (RUN_TEST_fff_f): Likewise.
61679         (RUN_TEST_c_f): Likewise.
61680         (RUN_TEST_f_f1): Likewise.
61681         (RUN_TEST_fF_f1): Likewise.
61682         (RUN_TEST_fI_f1): Likewise.
61683         (RUN_TEST_ffI_f1): Likewise.
61684         (RUN_TEST_c_c): Likewise.
61685         (RUN_TEST_cc_c): Likewise.
61686         (RUN_TEST_f_i): Likewise.
61687         (RUN_TEST_f_i_tg): Likewise.
61688         (RUN_TEST_ff_i_tg): Likewise.
61689         (RUN_TEST_f_b): Likewise.
61690         (RUN_TEST_f_b_tg): Likewise.
61691         (RUN_TEST_f_l): Likewise.
61692         (RUN_TEST_f_L): Likewise.
61693         (RUN_TEST_sincos): Likewise.
61694         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61695         whether to show exceptions.  Do not include ");\n" in return
61696         value.
61697         (special_functions): Output call to RUN_TEST_sincos instead of
61698         check_float calls.  Update calls to new_test.
61699         (parse_args): Output call to single RUN_TEST_* macro instead of
61700         check_* calls and other assignments.  Update calls to new_test.
61702         [BZ #2546]
61703         [BZ #2560]
61704         [BZ #5159]
61705         [BZ #15426]
61706         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61707         input to result for tgamma overflow.
61708         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61709         (gamma_coeff): New variable.
61710         (NCOEFF): New macro.
61711         (gamma_positive): New function.
61712         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61713         underflow here.  Use gamma_positive instead of exp (lgamma) for
61714         other arguments.
61715         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61716         (gamma_coeff): New variable.
61717         (NCOEFF): New macro.
61718         (gammaf_positive): New function.
61719         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61720         underflow here.  Use gamma_positive instead of exp (lgamma) for
61721         other arguments.
61722         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61723         (gamma_coeff): New variable.
61724         (NCOEFF): New macro.
61725         (gammal_positive): New function.
61726         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61727         underflow here.  Use gamma_positive instead of exp (lgamma) for
61728         other arguments.
61729         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61730         (gamma_coeff): New variable.
61731         (NCOEFF): New macro.
61732         (gammal_positive): New function.
61733         (__ieee754_gammal_r): Handle positive infinity, overflow and
61734         underflow here.  Handle NaN the same as positive infinity.  Remove
61735         check x < 0xffffffff for negative integers.  Use gamma_positive
61736         instead of exp (lgamma) for other arguments.
61737         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61738         (gamma_coeff): New variable.
61739         (NCOEFF): New macro.
61740         (gammal_positive): New function.
61741         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61742         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61743         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61744         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61745         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61746         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61747         * sysdeps/generic/math_private.h (__gamma_productf): New
61748         prototype.
61749         (__gamma_product): Likewise.
61750         (__gamma_productl): Likewise.
61751         * math/Makefile (libm-calls): Add gamma_product.
61752         * math/libm-test.inc (tgamma_test): Add more tests.
61753         * sysdeps/i386/fpu/libm-test-ulps: Update.
61754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61756 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61758         * benchtests/bench-skeleton.c (main): Preheat CPU.
61760 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61762         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61764 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61766         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61767         and _dl_skip_args_internal.
61769 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61771         * manual/message.texi (Message Translation): Talk about users.
61772         Message to key mapping impacts design.
61774 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61776         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61778         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61780         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61781         * sysdeps/wordsize-64/glob64.c: ... here.
61783         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61784         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61785         New macros.
61787         * debug/getlogin_r_chk.c: Moved to ...
61788         * login/getlogin_r_chk.c: ... here.
61789         * debug/Makefile (routines): Move getlogin_r_chk to ...
61790         * login/Makefile (routines): ... here.
61791         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61792         * login/Versions (libc: GLIBC_2.4): ... here.
61794         * io/poll.c (__poll): Renamed from poll.
61795         Add libc_hidden_def.
61796         (poll): Define as weak alias.
61798         * debug/ptsname_r_chk.c: Moved to ...
61799         * login/ptsname_r_chk.c: ... here.
61800         * debug/Makefile (routines): Move ptsname_r_chk to ...
61801         * login/Makefile (routines): ... here.
61802         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61803         * login/Versions (libc: GLIBC_2.4): ... here.
61805         * posix/getlogin.c: Moved to ...
61806         * login/getlogin.c: ... here.
61807         * posix/getlogin_r.c: Moved to ...
61808         * login/getlogin_r.c: ... here.
61809         * posix/getlogin_r.c: Moved to ...
61810         * login/getlogin_r.c: ... here.
61811         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61812         * login/Makefile (routines): ... here.
61813         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61814         * login/Versions (libc: GLIBC_2.0): ... here.
61816         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61817         (setrlimit): Define as weak alias.
61819         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61820         Call __ names for open, ftruncate, and close.
61821         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61822         (truncate): Define as weak alias.
61824 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61826         * math/gen-libm-test.pl (parse_args): Initialize x before each
61827         test of frexp, modf and remquo.
61829         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61830         test signgam value.
61832 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61834         [BZ #15418]
61835         [BZ #15419]
61836         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61837         internal tests.
61838         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61840 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61842         * elf/dl-writev.h: New file.
61843         * elf/dl-misc.c: Include it.
61844         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61845         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61847 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
61849         * math/libm-test.inc (noXFails): Remove variable.
61850         (noXPasses): Likewise.
61851         (BUILD_COMPLEX_INT): Remove macro.
61852         (print_screen): Remove xfail argument.
61853         (print_screen_max_error): Likewise.
61854         (update_stats): Likewise.
61855         (print_max_error): Likewise.  Update calls to other affected
61856         functions.
61857         (print_complex_max_error): Likewise.
61858         (test_single_exception): Update calls to print_screen.
61859         (test_single_errno): Likewise.
61860         (check_float_internal): Remove xfail argument.  Update calls to
61861         other affected functions.
61862         (check_float): Likewise.
61863         (check_complex): Likewise.
61864         (check_int): Likewise.
61865         (check_long): Likewise.
61866         (check_bool): Likewise.
61867         (check_longlong): Likewise.
61868         (main): Don't print noXFails and noXPasses.
61869         * math/gen-libm-test.pl (top level): Don't mention expected
61870         failure handling in comment.
61871         (new_test): Don't handle expected failures.
61872         (parse_args): Don't mention expected failure handling in comment.
61873         (generate_testfile): Don't handle expected failures.
61874         (parse_ulps): Likewise.
61875         (print_ulps_file): Likewise.
61876         (get_failure): Remove function.
61877         (output_test): Don't handle expected failures.
61878         * make/README.libm-test: Don't mention expected failure handling.
61880         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
61881         (minus_zero): Likewise.
61882         (plus_infty): Likewise.
61883         (minus_infty): Likewise.
61884         (qnan_value): Likewise.
61885         (max_value): Likewise.
61886         (min_value): Likewise.
61887         (min_subnorm_value): Likewise.
61888         (initialize): Do not initialize those variables dynamically.
61890 2013-05-03  Roland McGrath  <roland@hack.frob.com>
61892         * io/open.c (__open_2): Moved to ...
61893         * io/open_2.c: ... this new file.
61894         * io/open64.c (__open64_2): Moved to ...
61895         * io/open64_2.c: ... this new file.
61896         * io/openat.c (__openat_2): Moved to ...
61897         * io/openat_2.c: ... this new file.
61898         * io/openat64.c (__openat64_2): Moved to ...
61899         * io/openat64_2.c: ... this new file.
61900         * io/Makefile (routines): Add them.
61901         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
61902         * sysdeps/unix/sysv/linux/open_2.c: File removed.
61903         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
61904         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
61905         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
61906         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
61907         (__openat64): Add hidden_ver.
61908         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
61909         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
61911         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
61912         Separately conditionalize setting of GLRO(dl_sysinfo) so
61913         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
61914         as well, but the actual setting is only under [NEED_DL_SYSINFO].
61916 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61918         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
61919         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
61920         definition.
61921         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
61922         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61923         (_libc_vdso_platform_setup): Add __vdso_time initialization.
61924         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
61925         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
61927 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
61929         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
61930         test signgam value.
61932         * math/libm-test.inc (hypot_test): Do not use
61933         IGNORE_ZERO_INF_SIGN.
61935 2013-05-03  Andreas Jaeger  <aj@suse.de>
61937         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
61938         Linux 3.9.
61939         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
61940         (PF_MAX): Adjust for VSOCK change.
61942 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61946 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
61948         [BZ #15264]
61949         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
61950         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
61951         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
61953 2013-05-02  David S. Miller  <davem@davemloft.net>
61955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61957 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
61959         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
61961 2013-05-01  Roland McGrath  <roland@hack.frob.com>
61963         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
61965 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
61967         [BZ #14952]
61968         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
61969         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61970         Use __attribute__ ((__gnu_inline__)).
61971         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61972         Don't use __attribute__ ((__gnu_inline__)).
61974 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
61976         [BZ #15423]
61977         * math/s_catan.c (__catan): Handle small real or imaginary part of
61978         input specially to avoid spurious underflow.
61979         * math/s_catanf.c (__catanf): Likewise.
61980         * math/s_catanh.c (__catanh): Likewise.
61981         * math/s_catanhf.c (__catanhf): Likewise.
61982         * math/s_catanhl.c (__catanhl): Likewise.
61983         * math/s_catanl.c (__catanl): Likewise.
61984         * math/libm-test.inc (catan_test): Add more tests.
61985         (catanh_test): Likewise.
61986         * sysdeps/i386/fpu/libm-test-ulps: Update.
61987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61989 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61993 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
61995         [BZ #15416]
61996         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
61997         accurately for denominator in atan2.
61998         * math/s_catanf.c (__catanf): Likewise.
61999         * math/s_catanh.c (__catanh): Likewise.
62000         * math/s_catanhf.c (__catanhf): Likewise.
62001         * math/s_catanhl.c (__catanhl): Likewise.
62002         * math/s_catanl.c (__catanl): Likewise.
62003         * math/libm-test.inc (catan_test): Add more tests.
62004         (catanh_test): Likewise.
62005         * sysdeps/i386/fpu/libm-test-ulps: Update.
62006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62008 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62010         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62012         * benchtests/Makefile (bench): Remove slow benchmarks.
62013         * benchtests/atan-inputs: Add slow benchmark inputs.
62014         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62015         (BENCH_FUNC): Accept variant offset.
62016         (VARIANT): Define.
62017         * benchtests/bench-skeleton.c (main): Run benchmark for each
62018         variant.
62019         * benchtests/cos-inputs: Add slow benchmark inputs.
62020         * benchtests/exp-inputs: Likewise.
62021         * benchtests/pow-inputs: Likewise.
62022         * benchtests/sin-inputs: Likewise.
62023         * benchtests/slowatan-inputs: Remove.
62024         * benchtests/slowatan.c: Remove.
62025         * benchtests/slowcos-inputs: Remove.
62026         * benchtests/slowcos.c: Remove.
62027         * benchtests/slowexp-inputs: Remove.
62028         * benchtests/slowexp.c: Remove.
62029         * benchtests/slowpow-inputs: Remove.
62030         * benchtests/slowpow.c: Remove.
62031         * benchtests/slowsin-inputs: Remove.
62032         * benchtests/slowsin.c: Remove.
62033         * benchtests/slowtan-inputs: Remove.
62034         * benchtests/slowtan.c: Remove.
62035         * benchtests/tan-inputs: Add slow benchmark inputs.
62036         * scripts/bench.pl: Parse comments and directives.
62038         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62039         in CPPFLAGS.
62040         ($(objpfx)bench-%.c): Remove *-ITER.
62041         * benchtests/bench-modf.c: Remove definition of ITER.
62042         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62043         (main): Loop for DURATION seconds instead of fixed number of
62044         iterations.
62045         * scripts/bench.pl: Don't expect iterations in parameters.
62047 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62049         * io/fchdir.c (__fchdir): Renamed from fchdir.
62050         (fchdir): Define as weak alias.
62052 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62054         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62055         (ERRNO_EDOM): Likewise.
62056         (ERRNO_ERANGE): Likewise.
62057         (noErrnoTests): New variable.
62058         (init_max_error): Set errno to 0.
62059         (test_single_errno): New function.
62060         (test_errno): Likewise.
62061         (check_float_internal): Call test_errno.  Set errno to 0.
62062         (check_complex): Refer to errno tests in comment.
62063         (check_int): Call test_errno.  Set errno to 0.
62064         (check_long): Likewise.
62065         (check_bool): Likewise.
62066         (check_longlong): Likewise.
62067         (cos_test): Use ERRNO_* flags for errno tests instead of
62068         check_int.
62069         (expm1_test): Likewise.
62070         (fmod_test): Likewise.
62071         (ilogb_test): Likewise.
62072         (lgamma_test): Likewise.
62073         (pow_test): Likewise.
62074         (remainder_test): Likewise.
62075         (sin_test): Likewise.
62076         (tan_test): Likewise.
62077         (yn_test): Likewise.
62078         (initialize): Set errno to 0.
62079         (main): Print number of errno tests.
62080         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62082 2013-04-29  Andreas Jaeger  <aj@suse.de>
62084         [BZ #15084]
62085         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62086         and RES_USEVC.
62088         [BZ #15085]
62089         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62090         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62091         unimplemented.
62093         [BZ #15380]
62094         * stdlib/random.c (__initstate): Return NULL if
62095         __initstate fails.
62097         [BZ #15086]
62098         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62099         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62100         RES_SNGLKUPREOP.
62102 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62106 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62108         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62109         of individual tests.
62110         (casin_test): Likewise.
62111         (casinh_test): Likewise.
62113 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62115         [BZ #15409]
62116         * math/s_catan.c (__catan): Handle arguments with large real or
62117         imaginary part separately without squaring.
62118         * math/s_catanf.c (__catanf): Likewise.
62119         * math/s_catanh.c (__catanh): Likewise.
62120         * math/s_catanhf.c (__catanhf): Likewise.
62121         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62122         and redefine.
62123         (__catanhl): Handle arguments with large real or imaginary part
62124         separately without squaring.
62125         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62126         and redefine.
62127         (__catanl): Handle arguments with large real or imaginary part
62128         separately without squaring.
62129         * math/libm-test.inc (catan_test): Add more tests.
62130         (catanh_test): Likewise.
62131         * sysdeps/i386/fpu/libm-test-ulps: Update.
62132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62134 2013-04-27  Andreas Jaeger  <aj@suse.de>
62136         [BZ #15007]
62137         * stdlib/stdlib.h: Update guards for qecvt.
62138         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62139         <stdlib.h>.
62141 2013-04-27  Allan McRae  <allan@archlinux.org>
62143         * sysdeps/i386/fpu/libm-test-ulps: Update.
62145 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62147         [BZ #15406]
62148         * math/s_catan.c: Include <float.h>.
62149         (__catan): Ensure underflow exception occurs for underflowed
62150         result.
62151         * math/s_catanf.c: Include <float.h>.
62152         (__catanf): Ensure underflow exception occurs for underflowed
62153         result.
62154         * math/s_catanh.c: Include <float.h>.
62155         (__catanh): Ensure underflow exception occurs for underflowed
62156         result.
62157         * math/s_catanhf.c: Include <float.h>.
62158         (__catanhf): Ensure underflow exception occurs for underflowed
62159         result.
62160         * math/s_catanhl.c: Include <float.h>.
62161         (__catanhl): Ensure underflow exception occurs for underflowed
62162         result.
62163         * math/s_catanl.c: Include <float.h>.
62164         (__catanl): Ensure underflow exception occurs for underflowed
62165         result.
62166         * math/libm-test.inc (catan_test): Add more tests.
62167         (catanh_test): Likewise.
62169         [BZ #15405]
62170         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62171         underflowed result.
62172         * math/s_ccoshf.c (__ccoshf): Likewise.
62173         * math/s_ccoshl.c (__ccoshl): Likewise.
62174         * math/s_csin.c (__csin): Likewise.
62175         * math/s_csinf.c (__csinf): Likewise.
62176         * math/s_csinh.c (__csinh): Likewise.
62177         * math/s_csinhf.c (__csinhf): Likewise.
62178         * math/s_csinhl.c (__csinhl): Likewise.
62179         * math/s_csinl.c (__csinl): Likewise.
62180         * math/libm-test.inc (ccos_test): Add more tests.
62181         (ccosh_test): Likewise.
62182         (csin_test): Likewise.
62183         (csinh_test): Likewise.
62185 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62187         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62188         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62189         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62190         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62191         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62192         powerpc/power5+/fpu folders.
62193         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62196 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62200 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62202         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62203         additions to variable.
62204         [$(config-machine) = x86_64] (modules-names): Likewise.
62205         ($(objpfx)tst-audit3): Remove dependency.
62206         ($(objpfx)tst-audit3.out): Likewise.
62207         ($(objpfx)tst-audit4): Likewise.
62208         ($(objpfx)tst-audit4.out): Likewise.
62209         ($(objpfx)tst-audit5): Likewise.
62210         ($(objpfx)tst-audit5.out): Likewise.
62211         ($(objpfx)tst-audit6): Likewise.
62212         ($(objpfx)tst-audit6.out): Likewise.
62213         ($(objpfx)tst-audit7): Likewise.
62214         ($(objpfx)tst-audit7.out): Likewise.
62215         (tst-audit3-ENV): Remove variable.
62216         (tst-audit4-ENV): Likewise.
62217         (tst-audit5-ENV): Likewise.
62218         (tst-audit6-ENV): Likewise.
62219         (tst-audit7-ENV): Likewise.
62220         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62221         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62222         addition to variable.
62223         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62224         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62225         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62226         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62227         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62228         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62229         tst-audit3, tst-audit4 and tst-audit5.
62230         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62231         tst-audit6 and tst-audit7.
62232         [$(subdir) = elf] (modules-names): Add audit modules for those
62233         tests.
62234         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62235         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62236         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62237         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62238         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62239         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62240         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62241         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62242         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62243         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62244         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62245         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62246         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62247         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62248         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62249         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62250         Likewise.
62251         [$(subdir) = elf && $(config-cflags-avx) = yes]
62252         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62253         [$(subdir) = elf && $(config-cflags-avx) = yes]
62254         (CFLAGS-tst-auditmod4a.c): Likewise.
62255         [$(subdir) = elf && $(config-cflags-avx) = yes]
62256         (CFLAGS-tst-auditmod4b.c): Likewise.
62257         [$(subdir) = elf && $(config-cflags-avx) = yes]
62258         (CFLAGS-tst-auditmod6b.c): Likewise.
62259         [$(subdir) = elf && $(config-cflags-avx) = yes]
62260         (CFLAGS-tst-auditmod6c.c): Likewise.
62261         [$(subdir) = elf && $(config-cflags-avx) = yes]
62262         (CFLAGS-tst-auditmod7b.c): Likewise.
62263         * elf/tst-audit3.c: Move to ...
62264         * sysdeps/x86_64/tst-audit3.c: ... here.
62265         * elf/tst-audit4.c: Move to ...
62266         * sysdeps/x86_64/tst-audit4.c: ... here.
62267         * elf/tst-audit5.c: Move to ...
62268         * sysdeps/x86_64/tst-audit5.c: ... here.
62269         * elf/tst-audit6.c: Move to ...
62270         * sysdeps/x86_64/tst-audit6.c: ... here.
62271         * elf/tst-audit7.c: Move to ...
62272         * sysdeps/x86_64/tst-audit7.c: ... here.
62273         * elf/tst-auditmod3a.c: Move to ...
62274         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62275         * elf/tst-auditmod3b.c: Move to ...
62276         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62277         * elf/tst-auditmod4a.c: Move to ...
62278         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62279         * elf/tst-auditmod4b.c: Move to ...
62280         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62281         * elf/tst-auditmod5a.c: Move to ...
62282         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62283         * elf/tst-auditmod5b.c: Move to ...
62284         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62285         * elf/tst-auditmod6a.c: Move to ...
62286         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62287         * elf/tst-auditmod6b.c: Move to ...
62288         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62289         * elf/tst-auditmod6c.c: Move to ...
62290         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62291         * elf/tst-auditmod7a.c: Move to ...
62292         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62293         * elf/tst-auditmod7b.c: Move to ...
62294         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62296 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62298         [BZ #15366]
62299         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62300         define unconditionally.
62301         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62302         define unconditionally.
62303         (INT8_C, INT16_C, etc.): Likewise.
62305 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62307         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62308         __ehdr_start with hidden visibility.
62310         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62312 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62314         * math/libm-test.inc (cos_test): Use accurate hex constants.
62315         (sincost_test): Likewise.
62317 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62319         * math/libm-test.inc (catan_test): Add more tests.
62320         (catanh_test): Likewise.
62322         * math/s_catanf.c (__catanf): Use suffixed floating-point
62323         constants.
62324         * math/s_catanhf.c (__catanhf): Likewise.
62325         * math/s_catanhl.c (__catanhl): Likewise.
62326         * math/s_catanl.c (__catanl): Likewise.
62328         [BZ #15394]
62329         * math/s_catan.c (__catan): Calculate imaginary part of result
62330         with log1p not log unless computing log of number close to 0.
62331         * math/s_catanf.c (__catanf): Likewise.
62332         * math/s_catanl.c (__catanl): Likewise.
62333         * math/s_catanh.c (__catanh): Calculate real part of result with
62334         log1p not log unless computing log of number close to 0.
62335         * math/s_catanhf.c (__catanhf): Likewise.
62336         * math/s_catanhl.c (__catanhl): Likewise.
62337         * math/libm-test.inc (catan_test): Add more tests.
62338         (catanh_test): Likewise.
62339         * sysdeps/i386/fpu/libm-test-ulps: Update.
62340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62342 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62344         * benchtests/Makefile: Mention files in which fast and slow
62345         paths of math functions are implemented.
62347 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62349         * sysdeps/posix/timespec_get.c: New file.
62351 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62353         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62354         POWER.
62355         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62356         for POWER.
62357         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62358         powerpc/power5/fpu folders.
62359         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62360         * benchtests/Makefile: Add modf testcase.
62361         * benchtests/bench-modf.c: New file: Benchmark test for mo
62363 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62365         [BZ #14888]
62366         * time/Makefile (tests): Add tst-strptime-whitespace.
62367         * time/strptime_l.c (get_number): Use ISSPACE.
62368         (__strptime_internal): Likewise.
62369         * time/tst-strptime-whitespace.c: New test case.
62371 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62373         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62374         member.
62375         (_nss_files_init): Set it here.
62377 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62379         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62380         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62381         unsigned.
62383 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62385         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62387 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62389         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62390         size just once.
62392 2013-04-21  David S. Miller  <davem@davemloft.net>
62394         * po/ru.po: Update Russion translation from translation project.
62396 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62398         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62399         and setfsgid.
62401 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62403         * configure.in: Remove i386 configure warning. Remove i386 case.
62404         * configure: Regenerate.
62405         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62406         Add example to error message.
62407         * sysdeps/i386/configure: Regenerate.
62409 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62411         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62412         slowtan.
62413         * benchtests/cos-inputs: New file.
62414         * benchtests/slowcos-inputs: New file.
62415         * benchtests/slowcos.c: New file.
62416         * benchtests/slowtan-inputs: New file.
62417         * benchtests/slowtan.c: New file.
62418         * benchtests/tan-inputs: New file.
62420 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62422         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62423         considered kosher.
62425 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62427         * benchtests/Makefile: Include cppflags-iterator.mk to add
62428         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62430         * Makefile.in (bench-clean): New target.
62431         * benchtests/Makefile (bench-clean): Likewise.
62433 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62435         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62437 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62439         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62441 2013-04-15  Andreas Schwab  <schwab@suse.de>
62443         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62444         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62445         * nscd/pwdcache.c (cache_addpw): Likewise.
62446         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62447         more than recsize.
62449 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62451         * benchtests/Makefile (bench): Write all output to
62452         bench-out.tmp together.
62454 2013-04-15  Andreas Schwab  <schwab@suse.de>
62456         * nscd/nscd.c (main): Don't fork again after closing files.
62458 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62460         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62462         * benchtests/Rules (bench-deps): Collect dependencies into a
62463         single variable.  Add Makefile to dependencies.
62464         ($(objpfx)bench-%.c): Depend on bench-deps.
62466 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62467             Xavier Roche  <roche+kml2@exalead.com>
62469         [BZ #15361]
62470         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62471         just that it's a file descriptor.
62472         * manual/llio.texi (Synchronizing AIO Operations): Update description
62473         for EBADF error from aio_fsync.
62475 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62477         * Rules (bench): Move target definition...
62478         * benchtests/Makefile: ... here.
62480 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62482         * math/libm-test.inc (cos_test): Fix PI/2 test.
62483         (sincos_test): Likewise.
62484         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62485         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62487 2013-04-11  Andreas Schwab  <schwab@suse.de>
62489         [BZ #13988]
62490         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62491         accept exponent character only when digits were seen.
62492         * stdio-common/Makefile (tests): Add bug26.
62493         * stdio-common/bug26.c: New file.
62495         [BZ #14293]
62496         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62497         non-freeable.
62499 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62501         * Makeconfig (rtld-prefix): Define built linker prefix.
62502         * Rules (run-bench): Use it.
62503         * math/Makefile (run-regen-ulps): Likewise.
62505         * Rules (bench): Remove eval.
62507 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62508             Roland McGrath  <roland@hack.frob.com>
62509             Ondrej Bilka  <neleai@seznam.cz>
62511         [BZ #15346]
62512         * time/getdate.c: Include ctype.h and alloca.h.
62513         (__getdate_r): Trim leading and trailing spaces of input.
62514         * time/tst-getdate.c (tests): Add tests with leading and
62515         trailing spaces.
62517 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62519         [BZ #14280]
62520         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62521         when computing value.
62523 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62525         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62526         Use testrun.sh to run libm tests.
62528         [BZ #15309]
62529         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62531 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62533         [BZ #15264]
62534         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62536 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62538         * Makefile.in (regen-ulps): New target.
62539         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62540         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62541         [ifneq (no,$(PERL)] (regen-ulps): New target.
62542         [ifeq (no,$(PERL)] (regen-ulps): New target.
62543         * math/libm-test.inc (ulps_file_name): Define.
62544         (output_dir): New variable.
62545         (options): Add "output-dir" option.
62546         (parse_opt): Handle 'o' case.
62547         (main): If output_dir is non-NULL use it as a prefix
62548         otherwise use "".
62549         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62551 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62553         [BZ #10060, #10062]
62554         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62555         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62556         fail configure if __sync_val_compare_and_swap is not inlined.
62557         * sysdeps/i386/configure: Regenerate.
62558         * configure.in: Build for i686 when configured for i386.
62559         * configure: Regenerate.
62560         * README: Remove i386 reference.
62562 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62564         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62565         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62567 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62569         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62570         (lmsnanval): New variables.
62571         (F): Add conversion tests.
62572         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62573         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62575         * stdio-common/tstdiomisc.c (F): Properly collect individual
62576         tests' results.
62578         [BZ #14686, #15336]
62579         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62580         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62581         Instead, use input NaN values or generate a qNaN by arithmetic
62582         operation.  Also fix bugs to comply with the standard.
62583         * math/libm-test.inc (remainder_test): Add more tests.
62585         [BZ #15335, #15342]
62586         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62587         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62588         input NaN values or generate a qNaN by arithmetic operation.
62590         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62591         unreachable code.
62593         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62594         definitions.
62596 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62598         [BZ #14478]
62599         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62600         underflowed result.
62601         * math/s_cexpf.c (__cexpf): Likewise.
62602         * math/s_cexpl.c (__cexpl): Likewise.
62603         * math/libm-test.inc (cexp_test): Add more tests.
62605 2013-04-03  Andreas Schwab  <schwab@suse.de>
62607         [BZ #15330]
62608         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62609         order arrays from heap if bigger than alloca cutoff.
62611 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62613         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62614         (SNAN_TESTS_double): Refer to GCC PR56831.
62615         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62616         GCC PR56828.
62618 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62620         * Rules (bench): Move bench.out after the run is complete.
62622         * Rules (bench): Echo currently running benchmark.
62624         * benchtests/Makefile (bench): Add atan and slowatan.
62625         * benchtests/atan-inputs: New file.
62626         * benchtests/slowatan-inputs: New file.
62627         * benchtests/slowatan.c: New file.
62629         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62630         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62631         its value.
62633         [BZ #15305]
62634         * sysdeps/unix/sysv/linux/kernel-features.h
62635         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62636         __ASSUME_XFS_RESTRICTED_CHOWN.
62637         * sysdeps/unix/sysv/linux/pathconf.c
62638         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62639         Save and restore errno.
62641 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62643         [BZ #15327]
62644         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62645         arguments using __kernel_casinh.
62646         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62647         arguments using __kernel_casinhf.
62648         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62649         arguments using __kernel_casinhl.
62650         * math/libm-test.inc (cacosh_test): Add more tests.
62651         * sysdeps/i386/fpu/libm-test-ulps: Update.
62652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62654 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62656         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62657         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62659         * bench/Makefile (bench): Add sin and slowsin.
62660         * benchtests/sin-inputs: New file.
62661         * benchtests/slowsin-inputs: New file.
62662         * benchtests/slowsin.c: New file.
62664         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62665         (bench): Add slowexp and slowpow.
62666         (exp-ITER): Increase iterations.
62667         (pow-ITER): Likewise.
62668         * benchtests/exp-inputs: Change input.
62669         * benchtests/pow-inputs: Likewise.
62670         * benchtests/slowexp-inputs: New file.
62671         * benchtests/slowexp.c: New file.
62672         * benchtests/slowpow-inputs: New file.
62673         * benchtests/slowpow.c: New file.
62675 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62677         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62678         instructions.
62679         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62680         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62681         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62682         * benchtests/Makefile: Add rint benchtest.
62683         * benchtests/rint-inputs: Input for rint benchtest.
62685 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62687         * Versions.def (libm): Add GLIBC_2.18.
62688         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62689         hidden libm prototypes.
62690         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62691         * math/Makefile (libm-calls): Add s_issignaling.
62692         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62693         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62694         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62695         declaration.
62696         * math/math.h [__USE_GNU] (issignaling): New macro.
62697         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62698         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62699         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62700         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62701         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62702         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62703         * manual/arith.texi (issignaling): New section.
62704         * manual/libm-err-tab.pl (@all_functions): Update comment.
62705         * math/gen-libm-test.pl (parse_args): Apply special handling for
62706         issignaling.
62707         * math/libm-test.inc (print_float, issignaling_test): New
62708         functions.
62709         (check_float_internal): Add issignaling checks.
62710         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62711         default definition.
62712         * sysdeps/powerpc/math-tests.h: New file.
62713         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62714         tests.
62715         * math/test-snan.c (TEST_FUNC): Likewise.
62717 2013-03-30  David S. Miller  <davem@davemloft.net>
62719         * po/de.po: Update from translation team.
62721 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62723         [BZ #10357]
62724         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62725         imaginary part less than 1.0 and real part less than 0.5
62726         specially.
62727         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62728         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62729         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62730         (cacos_test): Add more tests.
62731         (casin_test): Likewise.
62732         (casinh_test): Likewise.
62733         * sysdeps/i386/fpu/libm-test-ulps: Update.
62734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62736 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62738         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62739         ONE with its value.
62741         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62742         (__pow_mp): Replace ONE and MONE with their values.
62743         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62744         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62745         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62746         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62747         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62748         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62750         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62752         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62753         (__pow_mp): Replace ZERO and MZERO with their values.
62754         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62755         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62756         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62757         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62758         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62759         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62760         (__sqr): Likewise.
62762         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62764         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62766 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62768         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62769         Declare with __attribute__ ((weak)).
62770         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62771         Call __call_tls_dtors only if it's not NULL.
62773 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62775         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62776         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62777         magic __ehdr_start linker symbol if it's defined.
62778         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62779         them up here if it was already done.
62781         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62782         (_dl_aux_init): Use const in cast when setting it.
62783         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62784         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62785         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62787         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62788         Declare them here.
62789         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62790         * csu/libc-tls.c: Nor here.
62791         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62793         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62794         (__libc_message): Never call vsyslog.
62796 2013-03-28  Alan Modra  <amodra@gmail.com>
62798         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62799         Define as empty.
62800         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62801         Likewise.
62803 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62805         [BZ #15214]
62806         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62807         underflow.
62808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62810 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62812         [BZ #15304]
62813         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62814         Don't add gid passed as argument.
62816         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62818 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62820         [BZ #15307]
62821         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62822         imaginary part between 1.0 and 1.5 and real part less than 0.5
62823         specially.
62824         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62825         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62826         * math/libm-test.inc (cacos_test): Add more tests.
62827         (casin_test): Likewise.
62828         (casinh_test): Likewise.
62829         * sysdeps/i386/fpu/libm-test-ulps: Update.
62830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62832 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62834         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62835         constants.
62836         (norm): Likewise.
62837         (denorm): Likewise.
62838         (__dbl_mp): Likewise.
62839         (add_magnitudes): Likewise.
62840         (sub_magnitudes): Likewise.
62841         (__add): Likewise.
62842         (__sub): Likewise.
62843         (__mul): Likewise.
62844         (__sqr): Likewise.
62845         (__inv): Likewise.
62846         (__dvd): Likewise.
62848         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
62849         commented code.
62850         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
62851         (__dubcos): Likewise.
62852         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
62853         (__ieee754_acos): Likewise.
62854         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62855         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
62856         (__exp1): Likewise.
62857         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62858         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62859         (log1): Likewise.
62860         (my_log2): Likewise.
62861         (checkint): Likewise.
62862         * sysdeps/ieee754/dbl-64/e_remainder.c
62863         (__ieee754_remainder): Likewise.
62864         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62865         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
62866         (bsloww): Likewise.
62867         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62869         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62870         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
62871         MANTISSA_STORE_T to store computations on mantissa.  Use
62872         macros for rounding and division.
62873         (denorm): Likewise.
62874         (__dbl_mp): Likewise.
62875         (add_magnitudes): Likewise.
62876         (sub_magnitudes): Likewise.
62877         (__mul): Likewise.
62878         (__sqr): Likewise.
62879         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62880         powers of two in terms of TWOPOW macro.
62881         (mp_no): Make type of mantissa as MANTISSA_T.
62882         [!RADIXI]: Define RADIXI.
62883         [!TWO52]: Define TWO52.
62884         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62886 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62888         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
62889         llroundl symbol when building for PPC32.
62891 2013-03-24  Mark H Weaver  <mhw@netris.org>
62893         * manual/arith.texi (Normalization Functions): Fix prototypes for
62894         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
62896 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62898         [BZ #13889]
62899         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
62900         high value to check if expl overflow.
62901         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
62902         to check for underflow and overflow.
62903         * math/libm-test.inc: Add exp test.
62905 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
62907         [BZ #11120]
62908         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
62909         with NOT_IN_libc.
62911 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62913         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
62914         symbol.
62916 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62918         * math/gen-libm-test.pl (parse_args, special_functions): Properly
62919         wrap blocks consisting of several statements.
62921         * sysdeps/generic/math-tests.h: New file.
62922         * sysdeps/i386/fpu/math-tests.h: Likewise.
62923         * math/test-snan.c: Include it.
62924         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
62926 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62928         [BZ #15285]
62929         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
62930         (__ieee754_j0l): Do not improve calculations using cos of twice
62931         input for inputs above LDBL_MAX / 2.0L.
62932         (__ieee754_y0l): Likewise.
62933         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
62934         (__ieee754_j1l): Do not improve calculations using cos of twice
62935         input for inputs above LDBL_MAX / 2.0L.
62936         (__ieee754_y1l): Likewise.
62937         * math/libm-test.inc (j0_test): Add another test.
62938         (j1_test): Likewise.
62939         (y0_test): Likewise.
62940         (y1_test): Likewise.
62941         * sysdeps/i386/fpu/libm-test-ulps: Update.
62943 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62945         * Rules ($(objpfx)bench-%.c): Include code from a C source
62946         file.
62948 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62950         [BZ #15287]
62951         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62952         imaginary part 1.0 and real part less than 0.5 specially.
62953         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62954         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62955         * math/libm-test.inc (cacos_test): Add more tests.
62956         (casin_test): Likewise.
62957         (casinh_test): Likewise.
62958         * sysdeps/i386/fpu/libm-test-ulps: Update.
62959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62961 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62963         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
62964         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
62966 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
62968         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
62969         * config.make.in (config-cflags-sse4): Remove variable.
62970         (config-cflags-avx): Likewise.
62971         (config-cflags-sse2avx): Likewise.
62972         (config-cflags-novzeroupper): Likewise.
62973         (config-asflags-i686): Likewise.
62974         (have-mfma4): Likewise.
62975         (have-as-vis3): Likewise.
62976         (MIG): Likewise.
62977         * configure.in (MIG): Do not AC_SUBST.
62978         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
62979         (libc_cv_cc_sse4): Do not AC_SUBST.
62980         (libc_cv_cc_avx): Likewise.
62981         (libc_cv_cc_sse2avx): Likewise.
62982         (libc_cv_cc_novzeroupper): Likewise.
62983         (libc_cv_cc_fma4): Likewise.
62984         (libc_cv_as_i686): Likewise.
62985         (libc_cv_sparc_as_vis3): Likewise.
62986         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
62987         LIBC_CONFIG_VAR.
62988         (config-asflags-i686): Likewise.
62989         (config-cflags-avx): Likewise.
62990         (config-cflags-sse2avx): Likewise.
62991         (have-mfma4): Likewise.
62992         (config-cflags-novzeroupper): Likewise.
62993         * sysdeps/mach/configure.in (MIG): Likewise.
62994         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
62995         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
62996         LIBC_CONFIG_VAR.
62997         (config-cflags-avx): Likewise.
62998         (config-cflags-sse2avx): Likewise.
62999         (have-mfma4): Likewise.
63000         (config-cflags-novzeroupper): Likewise.
63001         * configure: Regenerated.
63002         * sysdeps/i386/configure: Likewise.
63003         * sysdeps/mach/configure: Likewise.
63004         * sysdeps/sparc/configure: Likewise.
63005         * sysdeps/x86_64/configure: Likewise.
63007 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63009         [BZ #14812]
63010         * locale/programs/localedef.c (options): Put N_ translation marker
63011         on argument names, not just descriptions.
63013 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63015         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63017 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63019         [BZ #14176]
63020         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63022 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63024         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63025         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63026         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63027         [!BEFORE_ABORT] (before_abort): New function.
63028         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63029         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63030         (writev_for_fatal): New function.
63031         (WRITEV_FOR_FATAL): New macro; call that.
63032         (backtrace_and_maps): New function.
63033         (BEFORE_ABORT): New macro; call that.
63034         (struct str_list): Type removed.
63035         (__libc_message, __libc_fatal): Functions removed.
63036         Include <sysdeps/posix/libc_fatal.c> instead.
63038 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63040         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63041         constants.
63042         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63043         double constants.
63045 2013-03-19  Andreas Schwab  <schwab@suse.de>
63047         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63048         * sysdeps/gnu/configure: Regenerate.
63050         * configure.in: Substitute libc_cv_rtlddir.
63051         * configure: Regenerate.
63052         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63053         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63054         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63055         * elf/Makefile (install-others, CFLAGS-interp.c)
63056         (ldso_install, common-ldd-rewrite): Likewise.
63057         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63058         $(inst_slibdir)/$(rtld-installed-name).
63059         * scripts/rellns-sh: Add -p option.
63060         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63061         for source.
63063 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63065         * manual/nptl.texi: Renamed to ...
63066         * manual/threads.texi: ... this.
63067         * manual/Makefile (chapters): Update.
63069 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63071         [BZ #14812]
63072         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63073         on argument names, not just descriptions.
63074         * malloc/memusagestat.c (options): Likewise.
63075         * nss/getent.c (options): Likewise.
63077 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63079         [BZ #14812]
63080         * iconv/iconv_prog.c (options): Put N_ translation marker
63081         on argument names, not just descriptions.
63082         * iconv/iconvconfig.c (options): Likewise.
63084 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63086         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63087         implementation which is faster on all x86_64 architectures.
63088         Tested on AMD, Intel Nehalem, SNB, IVB.
63089         * sysdeps/x86_64/strnlen.S: Likewise.
63091         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63092         Remove all multiarch strlen and strnlen versions.
63093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63094         Remove strlen and strnlen related parts.
63096         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63097         Inline strlen part.
63098         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63100         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63101         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63102         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63103         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63104         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63105         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63107 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63109         * manual/memory.texi (Malloc Tunable Parameters):
63110         Sort parameters alphabetically. Add comments for missing entries.
63112 2013-03-17  David S. Miller  <davem@davemloft.net>
63114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63116 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63118         [BZ #15283]
63119         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63120         for arguments at most half maximum finite value.
63121         * math/libm-test.inc (j0_test): Add more tests.
63122         (j1_test): Likewise.
63123         (y0_test): Likewise.
63124         (y1_test): Likewise.
63125         * sysdeps/i386/fpu/libm-test-ulps: Update.
63126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63128         [BZ #14155]
63129         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63130         1 / x and functions P and Q for arguments above 0x1p256L.
63131         (__ieee754_y0l): Likewise.
63132         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63133         (__ieee754_y1l): Likewise.
63134         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63135         (j1_test): Likewise.
63136         (y0_test): Likewise.
63137         (y1_test): Likewise.
63139 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63141         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63142         variable.
63144 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63146         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63147         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63148         zero since it's initialized to EXEC_PAGESIZE.
63150         * sysdeps/unix/sysv/linux/ldsodefs.h
63151         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63152         * sysdeps/generic/ldsodefs.h: ... here.
63154 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63156         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63158         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63159         math/test-snan.c.
63160         * math/test-snan.c: Renamed from
63161         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63162         * math/Makefile (tests): Add test-snan.
63163         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63164         test-powerpc-snan.
63166         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63167         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63168         functions.
63169         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63170         __builtin_nan family of functions.
63171         * math/libm-test.inc (initialize): Initialize qnan_value with
63172         __builtin_nan family of functions.
63173         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63174         Remove variables.
63175         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63176         Remove functions.
63177         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63178         storage class.  Initialize qNaN_var and sNaN_var with
63179         __builtin_nan and __builtin_nans families of functions,
63180         respectively.
63182         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63183         (sqrt_test): Remove duplicate test with qNaN input.
63184         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63185         (round_test, signbit_test, significand_test): Note missing +/-Inf
63186         as well as qNaN tests.
63188         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63189         qNaN_var.  Fix a few strings, too.
63190         * math/libm-test.inc (nan_value): Rename to qnan_value.
63191         * math/gen-libm-test.pl (%beautify): Adjust to that.
63192         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63193         * math/test-misc.c (main): Likewise.
63194         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63195         to __qnan_bytes, and __qnan_union, respectively.
63196         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63197         Likewise.
63198         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63199         and lqnanval, respectively.
63200         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63201         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63202         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63203         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63205         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63206         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63207         doubles.
63209         * math/test-misc.c (main): Fix copy'n'pastos.
63210         * misc/tst-efgcvt.c (special): Likewise.
63212         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63213         Remove declarations.
63215 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63217         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63218         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63219         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63220         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63222 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63224         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63225         macro to return vdso values correctly in IFUNC implementations.
63226         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63227         Optimization by using IFUNC.
63229 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63230             Richard Henderson  <rth@redhat.com>
63231             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63233         * Makefile.in (bench): New target.
63234         * NEWS: Mention the benchmark framework.
63235         * Rules (bench): Likewise.
63236         (binaries-bench): Generate binaries for functions to
63237         benchmark.
63238         * benchtests/Makefile: New makefile for benchmark tests.
63239         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63240         programs.
63241         * benchtests/exp-inputs: New input file for EXP function.
63242         * benchtests/pow-inputs: New input file for POW function.
63243         * scripts/bench.pl: New script to generate source files for
63244         benchmark programs.
63246 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63248         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63249         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63250         computations on mantissa.  Use macros for rounding and
63251         division.
63252         (denorm): Likewise.
63253         (__dbl_mp): Likewise.
63254         (add_magnitudes): Likewise.
63255         (sub_magnitudes): Likewise.
63256         (__mul): Likewise.
63257         (__sqr): Likewise.
63258         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63259         powers of two in terms of TWOPOW macro.
63260         (mp_no): Make type of mantissa as MANTISSA_T.
63261         [!RADIXI]: Define RADIXI.
63262         [!TWO52]: Define TWO52.
63263         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63265         * manual/nptl.texi (cindex): Modify threads to pthreads.
63267 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63269         * sysdeps/x86_64/preconfigure: Regenerated.
63271 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63273         [BZ #14155]
63274         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63275         0x1p28 and above.
63276         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63277         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63278         0x1p28 and above.
63279         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63280         * math/libm-test.inc (j0_test): Do not allow one spurious
63281         underflow exception.
63282         (y1_test): Likewise.
63284 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63286         * manual/Makefile (chapters): Add nptl.
63287         * manual/debug.texi (Debugging Support): Add link to Threads
63288         chapter.
63289         * manual/nptl.texi: New file.
63291         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63293 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63295         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63296         for non-NULL pointer before the memory validity test. Pointed
63297         out by Holger Brunck <holger.brunck@keymile.com>.
63299 2013-03-13  Andreas Schwab  <schwab@suse.de>
63301         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63302         instead of .os.
63304 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63306         * timezone/zic.c: Update from tzcode 2013b.
63308 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63310         * manual/install.texi (Configuring and compiling):
63311         Mention i686 and i586.
63312         * INSTALL: Regenerate.
63314 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63316         * sysdeps/init_array/elf-init.c: New file.
63317         * csu/elf-init.c
63318         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63319         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63321         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63322         __gmon_start__ as global, but as static with a .preinit_array pointer.
63323         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63324         * sysdeps/init_array/crti.S: New file, empty except for comments.
63325         * sysdeps/init_array/crtn.S: Likewise.
63327 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63329         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63330         definining bcopy.
63331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63332         Remove Prefer_SSE_for_memop.
63333         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63334         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63335         HAS_PREFER_SSE_FOR_MEMOP.
63336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63337         memset-x86-64.
63338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63339         Remove bzero, memset ifunc support.
63340         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63341         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63342         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63343         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63345 2013-03-11  Andreas Schwab  <schwab@suse.de>
63347         [BZ #15234]
63348         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63349         by SHLIB_COMPAT.
63350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63351         (GLIBC_2.16): Remove pthread_atfork.
63353 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63355         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63356         (ptestcases.h): Likewise.
63358 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63360         * Makeconfig ($(common-objpfx)config.status): Depend on
63361         sysdeps/*/preconfigure{,.in} too.
63363 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63365         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63366         (__free_hook): Use void * instead of __malloc_ptr_t.
63367         (__malloc_hook): Likewise.
63368         (__realloc_hook): Likewise.
63369         (__memalign_hook): Likewise.
63370         (__after_morecore_hook): Likewise.
63371         * malloc/arena.c (save_malloc_hook): Likewise.
63372         (save_free_hook): Likewise.
63373         * malloc/hooks.c (malloc_hook_ini): Likewise.
63374         (realloc_hook_ini): Likewise.
63375         (memalign_hook_ini): Likewise.
63376         * malloc/malloc.c (malloc_hook_ini): Likewise.
63377         (realloc_hook_ini): Likewise.
63378         (memalign_hook_ini): Likewise.
63379         (__free_hook): Likewise.
63380         (__malloc_hook): Likewise.
63381         (__realloc_hook): Likewise.
63382         (__memalign_hook): Likewise.
63383         (__libc_malloc): Likewise.
63384         (__libc_free): Likewise.
63385         (__libc_realloc): Likewise.
63386         (__libc_memalign): Likewise.
63387         (__libc_valloc): Likewise.
63388         (__libc_pvalloc): Likewise.
63389         (__libc_calloc): Likewise.
63390         (__posix_memalign): Likewise.
63391         * malloc/morecore.c (__sbrk): Likewise.
63392         (__default_morecore): Likewise.
63394         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63396         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63397         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63398         __malloc_ptrdiff_t.
63400         * malloc/malloc.h (__malloc_size_t): Remove macro.
63401         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63402         __malloc_size_t.
63403         (old_memalign_hook): Likewise.
63404         (old_realloc_hook): Likewise.
63405         (struct hdr): Likewise.
63406         (flood): Likewise.
63407         (mallochook): Likewise.
63408         (memalignhook): Likewise.
63409         (reallochook): Likewise.
63410         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63411         (tr_old_realloc_hook): Likewise.
63412         (tr_old_memalign_hook): Likewise.
63413         (tr_mallochook): Likewise.
63414         (tr_reallochook): Likewise.
63415         (tr_memalignhook): Likewise.
63417 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63419         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63420         default_ldbl_pack and using as default implementation.
63421         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63422         implementation.
63423         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63424         redundant definition.
63425         (ldbl_insert_mantissa): Likewise.
63426         (ldbl_canonicalize): Likewise.
63427         (ldbl_nearbyint): Likewise.
63428         (ldbl_pack): Rename to ldbl_pack_ppc.
63429         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63430         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63431         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63433 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63436         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63437         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63438         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63440         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63441         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63442         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63444 2013-03-07  Andreas Jaeger  <aj@suse.de>
63446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63447         bits/mman-linux.h.
63449 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63451         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63452         Include mpa.h and declare __MPEXP.
63453         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63454         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63455         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63456         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63457         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63458         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63459         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63461         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63462         (__slowpow): Use long double EXPL and LOGL functions to
63463         compute POW.
63464         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63465         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63466         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63467         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63468         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63469         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63472         intermediate variable to calculate exponent.
63473         (__sqr): Likewise.
63474         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63475         Likewise.
63476         (__sqr): Likewise.
63478         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63479         [!NO__SQR]: Define __sqr.
63480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63481         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63482         sysdeps/ieee754/dbl-64/mpa.c.
63483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63485         [BZ #12723]
63486         * posix/Makefile (tests): Add tst-pathconf.
63487         * posix/tst-pathconf.c: New test case.
63488         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63489         _PC_PIPE_BUF.
63490         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63492 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63494         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63496 2013-03-06  Andreas Jaeger  <aj@suse.de>
63498         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63499         definition via __MAP_ANONYMOUS.
63501         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63502         it's not part of Linux headers.
63504         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63505         (MAP_HUGE_MASK): Define.
63507         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63508         Define.
63509         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63510         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63511         Define.
63512         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63513         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63514         Define.
63515         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63516         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63517         Define.
63518         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63520         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63521         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63522         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63523         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63524         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63525         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63527         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63528         Handle f2fs.
63530         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63531         Handle f2fs and efivarfs.
63533         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63534         f2fs.
63536         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63537         (EFIVARFS_MAGIC): Add.
63538         (F2FS_LINK_MAX): Add.
63540 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63542         * stdio-common/vfprintf.c: Replace __builtin_expect with
63543         __glibc_unlikely.
63545 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63547         [BZ #13550]
63548         * sysdeps/generic/bp-sym.h: Remove file.
63549         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63550         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63551         <bp-sym.h> and <bp-asm.h>.
63552         (__longjmp): Don't use BP_SYM.
63553         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63554         and <bp-asm.h>.
63555         (memcpy): Don't use BP_SYM.
63556         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63557         <bp-sym.h> and <bp-asm.h>.
63558         (memcpy): Don't use BP_SYM.
63559         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63560         <bp-asm.h>.
63561         (memcpy): Don't use BP_SYM.
63562         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63563         <bp-asm.h>.
63564         (memset): Don't use BP_SYM.
63565         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63566         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63567         (__bzero): Don't use BP_SYM.
63568         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63569         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63570         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63571         <bp-sym.h> and <bp-asm.h>.
63572         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63573         pointers.
63574         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63575         <bp-sym.h> and <bp-asm.h>.
63576         (memcpy): Don't use BP_SYM.
63577         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63578         <bp-sym.h> and <bp-asm.h>.
63579         (memset): Don't use BP_SYM.
63580         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63581         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63582         (__bzero): Don't use BP_SYM.
63583         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63584         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63585         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
63586         <bp-sym.h> and <bp-asm.h>.
63587         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63588         pointers.
63589         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63590         <bp-sym.h> and <bp-asm.h>.
63591         (memcpy): Don't use BP_SYM.
63592         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63593         <bp-sym.h> and <bp-asm.h>.
63594         (memset): Don't use BP_SYM.
63595         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63596         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63597         (__bzero): Don't use BP_SYM.
63598         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63599         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63600         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63601         <bp-sym.h> and <bp-asm.h>.
63602         (__memchr): Don't use BP_SYM.
63603         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63604         <bp-sym.h> and <bp-asm.h>.
63605         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63606         pointers.
63607         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63608         <bp-sym.h> and <bp-asm.h>.
63609         (memcpy): Don't use BP_SYM.
63610         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63611         <bp-sym.h> and <bp-asm.h>.
63612         (__mempcpy): Don't use BP_SYM.
63613         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63614         <bp-sym.h> and <bp-asm.h>.
63615         (__memrchr): Don't use BP_SYM.
63616         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63617         <bp-sym.h> and <bp-asm.h>.
63618         (memset): Don't use BP_SYM.
63619         (__bzero): Likewise.
63620         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63621         <bp-sym.h> and <bp-asm.h>.
63622         (__rawmemchr): Don't use BP_SYM.
63623         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63624         <bp-sym.h> and <bp-asm.h>.
63625         (__STRCMP): Don't use BP_SYM.
63626         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63627         <bp-sym.h> and <bp-asm.h>.
63628         (strchr): Don't use BP_SYM.
63629         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63630         <bp-sym.h> and <bp-asm.h>.
63631         (__strchrnul): Don't use BP_SYM.
63632         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63633         <bp-sym.h> and <bp-asm.h>.
63634         (strlen): Don't use BP_SYM.
63635         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63636         <bp-sym.h> and <bp-asm.h>.
63637         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63638         pointers.
63639         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63640         <bp-sym.h> and <bp-asm.h>.
63641         (__strnlen): Don't use BP_SYM.
63642         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63643         <bp-sym.h> and <bp-asm.h>.
63644         (__GI__setjmp): Don't use BP_SYM.
63645         (_setjmp): Likewise.
63646         (__sigsetjmp): Likewise.
63647         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63648         (L(start_addresses)): Don't use BP_SYM.
63649         (_start): Likewise.
63650         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63651         <bp-asm.h>.
63652         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63653         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63654         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63655         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63656         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63657         <bp-asm.h>.
63658         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63659         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63660         about bounded pointers.
63661         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63662         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63663         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63664         <bp-asm.h>.
63665         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63666         about bounded pointers.  Remove GKM FIXME comments.
63667         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63668         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63669         <bp-asm.h>.
63670         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63671         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63672         Remove GKM FIXME comments.
63673         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63674         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63675         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63676         <bp-asm.h>.
63677         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63678         about bounded pointers.  Remove GKM FIXME comment.
63679         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63680         and <bp-asm.h>.
63681         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63682         pointers.
63683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63684         <bp-sym.h> and <bp-asm.h>.
63685         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63687         <bp-sym.h> and <bp-asm.h>.
63688         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63689         comment.
63691 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63693         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63694         call free(NULL).
63696 2013-03-05  David S. Miller  <davem@davemloft.net>
63698         * po/es.po: Update from translation team.
63700 2013-03-05  Andreas Jaeger  <aj@suse.de>
63702         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63703         <bits/mman-linux.h>.
63704         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63705         is fine.
63706         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63707         <bits/mman-linux.h> to end of file.
63708         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63709         is fine.
63710         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63711         <bits/mman-linux.h> to end of file.
63712         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63713         is fine.
63714         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63715         <bits/mman-linux.h> to end of file.
63717         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63718         (MCL_CURRENT, MCL_FUTURE): Define here.
63720 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63722         [BZ #15232]
63723         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63724         attribute_hidden.
63725         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63727 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63729         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63730         fourth parameter needed for rt_sigprocmask syscall.
63731         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63732         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63733         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63734         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63735         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63736         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63738 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63740         [BZ #13550]
63741         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63742         comment about bounded pointers.
63743         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63744         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63746 2013-03-04  Andreas Jaeger  <aj@suse.de>
63748         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63749         common definitions.
63751         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63752         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63753         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63754         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63755         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63756         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63758 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63760         [BZ #15055]
63761         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63762         __ieee754_sqrl instead of __sqrl.
63764 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63766         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63767         * sysdeps/powerpc/fpu_control.h: ... here.
63768         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63769         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63770         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63771         * sysdeps/powerpc/bits/mathinline.h: ... here.
63773 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63775         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63776         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63777         to just [NEED_DL_SYSINFO_DSO].
63778         * elf/dl-support.c: Likewise.
63779         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63780         * elf/rtld.c (dl_main): Likewise.
63781         * elf/setup-vdso.h (setup_vdso): Likewise.
63782         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63783         * sysdeps/unix/sysv/linux/dl-sysdep.c
63784         (_dl_discover_osversion): Likewise.
63786 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63788         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63789         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63791 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63793         * NEWS: Mention libm performance improvements and non-x86 PI
63794         futex support.
63796         * csu/libc-start.c (__pthread_initialize_minimal): Change
63797         function arguments.
63798         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63800 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63802         [BZ #13550]
63803         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63804         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63805         <bp-sym.h> and <bp-asm.h>.
63806         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63807         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63808         and <bp-asm.h>.
63809         (memcpy): Don't use BP_SYM.
63810         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63811         <bp-asm.h>.
63812         (__mpn_add_n): Don't use BP_SYM.
63813         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63814         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63815         and <bp-asm.h>.
63816         (__mpn_addmul_1): Don't use BP_SYM.
63817         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63818         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63819         <bp-sym.h>.
63820         (_setjmp): Don't use BP_SYM.
63821         (__novmx_setjmp): Likewise.
63822         (__GI__setjmp): Likewise.
63823         (__vmx_setjmp): Likewise.
63824         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63825         <bp-sym.h>.
63826         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63827         (__bzero): Don't use BP_SYM.
63828         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63829         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63830         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63831         <bp-sym.h> and <bp-asm.h>.
63832         (memcpy): Don't use BP_SYM.
63833         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63834         <bp-sym.h> and <bp-asm.h>.
63835         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63836         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63837         <bp-sym.h> and <bp-asm.h>.
63838         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63839         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63840         <bp-asm.h>.
63841         (__mpn_lshift): Don't use BP_SYM.
63842         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63843         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63844         <bp-asm.h>.
63845         (memset): Don't use BP_SYM.
63846         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63847         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63848         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
63849         <bp-asm.h>.
63850         (__mpn_mul_1): Don't use BP_SYM.
63851         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63852         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
63853         <bp-sym.h> and <bp-asm.h>.
63854         (memcmp): Don't use BP_SYM.
63855         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
63856         <bp-sym.h> and <bp-asm.h>.
63857         (memcpy): Don't use BP_SYM.
63858         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
63859         <bp-sym.h> and <bp-asm.h>.
63860         (memset): Don't use BP_SYM.
63861         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
63862         <bp-sym.h> and <bp-asm.h>.
63863         (strncmp): Don't use BP_SYM.
63864         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
63865         <bp-sym.h> and <bp-asm.h>.
63866         (memcpy): Don't use BP_SYM.
63867         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
63868         <bp-sym.h> and <bp-asm.h>.
63869         (memset): Don't use BP_SYM.
63870         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
63871         <bp-sym.h> and <bp-asm.h>.
63872         (__memchr): Don't use BP_SYM.
63873         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
63874         <bp-sym.h> and <bp-asm.h>.
63875         (memcmp): Don't use BP_SYM.
63876         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
63877         <bp-sym.h> and <bp-asm.h>.
63878         (memcpy): Don't use BP_SYM.
63879         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
63880         <bp-sym.h> and <bp-asm.h>.
63881         (__mempcpy): Don't use BP_SYM.
63882         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
63883         <bp-sym.h> and <bp-asm.h>.
63884         (__memrchr): Don't use BP_SYM.
63885         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
63886         <bp-sym.h> and <bp-asm.h>.
63887         (memset): Don't use BP_SYM.
63888         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
63889         <bp-sym.h> and <bp-asm.h>.
63890         (__rawmemchr): Don't use BP_SYM.
63891         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
63892         <bp-sym.h> and <bp-asm.h>.
63893         (__STRCMP): Don't use BP_SYM.
63894         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
63895         <bp-sym.h> and <bp-asm.h>.
63896         (strchr): Don't use BP_SYM.
63897         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
63898         <bp-sym.h> and <bp-asm.h>.
63899         (__strchrnul): Don't use BP_SYM.
63900         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
63901         <bp-sym.h> and <bp-asm.h>.
63902         (strlen): Don't use BP_SYM.
63903         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
63904         <bp-sym.h> and <bp-asm.h>.
63905         (strncmp): Don't use BP_SYM.
63906         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
63907         <bp-sym.h> and <bp-asm.h>.
63908         (__strnlen): Don't use BP_SYM.
63909         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
63910         <bp-asm.h>.
63911         (__mpn_rshift): Don't use BP_SYM.
63912         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63913         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
63914         <bp-sym.h> and <bp-asm.h>.
63915         (__sigsetjmp): Don't use BP_SYM.
63916         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
63917         (L(start_addresses)): Don't use BP_SYM.
63918         (_start): Likewise.
63919         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
63920         <bp-asm.h>.
63921         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
63922         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63923         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63924         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
63925         <bp-asm.h>.
63926         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
63927         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63928         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63929         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
63930         <bp-asm.h>.
63931         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63932         comments.
63933         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63934         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
63935         <bp-asm.h>.
63936         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
63937         FIXME comments.
63938         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63939         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63940         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
63941         <bp-asm.h>.
63942         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63943         comment.
63944         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
63945         and <bp-asm.h>.
63946         (strncmp): Don't use BP_SYM,
63947         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
63948         <bp-asm.h>.
63949         (__mpn_sub_n): Don't use BP_SYM.
63950         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63951         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
63952         and <bp-asm.h>.
63953         (__mpn_submul_1): Don't use BP_SYM.
63954         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
63956         <bp-sym.h> and <bp-asm.h>.
63957         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
63959         <bp-sym.h> and <bp-asm.h>.
63960         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63961         comment.
63963 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
63966         Use ZK to minimize writes to Z.
63967         (sub_magnitudes): Simplify code a bit.
63968         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
63969         Use ZK to minimize writes to Z.
63970         (sub_magnitudes): Simplify code a bit.
63972 2013-02-27  Roland McGrath  <roland@hack.frob.com>
63974         * csu/gmon-start.c: Add special exception to license text.
63976 2013-02-27  Richard Henderson  <rth@redhat.com>
63978         * scripts/config.guess: Update from config.git.
63979         * scripts/config.sub: Likewise.
63981 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63983         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
63985         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
63987         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
63989         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
63991         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
63993 2013-02-26  Roland McGrath  <roland@hack.frob.com>
63995         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
63996         [$(build-shared = yes].
63998 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64000         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64001         (__mul): Reduce iterations for calculating mantissa.
64003         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64004         MPTWO.
64005         (__mpranred): Likewise.
64007         [BZ #15160]
64008         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64009         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64011 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64013         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64014         Define __attribute__.
64016 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64018         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64019         unused.
64020         * posix/regex_internal.h (__attribute): Remove.
64021         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64022         (re_string_context_at): Likewise.
64023         (bitset_not): Use __attribute__ and mark function as possibly
64024         unused.
64025         (bitset_merge): Likewise.
64026         (bitset_mask): Likewise.
64027         (re_string_char_size_at): Likewise.
64028         (re_string_wchar_at): Likewise.
64029         (re_string_elem_size_at): Likewise.
64031 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64033         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64034         code.
64035         (cc32): Likewise.
64037         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64038         (__acr): Likewise.
64039         (__cpy): Likewise.
64040         (norm): Likewise.
64041         (denorm): Likewise.
64042         (__dbl_mp): Likewise.
64043         (add_magnitudes): Likewise.
64044         (sub_magnitudes): Likewise.
64045         (__mul): Likewise.
64046         (__inv): Likewise.
64048         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64049         style.
64051         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64052         style.
64054         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64055         code.
64057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64058         up changes with default code.
64059         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64060         Likewise.
64062 2013-02-24  Allan McRae  <allan@archlinux.org>
64064         * manual/socket.texi (The Internet Namespace): Order menu items
64065         to match that in the file.
64067         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64068         node listing of the info page menu.
64070 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64072         [BZ #13550]
64073         * sysdeps/i386/bp-asm.h: Remove file.
64074         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64075         (PARMS): Do not use macros from bp-asm.h.
64076         (S1): Likewise.
64077         (S2): Likewise.
64078         (SIZE): Likewise.
64079         (__mpn_add_n): Do not use BP_SYM
64080         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64081         "bp-asm.h".
64082         (PARMS): Do not use macros from bp-asm.h.
64083         (S1): Likewise.
64084         (SIZE): Likewise.
64085         (__mpn_addmul_1): Do not use BP_SYM
64086         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64087         "bp-asm.h".
64088         (PARMS): Do not use macros from bp-asm.h.
64089         (SIGMSK): Likewise.
64090         (_setjmp): Likewise.  Do not use BP_SYM.
64091         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64092         "bp-asm.h".
64093         (PARMS): Do not use macros from bp-asm.h.
64094         (SIGMSK): Likewise.
64095         (setjmp): Likewise.  Do not use BP_SYM.
64096         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64097         "bp-asm.h".
64098         (PARMS): Do not use macros from bp-asm.h.
64099         (__frexp): Do not use BP_SYM.
64100         (frexp): Likewise.
64101         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64102         "bp-asm.h".
64103         (PARMS): Do not use macros from bp-asm.h.
64104         (__frexpf): Do not use BP_SYM.
64105         (frexpf): Likewise.
64106         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64107         "bp-asm.h".
64108         (PARMS): Do not use macros from bp-asm.h.
64109         (__frexpl): Do not use BP_SYM.
64110         (frexpl): Likewise.
64111         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64112         "bp-asm.h".
64113         (PARMS): Do not use macros from bp-asm.h.
64114         (__remquo): Do not use BP_SYM.
64115         (remquo): Likewise.
64116         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64117         "bp-asm.h".
64118         (PARMS): Do not use macros from bp-asm.h.
64119         (__remquof): Do not use BP_SYM.
64120         (remquof): Likewise.
64121         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64122         "bp-asm.h".
64123         (PARMS): Do not use macros from bp-asm.h.
64124         (__remquol): Do not use BP_SYM.
64125         (remquol): Likewise.
64126         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64127         "bp-asm.h".
64128         (PARMS): Do not use macros from bp-asm.h.
64129         (DEST): Likewise.
64130         (SRC): Likewise.
64131         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64132         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64133         "bp-asm.h".
64134         (PARMS): Do not use macros from bp-asm.h.
64135         (strlen): Do not use BP_SYM.
64136         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64137         "bp-asm.h".
64138         (PARMS): Do not use macros from bp-asm.h.
64139         (S1): Likewise.
64140         (S2): Likewise.
64141         (SIZE): Likewise.
64142         (__mpn_add_n): Do not use BP_SYM.
64143         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64144         "bp-asm.h".
64145         (PARMS): Do not use macros from bp-asm.h.
64146         (S1): Likewise.
64147         (SIZE): Likewise.
64148         (__mpn_addmul_1): Do not use BP_SYM.
64149         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64150         weak_alias.
64151         (bzero): Likewise.
64152         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64153         "bp-asm.h".
64154         (PARMS): Do not use macros from bp-asm.h.
64155         (S): Likewise.
64156         (SIZE): Likewise.
64157         (__mpn_lshift): Do not use BP_SYM.
64158         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64159         "bp-asm.h".
64160         (PARMS): Do not use macros from bp-asm.h.
64161         (DEST): Likewise.
64162         (SRC): Likewise.
64163         (LEN): Likewise.
64164         (memcpy): Likewise.  Do not use BP_SYM.
64165         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64166         libc_hidden_def and weak_alias.
64167         (mempcpy): Do not use BP_SYM in weak_alias.
64168         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64169         "bp-asm.h".
64170         (PARMS): Do not use macros from bp-asm.h.
64171         (DEST): Likewise.
64172         (LEN): Likewise.
64173         [!BZERO_P] (CHR): Likewise.
64174         (memset): Likewise.  Do not use BP_SYM.
64175         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64176         "bp-asm.h".
64177         (PARMS): Do not use macros from bp-asm.h.
64178         (S1): Likewise.
64179         (SIZE): Likewise.
64180         (__mpn_mul_1): Do not use BP_SYM.
64181         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64182         "bp-asm.h".
64183         (PARMS): Do not use macros from bp-asm.h.
64184         (S): Likewise.
64185         (SIZE): Likewise.
64186         (__mpn_rshift): Do not use BP_SYM.
64187         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64188         "bp-asm.h".
64189         (PARMS): Do not use macros from bp-asm.h.
64190         (STR): Likewise.
64191         (CHR): Likewise.
64192         (strchr): Likewise.  Do not use BP_SYM.
64193         (index): Do not use BP_SYM in weak_alias.
64194         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64195         "bp-asm.h".
64196         (PARMS): Do not use macros from bp-asm.h.
64197         (DEST): Likewise.
64198         (SRC): Likewise.
64199         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64200         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64201         "bp-asm.h".
64202         (PARMS): Do not use macros from bp-asm.h.
64203         (strlen): Do not use BP_SYM.
64204         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64205         "bp-asm.h".
64206         (PARMS): Do not use macros from bp-asm.h.
64207         (S1): Likewise.
64208         (S2): Likewise.
64209         (SIZE): Likewise.
64210         (__mpn_sub_n): Do not use BP_SYM.
64211         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64212         "bp-asm.h".
64213         (PARMS): Do not use macros from bp-asm.h.
64214         (S1): Likewise.
64215         (SIZE): Likewise.
64216         (__mpn_submul_1): Do not use BP_SYM.
64217         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64218         "bp-asm.h".
64219         (PARMS): Do not use macros from bp-asm.h.
64220         (S1): Likewise.
64221         (S2): Likewise.
64222         (SIZE): Likewise.
64223         (__mpn_add_n): Do not use BP_SYM.
64224         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64225         weak_alias.
64226         (bzero): Likewise.
64227         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64228         "bp-asm.h".
64229         (PARMS): Do not use macros from bp-asm.h.
64230         (BLK2): Likewise.
64231         (LEN): Likewise.
64232         (memcmp): Do not use BP_SYM.
64233         (bcmp): Do not use BP_SYM in weak_alias.
64234         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64235         "bp-asm.h".
64236         (PARMS): Do not use macros from bp-asm.h.
64237         (DEST): Likewise.
64238         (SRC): Likewise.
64239         (LEN): Likewise.
64240         (memcpy): Likewise.  Do not use BP_SYM.
64241         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64242         "bp-asm.h".
64243         (PARMS): Do not use macros from bp-asm.h.
64244         (DEST): Likewise.
64245         (SRC): Likewise.
64246         (LEN): Likewise.
64247         (memmove): Likewise.  Do not use BP_SYM.
64248         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64249         "bp-asm.h".
64250         (PARMS): Do not use macros from bp-asm.h.
64251         (DEST): Likewise.
64252         (SRC): Likewise.
64253         (LEN): Likewise.
64254         (__mempcpy): Likewise.  Do not use BP_SYM.
64255         (mempcpy): Do not use BP_SYM in weak_alias.
64256         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64257         "bp-asm.h".
64258         (PARMS): Do not use macros from bp-asm.h.
64259         (DEST): Likewise.
64260         (LEN): Likewise.
64261         [!BZERO_P] (CHR): Likewise.
64262         (memset): Likewise.  Do not use BP_SYM.
64263         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64264         "bp-asm.h".
64265         (PARMS): Do not use macros from bp-asm.h.
64266         (STR2): Likewise.
64267         (strcmp): Do not use BP_SYM.
64268         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64269         "bp-asm.h".
64270         (PARMS): Do not use macros from bp-asm.h.
64271         (STR): Likewise.
64272         (DELIM): Likewise.
64273         [USE_AS_STRTOK_R] (SAVE): Likewise.
64274         (FUNCTION): Likewise.  Do not use BP_SYM.
64275         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64276         aliases.
64277         (strtok_r): Likewise.
64278         (__GI___strtok_r): Likewise.
64279         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64280         (PARMS): Do not use macros from bp-asm.h.
64281         (S): Likewise.
64282         (SIZE): Likewise.
64283         (__mpn_lshift): Do not use BP_SYM.
64284         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64285         (PARMS): Do not use macros from bp-asm.h.
64286         (STR): Likewise.
64287         (CHR): Likewise.
64288         (__memchr): Do not use BP_SYM.
64289         (memchr): Do not use BP_SYM in weak_alias.
64290         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64291         (PARMS): Do not use macros from bp-asm.h.
64292         (BLK2): Likewise.
64293         (LEN): Likewise.
64294         (memcmp): Do not use BP_SYM.
64295         (bcmp): Do not use BP_SYM in weak_alias.
64296         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64297         (PARMS): Do not use macros from bp-asm.h.
64298         (S1): Likewise.
64299         (SIZE): Likewise.
64300         (__mpn_mul_1): Do not use BP_SYM.
64301         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64302         "bp-asm.h".
64303         (PARMS): Do not use macros from bp-asm.h.
64304         (STR): Likewise.
64305         (CHR): Likewise.
64306         (__rawmemchr): Do not use BP_SYM.
64307         (rawmemchr): Do not use BP_SYM in weak_alias.
64308         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64309         (PARMS): Do not use macros from bp-asm.h.
64310         (S): Likewise.
64311         (SIZE): Likewise.
64312         (__mpn_rshift): Do not use BP_SYM.
64313         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64314         (PARMS): Do not use macros from bp-asm.h.
64315         (SIGMSK): Likewise.
64316         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64317         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64318         (_start): Do not use BP_SYM.
64319         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64320         (PARMS): Do not use macros from bp-asm.h.
64321         (DEST): Likewise.
64322         (SRC): Likewise.
64323         (__stpcpy): Likewise.  Do not use BP_SYM.
64324         (stpcpy): Do not use BP_SYM in weak_alias.
64325         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64326         "bp-asm.h".
64327         (PARMS): Do not use macros from bp-asm.h.
64328         (DEST): Likewise.
64329         (SRC): Likewise.
64330         (LEN): Likewise.
64331         (__stpncpy): Likewise.  Do not use BP_SYM.
64332         (stpncpy): Do not use BP_SYM in weak_alias.
64333         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64334         (PARMS): Do not use macros from bp-asm.h.
64335         (STR): Likewise.
64336         (CHR): Likewise.
64337         (strchr): Likewise.  Do not use BP_SYM.
64338         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64339         "bp-asm.h".
64340         (PARMS): Do not use macros from bp-asm.h.
64341         (STR): Likewise.
64342         (CHR): Likewise.
64343         (__strchrnul): Likewise.  Do not use BP_SYM.
64344         (strchrnul): Do not use BP_SYM in weak_alias.
64345         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64346         "bp-asm.h".
64347         (PARMS): Do not use macros from bp-asm.h.
64348         (STOP): Likewise.
64349         (strcspn): Do not use BP_SYM.
64350         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64351         "bp-asm.h".
64352         (PARMS): Do not use macros from bp-asm.h.
64353         (STR): Likewise.
64354         (STOP): Likewise.
64355         (strpbrk): Likewise.  Do not use BP_SYM.
64356         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64357         "bp-asm.h".
64358         (PARMS): Do not use macros from bp-asm.h.
64359         (STR): Likewise.
64360         (CHR): Likewise.
64361         (strrchr): Likewise.  Do not use BP_SYM.
64362         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64363         (PARMS): Do not use macros from bp-asm.h.
64364         (SKIP): Likewise.
64365         (strspn): Do not use BP_SYM.
64366         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64367         (PARMS): Do not use macros from bp-asm.h.
64368         (STR): Likewise.
64369         (DELIM): Likewise.
64370         (SAVE): Likewise.
64371         (FUNCTION): Likewise.  Do not use BP_SYM.
64372         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64373         aliases.
64374         (strtok_r): Likewise.
64375         (__GI___strtok_r): Likewise.
64376         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64377         (PARMS): Do not use macros from bp-asm.h.
64378         (S1): Likewise.
64379         (S2): Likewise.
64380         (SIZE): Likewise.
64381         (__mpn_sub_n): Do not use BP_SYM.
64382         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64383         "bp-asm.h".
64384         (PARMS): Do not use macros from bp-asm.h.
64385         (S1): Likewise.
64386         (SIZE): Likewise.
64387         (__mpn_submul_1): Do not use BP_SYM.
64388         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64389         <bp-sym.h>.
64390         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64391         and <bp-asm.h>.
64392         (PARMS): Do not use macros from bp-asm.h.
64393         (FLAGS): Likewise.
64394         (PTID): Likewise.
64395         (TLS): Likewise.
64396         (CTID): Likewise.
64397         (__clone): Do not use BP_SYM.
64398         (clone): Do not use BP_SYM in weak_alias.
64399         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64400         and <bp-asm.h>.
64401         (PARMS): Do not use macros from bp-asm.h.
64402         (LEN): Likewise.
64403         (__mmap64): Do not use BP_SYM.
64404         (mmap64): Do not use BP_SYM in weak_alias.
64405         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64406         <bp-sym.h> and <bp-asm.h>.
64407         (PARMS): Do not use macros from bp-asm.h.
64408         (__posix_fadvise64_l64): Do not use BP_SYM.
64409         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64410         (PARMS): Do not use macros from bp-asm.h.
64411         (NSOPS): Likewise.
64412         (semtimedop): Do not use BP_SYM.
64413         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64414         and <bp-asm.h>.
64416 2013-02-21  Allan McRae  <allan@archlinux.org>
64418         * manual/message.texi (Charset conversion in gettext):
64419         Move @end statement to beginning of line.
64421 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64424         static.
64425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64426         Likewise.
64428         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64429         (denorm): Likewise.
64430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64433 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64435         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64436         tail-call to the resolved function if pltexit isn't needed.
64438 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64441         or Y being zero as being unlikely.
64442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64443         Likewise.
64445 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64447         * manual/nss.texi (System Databases and Name Service Switch):
64448         Remove frobnicate @pxref.
64450 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64452         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64453         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64455 2013-02-20  Petr Machata  <pmachata@redhat.com>
64457         * elf/elf.h (R_ARM_TARGET1): New macro.
64458         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64459         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64460         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64461         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64462         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64463         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64464         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64465         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64466         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64467         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64468         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64469         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64470         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64471         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64472         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64473         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64474         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64475         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64476         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64477         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64478         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64479         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64480         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64481         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64482         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64483         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64484         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64485         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64486         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64487         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64488         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64489         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64490         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64491         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64492         (R_ARM_THM_GOT_BREL12): Likewise.
64493         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64494         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64495         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64496         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64497         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64498         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64499         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64500         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64501         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64503 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64505         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64506         __attribute_used__ to __attribute__ ((unused)).
64508 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64510         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64511         powerpc mpa.c.
64512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64513         comment formatting.
64514         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64516 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64518         [BZ #13550]
64519         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64520         Remove macro.
64521         (ENTER): Remove both macro definitions.
64522         (LEAVE): Likewise.
64523         (CHECK_BOUNDS_LOW): Likewise.
64524         (CHECK_BOUNDS_HIGH): Likewise.
64525         (CHECK_BOUNDS_BOTH): Likewise.
64526         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64527         (RETURN_BOUNDED_POINTER): Likewise.
64528         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64529         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64530         (POP_ERRNO_LOCATION_RETURN): Likewise.
64531         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64532         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64533         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64534         macros.
64535         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64536         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64537         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64538         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64539         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64540         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64541         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64542         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64543         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64544         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64545         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64546         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64547         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64548         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64549         removed macros.
64550         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64551         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64552         macros.
64553         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64554         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64555         * sysdeps/i386/i586/memset.S (memset): Likewise.
64556         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64557         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64558         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64559         macros.
64560         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64561         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64562         Change uses of L(2) to L(out).
64563         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64564         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64565         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64566         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64567         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64568         removed macros.
64569         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64570         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64571         macros.
64572         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64573         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64574         (RETURN): Do not use macro LEAVE.
64575         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64576         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64577         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64578         * sysdeps/i386/i686/memset.S (memset): Likewise.
64579         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64580         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64581         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64582         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64583         Likewise.
64584         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64585         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64586         L(1_2) and L(1_3) into L(1).
64587         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64588         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64589         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64590         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64591         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64592         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64593         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64594         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64595         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64596         macros.
64597         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64598         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64599         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64600         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64601         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64602         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64603         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64604         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64605         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64606         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64607         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64608         * sysdeps/i386/strspn.S (strspn): Likewise.
64609         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64610         conditional code.
64611         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64612         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64613         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64614         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64615         L(1_3) into L(1_1).
64616         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64617         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64618         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64619         macros.
64620         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64622 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64624         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64625         macro.
64627 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64629         * math/atest-exp.c (exp_mpn): Remove ROUND.
64630         * math/atest-exp2.c (exp_mpn): Likewise.
64631         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64633         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64634         * stdlib/tst-tls-atexit-lib.c: Likewise.
64635         * stdlib/tst-tls-atexit.c: Likewise.
64637 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64639         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64640         and __attribute_alloc_size__.
64642 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64644         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64645         __attribute_alloc_size__.
64646         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64647         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64649 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64651         * include/programs/xmalloc.h: New file.
64652         * catgets/gencat.c: Include it.
64653         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64654         * elf/pldd.c: Likewise.
64655         * iconv/iconv_charmap.c: Likewise.
64656         * iconv/iconvconfig.c: Likewise.
64657         * iconv/strtab.c: Likewise.
64658         * locale/programs/locale.c: Likewise.
64659         * locale/programs/localedef.h: Likewise.
64660         * locale/programs/simple-hash.c: Likewise.
64661         * nscd/nscd.h: Likewise.
64662         * nss/makedb.c: Likewise.
64663         * sysdeps/generic/ldconfig.h: Likewise.
64665 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64667         * Versions.def: Add GLIBC_2.18.
64668         * include/link.h (struct link_map): New member l_tls_dtor_count.
64669         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64670         (__call_tls_dtors): Likewise.
64671         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64672         __cxa_thread_atexit_impl.
64673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64674         Likewise.
64675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64676         Likewise.
64677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64678         Likewise.
64679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64680         Likewise.
64681         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64683         Likewise.
64684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64685         Likewise.
64686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64688         Likewise.
64689         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64690         (tests): Add test case tst-tls-atexit.
64691         (modules-names): Add shared library for tst-tls-atexit.
64692         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64693         (GLIBC_PRIVATE): Add __call_tls_dtors.
64694         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64695         for libstdc++.
64696         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64697         * stdlib/tst-tls-atexit.c: New test case.
64698         * stdlib/tst-tls-atexit-lib.c: New test case.
64700         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64702         * elf/Versions (ld): Add _dl_find_dso_for_object.
64703         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64704         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64705         (dl_open_worker): Use _dl_find_dso_for_object.
64706         * elf/dl-sym.c (do_sym): Likewise.
64707         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64709 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64711         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64712         Syntactic changes only.
64713         (_dl_runtime_profile): Do a tail-call to the resolved function.
64715 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64717         [BZ #13550]
64718         * sysdeps/x86_64/bp-asm.h: Remove file.
64719         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64720         <bp-sym.h> and <bp-asm.h>.
64721         (__clone): Do not use BP_SYM.
64722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64723         <bp-sym.h> and <bp-asm.h>.
64724         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64725         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64726         "bp-asm.h".
64727         (_setjmp): Do not use BP_SYM.
64728         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64729         "bp-asm.h".
64730         (setjmp): Do not use BP_SYM.
64731         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64732         libc_hidden_def.
64733         (mempcpy): Do not use BP_SYM in weak_alias.
64734         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64735         "bp-asm.h".
64736         (strchr): Do not use BP_SYM.
64737         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64738         "bp-asm.h".
64739         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64740         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64741         (_start): Do not use BP_SYM.
64742         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64743         "bp-asm.h".
64744         (strcat): Do not use BP_SYM.
64745         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64746         "bp-asm.h".
64747         (STRCMP): Do not use BP_SYM.
64748         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64749         "bp-asm.h".
64750         (STRCPY): Do not use BP_SYM.
64751         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64752         "bp-asm.h".
64753         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64754         "bp-asm.h".
64755         (FUNCTION): Do not use BP_SYM.
64756         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64757         weak_alias.
64758         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64760 2013-02-17  Andreas Jaeger  <aj@suse.de>
64762         * time/Versions: Sort entries.
64763         * string/Versions: Likewise.
64764         * resolv/Versions: Likewise.
64765         * posix/Versions: Likewise.
64766         * iconv/Versions: Likewise.
64767         * elf/Versions: Likewise.
64768         * wcsmbs/Versions: Likewise.
64770 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64772         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64773         loop termination condition.
64775         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64776         variable to calculate EZ.
64777         (__sqr): Likewise.
64779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64780         the lower precision input.
64782 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64784         [BZ #13550]
64785         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64786         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64787         (run-via-rtld-prefix): Do not handle %-bp tests.
64788         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64789         (all-object-suffixes): Remove .ob.
64790         (bppfx): Remove variable.
64791         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64792         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64793         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64794         [$(build-bounded) = yes] (libtype.ob): Likewise.
64795         * Makerules (elide-routines.ob): Remove variable.
64796         (do-tests-clean): Do not handle *-bp.out.
64797         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64798         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64799         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64800         (tests): Do not include $(tests-bp.out).
64801         (xtests): Do not include $(xtests-bp.out).
64802         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64803         [$(build-bounded) = yes] ($(addprefix
64804         $(objpfx),$(binaries-bounded))): Remove rule.
64805         ($(objpfx)%-bp.out): Remove rule.
64806         * config.make.in (build-bounded): Remove variable.
64807         * crypt/Makefile [$(build-bounded) = yes]
64808         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64809         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64810         append to variable.
64811         [$(build-bounded) = yes] (install-lib): Likewise.
64812         [$(build-bounded) = yes] (generated): Likewise.
64813         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64814         Remove rule.
64815         * intl/Makefile [$(build-bounded) = yes]
64816         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64817         * math/Makefile [$(build-bounded) = yes]
64818         ($(tests:%=$(objpfx)%-bp): Likewise.
64819         * misc/Makefile [$(build-bounded) = yes]
64820         ($(objpfx)tst-tsearch-bp): Likewise.
64821         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64822         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64823         Remove dependency.
64824         * string/Makefile (o-objects.ob): Remove variable.
64825         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64826         (CFLAGS-.ob): Remove variable.
64827         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64828         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64829         both definitions of variable.
64830         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64831         (ASFLAGS-.ob): Remove variable.
64833 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64835         [BZ #13550]
64836         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64837         Remove __BOUNDED_POINTERS__ from condition.
64838         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64839         * string/bits/string2.h [!__NO_STRING_INLINES &&
64840         !__BOUNDED_POINTERS__]: Likewise.
64841         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64842         Likewise.
64843         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64844         Remove conditional code.
64845         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64846         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64847         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
64848         condition.
64850         [BZ #13550]
64851         * csu/libc-start.c: Do not include <bp-sym.h>.
64852         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
64853         * elf/dl-open.c: Do not include <bp-sym.h>.
64854         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
64855         * math/fegetenv.c: Do not include <bp-sym.h>.
64856         (fegetenv): Do not use BP_SYM in versioned symbols.
64857         * nptl/sysdeps/pthread/bits/libc-lockP.h
64858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
64859         <bp-sym.h>.
64860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64861         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
64862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64863         (__pthread_mutex_destroy): Likewise.
64864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64865         (__pthread_mutex_lock): Likewise.
64866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64867         (__pthread_mutex_trylock): Likewise.
64868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64869         (__pthread_mutex_unlock): Likewise.
64870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64871         (__pthread_mutexattr_init): Likewise.
64872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64873         (__pthread_mutexattr_destroy): Likewise.
64874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64875         (__pthread_mutexattr_settype): Likewise.
64876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64877         (__pthread_rwlock_init): Likewise.
64878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64879         (__pthread_rwlock_destroy): Likewise.
64880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64881         (__pthread_rwlock_rdlock): Likewise.
64882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64883         (__pthread_rwlock_tryrdlock): Likewise.
64884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64885         (__pthread_rwlock_wrlock): Likewise.
64886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64887         (__pthread_rwlock_trywrlock): Likewise.
64888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64889         (__pthread_rwlock_unlock): Likewise.
64890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64891         (__pthread_key_create): Likewise.
64892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64893         (__pthread_setspecific): Likewise.
64894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64895         (__pthread_getspecific): Likewise.
64896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
64897         Likewise.
64898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64899         (_pthread_cleanup_push_defer): Likewise.
64900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64901         (_pthread_cleanup_pop_restore): Likewise.
64902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64903         (pthread_setcancelstate): Likewise.
64904         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
64905         <bp-sym.h>.
64906         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
64907         (memchr): Do not use BP_SYM in weak_alias.
64908         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
64909         (fegetenv): Do not use BP_SYM in versioned symbols.
64910         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
64911         (fesetenv): Do not use BP_SYM in versioned symbols.
64912         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64913         (feupdateenv): Do not use BP_SYM in versioned symbols.
64914         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64915         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64916         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
64917         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
64918         (open64): Do not use BP_SYM in weak_alias.
64919         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
64920         (fegetenv): Do not use BP_SYM in versioned symbols.
64921         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
64922         (fesetenv): Do not use BP_SYM in versioned symbols.
64923         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64924         (feupdateenv): Do not use BP_SYM in versioned symbols.
64925         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
64926         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
64927         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
64928         (feraiseexcept): Do not use BP_SYM in versioned symbols.
64929         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64930         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64931         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
64932         <bp-sym.h>.
64933         (__libc_start_main): Do not use BP_SYM.
64935 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
64938         redundant return line.
64939         (norm): Likewise.
64940         (denorm): Likewise.
64941         (dbl_mp): Likewise.
64942         (sub_magnitudes): Likewise.
64943         (__add): Likewise.
64944         (__sub): Likewise.
64945         (__mul): Likewise.
64946         (__inv): Likewise.
64947         (__dvd): Likewise.
64948         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
64949         (norm): Likewise.
64950         (denorm): Likewise.
64951         (dbl_mp): Likewise.
64952         (sub_magnitudes): Likewise.
64953         (__add): Likewise.
64954         (__sub): Likewise.
64955         (__mul): Likewise.
64956         (__inv): Likewise.
64957         (__dvd): Likewise.
64959         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
64960         instead of __mul.
64961         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64962         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
64963         (cc32): Likewise.
64965         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
64966         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
64967         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
64968         of __mul for squares.
64969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
64970         function
64971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
64972         Likewise.
64973         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
64974         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64976 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
64978         [BZ #13550]
64979         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
64980         code.
64981         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
64982         prototype or function definition.  Rename ubp_* variables and
64983         parameters.  Remove argv definitions conditional on
64984         [__BOUNDED_POINTERS__].
64985         * debug/backtrace.c (__backtrace): Do not use __unbounded.
64986         * elf/dl-runtime.c (_dl_fixup): Likewise.
64987         * include/set-hooks.h (RUN_HOOK): Likewise.
64988         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
64989         definition.
64990         * string/strcpy.c (strcpy): Do not use __unbounded.
64991         * sysdeps/generic/frame.h (struct layout): Likewise.
64992         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
64993         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
64994         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
64995         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
64996         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
64997         (__backtrace): Likewise.
64998         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
64999         use __ptrvalue.
65000         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65001         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65002         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65003         Likewise.
65004         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65005         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65006         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65007         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65008         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65009         Do not use __unbounded.
65010         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65011         Rename __unboundedrlimits parameter to rlimits in prototype.
65012         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65013         Do not use __unbounded.
65014         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65015         not use __ptrvalue.
65016         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65017         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65018         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65019         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65020         __ptrvalue or __unbounded.
65021         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65022         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65023         use __unbounded.
65024         (__new_msgctl): Do not use __ptrvalue.
65025         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65026         __unbounded.
65027         (__libc_msgrcv): Do not use __ptrvalue.
65028         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65029         startup_info): Do not use __unbounded.
65030         (__libc_start_main): Likewise.  Rename ubp_* variables and
65031         parameters.  Remove argv definitions conditional on
65032         [__BOUNDED_POINTERS__].
65033         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65034         __ptrvalue.
65035         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65036         use __unbounded.
65037         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65038         or __ptrvalue.
65039         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65040         use __unbounded.
65041         (__new_shmctl): Do not use __ptrvalue.
65042         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65043         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65044         Likewise.
65045         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65046         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65047         (__libc_sigaction): Likewise.
65048         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65049         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65050         Likewise.
65051         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65053 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65055         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65057         * string/mempcpy.c: Implement by calling memcpy.
65059 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65061         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65063         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65064         evaluation.
65066         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65067         values in the mantissa.
65069         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65070         minimize writes to Z.
65071         (sub_magnitudes): Simplify code a bit.
65073 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65075         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65076         from the message.  The linker prefixes all warnings with that already.
65078 2013-02-12  Andreas Schwab  <schwab@suse.de>
65080         [BZ #15078]
65081         * posix/regexec.c (extend_buffers): Add parameter min_len.
65082         (check_matching): Pass minimum needed length.
65083         (clean_state_log_if_needed): Likewise.
65084         (get_subexp): Likewise.
65085         * posix/Makefile (tests): Add bug-regex34.
65086         (bug-regex34-ENV): Define.
65087         * posix/bug-regex34.c: New file.
65089         [BZ #11561]
65090         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65091         elements compare against the byte sequence of it, not its name.
65092         * posix/Makefile (tests): Add bug-regex35.
65093         (bug-regex35-ENV): Define.
65094         * posix/bug-regex35.c: New file.
65096 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65098         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65099         comment.
65100         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65101         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65102         (CHECK_EOL): Add undef.
65104 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65106         * bits/stdlib-bsearch.h: New file.
65107         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65108         * stdlib/stdlib.h: Likewise.
65110 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65112         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65113         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65114         declaration.
65115         * manual/search.texi (Array Search Function): Add missing const in
65116         lfind prototype.
65117         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65118         declaration to use rlim_t.
65119         (Basic Scheduling Functions): Remove erroneous const from
65120         sched_getparam prototype.  Remove erroneous * from
65121         sched_get_priority_max and sched_get_priority_min prototypes.
65122         (Resource Usage): Fix summary @comment on vtimes to refer to
65123         sys/vtimes.h rather than vtimes.h.
65124         Add missing *s in vtimes prototype.
65125         (Limits on Resources): Fix ulimit prototype to return long int.
65126         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65127         prototypes to use long int rather than double.
65128         (BSD Random): Fix initstate and setstate to use char *, not void *.
65129         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65130         prototype to make second argument 'struct aiocb64 *const[]'.
65131         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65132         (Status of AIO Operations): Remove erroneous const in aio_return and
65133         aio_return64 prototypes.
65134         (Synchronizing I/O): Fix sync prototype to return void.
65135         * manual/startup.texi (Suboptions): Remove an erroneous const in
65136         getsubopt prototype.
65137         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65138         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65139         use size_t rather than int.
65140         (Scanning All Users): Likewise for getpwent_r.
65141         (Setting Groups): Add missing const to setgroups prototype.
65142         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65143         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65144         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65145         'const void *' rather than 'const char *'.
65146         (Host Address Functions): Likewise for inet_ntop.
65147         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65148         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65149         ssize_t for return value.
65150         (Sending Data): Likewise for send, sendto, sendmsg.
65151         (Socket Option Functions): Add a missing const in setsockopt prototype.
65152         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65153         use wchar_t for the argument.
65154         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65155         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65156         take no arguments.
65157         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65158         double/float/long double for second argument.
65159         Fix return types of significand, significandf, significandl.
65160         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65161         argument in fchmod prototype.
65162         (File Owner): Use uid_t and gid_t in fchown prototype.
65163         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65164         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65165         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65166         use 'const struct dirent **' as argument types to CMP function pointer
65167         argument.
65168         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65169         (File Times): Fix summary magic @comment for struct utimbuf and utime
65170         to refer to utime.h, not time.h.
65171         * manual/string.texi (Argz Functions): Add missing const in
65172         argz_extract and argz_next prototypes.
65173         (Finding Tokens in a String): Likewise for basename.
65174         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65175         (Copying and Concatenation): Fix typo in wmemmove prototype.
65176         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65177         (Signal Stack): Remove erroneous const in sigstack prototype.
65178         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65179         prototype.
65180         (Simple Calendar Time): Likewise for stime.
65181         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65182         prototype.
65183         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65184         say sys/sysctl.h instead.
65185         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65186         and vsyslog prototypes.
65188 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65190         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65191         Remove.
65193 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65195         * misc/sys/mman.h: Fix typo in mremap comment.
65197 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65199         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65200         the '\0' terminator.
65202 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65204         [BZ #13550]
65205         * debug/segfault.c: Don't include <bp-checks.h>.
65206         * sysdeps/generic/bp-checks.h: Remove file.
65207         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65208         (__GETDENTS): Don't use CHECK_N.
65209         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65210         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65211         (__getgroups): Don't use CHECK_N.
65212         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65213         (setgroups): Don't use CHECK_N.
65214         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65215         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65216         (__libc_msgrcv): Don't use CHECK_N.
65217         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65218         (__libc_msgsnd): Don't use CHECK_N.
65219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65220         <bp-checks.h>.
65221         (__libc_pread): Don't use CHECK_N.
65222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65223         include <bp-checks.h>.
65224         (__libc_pread64): Don't use CHECK_N.
65225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65226         include <bp-checks.h>.
65227         (__libc_pwrite): Don't use CHECK_N.
65228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65229         include <bp-checks.h>.
65230         (__libc_pwrite64): Don't use CHECK_N.
65231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65232         <bp-checks.h>.
65233         (__libc_pread): Don't use CHECK_N.
65234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65235         include <bp-checks.h>.
65236         (__libc_pread64): Don't use CHECK_N.
65237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65238         include <bp-checks.h>.
65239         (__libc_pwrite): Don't use CHECK_N.
65240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65241         include <bp-checks.h>.
65242         (__libc_pwrite64): Don't use CHECK_N.
65243         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65244         (do_pread): Don't use CHECK_N.
65245         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65246         (do_pread64): Don't use CHECK_N.
65247         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65248         (do_pwrite): Don't use CHECK_N.
65249         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65250         (do_pwrite64): Don't use CHECK_N.
65251         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65252         (__libc_readv): Don't use CHECK_N.
65253         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65254         (semop): Don't use CHECK_N.
65255         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65256         <bp-checks.h>.
65257         (semtimedop): Don't use CHECK_N.
65258         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65259         (__libc_pread): Don't use CHECK_N.
65260         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65261         <bp-checks.h>.
65262         (__libc_pread64): Don't use CHECK_N.
65263         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65264         <bp-checks.h>.
65265         (__libc_pwrite): Don't use CHECK_N.
65266         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65267         <bp-checks.h>.
65268         (__libc_pwrite64): Don't use CHECK_N.
65269         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65270         <bp-checks.h>.
65271         (__libc_msgrcv): Don't use CHECK_N.
65272         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65273         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65274         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65275         (__libc_writev): Don't use CHECK_N.
65277 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65279         * string/strcpy.c: Removed unused variable.
65281         * Makeconfig (+sysdep-includes): Define with := rather than =.
65282         Use an existing include/ subdir of each sysdeps dir before it.
65284 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65286         * nscd/connection.c (register_traced_file): Comment function.
65287         [HAVE_INOTIFY] (union __inev): Define.
65288         [HAVE_INOTIFY] (inotify_check_files): New function.
65289         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65290         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65291         clear_db_cache.
65292         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65294 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65296         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65297         loaded if not already and that a failure is permanent.
65299 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65301         [BZ #15006]
65302         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65303         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65305 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65307         [BZ #13550]
65308         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65309         (CHECK_1_NULL_OK): Likewise.
65310         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65311         (__fxstat): Do not use CHECK_1.
65312         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65313         <bp-checks.h>.
65314         (___fxstat64): Do not use CHECK_1.
65315         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65316         <bp-checks.h>.
65317         (__fxstatat): Do not use CHECK_1.
65318         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65319         <bp-checks.h>.
65320         (__fxstatat64): Do not use CHECK_1.
65321         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65322         <bp-checks.h>.
65323         (__fxstat): Do not use CHECK_1.
65324         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65325         <bp-checks.h>.
65326         (__fxstatat): Do not use CHECK_1.
65327         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65328         <bp-checks.h>.
65329         (__getresgid): Do not use CHECK_1.
65330         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65331         <bp-checks.h>.
65332         (__getresuid): Do not use CHECK_1.
65333         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65334         <bp-checks.h>.
65335         (__lxstat): Do not use CHECK_1.
65336         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65337         <bp-checks.h>.
65338         (__old_msgctl): Do not use CHECK_1.
65339         (__new_msgctl): Likewise.
65340         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65341         <bp-checks.h>.
65342         (__new_setrlimit): Do not use CHECK_1.
65343         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65344         <bp-checks.h>.
65345         (__old_shmctl): Do not use CHECK_1.
65346         (__new_shmctl): Likewise.
65347         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65348         <bp-checks.h>.
65349         (__xstat): Do not use CHECK_1.
65350         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65351         (__lxstat): Do not use CHECK_1.
65352         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65353         <bp-checks.h>.
65354         (___lxstat64): Do not use CHECK_1.
65355         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65356         (__old_msgctl): Do not use CHECK_1.
65357         (__new_msgctl): Likewise.
65358         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65359         <bp-checks.h>.
65360         (__gettimeofday): Do not use CHECK_1.
65361         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65362         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65363         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65364         <bp-checks.h>.
65365         (__gettimeofday): Do not use CHECK_1.
65366         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65367         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65368         (__new_shmctl): Do not use CHECK_1.
65369         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65370         <bp-checks.h>.
65371         (do_sigtimedwait): Do not use CHECK_1.
65372         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65373         <bp-checks.h>.
65374         (do_sigwaitinfo): Do not use CHECK_1.
65375         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65376         <bp-checks.h>.
65377         (msgctl): Do not use CHECK_1.
65378         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65379         <bp-checks.h>.
65380         (shmctl): Do not use CHECK_1.
65381         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65382         (ustat): Do not use CHECK_1.
65383         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65384         <bp-checks.h>.
65385         (__fxstat): Do not use CHECK_1.
65386         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65387         <bp-checks.h>.
65388         (__fxstatat): Do not use CHECK_1.
65389         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65390         <bp-checks.h>.
65391         (__lxstat): Do not use CHECK_1.
65392         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65393         <bp-checks.h>.
65394         (__xstat): Do not use CHECK_1.
65395         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65396         (__xstat): Do not use CHECK_1.
65397         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65398         (___xstat64): Do not use CHECK_1.
65400         [BZ #13550]
65401         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65402         definitions.
65403         (CHECK_BOUNDS_HIGH): Likewise.
65404         * string/strcpy.c: Do not include <bp-checks.h>.
65405         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65407 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65409         * nscd/nscd-client.h (__nscd_drop_map_ref):
65410         Add __attribute__ ((unused)).
65411         * nis/nss-nisplus.h (niserr2nss): Likewise.
65413         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65414         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65416         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65417         Remove inline keyword.
65418         * include/rounding-mode.h (round_away): Likewise.
65419         * libio/wfileops.c (adjust_wide_data): Likewise.
65420         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65421         (__m128i_strloadu_tolower): Likewise.
65422         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65423         (__m128i_strloadu_tolower): Likewise.
65424         * time/mktime.c (ydhms_diff): Likewise.
65425         * locale/elem-hash.h (elem_hash): Likewise.
65426         * locale/setlocale.c (setdata): Likewise.
65427         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65428         (re_string_wchar_at): Likewise.
65429         (bitset_not, bitset_merge, bitset_mask): Likewise.
65430         [!(__GNUC__ > 3)] (inline): Remove macro.
65431         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65432         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65433         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65434         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65435         * string/memcmp.c (memcmp_bytes): Likewise.
65436         * locale/programs/locarchive.c (compute_hashval): Likewise.
65437         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65438         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65439         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65440         * nss/getent.c (print_rpc, print_protocols): Likewise.
65441         (print_passwd, print_group, print_aliases): Likewise.
65442         * nis/nss-nisplus.h (niserr2nss): Likewise.
65443         * nscd/connections.c (restart_p): Likewise.
65444         Change return type to bool.
65446 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65448         * Makeconfig (all-Depend-files): Add existing
65449         $(sorted-subdirs:=/Depend) files.
65450         (all-subdirs): Remove nss.
65451         * sysdeps/unix/inet/Subdirs: Add it here instead.
65452         * hesiod/Depend: New file.
65454         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65455         instead of calling alloca.
65457         * io/lseek.c (__lseek): Rename to __libc_lseek.
65458         Define __lseek as an alias.
65460         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65462 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65464         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65465         else clause and remove check for non-standard endianness.
65467 2013-02-04  David S. Miller  <davem@davemloft.net>
65469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65471 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65473         [BZ #13550]
65474         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65475         (__ubp_memchr): Remove prototype.
65476         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65477         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65478         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65479         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65480         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65481         Remove alias.
65482         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65483         (__ubp_memchr): Likewise.
65484         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65485         (__ubp_memchr): Likewise.
65486         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65487         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65488         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65489         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65490         CHECK_STRING.
65491         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65492         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65493         (__getcwd): Do not use CHECK_STRING.
65494         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65495         <bp-checks.h>.
65496         (__real_chown): Do not use CHECK_STRING.
65497         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65498         <bp-checks.h>.
65499         (fchownat): Do not use CHECK_STRING.
65500         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65501         CHECK_STRING.
65502         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65503         <bp-checks.h>.
65504         (__lchown): Do not use CHECK_STRING.
65505         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65506         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65507         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65508         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65510         include <bp-checks.h>.
65511         (truncate64): Do not use CHECK_STRING.
65512         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65513         <bp-checks.h>.
65514         (__real_chown): Do not use CHECK_STRING.
65515         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65516         <bp-checks.h>.
65517         (__lchown): Do not use CHECK_STRING.
65518         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65519         <bp-checks.h>.
65520         (__chown): Do not use CHECK_STRING.
65521         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65522         <bp-checks.h>.
65523         (truncate64): Do not use CHECK_STRING.
65524         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65525         Likewise.
65526         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65527         (__xmknod): Do not use CHECK_STRING.
65528         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65529         <bp-checks.h>.
65530         (__xmknodat): Do not use CHECK_STRING.
65531         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65532         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65534 2013-02-04  Andreas Schwab  <schwab@suse.de>
65536         [BZ #14142]
65537         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65538         * include/netdb.h: Likewise for h_errno.
65539         * elf/tst-stackguard1.c: Include <tls.h>.
65541 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65543         * elf/link.h (struct link_map): Extend the l_addr comment.
65544         * include/link.h (struct link_map): Likewise.
65546 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65548         [BZ #13550]
65549         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65550         (BOUNDED_1): Remove macro.
65551         * debug/backtrace.c: Don't include <bp-checks.h>.
65552         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65553         (__backtrace): Likewise.
65554         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65555         <bp-checks.h>.
65556         (__backtrace): Don't use BOUNDED_1.
65557         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65558         <bp-checks.h>.
65559         (__backtrace): Don't use BOUNDED_1.
65560         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65561         (__backtrace): Don't use BOUNDED_1.
65562         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65563         (shmat): Don't use BOUNDED_N.
65565 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65567         [BZ #13550]
65568         * sysdeps/generic/bp-start.h: Remove file.
65569         * csu/libc-start.c: Don't include <bp-start.h>.
65570         (LIBC_START_MAIN): Set up __environ directly instead of using
65571         INIT_ARGV_and_ENVIRON.
65572         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65573         <bp-start.h>.
65575         [BZ #13550]
65576         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65577         definitions.
65578         (CHECK_FCNTL): Likewise.
65579         (CHECK_N_PAGES): Likewise.
65581         [BZ #13550]
65582         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65583         definitions.
65584         (CHECK_SIGSET_NULL_OK): Likewise.
65585         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65586         <bp-checks.h>.
65587         (sigpending): Don't use CHECK_SIGSET.
65588         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65589         <bp-checks.h>.
65590         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65591         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65592         <bp-checks.h>.
65593         (do_sigsuspend): Don't use CHECK_SIGSET.
65594         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65595         use CHECK_SIGSET.
65596         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65597         (do_sigwait): Don't use CHECK_SIGSET.
65598         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65599         use CHECK_SIGSET.
65600         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65601         include <bp-checks.h>.
65602         (sigpending): Don't use CHECK_SIGSET.
65603         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65604         include <bp-checks.h>.
65605         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65606         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65607         <bp-checks.h>.
65608         (sigpending): Don't use CHECK_SIGSET.
65609         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65610         <bp-checks.h>.
65611         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65613         [BZ #13550]
65614         * sysdeps/generic/bp-semctl.h: Remove file.
65615         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65616         <bp-checks.h> and <bp-semctl.h>.
65617         (__old_semctl): Don't use CHECK_SEMCTL.
65618         (__new_semctl): Likewise.
65619         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65620         and <bp-semctl.h>.
65621         (__old_semctl): Don't use CHECK_SEMCTL.
65622         (__new_semctl): Likewise.
65623         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65624         <bp-checks.h> and <bp-semctl.h>.
65625         (__old_semctl): Don't use CHECK_SEMCTL.
65626         (__new_semctl): Likewise.
65627         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65628         <bp-checks.h> and <bp-semctl.h>.
65629         (semctl): Don't use CHECK_SEMCTL.
65631         [BZ #13550]
65632         * Makerules (elide-bp-thunks): Remove variable.
65633         (elide-routines.oS): Don't use $(elide-bp-thunks).
65634         (elide-routines.os): Likewise.
65635         (elide-routines.o): Likewise.
65636         (elide-routines.op): Likewise.
65637         (elide-routines.og): Likewise.
65638         (objects): Don't use $(bp-thunks).
65639         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65640         include.
65641         (common-generated): Do not add s-proto-bp.d.
65642         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65643         (int): Likewise.
65644         (typ): Likewise.
65645         Do not generate makefile rules for bounded-pointer thunks.
65646         * sysdeps/generic/bp-thunks.h: Remove file.
65647         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65648         * sysdeps/unix/s-proto-bp.S: Likewise.
65650         [BZ #15062]
65651         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65652         parts of result separately when argument is not close to line from
65653         -i to i and one part of argument is small.
65654         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65655         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65656         * math/libm-test.inc (cacos_test): Add more tests.
65657         (casin_test): Likewise.
65658         (casinh_test): Likewise.
65659         * sysdeps/i386/fpu/libm-test-ulps: Update.
65660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65662 2013-01-31  David S. Miller  <davem@davemloft.net>
65664         * po/de.po: Update from translation team.
65666 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65668         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65670 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65672         * configure.in (_AC_PROG_CC_C89): New definition.
65673         * configure: Regenerate.
65675         * configure.in (AC_PROG_CPP): New definition.
65676         * configure: Regenerate.
65678 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65680         * debug/tst-backtrace.h: New file.
65681         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65682         (ret): Remove variable.
65683         (x): Likewise.
65684         (FAIL): Remove macro.
65685         (NO_INLINE): Likewise.
65686         (fn1): Use match function instead of strstr.
65687         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65688         (ret): Remove variable.
65689         (x): Likewise.
65690         (FAIL): Remove macro.
65691         (NO_INLINE): Likewise.
65692         (fn): Use match function instead of strstr.
65693         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65694         (ret): Remove variable.
65695         (x): Likewise.
65696         (FAIL): Remove macro.
65697         (NO_INLINE): Likewise.
65698         (handle_signal): Use match function instead of strstr.
65699         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65700         (ret): Remove variable.
65701         (x): Likewise.
65702         (FAIL): Remove macro.
65703         (NO_INLINE): Likewise.
65704         (handle_signal): Use match function instead of strstr.
65706 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65708         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65710 2013-01-23  David S. Miller  <davem@davemloft.net>
65712         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65713         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65714         argument of CAS if possible.
65715         * sysdeps/sparc/sparc64/bits/atomic.h
65716         (__arch_compare_and_exchange_val_32_acq): Likewise.
65717         (__arch_compare_and_exchange_val_64_acq): Likewise.
65719 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65721         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65722         * sysdeps/posix/ulimit.c: ... this.
65723         Include <limits.h>.
65724         * sysdeps/unix/bsd/ulimit.c: Remove file.
65726 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65728         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65729         (LDFLAGS-tst-array5): Likewise.
65731 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65733         [BZ #15036]
65734         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65735         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65736         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65737         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65739 2013-01-21  David S. Miller  <davem@davemloft.net>
65741         * sysdeps/sparc/backtrace.c: New file.
65742         * sysdeps/sparc/sparc32/backtrace.h: New file.
65743         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65744         * sysdeps/sparc/sparc64/backtrace.h: New file.
65745         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65746         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65747         -funwind-tables.
65749 2013-01-21  Andreas Schwab  <schwab@suse.de>
65751         [BZ #15020]
65752         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65753         closed its stdout.
65755 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65758         "mpa2.h".
65759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65761 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65762             Mark Mitchell  <mark@codesourcery.com>
65763             Tom de Vries  <tom@codesourcery.com>
65764             Paul Pluzhnikov  <ppluzhnikov@google.com>
65766         * debug/tst-backtrace2.c: New file.
65767         * debug/tst-backtrace3.c: Likewise.
65768         * debug/tst-backtrace4.c: Likewise.
65769         * debug/tst-backtrace5.c: Likewise.
65770         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65771         (CFLAGS-tst-backtrace3.c): Likewise.
65772         (CFLAGS-tst-backtrace4.c): Likewise.
65773         (CFLAGS-tst-backtrace5.c): Likewise.
65774         (LDFLAGS-tst-backtrace2): Likewise.
65775         (LDFLAGS-tst-backtrace3): Likewise.
65776         (LDFLAGS-tst-backtrace4): Likewise.
65777         (LDFLAGS-tst-backtrace5): Likewise.
65778         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65779         tst-backtrace4 and tst-backtrace5.
65781 2013-01-18  Anton Blanchard  <anton@samba.org>
65782             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65784         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65785         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65786         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65787         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65789         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65790         "+r" and remove output regs list as redundant.  Add explicit inline
65791         asm to specify register of return val to work around compiler codegen
65792         bug.  Remove (int) cast on return value.  Add return type parameter to
65793         use in macro so that this macro does not truncate return value for
65794         64-bit values.
65795         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65796         pass to INTERNAL_VSYSCALL_NCS.
65797         (INLINE_VSYSCALL): Add 'long int' as return type to
65798         INTERNAL_VSYSCALL_NCS macro invocation.
65799         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65800         INTERNAL_VSYSCALL_NCS macro invocation.
65801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65803 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65805         [BZ #14496]
65806         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65807         Fix application of SIMD FP exception mask.
65809         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65810         mp_no from a power of two.
65811         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65812         __mpexp_twomm1.  Use __pow_mp.
65814         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65815         multiplication.
65817 2013-01-17  David S. Miller  <davem@davemloft.net>
65819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65821 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65823         [BZ #15023]
65824         * include/complex.h: Condition contents on [!_COMPLEX_H].
65825         (__kernel_casinhf): New prototype.
65826         (__kernel_casinh): Likewise.
65827         (__kernel_casinhl): Likewise.
65828         * math/Makefile (libm_calls): Add k_casinh.
65829         * math/k_casinh.c: New file.
65830         * math/k_casinhf.c: Likewise.
65831         * math/k_casinhl.c: Likewise.
65832         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65833         finite nonzero arguments.
65834         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65835         finite nonzero arguments.
65836         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65837         finite nonzero arguments.
65838         * math/s_casinh.c: Do not include <float.h>.
65839         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65840         * math/s_casinhf.c: Do not include <float.h>.
65841         (__casinhf): Move code for finite nonzero arguments to
65842         k_casinhf.c.
65843         * math/s_casinhl.c: Do not include <float.h>.
65844         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65845         redefine.
65846         (__casinhl): Move code for finite nonzero arguments to
65847         k_casinhl.c.
65848         * math/libm-test.inc (cacos_test): Add more tests.
65849         * sysdeps/i386/fpu/libm-test-ulps: Update.
65850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65852 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
65854         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
65855         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
65856         [!HAVE_MREMAP]: Remove [defined linux] case.
65857         * malloc/arena.c: Do not include <malloc-sysdep.h>.
65859 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65861         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
65863 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
65865         * elf/elf.h (R_386_SIZE32): New relocation.
65866         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
65867         R_386_SIZE32.
65868         (elf_machine_rela): Likewise.
65869         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65870         R_X86_64_SIZE64 and R_X86_64_SIZE32.
65872 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65874         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
65875         (FP_FAST_FMA): Do not define.
65876         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
65877         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
65878         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
65879         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
65880         !_SOFT_FLOAT]: Likewise.
65881         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
65882         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
65883         value.
65884         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
65885         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
65886         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
65887         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
65888         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
65889         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
65890         file.
65892 2013-01-16  Andreas Schwab  <schwab@suse.de>
65894         [BZ #14327]
65895         * include/stdlib.h (__mktemp): Add declaration.
65896         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
65897         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
65899 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65901         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
65902         definitions.
65903         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65904         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
65905         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
65906         definitions here.
65907         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
65908         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
65909         definitions.
65910         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
65911         and ONE.
65912         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
65913         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
65914         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
65915         definitions.
65916         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
65917         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
65918         definitions.
65919         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65921         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
65923 2013-01-15  David S. Miller  <davem@davemloft.net>
65925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65926         trunc{,f} to libm-sysdep_routes.
65927         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
65929         file.
65930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
65931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
65932         file.
65933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
65934         file.
65935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
65936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
65937         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
65938         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
65939         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
65940         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
65941         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
65942         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
65944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65945         nearbyint{,f} to libm-sysdep_routes.
65946         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
65948         New file.
65949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
65950         file.
65951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
65952         New file.
65953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
65954         file.
65955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
65956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
65957         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
65958         file.
65959         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
65960         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
65961         file.
65962         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
65963         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
65964         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
65966         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65967         libc_feholdexcept and libc_fesetenv.
65969 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
65971         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
65973 2013-01-14  David S. Miller  <davem@davemloft.net>
65975         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
65976         (SPARC_ASM_VIS2_IFUNC): Likewise.
65977         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
65978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
65979         use of 'siam' instruction.
65980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
65981         Likewise.
65982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
65983         Likewise.
65984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
65985         Likewise.
65986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
65987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
65988         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
65989         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
65990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
65991         file.
65992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
65993         file.
65994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
65995         file.
65996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
65997         file.
65998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
65999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66003         new VIS2 routines.
66004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66007         Likewise.
66008         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66009         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66010         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66011         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66013         routines to libm-sysdep_routines.
66014         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66017         fdim/fdimf to libm-sysdep_routines.
66018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66019         file.
66020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66022         file.
66023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66026         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66027         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66028         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66029         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66031 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66033         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66034         to optimize copies.
66036         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66041         local variable MPTWO.
66042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66043         Likewise.
66045 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66047         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66048         GLOB_NOESCAPE.
66050 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66052         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66054 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66056         * manual/pattern.texi (glob_t): Document gl_flags.
66057         (glob64_t): Likewise.
66059 2013-01-11  David S. Miller  <davem@davemloft.net>
66061         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66062         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66063         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66064         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66065         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66066         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66067         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66068         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66069         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66070         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66071         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66072         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66073         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66075         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66076         sparc V9 rather than using V8 code.
66077         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66078         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66080         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66081         Move to...
66082         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66083         Here.
66085 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66087         [BZ #14941]
66088         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66089         not in the main loop.
66090         * configure: Regenerated.
66092 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66094         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66095         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66096         to just #else.
66097         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66098         [!__GLIBC_HAVE_LONG_LONG] case.
66099         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66100         condition to just #else.
66101         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66102         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66103         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66104         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66105         unconditional.
66106         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66107         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66108         #elif condition to just #else.
66109         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66110         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66111         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66112         #elif condition to just #else.
66114 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66116         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66117         (EF_MIPS_ARCH_64): Fix value.
66118         (EF_MIPS_ARCH_32R2): New.
66119         (EF_MIPS_ARCH_64R2): New.
66121 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66123         * Makeconfig (+link-pie-before-libc): New.
66124         (+link-pie-after-libc): Likewise.
66125         (+link-pie-tests): Likewise.
66126         (+link-pie): Rewritten.
66127         (link-before-libc): Remove $(config-LDFLAGS).
66128         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66129         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66130         (config-LDFLAGS): Renamed to ...
66131         (rtld-LDFLAGS): This.
66132         (rtld-tests-LDFLAGS): New macro.
66133         (link-libc-rpath-link): Likewise.
66134         (link-libc-tests-rpath-link): Likewise.
66135         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66136         (link-libc): Prepand $(link-libc-rpath-link).
66137         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66138         (test-program-prefix): New macro.
66139         (test-via-rtld-prefix): Likewise.
66140         (test-program-cmd): Likewise.
66141         (host-test-program-cmd): Likewise.
66142         * Makefile ($(common-objpfx)testrun.sh): Replace
66143         $(run-program-prefix) with $(test-program-prefix).
66144         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66145         $(rtld-LDFLAGS).
66146         ($(common-objpfx)shlib.lds): Likewise.
66147         (build-module-helper): Likewise.
66148         ($(common-objpfx)format.lds): Likewise.
66149         * Rules (binaries-pie-tests): New.
66150         (binaries-pie-notests): Likewise.
66151         (binaries-pie): Rewritten.
66152         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66153         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66154         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66155         (make-test-out): Replace $(host-built-program-cmd) with
66156         $(host-test-program-cmd).
66157         * config.make.in (build-hardcoded-path-in-tests): New variable.
66158         * configure.in (--enable-hardcoded-path-in-tests): New configure
66159         option.
66160         (hardcoded_path_in_tests): New AC_SUBST.
66161         * configure: Regenerated.
66162         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66163         $(built-program-cmd) with $(test-program-cmd).
66164         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66165         (test_program_cmd): This.
66166         * elf/Makefile ($(objpfx)order.out): Run test with
66167         $(test-program-prefix).
66168         ($(objpfx)order2.out): Likewise.
66169         ($(objpfx)tst-initorder.out): Likewise.
66170         ($(objpfx)tst-initorder2.out): Likewise.
66171         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66172         $(test-program-cmd).
66173         ($(objpfx)tst-array1-static.out): Likewise.
66174         ($(objpfx)tst-array2.out): Likewise.
66175         ($(objpfx)tst-array3.out): Likewise.
66176         ($(objpfx)tst-array4.out): Likewise.
66177         ($(objpfx)tst-array5.out): Likewise.
66178         ($(objpfx)tst-array5-static.out): Likewise.
66179         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66180         $(test-program-cmd).
66181         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66182         $(run-program-prefix) with $(test-program-prefix).
66183         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66184         (test_program_prefix): This.
66185         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66186         $(run-program-prefix) with $(test-program-prefix).
66187         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66188         (test_program_prefix): This.
66189         * iconvdata/tst-tables.sh: Likewise.
66190         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66191         $(run-program-prefix) with $(test-program-prefix).
66192         ($(objpfx)tst-translit.out): Likewise.
66193         ($(objpfx)tst-gettext2.out): Likewise.
66194         ($(objpfx)tst-gettext4.out): Likewise.
66195         ($(objpfx)tst-gettext6.out): Likewise.
66196         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66197         (test_program_prefix): This.
66198         * intl/tst-gettext2.sh: Likewise.
66199         * intl/tst-gettext4.sh  Likewise.
66200         * intl/tst-gettext6.sh: Likewise.
66201         * intl/tst-translit.sh: Likewise.
66202         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66203         with $(test-program-cmd).
66204         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66205         $(run-program-prefix) with $(test-program-prefix).
66206         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66207         (test_program_prefix): This.
66208         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66209         $(run-program-prefix) with $(test-program-prefix).
66210         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66211         (test_program_prefix): This.
66212         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66213         * posix/Makefile ($(objpfx)globtest.out): Replace
66214         $(run-via-rtld-prefix) and $(test-wrapper) with
66215         $(test-program-prefix) and $(test-via-rtld-prefix).
66216         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66217         $(test-program-prefix).
66218         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66219         $(host-test-program-cmd).
66220         (tst-spawn-ARGS): Likewise.
66221         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66222         $(test-program-prefix).
66223         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66224         (test_via_rtld_prefix): This.
66225         (test_wrapper): Renamed to ...
66226         (test_program_prefix): This.
66227         (run_program_prefix): Replaced by test_program_prefix.
66228         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66229         (test_program_prefix): This.
66230         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66231         with $(host-test-program-cmd).
66232         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66233         $(run-program-prefix) with $(test-program-prefix).
66234         ($(objpfx)tst-printf.out): Likewise.
66235         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66236         $(test-program-cmd).
66237         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66238         (test_program_prefix): This.
66239         * stdio-common/tst-unbputc.sh: Likewise.
66240         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66241         $(run-program-prefix) with $(test-program-prefix).
66242         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66243         (test_program_prefix): This.
66244         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66245         $(built-program-cmd) with $(test-program-cmd).
66247 2013-01-11  Andreas Jaeger  <aj@suse.de>
66249         [BZ #15003]
66250         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66251         value. Sync with Linux 3.7.
66253 2013-01-10  David S. Miller  <davem@davemloft.net>
66255         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66256         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66257         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66259 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66261         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66262         never set.
66263         * configure: Regenerated.
66265 2013-01-10  David S. Miller  <davem@davemloft.net>
66267         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66268         sparc V9 rather than using V8 code.
66269         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66270         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66272 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66274         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66275         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66276         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66277         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66278         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66279         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66280         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66281         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66282         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66283         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66284         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66285         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66286         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66287         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66288         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66289         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66290         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66291         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66292         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66293         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66294         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66295         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66296         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66297         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66298         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66299         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66300         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66302 2013-01-10  David S. Miller  <davem@davemloft.net>
66304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66306 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66308         * posix/Makefile (tests-static): New variable.
66309         (tests): Add $(tests-static).
66310         (tst-exec-static-ARGS): New variable.
66311         (tst-spawn-static-ARGS): Likewise.
66312         * posix/tst-exec-static.c: New file.
66313         * posix/tst-spawn-static.c: Likewise.
66314         * posix/tst-exec.c: Support run directly.
66315         * posix/tst-spawn.c: Likewise.
66317 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66319         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66320         long.
66321         * math/bits/mathcalls.h (llrint): Likewise.
66322         (llround): Likewise.
66323         * stdlib/stdlib.h (struct drand48_data): Likewise.
66324         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66325         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66326         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66327         Likewise.
66328         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66329         Likewise.
66330         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66331         (elf_greg_t): Likewise.
66332         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66333         (__jmp_buf): Likewise.
66334         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66335         definitions.
66336         (llrint): Likewise, for all definitions.
66337         (llrintl): Likewise.
66339         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66340         Remove [__GNUC__] condition.
66341         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66342         condition to just [__USE_ISOC99].
66343         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66345 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66347         [BZ #14200]
66348         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66349         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66350         defined.
66351         (_POSIX_V6_ILP32_OFF32): Likewise.
66352         (_XBS5_ILP32_OFF32): Likewise.
66353         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66354         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66356 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66358         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66360         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66361         doubles __mpexp_twomm1.  Adjust usage.
66362         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66363         Remove.
66365 2013-01-10  Andreas Schwab  <schwab@suse.de>
66367         [BZ #14964]
66368         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66369         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66371 2013-01-09  David S. Miller  <davem@davemloft.net>
66373         [BZ #15003]
66374         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66375         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66376         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66377         (TCP_FASTOPEN): Define.
66378         (tcp_repair_opt): New structure.
66379         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66380         enum values.
66381         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66382         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66383         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66384         (tcp_cookie_transactions): New structure.
66386 2013-01-09  Anton Blanchard  <anton@samba.org>
66388         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66389         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66390         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66391         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66393 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66395         * include/features.h (__USE_ANSI): Remove.
66397 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66399         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66401         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66403 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66405         * sysdeps/s390/fpu/libm-test-ulps: Update.
66407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66409         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66410         (__acr): Likewise.
66411         (__cpy): Likewise.
66412         (norm): Likewise.
66413         (denorm): Likewise.
66414         (__mp_dbl): Likewise.
66415         (__dbl_mp): Likewise.
66416         (add_magnitudes): Likewise.
66417         (sub_magnitudes): Likewise.
66418         (__add): Likewise.
66419         (__sub): Likewise.
66420         (__mul): Likewise.
66421         (__inv): Likewise.
66422         (__dvd): Likewise.
66423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66424         (__acr): Likewise.
66425         (__cpy): Likewise.
66426         (norm): Likewise.
66427         (denorm): Likewise.
66428         (__mp_dbl): Likewise.
66429         (__dbl_mp): Likewise.
66430         (add_magnitudes): Likewise.
66431         (sub_magnitudes): Likewise.
66432         (__add): Likewise.
66433         (__sub): Likewise.
66434         (__mul): Likewise.
66435         (__inv): Likewise.
66436         (__dvd): Likewise.
66437         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66438         (__acr): Likewise.
66439         (__cpy): Likewise.
66440         (norm): Likewise.
66441         (denorm): Likewise.
66442         (__mp_dbl): Likewise.
66443         (__dbl_mp): Likewise.
66444         (add_magnitudes): Likewise.
66445         (sub_magnitudes): Likewise.
66446         (__add): Likewise.
66447         (__sub): Likewise.
66448         (__mul): Likewise.
66449         (__inv): Likewise.
66450         (__dvd): Likewise.
66452 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66454         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66455         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66456         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66457         2 && __USE_EXTERN_INLINES]: Likewise.
66459 2013-01-08  Andreas Jaeger  <aj@suse.de>
66461         [BZ #14985]
66462         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66463         Remove.
66464         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66465         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66467 2013-01-07  Anton Blanchard  <anton@samba.org>
66469         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66470         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66471         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66472         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66473         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66474         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66475         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66476         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66478         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66479         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66480         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66481         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66482         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66483         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66484         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66485         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66486         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66487         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66488         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66489         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66490         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66491         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66492         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66493         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66494         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66495         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66496         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66497         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66498         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66499         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66500         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66501         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66502         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66503         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66504         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66505         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66506         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66507         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66508         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66509         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66510         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66511         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66513 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66515         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66516         (__MALLOC_PMT): Likewise.
66517         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66518         [__GNUC__], only on [_LIBC].
66519         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66520         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66521         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66522         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66523         forward declaration.
66524         (realloc_hook_ini): Likewise.
66525         (memalign_hook_ini): Likewise.
66526         (__libc_memalign): Do not use __MALLOC_PMT in variable
66527         declaration.
66528         (__libc_valloc): Likewise.
66529         (__libc_pvalloc): Likewise.
66530         (__libc_calloc): Likewise.
66531         (__posix_memalign): Likewise.
66533         [BZ #14996]
66534         * math/s_casinh.c: Include <float.h>.
66535         (__casinh): Do not do computation with squaring and square root
66536         for large arguments.
66537         * math/s_casinhf.c: Include <float.h>.
66538         (__casinhf): Do not do computation with squaring and square root
66539         for large arguments.
66540         * math/s_casinhl.c: Include <float.h>.
66541         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66542         (__casinhl): Do not do computation with squaring and square root
66543         for large arguments.
66544         * math/libm-test.inc (casin_test): Add more tests.
66545         (casinh_test): Likewise.
66546         * sysdeps/i386/fpu/libm-test-ulps: Update.
66547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66549 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66551         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66552         (__x86_64_raw_data_cache_size): Likewise.
66553         (__x86_64_data_cache_size_half): Likewise.
66554         (__x86_64_raw_data_cache_size_half): Likewise.
66555         (__x86_64_shared_cache_size): Likewise.
66556         (__x86_64_raw_shared_cache_size): Likewise.
66557         (__x86_64_shared_cache_size_half): Likewise.
66558         (__x86_64_raw_shared_cache_size_half): Likewise.
66559         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66560         to ...
66561         (__x86_data_cache_size): This.
66562         (__x86_64_raw_data_cache_size): Renamed to ...
66563         (__x86_raw_data_cache_size): This.
66564         (__x86_64_data_cache_size_half): Renamed to ...
66565         (__x86_data_cache_size_half): This.
66566         (__x86_64_raw_data_cache_size_half): Renamed to ...
66567         (__x86_raw_data_cache_size_half): This.
66568         (__x86_64_shared_cache_size): Renamed to ...
66569         (__x86_shared_cache_size): This.
66570         (__x86_64_raw_shared_cache_size): Renamed to ...
66571         (__x86_raw_shared_cache_size): This.
66572         (__x86_64_shared_cache_size_half): Renamed to ...
66573         (__x86_shared_cache_size_half): This.
66574         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66575         (__x86_raw_shared_cache_size_half): This.
66576         * sysdeps/x86_64/memcpy.S: Updated.
66577         * sysdeps/x86_64/memset.S: Likewise.
66578         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66579         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66580         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66582 2013-01-04  David S. Miller  <davem@davemloft.net>
66584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66586 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66588         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66589         1 to avoid redefinition warning.
66590         (__USE_GNU): Don't define.
66591         (init_signaling_nan): Protoize.
66593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66595 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66597         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66599         (__cpymn): Likewise.
66600         (norm): Remove commented code.
66601         (denorm): Likewise.
66602         (__mp_dbl): Likewise.
66603         (__inv): Likewise.
66604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66605         (__cpymn): Likewise.
66606         (norm): Remove commented code.
66607         (denorm): Likewise.
66608         (__mp_dbl): Likewise.
66609         (__inv): Likewise.
66611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66612         mp_no value for 1.0 and 2.0.
66613         (norm): Use RADIXI instead of radixi.d.
66614         (denorm): Likewise.
66615         (__mul): Use 0.0 instead of zero.d.
66616         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66617         mp_no value for 1.0 and 2.0.
66618         (norm): Use RADIXI instead of radixi.d.
66619         (denorm): Likewise.
66620         (__mul): Use 0.0 instead of zero.d.
66622 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66624         [BZ #14994]
66625         * math/s_casinh.c (__casinh): Reduce finite argument to first
66626         quadrant then set signs of results at the end.
66627         * math/s_casinhf.c (__casinhf): Likewise.
66628         * math/s_casinhl.c (__casinhl): Likewise.
66629         * math/libm-test.inc (casin_test): Add more tests.
66630         (casinh_test): Likewise.
66631         * sysdeps/i386/fpu/libm-test-ulps: Update.
66632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66634 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66636         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66638         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66640         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66641         declarations.
66642         (denorm): Likewise.
66643         (__mp_dbl): Likewise.
66644         (__inv): Likewise.
66646         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66647         and adjust the header comment.
66649         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66650         variable name from declaration.
66652 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66655         Initialize COMMON_CPUID_INDEX_7 element.
66656         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66657         (CPUID_RTM): Likewise.
66658         (HAS_RTM): Likewise.
66659         (COMMON_CPUID_INDEX_7): New enum.
66661 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66663         [BZ #14981]
66664         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66665         size is zero, record memory as freed.
66667 2013-01-03  Andreas Jaeger  <aj@suse.de>
66669         * po/ia.po: Add new Interlingua translation.
66671 2012-01-03  Allan McRae  <allan@archlinux.org>
66673         * locale/programs/localedef.c: Fix description of '--posix' flag.
66675 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66677         * NEWS: Update dates in second copyright notice.
66678         * README: Update copyright dates in example.
66679         * manual/libc.texinfo: Update copyright dates.
66680         * scripts/test-installation.pl: Update copyright date in --version
66681         output.
66683         * hurd/ctty-input.c: Fix copyright notice formatting.
66684         * hurd/ctty-output.c: Likewise.
66685         * hurd/dtable.c: Likewise.
66686         * hurd/hurd-raise.c: Likewise.
66687         * hurd/hurdprio.c: Likewise.
66688         * hurd/msgportdemux.c: Likewise.
66689         * misc/sys/file.h: Likewise.
66690         * misc/sys/ioctl.h: Likewise.
66691         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66692         * sysdeps/mach/hurd/chdir.c: Likewise.
66693         * sysdeps/mach/hurd/fchdir.c: Likewise.
66694         * sysdeps/mach/hurd/rename.c: Likewise.
66695         * sysdeps/mach/hurd/rmdir.c: Likewise.
66696         * sysdeps/mach/hurd/seekdir.c: Likewise.
66697         * sysdeps/mach/hurd/setsid.c: Likewise.
66698         * sysdeps/posix/wait3.c: Likewise.
66700         * All files with FSF copyright notices: Update copyright dates
66701         using scripts/update-copyrights.
66702         * intl/plural.c: Regenerated.
66703         * locale/programs/charmap-kw.h: Likewise.
66704         * locale/programs/locfile-kw.h: Likewise.
66706 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66708         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66709         four values.
66711         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66712         calculation loop and add branch prediction.
66714         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66715         check access beyond bounds of m1np.
66717         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66718         MPTWO.
66719         (__inv): Remove local variable MPTWO to use the global
66720         constant.
66721         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66722         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66723         variable MPTWO.
66724         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66725         MP3HALFS static const.
66727 2013-01-01  David S. Miller  <davem@davemloft.net>
66729         * po/ca.po: Update from translation team.
66731 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66733         * scripts/update-copyrights: New file.
66734         * Makeconfig: Reformat copyright notice.
66735         * ctype/ctype.h: Likewise.
66736         * debug/swprintf_chk.c: Likewise.
66737         * elf/dl-cache.c: Likewise.
66738         * elf/dl-debug.c: Likewise.
66739         * elf/dl-object.c: Likewise.
66740         * grp/initgroups.c: Likewise.
66741         * hurd/Makefile: Likewise.
66742         * hurd/hurd/signal.h: Likewise.
66743         * hurd/hurdfault.c: Likewise.
66744         * hurd/hurdioctl.c: Likewise.
66745         * hurd/hurdlookup.c: Likewise.
66746         * hurd/intr-msg.c: Likewise.
66747         * iconv/gconv_open.c: Likewise.
66748         * libio/swprintf.c: Likewise.
66749         * locale/lc-ctype.c: Likewise.
66750         * locale/nl_langinfo.c: Likewise.
66751         * mach/Machrules: Likewise.
66752         * mach/Makefile: Likewise.
66753         * malloc/obstack.h: Likewise.
66754         * manual/Makefile: Likewise.
66755         * manual/tsort.awk: Likewise.
66756         * misc/bits/stab.def: Likewise.
66757         * nis/nis_print_group_entry.c: Likewise.
66758         * nis/nis_table.c: Likewise.
66759         * nis/nss_compat/compat-pwd.c: Likewise.
66760         * nis/nss_compat/compat-spwd.c: Likewise.
66761         * po/Makefile: Likewise.
66762         * posix/fnmatch.c: Likewise.
66763         * posix/regex.h: Likewise.
66764         * resolv/Makefile: Likewise.
66765         * resolv/nss_dns/dns-network.c: Likewise.
66766         * resolv/res_hconf.c: Likewise.
66767         * scripts/gen-sorted.awk: Likewise.
66768         * soft-fp/soft-fp.h: Likewise.
66769         * stdio-common/printf.h: Likewise.
66770         * stdlib/monetary.h: Likewise.
66771         * stdlib/random.c: Likewise.
66772         * stdlib/random_r.c: Likewise.
66773         * sysdeps/generic/Makefile: Likewise.
66774         * sysdeps/gnu/Makefile: Likewise.
66775         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66776         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66777         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66778         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66779         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66780         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66781         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66782         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66783         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66784         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66785         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66786         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66787         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66788         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66789         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66790         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66791         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66792         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66793         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66794         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66795         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66796         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66797         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66798         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66799         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66800         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66801         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66802         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66803         * sysdeps/mach/hurd/errnos.awk: Likewise.
66804         * sysdeps/mach/hurd/fork.c: Likewise.
66805         * sysdeps/mach/hurd/getcwd.c: Likewise.
66806         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66807         * sysdeps/mach/hurd/mmap.c: Likewise.
66808         * sysdeps/mach/hurd/utimes.c: Likewise.
66809         * sysdeps/mach/hurd/xmknod.c: Likewise.
66810         * sysdeps/posix/profil.c: Likewise.
66811         * sysdeps/posix/readdir_r.c: Likewise.
66812         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66813         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66814         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66815         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66817         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66818         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66819         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66821         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66822         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66823         * sysdeps/pthread/lio_listio.c: Likewise.
66824         * sysdeps/sparc/dl-procinfo.h: Likewise.
66825         * sysdeps/unix/i386/sysdep.S: Likewise.
66826         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66827         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66828         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66829         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66831         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66832         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66833         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66834         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66835         * sysdeps/wordsize-32/divdi3.c: Likewise.
66836         * time/sys/time.h: Likewise.
66837         * wcsmbs/Makefile: Likewise.
66839 2013-01-01  David S. Miller  <davem@davemloft.net>
66841         * po/fr.po: Update from translation team.
66843         * catgets/gencat.c: Update copyright year.
66844         * csu/version.c: Likewise.
66845         * debug/catchsegv.sh: Likewise.
66846         * debug/pcprofiledump.c: Likewise.
66847         * debug/xtrace.sh: Likewise.
66848         * elf/ldconfig.c: Likewise.
66849         * elf/ldd.bash.in: Likewise.
66850         * elf/pldd.c: Likewise.
66851         * elf/sotruss.ksh: Likewise.
66852         * elf/sprof.c: Likewise.
66853         * iconv/iconv_prog.c: Likewise.
66854         * iconv/iconvconfig.c: Likewise.
66855         * locale/programs/locale.c: Likewise.
66856         * locale/programs/localedef.c: Likewise.
66857         * login/programs/pt_chown.c: Likewise.
66858         * malloc/memusage.sh: Likewise.
66859         * malloc/memusagestat.c: Likewise.
66860         * malloc/mtrace.pl: Likewise.
66861         * nscd/nscd.c: Likewise.
66862         * nss/getent.c: Likewise.
66863         * nss/makedb.c: Likewise.
66864         * posix/getconf.c: Likewise.
66866 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66868         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
66869         numbers.
66871 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
66873         * math/bits/mathcalls.h (modf): Use __nonnull.
66875 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66877         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
66878         (split): Use macro CN instead of the bare value.
66879         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
66880         could be used.
66881         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
66882         instead of the bare value.
66883         (power1): Likewise.
66885 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66887         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
66888         __ATAN_TWOM.
66889         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66891         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
66892         their values.
66893         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66894         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66895         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
66896         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66898 2012-12-28  Andreas Jaeger  <aj@suse.de>
66900         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
66901         values are from Linux 3.7.
66903         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66904         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
66906 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66908         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
66909         TRUE case.
66911         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
66912         (norm): Likewise.
66913         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
66914         variables with preprocessor constants.
66915         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66916         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66917         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66919 2012-12-27  Bruno Haible  <bruno@clisp.org>
66921         [BZ #14317]
66922         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
66923         only if needed.
66925 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66927         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
66928         and use variable directly.
66929         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
66931         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66932         MPONE.
66933         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
66934         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66935         variable MPONE.
66936         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66937         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66938         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
66939         include directive.  Remove local variable MPONE.
66940         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
66941         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
66942         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66944 2012-12-25  David S. Miller  <davem@davemloft.net>
66946         * version.h (RELEASE): Set to "development".
66947         (VERSION): Set to "2.17.90".
66948         * NEWS: Add 2.18 section.
66950 2012-12-21  David S. Miller  <davem@davemloft.net>
66952         * po/hr.po: Update from translation team.
66954 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66956         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
66958 2012-12-19  Steve Ellcey  <sellcey@mips.com>
66960         * NEWS:  Mention new memcpy for MIPS.
66962 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66964         * manual/contrib.texi (Contributors): Spelling correction.
66966 2012-12-15  David S. Miller  <davem@davemloft.net>
66968         * po/ru.po: Update from translation team.
66970 2012-12-13  David S. Miller  <davem@davemloft.net>
66972         * NEWS: Mention IFUNC testsuite enhancements.
66974         * po/pl.po: Update from translation team.
66975         * po/bg.po: Likewise.
66977         * manual/contrib.texi (Contributors): Update entries for Hongjiu
66978         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
66980 2012-12-11  David S. Miller  <davem@davemloft.net>
66982         * po/sv.po: Update from translation team.
66984         * po/vi.po: Update from translation team.
66986         * po/cs.po: Update from translation team.
66988         * po/de.po: Update from translation team.
66989         * po/eo.po: Likewise.
66990         * po/nl.po: Likewise.
66992 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66994         [BZ #14246]
66995         * manual/argp.texi (Argp Helper Functions): Move node to follow
66996         Argp Parsing State.
66998         [BZ #14872]
66999         * manual/conf.texi (Limits on File System Capacity): Mention if
67000         terminating null is included in the max size.
67002 2012-12-10  Andreas Jaeger  <aj@suse.de>
67004         * po/cs.po: Update from translation team.
67006 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67008         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67009         void pointer and cast to uintptr_t.
67010         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67011         path.
67012         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67013         * sysdeps/s390/s390-64/memset.S: Likewise.
67015 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67017         [BZ #14833]
67018         * menual/message.texi (Message Translation): Fix typos.
67019         (Helper programs for gettext): Likewise.
67021 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67023         [BZ #14898]
67024         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67025         Change to -1.
67027 2012-12-07  David S. Miller  <davem@davemloft.net>
67029         * po/libc.pot: Update.
67031 2012-12-07  Richard Henderson  <rth@redhat.com>
67033         [BZ #10114]
67034         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67035         normal/normal case to before the switch.
67036         (_FP_DIV): Likewise.
67038 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67039             Mike Frysinger  <vapier@gentoo.org>
67041         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67042         check for __NR_fadvise64_64.
67044 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67046         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67047         0, not just to plain "0" as a statement.
67048         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67049         with cw.
67051 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67053         * NEWS: Use sourceware.org in Bugzilla URL.
67055 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67058         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67060         * stdio-common/tst-put-error.c (do_test): Add newline to the
67061         padded test to ensure flush.
67063 2012-12-05  Jeff Law  <law@redhat.com>
67065         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67067 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67069         * README: Don't refer to ports add-on as distributed separately.
67070         Mention AArch64 in list of systems supported in the ports add-on.
67072         * LICENSES: Add more non-FSF copyright and license notices.
67074         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67075         ((unused)).
67077         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67079         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67080         10000 as width of padded output.
67082 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67084         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67086         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67087         variable LX with __attribute__ ((unused)).
67088         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67089         Likewise.
67090         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67091         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67092         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67093         with __attribute__ ((unused)).
67095 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67097         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67099 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67101         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67102         (CFLAGS-nldbl-acos.c): New variable.
67103         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67104         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67105         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67106         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67107         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67108         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67109         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67110         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67111         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67112         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67113         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67114         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67115         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67116         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67117         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67118         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67119         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67120         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67121         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67122         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67123         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67124         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67125         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67126         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67127         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67128         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67129         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67130         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67131         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67132         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67133         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67134         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67135         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67136         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67137         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67138         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67139         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67140         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67141         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67142         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67143         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67144         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67145         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67146         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67147         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67148         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67149         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67150         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67151         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67152         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67153         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67154         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67155         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67156         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67157         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67158         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67159         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67160         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67161         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67162         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67163         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67164         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67165         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67166         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67167         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67168         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67169         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67170         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67171         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67172         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67173         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67174         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67175         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67176         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67177         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67178         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67179         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67180         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67181         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67182         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67183         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67184         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67185         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67186         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67187         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67188         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67189         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67190         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67191         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67192         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67193         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67194         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67195         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67196         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67197         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67198         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67199         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67202         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67204         [BZ #14914]
67205         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67206         whole low double instead of just low 47 bits when splitting values
67207         into two parts.
67209 2012-12-03  Allan McRae  <allan@archlinux.org>
67211         * manual/stdio.texi (Predefined Printf Handlers): Remove
67212         @hsep and @vsep usage.
67214 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67216         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67217         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67219 2012-12-03  Jeff Law  <law@redhat.com>
67221         * time/sys/time.h (settimeofday): Do not mark TV argument
67222         as __nonnull.
67224 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67226         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67227         when currently writing and seek to current position when not.
67228         * libio/Makefile (tests): Remove bug-fclose1.
67229         * libio/bug-fclose1.c: Delete.
67231 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67233         * manual/arith.texi (feenableexcept): Fix typo.
67234         (fedisableexcept): Likewise.
67236 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67238         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67239         second, differently-typed declaration, rather than a cast.
67241 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67243         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67244         * include/rpc/svc.h: ... here.
67246 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67248         [BZ #13013]
67249         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67250         depending n and resplen2 to catch cases where answer
67251         equals answerp2.
67253 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67255         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67256         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67258 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67260         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67262 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67264         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67266 2012-11-28  Jeff Law  <law@redhat.com>
67268         [BZ #13761]
67269         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67270         dataset_temporary.  Track alloca usage into alloca_used.
67271         If dataset is large allocate and release it via malloc/free.
67273 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67275         [BZ #14197]
67276         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67278 2012-11-28  David S. Miller  <davem@davemloft.net>
67280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67282 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67284         [BZ #14803]
67285         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67286         of pi/2 rounded to nearest to 64 bits.
67287         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67288         nearest to 64 bits.
67289         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67290         bits.
67292 2012-11-28  Jeff Law <law@redhat.com>
67293             Martin Osvald <mosvald@redhat.com>
67295         [BZ #14889]
67296         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67297         * sunrpc/svc.c: Include time.h.
67298         (__svc_accept_failed): New function.
67299         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67300         any reason other than EINTR, call __svc_accept_failed.
67301         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67302         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67304 2012-11-28  Andreas Schwab  <schwab@suse.de>
67306         * scripts/abilist.awk: Also handle indirect functions in .opd
67307         section.
67309 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67311         [BZ #13881]
67312         * sysdeps/x86/fpu/powl_helper.c: New file.
67313         * sysdeps/x86/fpu/Makefile: Likewise.
67314         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67315         (p3): New object.
67316         (__ieee754_powl): Use __powl_helper for finite arguments except
67317         integer exponents below 8.
67318         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67319         (p3): New object.
67320         (__ieee754_powl): Use __powl_helper for finite arguments except
67321         integer exponents below 8.
67322         * math/libm-test.inc (pow_test): Add more tests and enable some
67323         previously disabled tests.
67324         * sysdeps/i386/fpu/libm-test-ulps: Update.
67325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67327 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67328             Carlos O'Donell  <carlos_odonell@mentor.com>
67330         * nss/makedb.c (is_prime): Assert that input is odd and greater
67331         than 4.  Note that fact in a comment too.
67332         (next_prime): Add 4 to input.
67334 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67336         [BZ #11741]
67337         * libio/Makefile (tests): Add test case tst-fwrite-error.
67338         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67339         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67340         * libio/tst-fwrite-error.c: New test case.
67342 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67344         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67345         before casting to void *.
67346         * include/libc-internal.h (__pointer_type): New macro.
67347         (__integer_if_pointer_type_sub): Likewise.
67348         (__integer_if_pointer_type): Likewise.
67349         (cast_to_integer): Likewise.
67350         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67351         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67352         before casting to atomic64_t.
67353         (atomic_exchange_acq): Likewise.
67354         (__arch_exchange_and_add_body): Likewise.
67355         (__arch_add_body): Likewise.
67356         (atomic_add_negative): Likewise.
67357         (atomic_add_zero): Likewise.
67359 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67361         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67362         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67363         (add_fdes): Likewise.
67364         (linear_search_fdes): Likewise.
67365         (binary_search_unencoded_fdes): Likewise.
67367 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67369         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67371 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67373         * configure.in: Autodetect C++ header directories.
67374         * configure: Regenerated.
67376 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67378         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67380 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67384 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67386         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67387         LDBL_MANT_DIG == 106]: Disable some tests.
67388         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67389         Likewise.
67390         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67391         Likewise.
67393         [BZ #14871]
67394         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67395         input for small inputs.  Return +/- pi/2 for large inputs.
67396         * math/libm-test.inc (atan_test): Add more tests.
67398         * sysdeps/generic/unwind-dw2-fde-glibc.c
67399         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67400         __attribute__ ((unused)).
67402         [BZ #14645]
67403         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67404         x * y if x and y are nonzero and z is zero.
67406         [BZ #14811]
67407         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67408         nonzero exponents with absolute value below 0x1p-117 to +/-
67409         0x1p-117.
67411         [BZ #14869]
67412         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67413         up arguments below 2**-450, not just those below 2**-500.
67414         * math/libm-test.inc (hypot_test): Add another test.
67416         [BZ #14868]
67417         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67418         Return a+b for ratio over 2**120, not 2**60.
67419         * math/libm-test.inc (hypot_test): Add another test.
67421         * math/libm-test.inc (clog_test): Use
67422         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67423         (clog10_test): Likewise.
67425         [BZ #6778]
67426         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67428 2012-11-22  Andreas Schwab  <schwab@suse.de>
67430         * sysdeps/i386/fpu/libm-test-ulps: Update.
67432 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67434         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67435         printf output with newline.
67437 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67439         [BZ #14865]
67440         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67441         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67442         -z nodlopen, -z initfirst and -z execstack support.
67443         * configure: Regenerated.
67445         * elf/elf.h (DF_1_NODIRECT): New macro.
67446         (DF_1_IGNMULDEF): Likewise.
67447         (DF_1_NOKSYMS): Likewise.
67448         (DF_1_NOHDR): Likewise.
67449         (DF_1_EDITED): Likewise.
67450         (DF_1_NORELOC): Likewise.
67451         (DF_1_SYMINTPOSE): Likewise.
67452         (DF_1_GLOBAUDIT): Likewise.
67453         (DF_1_SINGLETON): Likewise.
67454         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67455         DT_1_SUPPORTED_MASK bits.
67456         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67458 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67460         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67462 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67464         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67465         macro.
67467         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67468         (sendmmsg): Move declarations...
67469         * socket/sys/socket.h: ... here.
67470         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67471         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67472         include it from...
67473         * socket/recvmmsg.c: ... this new file.
67474         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67475         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67476         definition of __sendmmsg hidden.
67477         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67478         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67479         Move ENOSYS stub into and include it from...
67480         * socket/sendmmsg.c: ... this new file.
67481         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67482         (sysdep_routines): Move recvmmsg and sendmmsg...
67483         * socket/Makefile (routines): ... here.
67484         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67485         (GLIBC_PRIVATE): Add __sendmmsg.
67486         * include/sys/socket.h (__sendmmsg): Add declarations.
67487         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67488         sendmmsg.
67490 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67492         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67493         variable I1 with __attribute__ ((unused)).
67494         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67496 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67498         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67499         DUMMY variables with __attribute__ ((unused)).
67501         * bits/byteswap.h: Include <bits/types.h>.
67502         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67504 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67506         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67507         string_t.  Do not manually set errno.
67508         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67509         length with __strnlen.  Make sure to both set errno and return it on
67510         failure.
67512 2012-11-19  David S. Miller  <davem@davemloft.net>
67514         With help from Joseph Myers.
67515         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67516         very large arguments properly.
67517         * math/libm-test.inc (atan_test): New tests.
67518         (atan2_test): New tests.
67519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67522 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67524         [BZ #14856]
67525         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67526         Define to 3.
67528         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67529         [POSIX] (EADDRNOTAVAIL): Likewise.
67530         [POSIX] (EAFNOSUPPORT): Likewise.
67531         [POSIX] (EALREADY): Likewise.
67532         [POSIX] (ECONNABORTED): Likewise.
67533         [POSIX] (ECONNREFUSED): Likewise.
67534         [POSIX] (ECONNRESET): Likewise.
67535         [POSIX] (EDESTADDRREQ): Likewise.
67536         [POSIX] (EDQUOT): Likewise.
67537         [POSIX] (EHOSTUNREACH): Likewise.
67538         [POSIX] (EIDRM): Likewise.
67539         [POSIX] (EISCONN): Likewise.
67540         [POSIX] (ELOOP): Likewise.
67541         [POSIX] (EMULTIHOP): Likewise.
67542         [POSIX] (ENETDOWN): Likewise.
67543         [POSIX] (ENETUNREACH): Likewise.
67544         [POSIX] (ENOBUFS): Likewise.
67545         [POSIX] (ENODATA): Likewise.
67546         [POSIX] (ENOLINK): Likewise.
67547         [POSIX] (ENOMSG): Likewise.
67548         [POSIX] (ENOPROTOOPT): Likewise.
67549         [POSIX] (ENOSR): Likewise.
67550         [POSIX] (ENOSTR): Likewise.
67551         [POSIX] (ENOTCONN): Likewise.
67552         [POSIX] (ENOTSOCK): Likewise.
67553         [POSIX] (EOPNOTSUPP): Likewise.
67554         [POSIX] (EOVERFLOW): Likewise.
67555         [POSIX] (EPROTO): Likewise.
67556         [POSIX] (EPROTONOSUPPORT): Likewise.
67557         [POSIX] (EPROTOTYPE): Likewise.
67558         [POSIX] (ESTALE): Likewise.
67559         [POSIX] (ETIME): Likewise.
67560         [POSIX] (ETXTBSY): Likewise.
67561         [POSIX] (EWOULDBLOCK): Likewise.
67562         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67563         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67564         [POSIX] (SEEK_CUR): Likewise.
67565         [POSIX] (SEEK_END): Likewise.
67566         [POSIX || UNIX98] (mode_t): Do not require.
67567         [POSIX] (off_t): Likewise.
67568         [POSIX] (pid_t): Likewise.
67569         [POSIX] (sys/stat.h): Do not allow header.
67570         [POSIX] (unistd.h): Likewise.
67571         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67572         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67573         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67574         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67575         require.
67576         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67577         sigevent): Specify elements.
67578         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67579         entry.
67580         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67581         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67583         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67584         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67585         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67586         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67587         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67588         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67589         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67590         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67591         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67592         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67593         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67594         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67595         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67596         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67597         Likewise.
67598         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67599         Likewise.
67600         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67601         Likewise.
67602         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67603         Likewise.
67604         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67605         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67606         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67607         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67608         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67609         Specify lower bound on value.
67610         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67611         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67612         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67613         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67614         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67615         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67616         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67617         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67618         value.
67619         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67620         as optional.
67621         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67622         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67623         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67624         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67625         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67626         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67627         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67628         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67629         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67630         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67631         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67632         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67633         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67634         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67635         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67636         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67637         entry.
67638         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67639         optional.
67640         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67641         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67642         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67643         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67644         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67645         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67646         Likewise.
67647         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67648         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67649         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67650         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67651         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67652         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67653         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67654         as optional.
67655         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67656         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67657         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67658         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67659         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67660         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67661         specify as optional.
67662         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67663         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67664         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67665         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67666         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67667         [XPG3] (NL_LANGMAX): Likewise.
67668         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67669         [POSIX || XPG3] (NL_NMAX): Likewise.
67670         [POSIX || XPG3] (NL_SETMAX): Likewise.
67671         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67672         [XPG3] (NZERO): Likewise.
67673         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67674         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67675         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67676         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67677         (REG_ERANGE): Expect.
67678         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67679         optional-constant.
67680         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67681         Use (void) in prototype.
67682         [POSIX] (*_t): Allow.
67683         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67684         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67685         (WRDE_BADVAL): Expect.
67687         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67688         expect.
67689         [XPG3 || XPG4] (O_RSYNC): Likewise.
67690         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67691         Likewise.
67692         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67693         [XPG3 || XPG4] (sigqueue): Likewise.
67694         [XPG3 || XPG4] (sigtimedwait): Likewise.
67695         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67696         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67697         [XPG3 || XPG4] (vsnprintf): Likewise.
67698         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67699         Likewise.
67700         [XPG3 || XPG4] (blksize_t): Likewise.
67701         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67702         Likewise.
67703         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67704         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67705         [XPG3 || XPG4] (struct itimerspec): Likewise.
67706         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67707         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67708         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67709         [XPG3 || XPG4] (clockid_t): Likewise.
67710         [XPG3 || XPG4] (timer_t): Likewise.
67711         [XPG3 || XPG4] (clock_getres): Likewise.
67712         [XPG3 || XPG4] (clock_gettime): Likewise.
67713         [XPG3 || XPG4] (clock_settime): Likewise.
67714         [XPG3 || XPG4] (nanosleep): Likewise.
67715         [XPG3 || XPG4] (timer_create): Likewise.
67716         [XPG3 || XPG4] (timer_delete): Likewise.
67717         [XPG3 || XPG4] (timer_gettime): Likewise.
67718         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67719         [XPG3 || XPG4] (timer_settime): Likewise.
67720         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67721         [XPG3 || XPG4] (getlogin_r): Likewise.
67722         [XPG3 || XPG4] (pread): Likewise.
67723         [XPG3 || XPG4] (pthread_atfork): Likewise.
67724         [XPG3 || XPG4] (pwrite): Likewise.
67726         [BZ #14835]
67727         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67728         <bits/siginfo.h>.
67730 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67732         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67733         finalizing MALLSTREAM.
67735         * sysdeps/mach/hurd/syncfs.c: New file.
67737 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67739         [BZ #14719]
67740         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67741         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67742         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67743         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67744         (_nss_dns_gethostbyname4_r): Likewise.
67745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67746         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67748 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67750         [BZ #13763]
67751         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67753 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67755         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67756         * elf/cache.c (print_entry): Print ",AArch64" for
67757         FLAG_AARCH64_LIB64
67759         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67760         * elf/cache.c (print_entry): Print ",hard-float" for
67761         FLAG_ARM_LIBHF.
67763 2012-11-18  David S. Miller  <davem@davemloft.net>
67765         With help from Joseph Myers.
67766         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67767         cutoff to 2**-13.
67768         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67769         cutoff to 2**-25.
67770         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67771         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67772         small.
67773         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67774         * math/libm-test.inc (y0_test): New tests.
67775         (y1_test): New tests.
67776         * sysdeps/i386/fpu/libm-test-ulps: Update.
67777         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67780 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67782         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67783         64-bit targets.
67784         * configure: Regenerated.
67786 2012-11-17  David S. Miller  <davem@davemloft.net>
67788         [BZ #14811]
67789         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67790         nonzero exponents with absolute value below 0x1p-128 to +/-
67791         0x1p-128.
67793 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67795         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67797         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67799         * posix/getconf-speclist.c: New file.
67800         * posix/posix-envs.def: Likewise.
67801         * posix/confstr.c (START_ENV_GROUP): New macro.
67802         (END_ENV_GROUP): Likewise.
67803         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67804         (KNOWN_PRESENT_ENV_STRING): Likewise.
67805         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67806         (UNKNOWN_ENVIRONMENT): Likewise.
67807         (confstr): Include posix-envs.def instead of handling
67808         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67809         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67810         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67811         (END_ENV_GROUP): Likewise.
67812         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67813         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67814         (UNKNOWN_ENVIRONMENT): Likewise.
67815         (__sysconf): Include posix-envs.def instead of handling associated
67816         cases directly here.
67817         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67818         preprocessing getconf-speclist.c rather than running getconf or
67819         generating empty file.
67821 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67823         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67825 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67827         [BZ #14672]
67828         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67830 2012-11-16  David S. Miller  <davem@davemloft.net>
67832         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67833         smaller than LDBL_EPSILON/2.0L, just return xm1.
67835 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67837         * elf/tst-array1.c (init): Set constructor priority to 1000.
67838         (fini): Set destructor priority to 1000.
67839         * elf/tst-array2dep.c: Likewise.
67841 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67843         [BZ #11741]
67844         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67845         (_IO_new_file_xsputn): Also return EOF if none of the input
67846         data was written when overflow failed.
67847         * libio/iopadn.c (_IO_padn): Likewise.
67848         * libio/iowpadn.c (_IO_wpadn): Likewise.
67849         * stdio-common/tst-put-error.c: Add copyright notice.
67850         (do_test): Add case for printing padded string.
67851         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67852         _IO_padn returned error.
67853         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
67854         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
67855         return EOF.
67857 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67859         * libio/libioP.h: Add comment note that the references to C++
67860         bits are now obsolete.
67862 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67864         * math/libm-test.inc (check_complex): Use asprintf.
67866 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
67868         * debug/pcprofiledump.c (print_version): Update copyright year.
67869         * malloc/memusagestat.c (print_version): Likewise.
67871 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
67873         [BZ #14831]
67874         * elf/Makefile (tests): Add tst-audit8.
67875         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
67876         ($(objpfx)tst-audit8.out): New target.
67877         (tst-audit8-ENV): New variable.
67878         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
67879         audit if l_reloc_result is NULL.
67880         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
67881         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
67882         * elf/tst-audit8.c: New file.
67884 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67886         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
67887         * misc/Makefile (CFLAGS-select.c): Define.
67888         * posix/Makefile (CFLAGS-pause.c): Define.
67890 2012-11-13  David S. Miller  <davem@davemloft.net>
67892         * crypt/Makefile: Move test targets after toplevel Rules
67893         inclusion.  Grab any necessary sysdep routines when linking.
67894         * crypt/md5.c (md5_process_block): Remove define, we will always
67895         name it __md5_process_block.
67896         (md5_finish_ctx): Update md5_process_block call.
67897         (md5_stream): Likewise.
67898         (md5_process_bytes): Likewise.
67899         (md5_process_block): Rename to __md5_process_block and move to ...
67900         * crypt/md5-block.c: ... here.
67901         * crypt/sha256.c (sha256_process_block): Move to ...
67902         * crypt/sha256-block.c: ... here.
67903         * crypt/sha512.c (sha512_process_block): Move to ...
67904         * crypt/sha512-block.c: ... here.
67905         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
67906         path.
67907         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
67908         * sysdeps/sparc/sparc64/multiarch/Makefile
67909         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
67910         crypt subdir.
67911         (localedef-aux): Add md5 crypto assembler when in locale subdir.
67912         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
67913         multiarch changes.
67914         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
67915         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
67916         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
67917         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
67918         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
67919         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
67920         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
67921         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
67922         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
67923         file.
67924         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
67925         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
67926         file.
67927         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
67929 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
67931         * timezone/tzselect.ksh: Update from tzcode git revision
67932         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
67933         * timezone/zdump.c: Likewise.
67934         * timezone/zic.c: Likewise.
67935         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
67936         in TZVERSION setting, not $(PKGVERSION).
67937         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
67938         REPORT_BUGS_TO settings.
67940         [BZ #14838]
67941         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
67942         macro.
67944 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67946         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
67947         detection to immediately after _FP_ROUND().
67948         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
67949         bits are 0.
67951 2012-11-11  David S. Miller  <davem@davemloft.net>
67953         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
67954         inttypes.h
67955         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
67956         __close rather than their public counterparts.
67958 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
67960         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
67961         file.
67962         [UNIX98] (sem_timedwait): Do not expect.
67963         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
67964         [XPG4 || UNIX98] (sockatmark): Do not expect.
67965         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
67966         (clock_getcpuclockid): Do not expect.
67967         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
67968         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
67969         Do not expect.
67970         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
67971         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
67972         [UNIX98] (vwscanf): Likewise.
67973         [UNIX98] (vswscanf): Likewise.
67975 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
67977         * timezone/version.h: Remove file.
67978         * timezone/README: Do not refer to version.h.
67979         * timezone/Makefile ($(objpfx)zic.o): New dependency on
67980         $(objpfx)version.h.
67981         ($(objpfx)zdump.o): Likewise.
67982         ($(objpfx)version.h): New target.
67984         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
67985         2012i.
67986         * timezone/README: Don't mention modification to tzselect.ksh.
67987         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
67988         work on unmodified tzselect.ksh.  Substitute version numbers in
67989         tzselect.ksh.
67991         * Makefile (format-me): Remove.
67992         (INSTALL): Adjust indentation.  Use commands directly instead of
67993         using $(format-me).
67995         * aclocal.m4 (ACX_PKGVERSION): New macro.
67996         (ACX_BUGURL): Likewise.
67997         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
67998         (PKGVERSION): New AC_DEFINE_UNQUOTED.
67999         (REPORT_BUGS_TO): Likewise.
68000         * configure: Regenerated.
68001         * config.h.in (PKGVERSION): New macro.
68002         (REPORT_BUGS_TO): Likewise.
68003         * config.make.in (PKGVERSION): New variable.
68004         (PKGVERSION_TEXI): Likewise.
68005         (REPORT_BUGS_TO): Likewise.
68006         (REPORT_BUGS_TEXI): Likewise.
68007         * Makefile (format-me): Use -I$(common-objpfx)manual.
68008         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68009         ($(common-objpfx)manual/%): New target.
68010         (manual/%): Remove target.
68011         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68012         (print_version): Use PKGVERSION.
68013         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68014         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68015         and REPORT_BUGS_TO.
68016         ($(objpfx)xtrace): Likewise.
68017         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68018         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68019         (print_version): Use PKGVERSION.
68020         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68021         (do_version): Use PKGVERSION.
68022         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68023         REPORT_BUGS_TO.
68024         (common-ldd-rewrite): Likewise.
68025         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68026         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68027         (print_version): Use PKGVERSION.
68028         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68029         * elf/pldd.c (argp_program_bug_address): Remove variable.
68030         (more_help): New function.
68031         (argp): Use more_help.
68032         (print_version): Use PKGVERSION.
68033         * elf/sln.c (main): Use PKGVERSION.
68034         (usage): Use REPORT_BUGS_TO.
68035         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68036         (top level): Use PKGVERSION.
68037         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68038         (print_version): Use PKGVERSION.
68039         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68040         (print_version): Use PKGVERSION.
68041         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68042         (print_version): Use PKGVERSION.
68043         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68044         (print_version): Use PKGVERSION.
68045         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68046         (print_version): Use PKGVERSION.
68047         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68048         (print_version): Use PKGVERSION.
68049         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68050         and BUGURL.
68051         ($(objpfx)memusage): Likewise.
68052         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68053         (do_version): Use PKGVERSION.
68054         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68055         (print_version): Use PKGVERSION.
68056         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68057         ($PKGVERSION): New variable.
68058         ($REPORT_BUGS_TO): Likewise.
68059         (usage): Use $REPORT_BUGS_TO.
68060         (top level): Use $PKGVERSION.
68061         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68062         ($(objpfx)pkgvers.texi): New rule.
68063         ($(objpfx)stamp-pkgvers): Likewise.
68064         * manual/install.texi: Include pkgvers.texi.
68065         (--with-pkgversion): Document new configure option.
68066         (--with-bugurl): Likewise.
68067         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68068         than necessarily for this particular distribution.  Use
68069         REPORT_BUGS_TO for where to report bugs.
68070         * INSTALL: Regenerated.
68071         * manual/libc.texinfo: Include pkgvers.texi.
68072         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68073         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68074         (print_version): Use PKGVERSION.
68075         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68076         (print_version): Use PKGVERSION.
68077         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68078         (print_version): Use PKGVERSION.
68079         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68080         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68081         macro.
68082         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68083         (print_version): Use PKGVERSION.
68084         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68085         (print_version): Use PKGVERSION.
68086         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68087         and PKGVERSION.
68089         * timezone/checktab.awk: Update from tzcode 2012i.
68090         * timezone/ialloc.c: Likewise.
68091         * timezone/private.h: Likewise.
68092         * timezone/scheck.c: Likewise.
68093         * timezone/tzfile.h: Likewise.
68094         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68095         (TZVERSION): Hardcode tzcode version number.
68096         * timezone/zdump.c: Update from tzcode 2012i.
68097         * timezone/zic.c: Likewise.
68098         * timezone/version.h: New file.
68099         * timezone/README: Describe version.h.  Update upstream location.
68101         [BZ #14824]
68102         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68103         (mktemp): Enable declaration.
68104         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68105         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68106         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68107         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68108         Likewise.
68109         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68110         Likewise.
68111         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68112         Likewise.
68113         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68114         Likewise.
68115         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68116         Likewise.
68117         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68118         Likewise.
68120         [BZ #14821]
68121         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68122         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68123         for copies of such integer values.
68124         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68125         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68127 2012-11-09  Andreas Jaeger  <aj@suse.de>
68129         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68130         definitions and declarations that are provided by
68131         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68133 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68135         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68136         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68137         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68138         definition.
68140 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68142         * elf/elf.h: Update comment before AArch64 relocations.
68144 2012-11-07  David S. Miller  <davem@davemloft.net>
68146         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68147         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68148         (__start_context): Declare.
68149         (__makecontext_ret): Delete.
68150         (__makecontext): Hook up __start_context instead of
68151         __makecontext_ret.
68152         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68153         (sysdep_routines): Add __start_context when in stdlib.
68155 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68157         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68158         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68159         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68160         hardcoded "nm".
68161         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68162         (READELF): New variable.  Use it instead of hardcoded "readelf".
68164 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68166         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68167         * sysdeps/x86/Makefile: Here.
68168         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68169         * sysdeps/x86/tst-xmmymm.sh: This.
68171 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68173         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68174         expectations.
68175         [UNIX98] (pthread_barrier_t): Do not expect.
68176         [UNIX98] (pthread_barrierattr_t): Likewise.
68177         [UNIX98] (pthread_spinlock_t): Likewise.
68178         [UNIX98] (pthread_barrier_destroy): Likewise.
68179         [UNIX98] (pthread_barrier_init): Likewise.
68180         [UNIX98] (pthread_barrier_wait): Likewise.
68181         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68182         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68183         [UNIX98] (pthread_barrierattr_init): Likewise.
68184         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68185         [UNIX98] (pthread_getcpuclockid): Likewise.
68186         [UNIX98] (pthread_mutex_timedlock): Likewise.
68187         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68188         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68189         [UNIX98] (pthread_sigmask): Likewise.
68190         [UNIX98] (pthread_spin_destroy): Likewise.
68191         [UNIX98] (pthread_spin_init): Likewise.
68192         [UNIX98] (pthread_spin_lock): Likewise.
68193         [UNIX98] (pthread_spin_trylock): Likewise.
68194         [UNIX98] (pthread_spin_unlock): Likewise.
68195         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68196         Do not expect.
68197         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68198         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68199         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68200         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68201         [XPG3 || XPG4] (pthread_key_t): Likewise.
68202         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68203         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68204         [XPG3 || XPG4] (pthread_once_t): Likewise.
68205         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68206         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68207         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68208         [XPG3 || XPG4] (pthread_t): Likewise.
68210         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68211         not expect.
68212         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68214         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68215         Change function return type to int.
68217         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68218         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68219         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68220         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68221         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68222         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68223         [!POSIX] (posix_madvise): Likewise.
68224         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68225         && !UNIX98].
68226         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68227         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68228         (mode_t): Likewise.
68229         (posix_mem_offset): Likewise.
68230         (posix_typed_mem_get_info): Likewise.
68231         (posix_typed_mem_open): Likewise.
68233         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68234         Change condition to [XOPEN2K8].
68236         * conform/conformtest.pl: Preprocess allow-header data with -x c
68237         instead of from stdin.
68238         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68239         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68240         [C99-based standards] (cerfc): Likewise.
68241         [C99-based standards] (cexp2): Likewise.
68242         [C99-based standards] (cexpm1): Likewise.
68243         [C99-based standards] (clog10): Likewise.
68244         [C99-based standards] (clog1p): Likewise.
68245         [C99-based standards] (clog2): Likewise.
68246         [C99-based standards] (clgamma): Likewise.
68247         [C99-based standards] (ctgamma): Likewise.
68248         [C99-based standards] (cerff): Likewise.
68249         [C99-based standards] (cerfcf): Likewise.
68250         [C99-based standards] (cexp2f): Likewise.
68251         [C99-based standards] (cexpm1f): Likewise.
68252         [C99-based standards] (clog10f): Likewise.
68253         [C99-based standards] (clog1pf): Likewise.
68254         [C99-based standards] (clog2f): Likewise.
68255         [C99-based standards] (clgammaf): Likewise.
68256         [C99-based standards] (ctgammaf): Likewise.
68257         [C99-based standards] (cerfl): Likewise.
68258         [C99-based standards] (cerfcl): Likewise.
68259         [C99-based standards] (cexp2l): Likewise.
68260         [C99-based standards] (cexpm1l): Likewise.
68261         [C99-based standards] (clog10l): Likewise.
68262         [C99-based standards] (clog1pl): Likewise.
68263         [C99-based standards] (clog2l): Likewise.
68264         [C99-based standards] (clgammal): Likewise.
68265         [C99-based standards] (ctgammal): Likewise.
68266         * conform/data/inttypes.h-data [C99-based standards]: Include
68267         stdint.h-data.  Remove all expectations for stdint.h contents.
68268         [C99-based standards] (PRI*): Do not allow.
68269         [C99-based standards] (SCN*): Likewise.
68270         [C99-based standards] (*_t): Likewise.
68271         [C99-based-standards] (PRId8): Expect macro.
68272         [C99-based-standards] (PRIi8): Likewise.
68273         [C99-based-standards] (PRIo8): Likewise.
68274         [C99-based-standards] (PRIu8): Likewise.
68275         [C99-based-standards] (PRIx8): Likewise.
68276         [C99-based-standards] (PRIX8): Likewise.
68277         [C99-based-standards] (SCNd8): Likewise.
68278         [C99-based-standards] (SCNi8): Likewise.
68279         [C99-based-standards] (SCNo8): Likewise.
68280         [C99-based-standards] (SCNu8): Likewise.
68281         [C99-based-standards] (SCNx8): Likewise.
68282         [C99-based-standards] (PRIdLEAST8): Likewise.
68283         [C99-based-standards] (PRIiLEAST8): Likewise.
68284         [C99-based-standards] (PRIoLEAST8): Likewise.
68285         [C99-based-standards] (PRIuLEAST8): Likewise.
68286         [C99-based-standards] (PRIxLEAST8): Likewise.
68287         [C99-based-standards] (PRIXLEAST8): Likewise.
68288         [C99-based-standards] (SCNdLEAST8): Likewise.
68289         [C99-based-standards] (SCNiLEAST8): Likewise.
68290         [C99-based-standards] (SCNoLEAST8): Likewise.
68291         [C99-based-standards] (SCNuLEAST8): Likewise.
68292         [C99-based-standards] (SCNxLEAST8): Likewise.
68293         [C99-based-standards] (PRIdFAST8): Likewise.
68294         [C99-based-standards] (PRIiFAST8): Likewise.
68295         [C99-based-standards] (PRIoFAST8): Likewise.
68296         [C99-based-standards] (PRIuFAST8): Likewise.
68297         [C99-based-standards] (PRIxFAST8): Likewise.
68298         [C99-based-standards] (PRIXFAST8): Likewise.
68299         [C99-based-standards] (SCNdFAST8): Likewise.
68300         [C99-based-standards] (SCNiFAST8): Likewise.
68301         [C99-based-standards] (SCNoFAST8): Likewise.
68302         [C99-based-standards] (SCNuFAST8): Likewise.
68303         [C99-based-standards] (SCNxFAST8): Likewise.
68304         [C99-based-standards] (PRId16): Likewise.
68305         [C99-based-standards] (PRIi16): Likewise.
68306         [C99-based-standards] (PRIo16): Likewise.
68307         [C99-based-standards] (PRIu16): Likewise.
68308         [C99-based-standards] (PRIx16): Likewise.
68309         [C99-based-standards] (PRIX16): Likewise.
68310         [C99-based-standards] (SCNd16): Likewise.
68311         [C99-based-standards] (SCNi16): Likewise.
68312         [C99-based-standards] (SCNo16): Likewise.
68313         [C99-based-standards] (SCNu16): Likewise.
68314         [C99-based-standards] (SCNx16): Likewise.
68315         [C99-based-standards] (PRIdLEAST16): Likewise.
68316         [C99-based-standards] (PRIiLEAST16): Likewise.
68317         [C99-based-standards] (PRIoLEAST16): Likewise.
68318         [C99-based-standards] (PRIuLEAST16): Likewise.
68319         [C99-based-standards] (PRIxLEAST16): Likewise.
68320         [C99-based-standards] (PRIXLEAST16): Likewise.
68321         [C99-based-standards] (SCNdLEAST16): Likewise.
68322         [C99-based-standards] (SCNiLEAST16): Likewise.
68323         [C99-based-standards] (SCNoLEAST16): Likewise.
68324         [C99-based-standards] (SCNuLEAST16): Likewise.
68325         [C99-based-standards] (SCNxLEAST16): Likewise.
68326         [C99-based-standards] (PRIdFAST16): Likewise.
68327         [C99-based-standards] (PRIiFAST16): Likewise.
68328         [C99-based-standards] (PRIoFAST16): Likewise.
68329         [C99-based-standards] (PRIuFAST16): Likewise.
68330         [C99-based-standards] (PRIxFAST16): Likewise.
68331         [C99-based-standards] (PRIXFAST16): Likewise.
68332         [C99-based-standards] (SCNdFAST16): Likewise.
68333         [C99-based-standards] (SCNiFAST16): Likewise.
68334         [C99-based-standards] (SCNoFAST16): Likewise.
68335         [C99-based-standards] (SCNuFAST16): Likewise.
68336         [C99-based-standards] (SCNxFAST16): Likewise.
68337         [C99-based-standards] (PRId32): Likewise.
68338         [C99-based-standards] (PRIi32): Likewise.
68339         [C99-based-standards] (PRIo32): Likewise.
68340         [C99-based-standards] (PRIu32): Likewise.
68341         [C99-based-standards] (PRIx32): Likewise.
68342         [C99-based-standards] (PRIX32): Likewise.
68343         [C99-based-standards] (SCNd32): Likewise.
68344         [C99-based-standards] (SCNi32): Likewise.
68345         [C99-based-standards] (SCNo32): Likewise.
68346         [C99-based-standards] (SCNu32): Likewise.
68347         [C99-based-standards] (SCNx32): Likewise.
68348         [C99-based-standards] (PRIdLEAST32): Likewise.
68349         [C99-based-standards] (PRIiLEAST32): Likewise.
68350         [C99-based-standards] (PRIoLEAST32): Likewise.
68351         [C99-based-standards] (PRIuLEAST32): Likewise.
68352         [C99-based-standards] (PRIxLEAST32): Likewise.
68353         [C99-based-standards] (PRIXLEAST32): Likewise.
68354         [C99-based-standards] (SCNdLEAST32): Likewise.
68355         [C99-based-standards] (SCNiLEAST32): Likewise.
68356         [C99-based-standards] (SCNoLEAST32): Likewise.
68357         [C99-based-standards] (SCNuLEAST32): Likewise.
68358         [C99-based-standards] (SCNxLEAST32): Likewise.
68359         [C99-based-standards] (PRIdFAST32): Likewise.
68360         [C99-based-standards] (PRIiFAST32): Likewise.
68361         [C99-based-standards] (PRIoFAST32): Likewise.
68362         [C99-based-standards] (PRIuFAST32): Likewise.
68363         [C99-based-standards] (PRIxFAST32): Likewise.
68364         [C99-based-standards] (PRIXFAST32): Likewise.
68365         [C99-based-standards] (SCNdFAST32): Likewise.
68366         [C99-based-standards] (SCNiFAST32): Likewise.
68367         [C99-based-standards] (SCNoFAST32): Likewise.
68368         [C99-based-standards] (SCNuFAST32): Likewise.
68369         [C99-based-standards] (SCNxFAST32): Likewise.
68370         [C99-based-standards] (PRId64): Likewise.
68371         [C99-based-standards] (PRIi64): Likewise.
68372         [C99-based-standards] (PRIo64): Likewise.
68373         [C99-based-standards] (PRIu64): Likewise.
68374         [C99-based-standards] (PRIx64): Likewise.
68375         [C99-based-standards] (PRIX64): Likewise.
68376         [C99-based-standards] (SCNd64): Likewise.
68377         [C99-based-standards] (SCNi64): Likewise.
68378         [C99-based-standards] (SCNo64): Likewise.
68379         [C99-based-standards] (SCNu64): Likewise.
68380         [C99-based-standards] (SCNx64): Likewise.
68381         [C99-based-standards] (PRIdLEAST64): Likewise.
68382         [C99-based-standards] (PRIiLEAST64): Likewise.
68383         [C99-based-standards] (PRIoLEAST64): Likewise.
68384         [C99-based-standards] (PRIuLEAST64): Likewise.
68385         [C99-based-standards] (PRIxLEAST64): Likewise.
68386         [C99-based-standards] (PRIXLEAST64): Likewise.
68387         [C99-based-standards] (SCNdLEAST64): Likewise.
68388         [C99-based-standards] (SCNiLEAST64): Likewise.
68389         [C99-based-standards] (SCNoLEAST64): Likewise.
68390         [C99-based-standards] (SCNuLEAST64): Likewise.
68391         [C99-based-standards] (SCNxLEAST64): Likewise.
68392         [C99-based-standards] (PRIdFAST64): Likewise.
68393         [C99-based-standards] (PRIiFAST64): Likewise.
68394         [C99-based-standards] (PRIoFAST64): Likewise.
68395         [C99-based-standards] (PRIuFAST64): Likewise.
68396         [C99-based-standards] (PRIxFAST64): Likewise.
68397         [C99-based-standards] (PRIXFAST64): Likewise.
68398         [C99-based-standards] (SCNdFAST64): Likewise.
68399         [C99-based-standards] (SCNiFAST64): Likewise.
68400         [C99-based-standards] (SCNoFAST64): Likewise.
68401         [C99-based-standards] (SCNuFAST64): Likewise.
68402         [C99-based-standards] (SCNxFAST64): Likewise.
68403         [C99-based-standards] (PRIdMAX): Likewise.
68404         [C99-based-standards] (PRIiMAX): Likewise.
68405         [C99-based-standards] (PRIoMAX): Likewise.
68406         [C99-based-standards] (PRIuMAX): Likewise.
68407         [C99-based-standards] (PRIxMAX): Likewise.
68408         [C99-based-standards] (PRIXMAX): Likewise.
68409         [C99-based-standards] (SCNdMAX): Likewise.
68410         [C99-based-standards] (SCNiMAX): Likewise.
68411         [C99-based-standards] (SCNoMAX): Likewise.
68412         [C99-based-standards] (SCNuMAX): Likewise.
68413         [C99-based-standards] (SCNxMAX): Likewise.
68414         [C99-based-standards] (PRIdPTR): Likewise.
68415         [C99-based-standards] (PRIiPTR): Likewise.
68416         [C99-based-standards] (PRIoPTR): Likewise.
68417         [C99-based-standards] (PRIuPTR): Likewise.
68418         [C99-based-standards] (PRIxPTR): Likewise.
68419         [C99-based-standards] (PRIXPTR): Likewise.
68420         [C99-based-standards] (SCNdPTR): Likewise.
68421         [C99-based-standards] (SCNiPTR): Likewise.
68422         [C99-based-standards] (SCNoPTR): Likewise.
68423         [C99-based-standards] (SCNuPTR): Likewise.
68424         [C99-based-standards] (SCNxPTR): Likewise.
68425         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68426         allow.
68427         * conform/data/stdint.h-data: Update comments to clarify
68428         requirements.
68429         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68430         type.
68431         [C99-based standards] (INT8_MAX): Likewise.
68432         [C99-based standards] (INT16_MIN): Likewise.
68433         [C99-based standards] (INT16_MAX): Likewise.
68434         [C99-based standards] (INT32_MIN): Likewise.
68435         [C99-based standards] (INT32_MAX): Likewise.
68436         [C99-based standards] (INT64_MIN): Likewise.
68437         [C99-based standards] (INT64_MAX): Likewise.
68438         [C99-based standards] (UINT8_MAX): Likewise.
68439         [C99-based standards] (UINT16_MAX): Likewise.
68440         [C99-based standards] (UINT32_MAX): Likewise.
68441         [C99-based standards] (UINT64_MAX): Likewise.
68442         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68443         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68444         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68445         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68446         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68447         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68448         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68449         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68450         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68451         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68452         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68453         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68454         [C99-based standards] (INT_FAST8_MIN): Likewise.
68455         [C99-based standards] (INT_FAST8_MAX): Likewise.
68456         [C99-based standards] (INT_FAST16_MIN): Likewise.
68457         [C99-based standards] (INT_FAST16_MAX): Likewise.
68458         [C99-based standards] (INT_FAST32_MIN): Likewise.
68459         [C99-based standards] (INT_FAST32_MAX): Likewise.
68460         [C99-based standards] (INT_FAST64_MIN): Likewise.
68461         [C99-based standards] (INT_FAST64_MAX): Likewise.
68462         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68463         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68464         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68465         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68466         [C99-based standards] (INTPTR_MIN): Likewise.
68467         [C99-based standards] (INTPTR_MAX): Likewise.
68468         [C99-based standards] (UINTPTR_MAX): Likewise.
68469         [C99-based standards] (INTMAX_MIN): Likewise.
68470         [C99-based standards] (INTMAX_MAX): Likewise.
68471         [C99-based standards] (UINTMAX_MAX): Likewise.
68472         [C99-based standards] (PTRDIFF_MIN): Likewise.
68473         [C99-based standards] (PTRDIFF_MAX): Likewise.
68474         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68475         [C99-based standards] (SIZE_MAX): Likewise.
68476         [C99-based standards] (WCHAR_MAX): Likewise.
68477         [C99-based standards] (WINT_MAX): Likewise.
68478         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68479         constraint on value.
68480         [C99-based standards] (WCHAR_MIN): Likewise.
68481         [C99-based standards] (WINT_MIN): Likewise.
68482         [C99-based standards] (*_t): Allow.
68483         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68484         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68485         Include math.h-data and complex.h-data.  Remove all expectations
68486         of math.h and complex.h contents.
68487         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68488         at end of line.
68489         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68490         (struct tm): Expect tag.
68491         [C99-based-standards] (wcstof): Expect function.
68492         [C99-based-standards] (wcstold): Likewise.
68493         [C99-based-standards] (wcstoll): Likewise.
68494         [C99-based-standards] (wcstoull): Likewise.
68495         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68496         macro-int-constant.  Specify type.
68497         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68498         constraint on value.
68499         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68500         Specify type.
68501         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68502         Specify value.
68503         [ISO C standards]: Do not allow headers.
68504         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68505         wcs[abcdefghijklmnopqrstuvwxyz]*.
68506         [ISO C standards] (*_t): Do not allow.
68507         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68508         Expect function.
68509         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68510         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68511         Specify type.
68512         [ISO C standards]: Do not allow headers.
68513         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68514         is[abcdefghijklmnopqrstuvwxyz]*.
68515         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68516         to[abcdefghijklmnopqrstuvwxyz]*.
68517         [ISO C standards] (*_t): Do not allow.
68518         * conform/data/stdalign.h-data: New file.
68519         * conform/data/stdbool.h-data: Likewise.
68520         * conform/data/stdnoreturn.h-data: Likewise.
68522 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68524         [BZ #14815]
68525         * manual/filesys.texi (Directory Entries): Typo fix.
68526         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68528 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68530         * elf/elf.h (EM_AARCH64): New macro.
68531         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68532         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68533         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68534         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68535         (R_AARCH64_TLSDESC): Likewise.
68536         (NT_ARM_TLS): Likewise.
68537         (NT_ARM_HW_BREAK): Likewise.
68538         (NT_ARM_HW_WATCH): Likewise.
68540 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68542         [BZ #14811]
68543         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68544         (__ieee754_powl): Saturate nonzero exponents with absolute value
68545         below 0x1p-79 to +/- 0x1p-79.
68546         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68547         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68548         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68549         nonzero exponents with absolute value below 0x1p-32 to +/-
68550         0x1p-32.
68551         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68552         (__ieee754_powl): Saturate nonzero exponents with absolute value
68553         below 0x1p-79 to +/- 0x1p-79.
68554         * math/libm-test.inc (pow_test): Add more tests.
68556 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68558         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68559         _dl_s390_cap_flags with kernel. Increase string length.
68560         (_dl_s390_platforms): Add z196 and zEC12.
68562 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68564         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68565         Change XOPEN21K to XOPEN2K.
68567 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68569         * string/memmove.c: Use memcpy when possible.
68571 2012-11-06  Andreas Jaeger  <aj@suse.de>
68573         * po/eo.po: Update from translation team.
68575 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68577         [BZ #14793]
68578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68579         exponent and small x and y exponents, scale x or y up.  Increase
68580         by 2 the exponent used in scaling up.
68581         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68583         * math/libm-test.inc (fma_test): Add more tests.
68584         (fma_test_towardzero): Likewise.
68585         (fma_test_downward): Likewise.
68586         (fma_test_upward): Likewise.
68588 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68590         [BZ #14805]
68591         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68592         fenv_t *.
68594         [BZ #14801]
68595         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68596         namespace for names of struct fields.
68597         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68598         fenv_t fields.
68599         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68600         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68602 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68604         [BZ #3665]
68605         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68607 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68609         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68610         PTR_DEMANGLE.
68612         [BZ #5246]
68613         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68614         PTR_DEMANGLE.
68616 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68618         [BZ #14797]
68619         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68620         definitely overflow as x * y not x * y + z.
68621         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68622         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68623         * math/libm-test.inc (fma_test): Add more tests.
68624         (fma_test_towardzero): Likewise.
68625         (fma_test_downward): Likewise.
68626         (fma_test_upward): Likewise.
68628 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68630         [BZ #157]
68632         * include/stub-tag.h: Remove file.
68633         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68634         '#include' of it.
68635         * manual/maint.texi (Porting): Don't reference it.
68636         * Makerules ($(objpfx)stubs): Likewise.
68637         * dirent/closedir.c: Don't include <stub-tag.h>.
68638         * dirent/dirfd.c: Likewise.
68639         * dirent/fdopendir.c: Likewise.
68640         * dirent/getdents.c: Likewise.
68641         * dirent/getdents64.c: Likewise.
68642         * dirent/opendir.c: Likewise.
68643         * dirent/readdir.c: Likewise.
68644         * dirent/readdir64.c: Likewise.
68645         * dirent/readdir64_r.c: Likewise.
68646         * dirent/readdir_r.c: Likewise.
68647         * dirent/rewinddir.c: Likewise.
68648         * dirent/seekdir.c: Likewise.
68649         * dirent/telldir.c: Likewise.
68650         * gmon/profil.c: Likewise.
68651         * grp/setgroups.c: Likewise.
68652         * inet/if_index.c: Likewise.
68653         * io/access.c: Likewise.
68654         * io/chdir.c: Likewise.
68655         * io/chmod.c: Likewise.
68656         * io/chown.c: Likewise.
68657         * io/close.c: Likewise.
68658         * io/dup.c: Likewise.
68659         * io/dup2.c: Likewise.
68660         * io/dup3.c: Likewise.
68661         * io/euidaccess.c: Likewise.
68662         * io/faccessat.c: Likewise.
68663         * io/fchdir.c: Likewise.
68664         * io/fchmod.c: Likewise.
68665         * io/fchmodat.c: Likewise.
68666         * io/fchown.c: Likewise.
68667         * io/fchownat.c: Likewise.
68668         * io/fcntl.c: Likewise.
68669         * io/flock.c: Likewise.
68670         * io/fstatfs.c: Likewise.
68671         * io/fstatfs64.c: Likewise.
68672         * io/fstatvfs.c: Likewise.
68673         * io/fstatvfs64.c: Likewise.
68674         * io/futimens.c: Likewise.
68675         * io/fxstat.c: Likewise.
68676         * io/fxstat64.c: Likewise.
68677         * io/fxstatat.c: Likewise.
68678         * io/fxstatat64.c: Likewise.
68679         * io/getcwd.c: Likewise.
68680         * io/isatty.c: Likewise.
68681         * io/lchmod.c: Likewise.
68682         * io/lchown.c: Likewise.
68683         * io/link.c: Likewise.
68684         * io/linkat.c: Likewise.
68685         * io/lseek.c: Likewise.
68686         * io/lseek64.c: Likewise.
68687         * io/lxstat64.c: Likewise.
68688         * io/mkdir.c: Likewise.
68689         * io/mkdirat.c: Likewise.
68690         * io/mkfifo.c: Likewise.
68691         * io/mkfifoat.c: Likewise.
68692         * io/open.c: Likewise.
68693         * io/open64.c: Likewise.
68694         * io/openat.c: Likewise.
68695         * io/openat64.c: Likewise.
68696         * io/pipe.c: Likewise.
68697         * io/pipe2.c: Likewise.
68698         * io/poll.c: Likewise.
68699         * io/posix_fadvise.c: Likewise.
68700         * io/posix_fadvise64.c: Likewise.
68701         * io/posix_fallocate.c: Likewise.
68702         * io/posix_fallocate64.c: Likewise.
68703         * io/read.c: Likewise.
68704         * io/readlink.c: Likewise.
68705         * io/readlinkat.c: Likewise.
68706         * io/rmdir.c: Likewise.
68707         * io/sendfile.c: Likewise.
68708         * io/sendfile64.c: Likewise.
68709         * io/statfs.c: Likewise.
68710         * io/statfs64.c: Likewise.
68711         * io/statvfs.c: Likewise.
68712         * io/statvfs64.c: Likewise.
68713         * io/symlink.c: Likewise.
68714         * io/symlinkat.c: Likewise.
68715         * io/ttyname.c: Likewise.
68716         * io/ttyname_r.c: Likewise.
68717         * io/umask.c: Likewise.
68718         * io/unlink.c: Likewise.
68719         * io/unlinkat.c: Likewise.
68720         * io/utime.c: Likewise.
68721         * io/utimensat.c: Likewise.
68722         * io/write.c: Likewise.
68723         * io/xmknod.c: Likewise.
68724         * io/xmknodat.c: Likewise.
68725         * io/xstat.c: Likewise.
68726         * io/xstat64.c: Likewise.
68727         * login/getpt.c: Likewise.
68728         * login/grantpt.c: Likewise.
68729         * login/unlockpt.c: Likewise.
68730         * math/e_acoshl.c: Likewise.
68731         * math/e_acosl.c: Likewise.
68732         * math/e_asinl.c: Likewise.
68733         * math/e_atan2l.c: Likewise.
68734         * math/e_atanhl.c: Likewise.
68735         * math/e_coshl.c: Likewise.
68736         * math/e_expl.c: Likewise.
68737         * math/e_fmodl.c: Likewise.
68738         * math/e_gammal_r.c: Likewise.
68739         * math/e_hypotl.c: Likewise.
68740         * math/e_j0l.c: Likewise.
68741         * math/e_j1l.c: Likewise.
68742         * math/e_jnl.c: Likewise.
68743         * math/e_lgammal_r.c: Likewise.
68744         * math/e_log10l.c: Likewise.
68745         * math/e_log2l.c: Likewise.
68746         * math/e_logl.c: Likewise.
68747         * math/e_powl.c: Likewise.
68748         * math/e_rem_pio2l.c: Likewise.
68749         * math/e_sinhl.c: Likewise.
68750         * math/e_sqrtl.c: Likewise.
68751         * math/fclrexcpt.c: Likewise.
68752         * math/fedisblxcpt.c: Likewise.
68753         * math/feenablxcpt.c: Likewise.
68754         * math/fegetenv.c: Likewise.
68755         * math/fegetexcept.c: Likewise.
68756         * math/fegetround.c: Likewise.
68757         * math/feholdexcpt.c: Likewise.
68758         * math/fesetenv.c: Likewise.
68759         * math/fesetround.c: Likewise.
68760         * math/feupdateenv.c: Likewise.
68761         * math/fgetexcptflg.c: Likewise.
68762         * math/fraiseexcpt.c: Likewise.
68763         * math/fsetexcptflg.c: Likewise.
68764         * math/ftestexcept.c: Likewise.
68765         * math/k_cosl.c: Likewise.
68766         * math/k_rem_pio2l.c: Likewise.
68767         * math/k_sinl.c: Likewise.
68768         * math/k_tanl.c: Likewise.
68769         * math/s_asinhl.c: Likewise.
68770         * math/s_atanl.c: Likewise.
68771         * math/s_cbrtl.c: Likewise.
68772         * math/s_erfl.c: Likewise.
68773         * math/s_expm1l.c: Likewise.
68774         * math/s_log1pl.c: Likewise.
68775         * math/s_tanhl.c: Likewise.
68776         * misc/acct.c: Likewise.
68777         * misc/brk.c: Likewise.
68778         * misc/chflags.c: Likewise.
68779         * misc/chroot.c: Likewise.
68780         * misc/fchflags.c: Likewise.
68781         * misc/fgetxattr.c: Likewise.
68782         * misc/flistxattr.c: Likewise.
68783         * misc/fremovexattr.c: Likewise.
68784         * misc/fsetxattr.c: Likewise.
68785         * misc/fsync.c: Likewise.
68786         * misc/ftruncate.c: Likewise.
68787         * misc/futimes.c: Likewise.
68788         * misc/futimesat.c: Likewise.
68789         * misc/getdomain.c: Likewise.
68790         * misc/getdtsz.c: Likewise.
68791         * misc/gethostid.c: Likewise.
68792         * misc/gethostname.c: Likewise.
68793         * misc/getloadavg.c: Likewise.
68794         * misc/getpagesize.c: Likewise.
68795         * misc/getsysstats.c: Likewise.
68796         * misc/getxattr.c: Likewise.
68797         * misc/gtty.c: Likewise.
68798         * misc/ioctl.c: Likewise.
68799         * misc/lgetxattr.c: Likewise.
68800         * misc/listxattr.c: Likewise.
68801         * misc/llistxattr.c: Likewise.
68802         * misc/lremovexattr.c: Likewise.
68803         * misc/lsetxattr.c: Likewise.
68804         * misc/lutimes.c: Likewise.
68805         * misc/madvise.c: Likewise.
68806         * misc/mincore.c: Likewise.
68807         * misc/mlock.c: Likewise.
68808         * misc/mlockall.c: Likewise.
68809         * misc/mmap.c: Likewise.
68810         * misc/mprotect.c: Likewise.
68811         * misc/msync.c: Likewise.
68812         * misc/munlock.c: Likewise.
68813         * misc/munlockall.c: Likewise.
68814         * misc/munmap.c: Likewise.
68815         * misc/preadv.c: Likewise.
68816         * misc/preadv64.c: Likewise.
68817         * misc/ptrace.c: Likewise.
68818         * misc/pwritev.c: Likewise.
68819         * misc/pwritev64.c: Likewise.
68820         * misc/readv.c: Likewise.
68821         * misc/reboot.c: Likewise.
68822         * misc/remap_file_pages.c: Likewise.
68823         * misc/removexattr.c: Likewise.
68824         * misc/revoke.c: Likewise.
68825         * misc/select.c: Likewise.
68826         * misc/setdomain.c: Likewise.
68827         * misc/setegid.c: Likewise.
68828         * misc/seteuid.c: Likewise.
68829         * misc/sethostid.c: Likewise.
68830         * misc/sethostname.c: Likewise.
68831         * misc/setregid.c: Likewise.
68832         * misc/setreuid.c: Likewise.
68833         * misc/setxattr.c: Likewise.
68834         * misc/sstk.c: Likewise.
68835         * misc/stty.c: Likewise.
68836         * misc/swapoff.c: Likewise.
68837         * misc/swapon.c: Likewise.
68838         * misc/sync.c: Likewise.
68839         * misc/syncfs.c: Likewise.
68840         * misc/syscall.c: Likewise.
68841         * misc/truncate.c: Likewise.
68842         * misc/ualarm.c: Likewise.
68843         * misc/usleep.c: Likewise.
68844         * misc/ustat.c: Likewise.
68845         * misc/utimes.c: Likewise.
68846         * misc/vhangup.c: Likewise.
68847         * misc/writev.c: Likewise.
68848         * posix/_exit.c: Likewise.
68849         * posix/alarm.c: Likewise.
68850         * posix/execve.c: Likewise.
68851         * posix/fexecve.c: Likewise.
68852         * posix/fork.c: Likewise.
68853         * posix/fpathconf.c: Likewise.
68854         * posix/getaddrinfo.c: Likewise.
68855         * posix/getegid.c: Likewise.
68856         * posix/geteuid.c: Likewise.
68857         * posix/getgid.c: Likewise.
68858         * posix/getgroups.c: Likewise.
68859         * posix/getlogin.c: Likewise.
68860         * posix/getlogin_r.c: Likewise.
68861         * posix/getpgid.c: Likewise.
68862         * posix/getpid.c: Likewise.
68863         * posix/getppid.c: Likewise.
68864         * posix/getresgid.c: Likewise.
68865         * posix/getresuid.c: Likewise.
68866         * posix/getsid.c: Likewise.
68867         * posix/getuid.c: Likewise.
68868         * posix/glob64.c: Likewise.
68869         * posix/nanosleep.c: Likewise.
68870         * posix/pathconf.c: Likewise.
68871         * posix/pause.c: Likewise.
68872         * posix/posix_madvise.c: Likewise.
68873         * posix/pread.c: Likewise.
68874         * posix/pread64.c: Likewise.
68875         * posix/pwrite.c: Likewise.
68876         * posix/pwrite64.c: Likewise.
68877         * posix/sched_getaffinity.c: Likewise.
68878         * posix/sched_getp.c: Likewise.
68879         * posix/sched_gets.c: Likewise.
68880         * posix/sched_primax.c: Likewise.
68881         * posix/sched_primin.c: Likewise.
68882         * posix/sched_rr_gi.c: Likewise.
68883         * posix/sched_setaffinity.c: Likewise.
68884         * posix/sched_setp.c: Likewise.
68885         * posix/sched_sets.c: Likewise.
68886         * posix/sched_yield.c: Likewise.
68887         * posix/setgid.c: Likewise.
68888         * posix/setlogin.c: Likewise.
68889         * posix/setpgid.c: Likewise.
68890         * posix/setresgid.c: Likewise.
68891         * posix/setresuid.c: Likewise.
68892         * posix/setsid.c: Likewise.
68893         * posix/setuid.c: Likewise.
68894         * posix/sleep.c: Likewise.
68895         * posix/spawni.c: Likewise.
68896         * posix/sysconf.c: Likewise.
68897         * posix/times.c: Likewise.
68898         * posix/wait.c: Likewise.
68899         * posix/wait3.c: Likewise.
68900         * posix/wait4.c: Likewise.
68901         * posix/waitpid.c: Likewise.
68902         * resolv/gai_sigqueue.c: Likewise.
68903         * resource/getpriority.c: Likewise.
68904         * resource/getrlimit.c: Likewise.
68905         * resource/getrusage.c: Likewise.
68906         * resource/nice.c: Likewise.
68907         * resource/setpriority.c: Likewise.
68908         * resource/setrlimit.c: Likewise.
68909         * resource/ulimit.c: Likewise.
68910         * rt/aio_cancel.c: Likewise.
68911         * rt/aio_fsync.c: Likewise.
68912         * rt/aio_read.c: Likewise.
68913         * rt/aio_sigqueue.c: Likewise.
68914         * rt/aio_suspend.c: Likewise.
68915         * rt/aio_write.c: Likewise.
68916         * rt/clock_getres.c: Likewise.
68917         * rt/clock_gettime.c: Likewise.
68918         * rt/clock_nanosleep.c: Likewise.
68919         * rt/clock_settime.c: Likewise.
68920         * rt/lio_listio.c: Likewise.
68921         * rt/mq_close.c: Likewise.
68922         * rt/mq_getattr.c: Likewise.
68923         * rt/mq_notify.c: Likewise.
68924         * rt/mq_open.c: Likewise.
68925         * rt/mq_receive.c: Likewise.
68926         * rt/mq_send.c: Likewise.
68927         * rt/mq_setattr.c: Likewise.
68928         * rt/mq_timedreceive.c: Likewise.
68929         * rt/mq_timedsend.c: Likewise.
68930         * rt/mq_unlink.c: Likewise.
68931         * rt/shm_open.c: Likewise.
68932         * rt/shm_unlink.c: Likewise.
68933         * rt/timer_create.c: Likewise.
68934         * rt/timer_delete.c: Likewise.
68935         * rt/timer_getoverr.c: Likewise.
68936         * rt/timer_gettime.c: Likewise.
68937         * rt/timer_settime.c: Likewise.
68938         * setjmp/__longjmp.c: Likewise.
68939         * setjmp/setjmp.c: Likewise.
68940         * signal/kill.c: Likewise.
68941         * signal/killpg.c: Likewise.
68942         * signal/raise.c: Likewise.
68943         * signal/sigaction.c: Likewise.
68944         * signal/sigaltstack.c: Likewise.
68945         * signal/sigblock.c: Likewise.
68946         * signal/sigignore.c: Likewise.
68947         * signal/sigintr.c: Likewise.
68948         * signal/signal.c: Likewise.
68949         * signal/sigpause.c: Likewise.
68950         * signal/sigpending.c: Likewise.
68951         * signal/sigqueue.c: Likewise.
68952         * signal/sigreturn.c: Likewise.
68953         * signal/sigset.c: Likewise.
68954         * signal/sigsetmask.c: Likewise.
68955         * signal/sigstack.c: Likewise.
68956         * signal/sigsuspend.c: Likewise.
68957         * signal/sigtimedwait.c: Likewise.
68958         * signal/sigvec.c: Likewise.
68959         * signal/sigwait.c: Likewise.
68960         * signal/sigwaitinfo.c: Likewise.
68961         * signal/sysv_signal.c: Likewise.
68962         * socket/accept.c: Likewise.
68963         * socket/accept4.c: Likewise.
68964         * socket/bind.c: Likewise.
68965         * socket/connect.c: Likewise.
68966         * socket/getpeername.c: Likewise.
68967         * socket/getsockname.c: Likewise.
68968         * socket/getsockopt.c: Likewise.
68969         * socket/isfdtype.c: Likewise.
68970         * socket/listen.c: Likewise.
68971         * socket/recv.c: Likewise.
68972         * socket/recvfrom.c: Likewise.
68973         * socket/recvmsg.c: Likewise.
68974         * socket/send.c: Likewise.
68975         * socket/sendmsg.c: Likewise.
68976         * socket/sendto.c: Likewise.
68977         * socket/setsockopt.c: Likewise.
68978         * socket/shutdown.c: Likewise.
68979         * socket/sockatmark.c: Likewise.
68980         * socket/socket.c: Likewise.
68981         * socket/socketpair.c: Likewise.
68982         * stdio-common/ctermid.c: Likewise.
68983         * stdio-common/cuserid.c: Likewise.
68984         * stdio-common/remove.c: Likewise.
68985         * stdio-common/rename.c: Likewise.
68986         * stdio-common/renameat.c: Likewise.
68987         * stdio-common/tempname.c: Likewise.
68988         * stdlib/getcontext.c: Likewise.
68989         * stdlib/makecontext.c: Likewise.
68990         * stdlib/setcontext.c: Likewise.
68991         * stdlib/swapcontext.c: Likewise.
68992         * stdlib/system.c: Likewise.
68993         * streams/fattach.c: Likewise.
68994         * streams/fdetach.c: Likewise.
68995         * streams/getmsg.c: Likewise.
68996         * streams/getpmsg.c: Likewise.
68997         * streams/putmsg.c: Likewise.
68998         * streams/putpmsg.c: Likewise.
68999         * sysdeps/unix/bsd/getpt.c: Likewise.
69000         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69001         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69002         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69004         Likewise.
69005         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69006         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69007         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69008         * sysvipc/msgctl.c: Likewise.
69009         * sysvipc/msgget.c: Likewise.
69010         * sysvipc/msgrcv.c: Likewise.
69011         * sysvipc/msgsnd.c: Likewise.
69012         * sysvipc/semctl.c: Likewise.
69013         * sysvipc/semget.c: Likewise.
69014         * sysvipc/semop.c: Likewise.
69015         * sysvipc/semtimedop.c: Likewise.
69016         * sysvipc/shmat.c: Likewise.
69017         * sysvipc/shmctl.c: Likewise.
69018         * sysvipc/shmdt.c: Likewise.
69019         * sysvipc/shmget.c: Likewise.
69020         * termios/tcdrain.c: Likewise.
69021         * termios/tcflow.c: Likewise.
69022         * termios/tcflush.c: Likewise.
69023         * termios/tcgetattr.c: Likewise.
69024         * termios/tcgetpgrp.c: Likewise.
69025         * termios/tcsendbrk.c: Likewise.
69026         * termios/tcsetattr.c: Likewise.
69027         * termios/tcsetpgrp.c: Likewise.
69028         * time/adjtime.c: Likewise.
69029         * time/clock.c: Likewise.
69030         * time/getitimer.c: Likewise.
69031         * time/gettimeofday.c: Likewise.
69032         * time/setitimer.c: Likewise.
69033         * time/settimeofday.c: Likewise.
69034         * time/stime.c: Likewise.
69035         * time/time.c: Likewise.
69037 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69039         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69040         /usr/old/bin.
69042         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69043         instead of spaces.
69044         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69046 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69048         [BZ #14796]
69049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69050         FE_TONEAREST before applying Dekker multiplication and Knuth
69051         addition.  Clear inexact exceptions and check for exact zero
69052         results afterwards.
69053         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69054         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69055         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69056         * math/libm-test.inc (fma_test): Add more tests.
69057         (fma_test_towardzero): Likewise.
69058         (fma_test_downward): Likewise.
69059         (fma_test_upward): Likewise.
69060         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69061         function.
69062         (libc_fesetround): New macro.
69063         (libc_fesetroundf): Likewise.
69064         (libc_fesetroundl): Likewise.
69065         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69066         function.
69067         (libc_fesetround_387): Likewise.
69068         (libc_fesetroundf): New macro.
69069         (libc_fesetround): Likewise.
69070         (libc_fesetroundl): Likewise.
69071         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69072         function.
69073         (libc_fesetroundf): New macro.
69074         (libc_fesetround): Likewise.
69075         (libc_fesetroundl): Likewise.
69076         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69077         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69078         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69079         libm_hidden_ver.
69080         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69081         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69082         libm_hidden_def.
69083         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69084         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69085         libm_hidden_ver.
69086         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69087         libm_hidden_def.
69089         [BZ #3439]
69090         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69091         integer constant usable in #if and use that to give value to enum
69092         constant.
69093         (FE_DIVBYZERO): Likewise.
69094         (FE_UNDERFLOW): Likewise.
69095         (FE_OVERFLOW): Likewise.
69096         (FE_INVALID): Likewise.
69097         (FE_INVALID_SNAN): Likewise.
69098         (FE_INVALID_ISI): Likewise.
69099         (FE_INVALID_IDI): Likewise.
69100         (FE_INVALID_ZDZ): Likewise.
69101         (FE_INVALID_IMZ): Likewise.
69102         (FE_INVALID_COMPARE): Likewise.
69103         (FE_INVALID_SOFTWARE): Likewise.
69104         (FE_INVALID_SQRT): Likewise.
69105         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69106         (FE_TONEAREST): Likewise.
69107         (FE_TOWARDZERO): Likewise.
69108         (FE_UPWARD): Likewise.
69109         (FE_DOWNWARD): Likewise.
69110         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69111         (FE_DIVBYZERO): Likewise.
69112         (FE_OVERFLOW): Likewise.
69113         (FE_UNDERFLOW): Likewise.
69114         (FE_INEXACT): Likewise.
69115         (FE_TONEAREST): Likewise.
69116         (FE_DOWNWARD): Likewise.
69117         (FE_UPWARD): Likewise.
69118         (FE_TOWARDZERO): Likewise.
69119         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69120         (FE_UNDERFLOW): Likewise.
69121         (FE_OVERFLOW): Likewise.
69122         (FE_DIVBYZERO): Likewise.
69123         (FE_INVALID): Likewise.
69124         (FE_TONEAREST): Likewise.
69125         (FE_TOWARDZERO): Likewise.
69126         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69127         (FE_OVERFLOW): Likewise.
69128         (FE_UNDERFLOW): Likewise.
69129         (FE_DIVBYZERO): Likewise.
69130         (FE_INEXACT): Likewise.
69131         (FE_TONEAREST): Likewise.
69132         (FE_TOWARDZERO): Likewise.
69133         (FE_UPWARD): Likewise.
69134         (FE_DOWNWARD): Likewise.
69135         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69136         (FE_DIVBYZERO): Likewise.
69137         (FE_OVERFLOW): Likewise.
69138         (FE_UNDERFLOW): Likewise.
69139         (FE_INEXACT): Likewise.
69140         (FE_TONEAREST): Likewise.
69141         (FE_DOWNWARD): Likewise.
69142         (FE_UPWARD): Likewise.
69143         (FE_TOWARDZERO): Likewise.
69145 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69147         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69149 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69151         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69152         commands.  Quote $PWD.
69153         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69154         -x" by "export".
69155         (remove_newlines): Remove.
69157 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69159         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69160         * stdlib/stdlib.h (atof): Moved to ...
69161         * include/bits/stdlib-float.h: Here.  New file.
69162         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69163         * stdlib/bits/stdlib-float.h: New file.
69164         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69165         -mno-sse -mno-mmx.
69166         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69167         <xmmintrin.h>.
69169 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69171         * conform/conformtest.pl (@headers): Add fenv.h.
69172         * conform/data/fenv.h-data: New file.
69173         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69174         include of <math/fenv.h>.
69176         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69177         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69178         && !UNIX98].  Enables tests for XOPEN2K8.
69179         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69180         POSIX2008]: Likewise.
69182         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69183         (struct rusage): Do not expect type or its members.
69185         [BZ #3439]
69186         * math/math.h (FP_NAN): Define macro to integer constant usable in
69187         #if and use that to give value to enum constant.
69188         (FP_INFINITE): Likewise.
69189         (FP_ZERO): Likewise.
69190         (FP_SUBNORMAL): Likewise.
69191         (FP_NORMAL): Likewise.
69193 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69195         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69196         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69197         arguments.
69199 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69201         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69202         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69203         autoconf-time if not.
69204         * configure.in: Remove AC_PREREQ.
69206 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69208         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69209         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69210         of the internal implementation.
69212 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69214         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69215         except include of <misc/sys/syslog.h>.
69217 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69220         function returns with a NULL context exit with zero.
69222 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69224         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69226 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69228         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69229         (run_program_cmd): This.
69230         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69231         (tst_langinfo): New variable.  Use it.
69233 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69235         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69236         floating point opcodes.
69238 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69240         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69241         variable.
69243         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69245         * sysdeps/mach/hurd/powerpc: Remove directory.
69246         * sysdeps/mach/powerpc: Likewise.
69248 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69250         * scripts/check-local-headers.sh: Ignore c++ headers.
69252 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69254         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69255         __libc_cleanup_region_start argument.
69257 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69259         [BZ #14784]
69260         [BZ #14785]
69261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69262         x * y using scaling, not as x * y + z.
69263         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69265         * math/libm-test.inc (fma_test): Add more tests.
69266         (fma_test_towardzero): Likewise.
69267         (fma_test_downward): Likewise.
69268         (fma_test_upward): Likewise.
69270 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69272         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69274 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69276         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69277         New variable.
69279 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69281         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69283 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69286         Fix sort order.
69287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69288         Likewise.
69290 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69293         Fix the order of the list for glibc 2.17.
69294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69295         Likewise.
69297 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69301 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69303         [BZ #14610]
69304         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69305         for low part of x being zero before using __atanl (y).
69306         * math/libm-test.inc (atan2_test): Add another test.
69308         * manual/install.texi (Configuring and compiling): Document
69309         general use of test-wrapper and test-wrapper-env.
69310         * INSTALL: Regenerated.
69312         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69313         (__fma): Do not extract and scale down low bits on after-rounding
69314         systems when result rounded to normal precision would have normal
69315         exponent.
69316         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69317         (__fmal): Do not extract and scale down low bits on after-rounding
69318         systems when result rounded to normal precision would have normal
69319         exponent.
69320         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69321         (__fmal): Do not extract and scale down low bits on after-rounding
69322         systems when result rounded to normal precision would have normal
69323         exponent.
69324         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69325         macro.
69326         (fma_test): Add more tests.
69327         (fma_test_towardzero): Likewise.
69328         (fma_test_downward): Likewise.
69329         (fma_test_upward): Likewise.
69331 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69333         * sysdeps/i386/tininess.h: Renamed to ...
69334         * sysdeps/x86/tininess.h: This.
69335         * sysdeps/x86_64/tininess.h: Removed.
69337 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69339         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69340         input.  Use $(build-program-cmd).
69341         ($(objpfx)tst-array1-static.out): Likewise.
69342         ($(objpfx)tst-array2.out): Likewise.
69343         ($(objpfx)tst-array3.out): Likewise.
69344         ($(objpfx)tst-array4.out): Likewise.
69345         ($(objpfx)tst-array5.out): Likewise.
69346         ($(objpfx)tst-array5-static.out): Likewise.
69348 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69350         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69351         if defined.
69353         * nss/nsswitch.h (nss_interface_function): Provide new
69354         macro for use with NSS functions.
69355         * grp/initgroups.c: Use new macro.
69356         * nss/getXXbyYY.c: Likewise.
69357         * nss/getXXbyYY_r.c: Likewise.
69358         * nss/getXXent.c: Likewise.
69359         * nss/getXXent_r.c: Likewise.
69360         * sysdeps/posix/getaddrinfo.c: Likewise.
69362 2012-10-30  Andreas Jaeger  <aj@suse.de>
69364         * po/ru.po: Update Russion translation from translation project.
69366 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69368         [BZ #14152]
69369         [BZ #14783]
69370         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69371         result and shift together with sticky bit instead of replicating
69372         round-to-nearest rounding.
69373         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69374         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69375         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69376         missing underflow exceptions.
69377         (fma_test_towardzero): Add more tests.
69378         (fma_test_downward): Likewise.
69379         (fma_test_upward): Likewise.
69381         [BZ #14047]
69382         * sysdeps/generic/tininess.h: New file.
69383         * sysdeps/i386/tininess.h: Likewise.
69384         * sysdeps/sh/tininess.h: Likewise.
69385         * sysdeps/x86_64/tininess.h: Likewise.
69386         * stdlib/tst-strtod-underflow.c: Likewise.
69387         * stdlib/tst-tininess.c: Likewise.
69388         * stdlib/strtod_l.c: Include <tininess.h>.
69389         (round_and_return): Do not set errno for exact underflow cases.
69390         Force an underflow exception when setting errno for underflow.
69391         Determine underflow based on rounding to normal precision if
69392         TININESS_AFTER_ROUNDING.
69393         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69394         ERANGE for exact underflow cases.
69395         * stdlib/Makefile (tests): Add tst-tininess and
69396         tst-strtod-underflow.
69397         ($(objpfx)tst-tininess): Use $(link-libm).
69398         ($(objpfx)tst-strtod-underflow): Likewise.
69400 2012-10-30  Andreas Jaeger  <aj@suse.de>
69402         [BZ #14767]
69403         * elf/Makefile (tests): Remove conditional for have-initfini-array
69404         since this is now always required and the variable does not exist
69405         anymore.
69406         (tests-static): Likewise.
69407         (modules-names): Likewise.
69409         * po/eo.po: Add Esperanto translation from translation project.
69411         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69412         merged with constructor/destructor.
69413         (init_array): Likewise.
69414         * elf/tst-array2dep.c (fini_array): Likewise.
69415         (init_array): Likewise.
69417 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69419         * manual/message.texi: Delete @cartouche tags.
69421 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69423         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69424         EOPNOTSUPP.
69425         * sysdeps/mach/hurd/fsync.c: Likewise.
69427         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69428         [_POSIX_REALTIME_SIGNALS]: Change condition to
69429         [_POSIX_REALTIME_SIGNALS > 0].
69431 2012-10-27  Andreas Jaeger  <aj@suse.de>
69433         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69434         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69436         [__WORDSIZE != 64]: Likewise.
69438 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69440         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69441         *  iconvdata/tst-tables.sh: Likewise.
69443 2012-10-25  David S. Miller  <davem@davemloft.net>
69445         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69446         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69447         of strtoull.
69449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69450         ifunc-impl-list.c
69451         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69452         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69453         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69454         file.
69456 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69458         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69459         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69460         __getdirentries.
69462 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69463             Jim Blandy  <jimb@codesourcery.com>
69465         * scripts/cross-test-ssh.sh: New file.
69466         * manual/install.texi (Configuring and compiling): Document use of
69467         cross-test-ssh.sh.
69468         * INSTALL: Regenerated.
69470 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69472         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69473         EOPNOTSUPP.
69475 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69477         * Makeconfig (run-program-prefix): Fix comment.
69479 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69480             Jim Blandy  <jimb@codesourcery.com>
69482         * Makeconfig (test-wrapper): New variable,
69483         (test-wrapper-env): Likewise.
69484         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69485         (run-built-tests): Define to yes.
69486         (run-program-prefix): Use $(test-wrapper).
69487         (built-program-cmd): Likewise.
69488         * Rules (make-test-out): Use $(test-wrapper-env) and
69489         $(host-built-program-cmd).
69490         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69491         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69492         tst-pathopt.sh.
69493         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69494         $(test-wrapper-env) to tst-rtld-load-self.sh.
69495         ($(objpfx)order2.out): Use $(test-wrapper).
69496         ($(objpfx)tst-initorder.out): Likewise.
69497         ($(objpfx)tst-initorder2.out): Likewise.
69498         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69499         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69500         (test_wrapper_env): New variable.  Use it to run ld.so.
69501         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69502         Use it to run ld.so.
69503         (test_wrapper_env): Likewise.
69504         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69505         $(test-wrapper) to run-iconv-test.sh.
69506         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69507         (ICONV): Use $test_wrapper.
69508         * posix/Makefile ($(objpfx)globtest.out): Pass
69509         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69510         globtest.sh, not $(run-program-prefix).
69511         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69512         (test_wrapper): Likewise.
69513         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69514         set together with run_via_rtld_prefix.
69515         (run_program_prefix): Define in terms of test_wrapper and
69516         run_via_rtld_prefix.
69518 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69520         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69521         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69522         Targets removed.
69524         [BZ #14743]
69525         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69526         Declare __clock_getres, __clock_gettime, __clock_settime,
69527         __clock_nanosleep, and __clock_getcpuclockid.
69528         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69529         Remove librt_hidden_def (clock_gettime).
69530         * sysdeps/unix/clock_gettime.c: Likewise.
69531         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69532         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69533         * rt/clock_getres.c: Define __clock_getres as an alias.
69534         * sysdeps/posix/clock_getres.c: Likewise.
69535         * rt/clock_settime.c: Define __clock_settime as an alias.
69536         * sysdeps/unix/clock_settime.c: Likewise.
69537         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69538         * sysdeps/unix/clock_nanosleep.c: Likewise.
69539         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69540         * rt/clock-compat.c: New file.
69541         * rt/Makefile (librt-routines): Add clock-compat and move
69542         $(clock-routines) to ...
69543         (routines): ... here, new variable.
69544         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69545         Don't add get_clockfreq here.
69546         * rt/Versions (libc: GLIBC_2.17): New version set.
69547         Add clock_* symbols here.
69548         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69549         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69550         (GLIBC_2.17): Add clock_* symbols.
69551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69553         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69555         Likewise.
69556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69557         Likewise.
69558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69562         * NEWS: Mention the move.
69564         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69565         Use __open, __read, __close rather than their public counterparts.
69566         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69567         (__get_clockfreq_via_cpuinfo): Likewise.
69568         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69569         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69571         * config.h.in (HAVE_IFUNC): New #undef.
69572         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69573         was successful.
69574         * configure: Regenerated.
69576 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69578         * configure.in: Move READELF check to start of file.
69579         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69580         libc_cv_asm_gnu_indirect_function in the process.
69581         * configure: Regenerated.
69583 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69585         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69586         send the output to /dev/null.
69587         (libc_cv_cc_with_libunwind): Likewise.
69588         (libc_cv_as_noexecstack): Likewise.
69589         * configure: Regenerate.
69591 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69593         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69595         * posix/globtest.sh (TMPDIR): Do not set.
69596         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69597         (testout): Likewise.
69599 2012-10-24  Andreas Jaeger  <aj@suse.de>
69601         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69602         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69603         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69604         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69605         posix_fadvise64, posix_fallocate64.
69607         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69608         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69609         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69610         Likewise.
69611         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69612         Likewise.
69613         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69615         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69616         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69617         <bits/fcntl-linux.h>.
69618         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69620         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69621         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69622         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69623         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69624         [__WORDSIZE != 64]: Likewise.
69626 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69628         * Makeconfig (run-built-tests): New variable.
69629         * Rules [$(cross-compiling) = yes]: Change condition to
69630         [$(run-built-tests) = no].
69631         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69632         to [$(run-built-tests) = yes].
69633         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69634         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69635         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69636         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69637         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69638         * io/Makefile [$(cross-compiling) = no]: Likewise.
69639         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69640         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69641         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69642         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69643         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69644         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69645         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69646         * string/Makefile [$(cross-compiling) = no]: Likewise.
69648         * posix/Makefile ($(objpfx)globtest.out): Pass
69649         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69650         $(rtld-installed-name).
69651         * posix/globtest.sh (elf_objpfx): Remove variable.
69652         (rtld_installed_name): Likewise.
69653         (library_path): Likewise.
69654         (run_program_prefix): New variable.  Use for running globtest
69655         binary.
69657 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69658             Joseph Myers  <joseph@codesourcery.com>
69660         * Makeconfig (host-built-program-cmd): New variable.
69661         * elf/Makefile (tst-stackguard1-ARGS): Use
69662         $(host-built-program-cmd).
69663         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69664         (tst-spawn-ARGS): Likewise.
69665         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69667 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69668             Jim Blandy  <jimb@codesourcery.com>
69670         * Makeconfig (run-via-rtld-prefix): New variable.
69671         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69672         (built-program-cmd): Likewise.
69674 2012-10-22  Andreas Jaeger  <aj@suse.de>
69676         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69677         __O_RSYNC if it exists, otherwise to O_SYNC.
69679 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69680             Joseph Myers  <joseph@codesourcery.com>
69682         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69683         /dev/null.
69684         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69685         from /dev/null
69686         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69687         /dev/null.
69689 2012-10-22  Andreas Jaeger  <aj@suse.de>
69691         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69692         Define always.
69693         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69695         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69696         bits/fcntl-linux.h.
69698         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69699         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69701         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69702         to __O_LARGEFILE.
69703         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69704         to __O_LARGEFILE.
69706 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69707             Joseph Myers  <joseph@codesourcery.com>
69709         * config.make.in (NM): New variable.
69711 2012-10-21  Andreas Jaeger  <aj@suse.de>
69713         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69714         definitions and declarations that are provided by
69715         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69717 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69719         [BZ #14683]
69720         * elf/Makefile (tests-static): Add tst-leaks1-static.
69721         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69722         ($(objpfx)tst-leaks1-static): New rule.
69723         ($(objpfx)tst-leaks1-static-mem): Likewise.
69724         (tst-leaks1-static-ENV): New macro.
69725         * elf/dl-open.c (dl_open_worker): Check the main application
69726         only if SHARED is defined.
69727         * elf/tst-leaks1-static.c: New file.
69729 2012-10-20  Andreas Jaeger  <aj@suse.de>
69731         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69732         generic values for Linux.
69733         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69734         and declarations that are provided by <bits/fcntl-linux.h> and
69735         include <bits/fcntl-linux.h>.
69736         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69737         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69739 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69741         * io/fcntl.h: Move include of <bits/types.h> to the top and
69742         include it unconditionally.
69744 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69746         * wcsmbs/Makefile (tests-ifunc): New variable.
69747         (tests): Add $(tests-ifunc).
69748         * wcsmbs/test-wcschr-ifunc.c: New file.
69749         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69750         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69751         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69752         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69753         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69755         * string/Makefile (tests-ifunc): New variable.
69756         (tests): Add $(tests-ifunc).
69757         * string/test-memccpy.c (TEST_NAME): New macro.
69758         * string/test-memchr.c (TEST_NAME): Likewise.
69759         * string/test-memcmp.c (TEST_NAME): Likewise.
69760         * string/test-memcpy.c (TEST_NAME): Likewise.
69761         * string/test-memmem.c (TEST_NAME): Likewise.
69762         * string/test-memmove.c (TEST_NAME): Likewise.
69763         * string/test-memset.c (TEST_NAME): Likewise.
69764         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69765         * string/test-stpcpy.c (TEST_NAME): Likewise.
69766         * string/test-stpncpy.c (TEST_NAME): Likewise.
69767         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69768         * string/test-strcasestr.c (TEST_NAME): Likewise.
69769         * string/test-strcat.c (TEST_NAME): Likewise.
69770         * string/test-strchr.c (TEST_NAME): Likewise.
69771         * string/test-strcmp.c(TEST_NAME): Likewise.
69772         * string/test-strcpy.c (TEST_NAME): Likewise.
69773         * string/test-strcspn.c (TEST_NAME): Likewise.
69774         * string/test-strlen.c (TEST_NAME): Likewise.
69775         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69776         * string/test-strncmp.c (TEST_NAME): Likewise.
69777         * string/test-strncpy.c (TEST_NAME): Likewise.
69778         * string/test-strnlen.c (TEST_NAME): Likewise.
69779         * string/test-strpbrk.c (TEST_NAME): Likewise.
69780         * string/test-strrchr.c (TEST_NAME): Likewise.
69781         * string/test-strspn.c (TEST_NAME): Likewise.
69782         * string/test-strstr.c (TEST_NAME): Likewise.
69783         * string/test-bcopy-ifunc.c: New file.
69784         * string/test-bzero-ifunc.c: Likewise.
69785         * string/test-memccpy-ifunc.c: Likewise.
69786         * string/test-memchr-ifunc.c: Likewise.
69787         * string/test-memcmp-ifunc.c: Likewise.
69788         * string/test-memcpy-ifunc.c: Likewise.
69789         * string/test-memmem-ifunc.c: Likewise.
69790         * string/test-memmove-ifunc.c: Likewise.
69791         * string/test-mempcpy-ifunc.c: Likewise.
69792         * string/test-memset-ifunc.c: Likewise.
69793         * string/test-rawmemchr-ifunc.c: Likewise.
69794         * string/test-stpcpy-ifunc.c: Likewise.
69795         * string/test-stpncpy-ifunc.c: Likewise.
69796         * string/test-strcasecmp-ifunc.c: Likewise.
69797         * string/test-strcasestr-ifunc.c: Likewise.
69798         * string/test-strcat-ifunc.c: Likewise.
69799         * string/test-strchr-ifunc.c: Likewise.
69800         * string/test-strchrnul-ifunc.c: Likewise.
69801         * string/test-strcmp-ifunc.c: Likewise.
69802         * string/test-strcpy-ifunc.c: Likewise.
69803         * string/test-strcspn-ifunc.c: Likewise.
69804         * string/test-strlen-ifunc.c: Likewise.
69805         * string/test-strncasecmp-ifunc.c: Likewise.
69806         * string/test-strncat-ifunc.c: Likewise.
69807         * string/test-strncmp-ifunc.c: Likewise.
69808         * string/test-strncpy-ifunc.c: Likewise.
69809         * string/test-strnlen-ifunc.c: Likewise.
69810         * string/test-strpbrk-ifunc.c: Likewise.
69811         * string/test-strrchr-ifunc.c: Likewise.
69812         * string/test-strspn-ifunc.c: Likewise.
69813         * string/test-strstr-ifunc.c: Likewise.
69815         * debug/Makefile (tests-ifunc): New variable.
69816         (tests): Add $(tests-ifunc).
69817         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69818         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69819         * debug/test-stpcpy_chk-ifunc.c: New file.
69820         * debug/test-strcpy_chk-ifunc.c: Likewise.
69822 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69824         [BZ #13601]
69825         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69826         header is not read in.
69828 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69830         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69831         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69832         directly.  Pass built executable to script as
69833         $(built-program-cmd).
69834         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69835         $testprogram without using LD_LIBRARY_PATH and $ldso.
69837         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69838         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69839         $(rtld-installed-name).
69840         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69841         (rtld_installed_name): Likewise.
69842         (library_path): Likewise.
69843         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69844         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69845         $(run-program-prefix) to tst-tables.sh.
69846         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69847         it to run tst-table-from and tst-table-to.
69848         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
69849         Pass it to tst-table.sh.
69850         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
69851         $(run-program-prefix) to tst-gettext.sh.
69852         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
69853         tst-translit.sh.
69854         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
69855         tst-gettext2.sh.
69856         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
69857         to run tst-gettext.
69858         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
69859         to run tst-gettext2.
69860         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
69861         to run tst-translit.
69862         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
69863         $(run-program-prefix) to tst-mtrace.sh.
69864         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
69865         to run tst-mtrace.
69866         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
69867         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
69868         $(rtld-installed-name).
69869         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
69870         (rtld_installed_name): Likewise.
69871         (run_program_prefix): New variable.  Use it to run wordexp-test.
69873         * Makeconfig (ARCH): Remove all definitions.
69874         (machine): Likewise.
69875         [ARCH]: Remove conditional code.
69876         [!objdir]: Give error.
69877         [!objdir] (objpfx): Remove.
69878         [!objdir] (common-objpfx): Likewise.
69879         [!objdir] (common-objdir): Likewise.
69880         * configure.in (config_makefile): Remove.  Hardcode Makefile in
69881         AC_CONFIG_FILES call.
69882         * configure: Regenerated.
69884         [BZ #13888]
69885         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
69886         or TMPDIR.
69887         (testout): Likewise.
69889         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
69890         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
69891         $(rtld-installed-name).
69892         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
69893         (rtld_installed_name): Likewise.
69894         (runit): Remove function.
69895         (run_getconf): New variable,  Use it for running getconf binary.
69897 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
69899         [BZ #14716]
69900         * string/test-memmem.c (check_result): New function.
69901         (do_one_test): Use it.
69902         (check1): New function.
69903         (test_main): Use it.
69905 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
69907         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
69909 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
69911         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
69912         (_G_LSEEK64): Likewise.
69913         (_G_MMAP64): Likewise.
69914         (_G_FSTAT64): Likewise.
69915         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
69916         (_G_LSEEK64): Likewise.
69917         (_G_MMAP64): Likewise.
69918         (_G_FSTAT64): Likewise.
69919         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
69920         unconditional.  Call __mmap64 directly.
69921         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
69922         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
69923         __lseek64 directly.
69924         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
69925         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
69926         __mmap64 directly.
69927         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
69928         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69929         __lseek64 directly.
69930         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
69931         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69932         __lseek64 directly.
69933         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
69934         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
69935         __lseek64 directly.
69936         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
69937         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
69938         __fxstat64 directly.
69939         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
69940         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
69941         unconditional.
69942         (freopen64) [!_G_OPEN64]: Remove conditional code.
69943         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
69944         unconditional.
69945         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
69946         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
69947         unconditional.
69948         (ftello64) [!_G_LSEEK64]: Remove conditional code.
69949         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
69950         unconditional.
69951         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69952         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
69953         unconditional.
69954         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
69955         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
69956         unconditional.
69957         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69958         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
69959         unconditional.
69960         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69961         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
69962         unconditional.
69963         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69965 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69967         [BZ #12140]
69968         * manual/memory.texi (Malloc Tunable Parameters): Add note
69969         about free list pointers overwriting some perturb bytes.
69970         Wording suggested by Roland McGrath.
69972 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
69974         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
69975         (lgamma_test): Likewise.
69976         (tgamma_test): Likewise.
69978 2012-10-16  Florian Weimer  <fweimer@redhat.com>
69980         [BZ #14700]
69981         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
69982         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
69984 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
69986         * NEWS: Mention BZ #14716.
69987         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
69988         when removing AVAILABLE1_USES_J macro.
69990 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
69992         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
69993         (__bswap_64): __uint64_t for unsigned 64-bit int.
69995 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
69997         * include/string.h (memmem): Declare libc hidden alias.
69998         * string/memmem.c (memmem): Define libc hidden alias.
69999         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70000         __read, __close instead of open, read, close.
70002 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70005         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70006         global and hidden.
70007         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70008         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70009         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70010         Likewise.
70011         (__rawmemchr_sse2): Likewise.
70012         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70013         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70014         (__strchr_sse2): Likewise.
70015         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70016         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70017         (__strcasecmp_sse2): Likewise.
70018         (__strncasecmp_sse2): Likewise.
70019         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70020         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70021         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70022         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70023         (__strrchr_sse2): Likewise.
70024         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70025         ifunc-impl-list.c.
70026         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70027         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70028         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70029         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70030         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70031         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70032         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70033         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70034         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70035         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70036         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70037         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70038         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70039         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70040         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70041         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70042         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70043         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70044         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70045         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70046         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70047         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70048         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70049         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70050         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70051         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70052         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70053         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70054         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70055         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70057         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70058         global and hidden.
70059         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70060         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70061         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70062         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70063         Likewise.
70064         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70065         Likewise.
70066         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70067         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70068         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70069         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70070         ifunc-impl-list.c.
70071         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70072         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70073         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70074         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70075         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70076         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70077         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70078         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70079         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70080         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70081         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70082         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70083         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70084         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70085         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70086         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70087         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70088         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70089         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70090         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70091         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70092         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70093         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70094         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70095         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70096         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70097         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70098         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70099         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70100         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70101         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70102         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70103         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70104         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70105         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70106         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70107         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70108         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70109         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70110         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70111         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70113         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70114         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70115         * include/ifunc-impl-list.h: New file.
70116         * misc/ifunc-impl-list.c: Likewise.
70117         * misc/Makefile (routines): Add ifunc-impl-list.
70118         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70119         * string/test-string.h: Include <ifunc-impl-list.h>.
70120         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70121         TEST_NAME]: New variables.
70122         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70123         are defined.
70124         (test_init): Call __libc_ifunc_impl_list to initialize
70125         func_list if TEST_IFUNC and TEST_NAME are defined.
70127         * string/Makefile (strop-tests): Add bcopy and bzero.
70128         * string/test-bcopy.c: New file.
70129         * string/test-bzero.c: Likewise.
70130         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70131         defined.
70132         * string/test-memset.c: Support bzero test if TEST_BZERO is
70133         defined.
70134         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70135         __libc_memmove.
70136         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70137         __libc_memset.
70138         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70139         of memset.
70141 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70143         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70144         * configure: Regenerated.
70146         * Makeconfig (+link-static-before-libc): Don't include
70147         $(link-static-libc).
70149         * libio/libio.h (_IO_pos_t): Remove.
70151 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70153         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70154         McGrath.
70156 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70158         * crypt/crypt-entry.c: Include fips-private.h.
70159         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70160         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70161         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70162         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70164 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70166         * crypt/crypt-private.h: Include stdbool.h.
70167         (_ufc_setup_salt_r): Return bool.
70168         * crypt/crypt-entry.c: Include errno.h.
70169         (__crypt_r): Return NULL with EINVAL for bad salt.
70170         * crypt/crypt_util.c (bad_for_salt): New.
70171         (_ufc_setup_salt_r): Check that salt is long enough and within
70172         the specified alphabet.
70173         * crypt/badsalttest.c: New file.
70174         * crypt/Makefile (tests): Add it.
70175         ($(objpfx)badsalttest): New.
70177 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70179         * NEWS: Add entry for BZ #14602.
70181 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70183         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70184         type-generic.
70185         * math/libm-test.inc: Update comment listing what functions and
70186         macros are tested.
70187         (isgreater_test): New function.
70188         (isgreaterequal_test): Likewise.
70189         (isless_test): Likewise.
70190         (islessequal_test): Likewise.
70191         (islessgreater_test): Likewise.
70192         (isunordered_test): Likewise.
70193         (main): Call the new functions.
70195 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70197         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70198         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70199         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70200         * sysdeps/i386/configure: Regenerated.
70201         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70202         * sysdeps/mach/configure: Regenerated.
70203         * sysdeps/mach/hurd/configure: Regenerated.
70204         * sysdeps/powerpc/configure: Regenerated.
70205         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70206         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70207         * sysdeps/s390/s390-32/configure: Regenerated.
70208         * sysdeps/s390/s390-64/configure: Regenerated.
70209         * sysdeps/sh/configure: Regenerated.
70210         * sysdeps/sparc/configure: Regenerated.
70211         * sysdeps/unix/sysv/linux/configure: Regenerated.
70212         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70213         * sysdeps/x86_64/configure: Regenerated.
70215         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70216         defined.  Don't check if MAP is NULL.
70218 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70220         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70221         (_G_stat64): Likewise.
70222         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70223         (_G_stat64): Likewise.
70224         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70225         instead of struct _G_stat64.
70226         * libio/fileops.c (mmap_remap_check): Likewise.
70227         (decide_maybe_mmap): Likewise.
70228         (_IO_new_file_seekoff): Likewise.
70229         (_IO_file_stat): Likewise.
70230         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70231         _G_off64_t.
70232         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70233         instead of struct _G_stat64.
70234         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70236 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70238         [BZ #14602]
70239         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70240         Replace with ...
70241         (CHECK_EOL): New macro.
70242         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70243         CHECK_EOL.
70244         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70245         Replace with CHECK_EOL.
70246         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70247         Replace with CHECK_EOL.
70249 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70251         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70252         type-generic.
70253         * math/libm-test.inc: Update comment listing what functions and
70254         macros are tested.
70255         (finite_test): New function.
70256         (isinf_test): Likewise.
70257         (isnan_test): Likewise.
70258         (fpclassify_test): Test subnormal input.
70259         (isfinite_test): Likewise.
70260         (isnormal_test): Likewise.
70261         (main): Call the new functions.
70263 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70265         [BZ #14660]
70266         * Makerules (%.dynsym): Force C locale when running
70267         $(OBJDUMP) --dynamic-syms.
70269 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70271         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70272         <stdint.h>.
70274 2012-10-06  David S. Miller  <davem@davemloft.net>
70276         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70277         upper 32-bits of the length value in %o2 since we use branch-on-register
70278         tests which consider the entire 64-bit register.
70280 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70282         * string/test-strstr.c (check2): Add a test for page boundary.
70284 2012-10-05  David S. Miller  <davem@davemloft.net>
70286         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70287         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70288         file.
70289         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70290         sysdep_routines.
70291         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70292         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70293         and bzero when HWCAP_SPARC_CRYPTO is present.
70295 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70297         [BZ #14602]
70298         * string/test-strstr.c (check2): New function.
70299         (test_main): Call check2.
70301         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70302         and bug-strchr1.
70303         * string/bug-strcasestr1.c (do_test): Moved to ...
70304         * string/test-strcasestr.c (check1): Here.  New function.
70305         (do_one_test): Break out result checking code into ...
70306         (check_result): This.  New function.
70307         (do_one_test): Call check_result.
70308         (test_main): Call check1.
70309         * string/bug-strchr1.c (do_test): Moved to ...
70310         * string/test-strchr.c (check1): Here.  New function.
70311         (do_one_test): Break out result checking code into ...
70312         (check_result): This.  New function.
70313         (do_one_test): Call check_result.
70314         (test_main): Call check1.
70315         * string/bug-strstr1.c (main): Moved to ...
70316         * string/test-strstr.c (check1): Here.  New function.
70317         (do_one_test): Break out result checking code into ...
70318         (check_result): This.  New function.
70319         (do_one_test): Call check_result.
70320         (test_main): Call check1.
70321         * string/bug-strcasestr1.c: Removed.
70322         * string/bug-strchr1.c: Likewise.
70323         * string/bug-strstr1.c: Likewise.
70325         * elf/Makefile (dl-routines): Add hwcaps.
70326         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70327         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70328         (_dl_important_hwcaps): Moved to ...
70329         * elf/dl-hwcaps.c: Here.  New file.
70330         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70332         [BZ #14557]
70333         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70334         if IS_IN_rtld isn't defined.
70336         * elf/dl-support.c (_dl_sysinfo_map): New.
70337         Include "get-dynamic-info.h" and "setup-vdso.h".
70338         (_dl_non_dynamic_init): Call setup_vdso.
70339         * elf/dynamic-link.h: Don't include <assert.h>.
70340         (elf_get_dynamic_info): Moved to ...
70341         * elf/get-dynamic-info.h: Here.  New file.
70342         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70343         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70344         * elf/setup-vdso.h: Here.  New file.
70345         * elf/rtld.c: Include "setup-vdso.h".
70346         (dl_main): Call setup_vdso.
70348 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70350         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70351         creal in comment listing functions tested.  List finite, isinf,
70352         isnan, isless, islessequal, isgreater, isgreaterequal,
70353         islessgreater, isunordered, lgamma_r and pow10 as functions and
70354         macros not tested.  Mention which functions not tested are aliases
70355         for other functions.  Fix typo.  Note that signs of NaNs are not
70356         tested.
70358         * scripts/config.guess: Update from config.git.
70359         * scripts/config.sub: Likewise.
70361 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70363         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70364         * misc/madvise.c (madvise): Renamed to __madvise.
70365         Make madvise a weak alias.
70366         * include/sys/mman.h: Declare __madvise.
70367         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70368         * sysdeps/unix/syscalls.list
70369         (madvise): Make __madvise the strong name, and madvise a weak alias.
70370         * sysdeps/unix/sysv/linux/syscalls.list
70371         (madvise, mmap): Remove redundant entries.
70372         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70373         * malloc/malloc.c (mtrim): Likewise.
70374         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70376 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70378         * sysdeps/mach/hurd/dl-cache.c: File removed.
70379         * config.h.in (USE_LDCONFIG): New #undef.
70380         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70381         * configure: Regenerated.
70382         * elf/Makefile (dl-routines): Add dl-cache only under
70383         [$(use-ldconfig) = yes].
70384         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70385         cache on [USE_LDCONFIG].
70386         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70387         [USE_LDCONFIG].
70388         * elf/rtld.c (dl_main): Likewise.
70390 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70392         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70393         _SC_LEVEL4_CACHE_LINESIZE.
70395 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70397         * sysdeps/unix/bsd/confstr.h: File removed.
70399 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70401         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70402         sys/sdt-config.h.
70404 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70406         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70407         Make 'mapoff' field ElfW(Off) rather than off_t.
70409 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70411         * nscd/Makefile: Remove nscd-cflags and all its users.
70412         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70413         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70415         [BZ #10631]
70416         * malloc.c (malloc_printerr): Clarify error message.
70418 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70420         [BZ #14648]
70421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70422         Set bit_FMA_Usable if FMA is supported.
70423         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70424         macro.
70425         (bit_FMA4_Usable): Updated.
70426         (index_FMA_Usable): New macro.
70427         (CPUID_FMA): Likewise.
70428         (HAS_FMA): Defined with bit_FMA_Usable.
70430 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70432         * bits/types.h (__swblk_t): Type removed.
70433         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70434         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70435         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70436         (__SWBLK_T_TYPE): Likewise.
70437         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70438         (__SWBLK_T_TYPE): Likewise.
70439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70440         (__SWBLK_T_TYPE): Likewise.
70441         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70442         (__SWBLK_T_TYPE): Likewise.
70444 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70445             Honza Horak <hhorak@redhat.com>
70447         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70448         (xdr_mapname): Use YPMAXMAP as maxsize.
70449         (xdr_peername): Use YPMAXPEER as maxsize.
70450         (xdr_keydat): Use YPAXRECORD as maxsize.
70451         (xdr_valdat): Use YPMAXRECORD as maxsize.
70453 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70455         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70457         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70458         * csu/init-first.c: ... here.
70459         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70460         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70461         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70462         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70463         * sysdeps/i386/init-first.c: File removed.
70464         * sysdeps/sh/init-first.c: File removed.
70466 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70468         [BZ #14645]
70469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70470         if x * y might underflow to zero and z is zero.
70471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70472         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70473         * math/libm-test.inc (min_subnorm_value): New variable.
70474         (fma_test): Add more tests.
70475         (fma_test_towardzero): Likewise.
70476         (fma_test_downward): Likewise.
70477         (fma_test_upward): Likewise.
70478         (initialize): Set min_subnorm_value.
70480 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70482         [BZ #14638]
70483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70484         0 + 0.
70485         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70486         mode for addition resulting in exact zero.
70487         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70488         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70489         exact 0 + 0.
70490         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70491         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70492         * math/libm-test.inc (fma_test): Add more tests.
70493         (fma_test_towardzero): New function.
70494         (fma_test_downward): Likewise.
70495         (fma_test_upward): Likewise.
70496         (main): Call the new functions.
70498 2012-09-28  David S. Miller  <davem@davemloft.net>
70500         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70502 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70504         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70505         instead of SIGALRM.
70507         * sysdeps/gnu/_G_config.h: Moved to ...
70508         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70509         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70510         * sysdeps/generic/_G_config.h: ... here.
70512         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70514         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70516         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70517         Conditionalize target on [libnss_test1.so-version].
70519         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70521         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70522         (elfobjdir): Move out of conditionals.
70524         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70525         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70526         (__nss_lookup_function): Conditionalize label remove_from_tree on
70527         [!DO_STATIC_NSS || SHARED], matching its only use.
70529 2012-09-28  David S. Miller  <davem@davemloft.net>
70531         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70532         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70533         file.
70534         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70535         sysdep_routines.
70536         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70537         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70538         when HWCAP_SPARC_CRYPTO is present.
70540 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70542         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70544 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70546         [BZ #6530]
70547         * stdio-common/vfprintf.c (process_string_arg): Revert
70548         2000-07-22 change.
70550 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70552         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70553         for testcase.
70554         * stdio-common/tst-sprintf.c: Include <locale.h>
70555         (main): Test sprintf's handling of incomplete multibyte
70556         characters.
70558 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70560         * elf/dl-runtime.c (VERSYMIDX): Removed.
70561         * elf/dl-version.c (VERSYMIDX): Likewise.
70562         * elf/do-rel.h (VERSYMIDX): Likewise.
70563         (VALIDX): Likewise.
70564         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70565         * elf/rtld.c (VALIDX): Likewise.
70566         (ADDRIDX): Likewise.
70567         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70568         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70569         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70570         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70571         (VALIDX): Likewise.
70572         (ADDRIDX): Likewise.
70574 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70576         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70578 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70580         [BZ #11438]
70581         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70582         to global scope.
70583         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70584         addresses are in the same scope as 192.0.2/24.
70585         * posix/gai.conf: Document new scope table defaults.
70587 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70589         [BZ #5298]
70590         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70591         for ftell.  Compute offsets from write pointers instead.
70592         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70594 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70596         [BZ #14543]
70597         * libio/Makefile (tests): New test case tst-fseek.
70598         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70599         combination works in wide mode.
70600         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70601         state when the external buffer state changes.
70603 2012-09-27  David S. Miller  <davem@davemloft.net>
70605         [BZ #14376]
70606         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70607         pass reloc->r_addend in as the 'high' argument to
70608         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70612 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70614         * rt/tst-aio2.c: Include <pthread.h>.
70615         * rt/tst-aio3.c: Likewise.
70617 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70619         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70621 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70623         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70624         contents on [SHARED].
70626 2012-09-26  Marek Polacek  <polacek@redhat.com>
70628         [BZ #14530]
70629         [BZ #13741]
70630         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70631         for C++ and GCC <4.3 as well as for non GCC compilers.
70633 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70637 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70639         * Makefile.in (all, install): Declare with .PHONY.
70640         Reported by Michael Hope <michael.hope@linaro.org>.
70642 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70644         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70645         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70646         system header.
70647         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70648         Likewise.
70649         (sydep_routines): Add the new and the internal functions.
70650         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70651         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70653         (GLIBC_2.17): Add the new function.
70654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70655         (GLIBC_2.17): Likewise.
70656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70657         (GLIBC_2.17): Likewise.
70658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70659         (GLIBC_2.17): Likewise.
70660         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70662 2012-09-25  Alan Modra  <amodra@gmail.com>
70664         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70665         Add release barrier before setting once_control to say
70666         initialisation is done.  Add hints on lwarx.  Use macro in
70667         place of isync.
70668         (clear_once_control): Add release barrier.
70670 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70672         [BZ #13629]
70673         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70674         specially.
70675         * math/s_clog10.c (__clog10): Likewise.
70676         * math/s_clog10f.c (__clog10f): Likewise.
70677         * math/s_clog10l.c (__clog10l): Likewise.
70678         * math/s_clogf.c (__clogf): Likewise.
70679         * math/s_clogl.c (__clogl): Likewise.
70680         * math/Makefile (libm-calls): Add x2y2m1.
70681         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70682         (__x2y2m1): Likewise.
70683         (__x2y2m1l): Likewise.
70684         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70685         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70686         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70687         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70688         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70689         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70690         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70691         * sysdeps/i386/fpu/libm-test-ulps: Update.
70692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70694         [BZ #14621]
70695         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70696         int as type of variable DEPTH.
70697         (glob): Use size_t instead of int as type of variables NEWCOUNT
70698         and OLD_PATHC.
70700 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70702         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70703         Add s_sincosf-sse2.
70704         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70705         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70706         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70707         macros for using routine as __sincosf_ia32.
70708         Use macro for function declaration and weak_alias.
70709         * sysdeps/i386/fpu/libm-test-ulps: Update.
70711         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70714         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70715         subnormal argument.
70716         * math/s_cexpf.c (__cexpf): Likewise.
70717         * math/s_csinf.c (__csinf): Likewise.
70718         * math/s_csinhf.c (__csinhf): Likewise.
70719         * math/s_ctanf.c (__ctanf): Likewise.
70720         * math/s_ctanhf.c (__ctanhf): Likewise.
70721         * math/s_ccosh.c (__ccoshf): Likewise.
70722         * math/s_cexp.c (__cexpl): Likewise.
70723         * math/s_csin.c (__csin): Likewise.
70724         * math/s_csinh.c (__csinh): Likewise.
70725         * math/s_ctan.c (__ctan): Likewise.
70726         * math/s_ctanh.c (ctanh): Likewise.
70727         * math/s_ccoshl.c (__ccoshl): Likewise.
70728         * math/s_cexpl.c (__cexpl): Likewise.
70729         * math/s_csinl.c (__csinl): Likewise.
70730         * math/s_csinhl.c (__csinhl): Likewise.
70731         * math/s_ctanl.c (__ctanl): Likewise.
70732         * math/s_ctanhl.c (__ctanhl): Likewise.
70734 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70736         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70737         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70738         (_IO_off_t): Define to __off_t, not _G_off_t.
70739         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70740         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70741         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70742         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70743         type of __dummy and __dummy2 fields.
70744         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70745         (_G_ssize_t): Likewise.
70746         (_G_off_t): Likewise.
70747         (_G_pid_t): Likewise.
70748         (_G_uid_t): Likewise.
70749         (_G_wchar_t): Likewise.
70750         (_G_wint_t): Likewise.
70751         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70752         (_G_ssize_t): Likewise.
70753         (_G_off_t): Likewise.
70754         (_G_pid_t): Likewise.
70755         (_G_uid_t): Likewise.
70756         (_G_wchar_t): Likewise.
70757         (_G_wint_t): Likewise.
70758         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70759         (_G_ssize_t): Likewise.
70760         (_G_off_t): Likewise.
70761         (_G_pid_t): Likewise.
70762         (_G_uid_t): Likewise.
70763         (_G_wchar_t): Likewise.
70764         (_G_wint_t): Likewise.
70766 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70768         * malloc/arena.c: Include malloc-sysdep.h.
70769         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70770         is sufficient to shrink the heap or an unmap is needed.
70771         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70772         new function check_may_shrink_heap.
70773         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70774         new function check_may_shrink_heap.
70776 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70778         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70779         comments.
70781 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70783         * catgets/test-gencat.sh: Add "set -e".
70784         * elf/tst-pathopt.sh: Likewise.
70785         * grp/tst_fgetgrent.sh: Likewise.
70786         * iconvdata/run-iconv-test.sh: Likewise.
70787         * intl/tst-gettext.sh: Likewise.
70788         * intl/tst-gettext2.sh: Likewise.
70789         * intl/tst-gettext4.sh: Likewise.
70790         * intl/tst-gettext6.sh: Likewise.
70791         * intl/tst-translit.sh: Likewise.
70792         * io/ftwtest-sh: Likewise.
70793         * libio/test-freopen.sh: Likewise.
70794         * malloc/tst-mtrace.sh: Likewise.
70795         * posix/globtest.sh: Likewise.
70796         * posix/tst-getconf.sh: Likewise.
70797         * posix/wordexp-tst.sh: Likewise.
70798         * stdio-common/tst-printf.sh: Likewise.
70799         * stdio-common/tst-unbputc.sh: Likewise.
70800         * stdlib/tst-fmtmsg.sh: Likewise.
70801         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70802         * catgets/Makefile: Do not specify -e option when running
70803         testsuite shell scripts.
70804         * elf/Makefile: Likewise.
70805         * grp/Makefile: Likewise.
70806         * iconvdata/Makefile: Likewise.
70807         * intl/Makefile: Likewise.
70808         * io/Makefile: Likewise.
70809         * libio/Makefile: Likewise.
70810         * malloc/Makefile: Likewise.
70811         * posix/Makefile: Likewise.
70812         * stdio-common/Makefile: Likewise.
70813         * stdlib/Makefile: Likewise.
70814         * sysdeps/x86_64/Makefile: Likewise.
70816         * io/ftwtest-sh: Add copyright header.
70817         * posix/globtest.sh: Likewise.
70818         * posix/tst-getconf.sh: Likewise.
70819         * posix/wordexp-tst.sh: Likewise.
70820         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70822 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70824         [BZ #13679]
70825         * Makeconfig (+link): Defined as $(+link-static) if
70826         $(build-shared) isn't yes.
70827         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70828         isn't yes.
70829         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70831         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70833         [BZ #14562]
70834         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70835         new chunk size with MALLOC_ALIGN_MASK.
70837 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70839         [BZ #5044]
70840         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70841         <rounding-mode.h>.
70842         (__printf_fphex): Determine rounding using get_rounding_mode and
70843         round_away.
70844         * stdio-common/tst-printf-round.c (struct hex_test): New
70845         structure.
70846         (hex_tests): New variable.
70847         (test_hex_in_one_mode): New function.
70848         (do_test): Also run tests for hex float output.
70850 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
70852         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70853         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70854         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
70855         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70856         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70857         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
70858         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70859         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70861 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
70863         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
70864         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
70865         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
70866         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
70868 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
70870         [BZ #14579]
70871         * elf/rtld.c (dl_main): Limit the check for self loading to normal
70872         mode only.
70873         * elf/tst-rtld-load-self.sh: New test.
70874         * elf/Makefile: Run it.
70876 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
70878         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
70879         (tst-writev-ENV): Remove.
70880         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
70882 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
70884         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
70886 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
70888         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
70889         unconditional.
70890         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
70891         Likewise.
70892         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
70893         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
70894         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
70895         Likewise.
70897 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
70899         [BZ #14587]
70900         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
70901         * config.make.in (have-cpp-asm-debuginfo): Removed.
70902         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
70903         * configure: Regenerated.
70905 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
70907         [BZ #5044]
70908         * stdio-common/printf_fp.c: Include <stdbool.h> and
70909         <rounding-mode.h>.
70910         (___printf_fp): Determine rounding using get_rounding_mode and
70911         round_away.
70912         * stdio-common/tst-printf-round.c: New file.
70913         * stdio-common/Makefile (tests): Add tst-printf-round.
70914         (link-libm): New variable.
70915         ($(objpfx)tst-printf-round): Depend in $(link-libm).
70917 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
70919         [BZ #14576]
70920         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
70921         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
70922         Likewise.
70923         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
70924         Likewise.
70926 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
70928         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
70929         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70930         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70931         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70933 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
70935         [BZ #14518]
70936         * include/rounding-mode.h: New file.
70937         * sysdeps/generic/get-rounding-mode.h: Likewise.
70938         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
70939         * stdlib/strtod_l.c: Include <rounding-mode.h>.
70940         (MAX_VALUE): New macro.
70941         (MIN_VALUE): Likewise.
70942         (overflow_value): New function.
70943         (underflow_value): Likewise.
70944         (round_and_return): Use overflow_value and underflow_value to
70945         determine return values in overflow and underflow cases.  Use
70946         round_away to determine rounding depending on rounding mode.
70947         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
70948         determine return values in overflow and underflow cases.
70949         * stdlib/tst-strtod-round.c: Include <fenv.h>.
70950         (struct test_results): New structure.
70951         (struct test): Use struct test_results to store expected results
70952         for all rounding modes.
70953         (TEST): Include expected results for all rounding modes.
70954         (test_in_one_mode): New function.
70955         (do_test): Use test_in_one_mode to compute and check results.
70956         Check results for all rounding modes.
70957         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
70958         $(link-libm).
70960 2012-12-09  Allan McRae  <allan@archlinux.org>
70962         * sysdeps/i386/fpu/libm-test-ulps: Update
70964 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
70966         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
70967         (_G_int32_t): Likewise.
70968         (_G_uint16_t): Likewise.
70969         (_G_uint32_t): Likewise.
70970         (_G_HAVE_BOOL): Likewise.
70971         (_G_HAVE_ATEXIT): Likewise.
70972         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70973         (_G_HAVE_IO_FILE_OPEN): Likewise.
70974         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
70975         (_G_int32_t): Likewise.
70976         (_G_uint16_t): Likewise.
70977         (_G_uint32_t): Likewise.
70978         (_G_HAVE_BOOL): Likewise.
70979         (_G_HAVE_ATEXIT): Likewise.
70980         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70981         (_G_HAVE_IO_FILE_OPEN): Likewise.
70982         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
70983         (_G_int32_t): Likewise.
70984         (_G_uint16_t): Likewise.
70985         (_G_uint32_t): Likewise.
70986         (_G_HAVE_BOOL): Likewise.
70987         (_G_HAVE_ATEXIT): Likewise.
70988         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70989         (_G_HAVE_IO_FILE_OPEN): Likewise.
70991 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
70993         * csu/libc-tls.c: Update copyright years.
70995 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
70997         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
70998         [!_G_USING_THUNKS]: Remove conditional code.
70999         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71000         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71002         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71003         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71004         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71005         (_G_VTABLE_LABEL_PREFIX): Likewise.
71006         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71007         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71008         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71009         (_G_VTABLE_LABEL_PREFIX): Likewise.
71010         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71011         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71012         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71013         (_G_VTABLE_LABEL_PREFIX): Likewise.
71014         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71016 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71018         * libio/Makefile: Include ../Makeconfig before tests.
71019         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71020         only if $(build-shared) is yes.
71022         * iconv/gconv_db.c: Update copyright years.
71024 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71026         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71027         unwind info if defined PIC. Fix special cases description.
71028         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71030         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71031         DP_HI_MASK entry.
71032         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71034 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71036         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71038         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71039         is NULL.
71041         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71042         (LDLIBS-tst-chk4): This.
71043         (LDFLAGS-tst-chk5): Renamed to ...
71044         (LDLIBS-tst-chk5): This.
71045         (LDFLAGS-tst-chk6): Renamed to ...
71046         (LDLIBS-tst-chk6): This.
71047         (LDFLAGS-tst-lfschk4): Renamed to ...
71048         (LDLIBS-tst-lfschk4): This.
71049         (LDFLAGS-tst-lfschk5): Renamed to ...
71050         (LDLIBS-tst-lfschk5): This.
71051         (LDFLAGS-tst-lfschk6): Renamed to ...
71052         (LDLIBS-tst-lfschk6): This.
71054         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71055         on $(common-objpfx)soversions.mk.
71057 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71059         [BZ #10014]
71060         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71061         example host name.
71063 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71065         * malloc/arena.c (arena_get_retry): New function that gets
71066         another arena for the caller to try its request on.
71067         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71068         current arena cannot fulfill the request.
71069         (__libc_memalign): Likewise.
71070         (__libc_memalign): Likewise.
71071         (__libc_pvalloc): Likewise.
71072         (__libc_calloc): Likewise.
71074 2012-09-05  John Tobey  <john.tobey@gmail.com>
71076         [BZ #13542]
71077         * manual/arith.texi (Operations on Complex): Fix description
71078         of carg branch cut.
71080 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71082         [BZ #10014]
71083         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71084         host name.
71086         [BZ #10038]
71087         * manual/memory.texi (Memory): Make order of menu items match
71088         order of sections.
71090 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71092         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71093         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71094         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71096 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71098         * csu/libc-tls.c (static_dtv): Renamed to ...
71099         (_dl_static_dtv): This.  Make it global.
71100         (_dl_initial_dtv): Removed.
71101         (__libc_setup_tls): Updated.
71102         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71103         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71104         DL_INITIAL_DTV.
71106 2012-09-06  Petr Machata  <pmachata@redhat.com>
71108         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71109         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71110         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71111         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71113 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71115         [BZ #14545]
71116         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71117         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71118         freeing dtv[-1].
71120 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71122         [BZ #14544]
71123         * Makeconfig (link-static-before-libc): Replace $(+prector)
71124         with $(+prectorT).
71125         (link-static-after-libc): Replace $(+postctor) with
71126         $(+postctorT).
71127         (link-bounded): Replace $(+prector)/$(+postctor) with
71128         $(+prectorT)/$(+postctorT).
71129         (+prectorT): New macro.
71130         (+postctorT): Likewise.
71132 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71134         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71135         (round_str): Handle values above the maximum for IBM long double
71136         as inexact.
71137         * stdlib/tst-strtod-round.c (tests): Regenerated.
71139 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71141         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71142         assembler flag.
71143         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71144         zarch_nohighgprs around the zarch optimized routines.
71145         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71146         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71147         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71148         for zarch.
71150 2012-09-05  David S. Miller  <davem@davemloft.net>
71152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71154         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71155         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71156         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71157         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71158         entries.
71160 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71162         * malloc/arena.c: Fold copyright years.
71163         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71165 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71167         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71169 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71171         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71173 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71175         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71176         change internal state upon failure.
71178 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71180         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71181         * malloc/memusage.c (mmap): Likewise.
71182         (mmap64, mremap): Likewise.  Adjust name in comment.
71184 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71186         * libio/fileops.c: Fix typos in comments.
71187         * libio/oldfileops.c: Likewise.
71188         * libio/wfileops.c: Likewise.
71190 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71192         [BZ #1349]
71193         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71194         (tst-malloc-usable-ENV): Set environment for test case.
71195         * malloc/hooks.c (malloc_check_get_size): New function to get
71196         requested size.
71197         * malloc/malloc.c (musable): Use malloc_check_get_size.
71198         * malloc/tst-malloc-usable.c: New test case.
71200 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71202         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71204 2012-09-05  Allan McRae  <allan@archlinux.org>
71206         [BZ #13966]
71207         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71208         determine header location.
71209         * configure: Regenerated.
71211 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71213         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71214         float format.
71215         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71216         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71217         format.
71218         (test): Regenerate.
71220 2012-09-04  David S. Miller  <davem@davemloft.net>
71222         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71223         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71224         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71226 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71228         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71229         failures.
71231         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71233 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71235         [BZ #9914]
71236         * libio/iogetdelim.c: Include <limits.h>.
71237         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71238         + len + 1 would overflow.
71240 2012-09-03  Andreas Jaeger  <aj@suse.de>
71242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71243         * sysdeps/i386/fpu/libm-test-ulps: Update.
71245 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71247         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71248         Add s_sinf-sse2, s_conf-sse2.
71250         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71251         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71252         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71253         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71255         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71256         for using routine as __sinf_ia32.
71257         Use macro for function declaration and weak_alias.
71258         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71259         for using routine as __cosf_ia32.
71260         Use macro for function declaration and weak_alias.
71262         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71263         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71265         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71266         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71269         * math/libm-test.inc (cos_test): Add more test cases.
71270         (sin_test): Likewise.
71271         (sincos_test): Likewise.
71273 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71275         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71276         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71277         hidden.
71278         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71280 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71282         [BZ #14538]
71283         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71284         first element of the GOT.
71285         (elf_machine_load_address): Return the difference between
71286         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71288 2012-09-01  Allan McRae  <allan@archlinux.org>
71290         [BZ #13412]
71291         * configure.in (AWK): Require gawk version 3.0 or later.
71292         * configure: Regenerated.
71294 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71296         * sysdeps/unix/sysv/linux/kernel-features.h
71297         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71298         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71299         [__NR_clock_getres]: Make code unconditional.
71300         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71301         (clock_getcpuclockid): Remove code left unreachable by removal of
71302         conditionals.
71303         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71304         code unconditional.
71305         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71306         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71307         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71308         Make code unconditional.
71309         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71310         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71311         * sysdeps/unix/sysv/linux/clock_settime.c
71312         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71313         conditional code.
71314         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71315         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71317 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71319         [BZ #14476]
71320         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71321         scripts/test-installation.pl.
71323         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71324         and $ld_so_version if it is set.
71326 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71328         [BZ #14516]
71329         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71330         failure if reading from procfs failed.
71331         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71333 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71335         * sysdeps/unix/sysv/linux/kernel-features.h
71336         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71337         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71338         Remove conditional code.
71339         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71340         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71341         Remove conditional code.
71342         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71343         * sysdeps/unix/sysv/linux/i386/fxstat.c
71344         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71345         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71346         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71347         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71349         * sysdeps/unix/sysv/linux/i386/lxstat.c
71350         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71351         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71352         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71353         Remove conditional code.
71354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71355         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71356         Remove conditional code.
71357         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71358         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71359         <kernel-features.h>.
71360         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71361         Remove.
71362         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71363         Remove conditional code.
71364         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71365         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71366         Remove conditional.
71368 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71370         [BZ #5400]
71371         * NEWS: Add fixed bug number.
71373 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71375         [BZ #14519]
71376         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71377         underflowing exponent in case of negative sign.
71378         * stdlib/tst-strtod-round-data: Add more tests.
71379         * stdlib/tst-strtod-round.c (tests): Regenerated.
71381         [BZ #3479]
71382         * stdlib/strtod_l.c (NDIG): Remove.
71383         (HEXNDIG): Likewise.
71384         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71385         smallest representable value.
71386         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71387         lie within an exact representation of 1/2 ulp of the result.
71388         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71389         unconditionally.
71390         (TENS_P9_IDX): Define unconditionally.
71391         (TENS_P9_SIZE): Likewise.
71392         (TENS_P10_IDX): Likewise.
71393         (TENS_P10_SIZE): Likewise.
71394         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71395         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71396         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71397         entries for 10^2^13 and 10^2^14.
71398         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71399         (TENS_P13_IDX): Define.
71400         (TENS_P13_SIZE): Likewise.
71401         (TENS_P14_IDX): Likewise.
71402         (TENS_P14_SIZE): Likewise.
71403         (_fpioconst_pow10): Change array size to
71404         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71405         unconditional.
71406         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71407         1024]: Add entries for 10^2^13 and 10^2^14.
71408         [LAST_POW10 > _LAST_POW10]: Remove #error.
71409         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71410         (_fpioconst_pow10): Change array size to
71411         FPIOCONST_POW10_ARRAY_SIZE.
71412         * stdlib/gen-fpioconst.c: New file.
71413         * stdlib/gen-tst-strtod-round.c: Likewise.
71414         * stdlib/tst-strtod-round-data: Likewise.
71415         * stdlib/tst-strtod-round.c: Likewise.
71416         * stdlib/Makefile (tests): Add tst-strtod-round.
71418         [BZ #14459]
71419         * stdlib/strtod_l.c: Include <stdint.h>.
71420         (NDEBUG): Do not define.
71421         (round_and_return): Change EXPONENT parameter to type intmax_t.
71422         Rearrange calculations to avoid internal overflow possibilities.
71423         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71424         Rearrange calculations to avoid internal overflow possibilities.
71425         Assert that number fits inside MPNSIZE limbs.
71426         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71427         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71428         calculations and add assertions to avoid internal overflow
71429         possibilities.  Add casts to avoid signed/unsigned operations.
71430         * stdlib/tst-strtod-overflow.c: New file.
71431         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71433 2012-08-25  Marek Polacek  <polacek@redhat.com>
71435         * time/time.h: Fix some typos in comments.
71437 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71439         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71440         * posix/tst-rfc3484-2.c: Likewise.
71441         * posix/tst-rfc3484-3.c: Likewise.
71443 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71445         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71446         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71448 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71450         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71451         #include of fxstatat64.c.
71453 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71455         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71456         * shadow/getspent_r.c: Likewise.
71457         * shadow/getspnam.c: Likewise.
71458         * shadow/getspnam_r.c: Likewise.
71459         * gshadow/getsgent.c: Likewise.
71460         * gshadow/getsgent_r.c: Likewise.
71461         * gshadow/getsgnam.c: Likewise.
71462         * gshadow/getsgnam_r.c: Likewise.
71463         * inet/getnetbyad.c: Likewise.
71464         * inet/getnetbyad_r.c: Likewise.
71465         * inet/getnetbynm.c: Likewise.
71466         * inet/getnetbynm_r.c: Likewise.
71467         * inet/getnetent.c: Likewise.
71468         * inet/getnetent_r.c: Likewise.
71469         * inet/getproto.c: Likewise.
71470         * inet/getproto_r.c: Likewise.
71471         * inet/getprtent.c: Likewise.
71472         * inet/getprtent_r.c: Likewise.
71473         * inet/getprtname.c: Likewise.
71474         * inet/getprtname_r.c: Likewise.
71475         * inet/getrpcbyname.c: Likewise.
71476         * inet/getrpcbyname_r.c: Likewise.
71477         * inet/getrpcbynumber.c: Likewise.
71478         * inet/getrpcbynumber_r.c: Likewise.
71479         * inet/getrpcent.c: Likewise.
71480         * inet/getrpcent_r.c: Likewise.
71481         * inet/getaliasent.c: Likewise.
71482         * inet/getaliasent_r.c: Likewise.
71483         * inet/getaliasname.c: Likewise.
71484         * inet/getaliasname_r.c: Likewise.
71485         * nscd/getgrgid_r.c: Likewise.
71486         * nscd/getgrnam_r.c: Likewise.
71487         * nscd/gethstbyad_r.c: Likewise.
71488         * nscd/gethstbynm3_r.c: Likewise.
71489         * nscd/getpwnam_r.c: Likewise.
71490         * nscd/getpwuid_r.c: Likewise.
71491         * nscd/getsrvbynm_r.c: Likewise.
71492         * nscd/getsrvbypt_r.c: Likewise.
71493         * nscd/gai.c: Likewise.
71495         * configure.in (build_nscd): New substituted variable, set
71496         by --disable-build-nscd and defaults to $use_nscd.
71497         * configure: Regenerated.
71498         * config.make.in (build-nscd): New substituted variable.
71499         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71500         Change conditional to require [$(build-nscd) = yes] as well.
71501         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71503         [BZ #13696]
71504         * configure.in (use_nscd): New substituted variable, set by
71505         --disable-nscd.  If enabled, define USE_NSCD.
71506         * configure: Regenerated.
71507         * config.h.in: Add USE_NSCD.
71508         * config.make.in (use-nscd): New substituted variable.
71509         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71510         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71511         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71512         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71513         (CFLAGS-getgrnam_r.c): Likewise.
71514         (CFLAGS-initgroups.c): Likewise.
71515         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71516         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71517         Variables removed.
71518         * inet/getnetgrent_r.c
71519         (nscd_setnetgrent): New function, broken out of ...
71520         (setnetgrent): ... here.  Call it.
71521         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71522         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71523         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71524         * nscd/Makefile (routines, aux): Move definitions after include of
71525         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71526         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71527         Conditionalize on [USE_NSCD].
71528         (is_nscd, nscd_init_cb): Likewise.
71529         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71530         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71531         * nss/nss_db/db-init.c: Likewise.
71532         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71533         [USE_NSCD].
71534         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71535         (make_request): Use it.
71536         (cache_valid_p): New function.
71537         (__check_pf): Use it.
71538         * NEWS: Add item for --disable-nscd.
71540 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71542         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71543         to support sed >= 4.2.1-20-ga9bf076.
71544         * configure: Regenerated.
71546 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71548         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71549         Conditionalize whole body on [IREL].
71551 2012-08-22  Jeff Law <law@redhat.com>
71553         [BZ #14505]
71554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71555         if the family is PF_UNSPEC.
71557 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71559         * Makerules (lib-version): Rename from V.
71560         (install-lib-nosubdir): Change V to lib-version.
71562 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71564         [BZ #14252]
71565         * powerpc32/power6/wcschr.c: New file.
71566         * powerpc32/power6/wcscpy.c: New file.
71567         * powerpc32/power6/wcsrchr.c: New file.
71568         * powerpc64/power6/wcschr.c: New file.
71569         * powerpc64/power6/wcscpy.c: New file.
71570         * powerpc64/power6/wcsrchr.c: New file.
71572 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71574         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71575         (two_way_short_needle): Use it.
71576         * string/strstr.c (AVAILABLE1_USES_J): Define.
71577         * string/strcasestr.c: Likewise.
71579         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71580         array references.
71581         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71583         [BZ #11607]
71584         * NEWS: Add an entry.
71585         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71586         define their defaults.
71587         (two_way_short_needle): Detect end-of-string on-the-fly.
71588         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71589         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71590         * string/bug-strcasestr1.c: New test.
71591         * string/Makefile: Run it.
71593 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71595         [BZ #11607]
71596         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71597         the first character.
71599 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71601         * csu/elf-init.c (__libc_csu_irel): Function removed.
71602         * csu/libc-start.c (apply_irel): New function.
71603         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71605 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71607         * sysdeps/unix/sysv/linux/kernel-features.h
71608         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71609         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71610         <kernel-features.h>.
71611         [__NR_fadvise64_64]: Make code unconditional.
71612         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71613         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71614         !__NR_fadvise64_64)]: Likewise.
71615         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71616         !__NR_fadvise64_64))]: Likewise.
71617         [__NR_fadvise64]: Make code unconditional.
71618         [!__NR_fadvise64]: Remove conditional code.
71619         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71620         <kernel-features.h>.
71621         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71622         unconditional.
71623         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71624         conditional code.
71625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71626         not include <kernel-features.h>.
71627         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71628         unconditional.
71629         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71630         conditional code.
71631         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71632         include <kernel-features.h>.
71633         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71634         unconditional.
71635         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71636         conditional code.
71638 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71640         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71641         slight instruction rearrangements per scrollpipe analysis.
71642         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71644 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71646         * manual/syslog.texi (syslog; vsyslog, closelog):
71647         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71648         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71650         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71651         DSOCAPS to match condition on defining it.
71653 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71655         * sysdeps/unix/sysv/linux/kernel-features.h
71656         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71658         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71659         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71661         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71662         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71664         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71665         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71667         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71668         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71670         * sysdeps/unix/sysv/linux/kernel-features.h
71671         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71672         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71673         unconditional.
71674         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71675         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71676         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71677         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71678         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71679         Make code unconditional.
71680         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71681         (__mmap64) [!__NR_mmap2]: Likewise.
71682         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71683         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71684         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71685         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71686         [__NR_mmap2]: Make code unconditional.
71687         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71688         (__mmap64) [!__NR_mmap2]: Likewise.
71690 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71692         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71694 2012-08-18  Andreas Jaeger  <aj@suse.de>
71696         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71698 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71700         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71701         * include/unistd.h (__have_sock_cloexec): Likewise.
71702         (__have_pipe2): Likewise.
71703         (__have_dup3): Likewise.
71705 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71707         [BZ #9685]
71708         * include/unistd.h (__have_pipe2): Change define into an extern int.
71709         (__have_dup3): Likewise.
71710         * socket/have_sock_cloexec.c: Include fcntl.h.
71711         (__have_pipe2): New variable.
71712         (__have_dup3): Likewise.
71714 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71716         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71718 2012-08-17  Marek Polacek  <polacek@redhat.com>
71720         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71721         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71723 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71725         * configure.in: Add AC_SUBST for sysheaders.
71726         * configure: Regenerated.
71727         * config.make.in (sysheaders): New substituted variable.
71729         * sysdeps/unix/mkfifo.c: Moved ...
71730         * sysdeps/posix/mkfifo.c: ... here.
71731         * sysdeps/unix/mkfifoat.c: Moved ...
71732         * sysdeps/posix/mkfifoat.c: ... here.
71734         * sysdeps/unix/utime.c: Moved ...
71735         * sysdeps/posix/utime.c: ... here.
71737         * sysdeps/unix/time.c: Moved ...
71738         * sysdeps/posix/time.c: ... here.
71739         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71740         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71742         * sysdeps/unix/nice.c: Moved ...
71743         * sysdeps/posix/nice.c: ... here.
71745         * sysdeps/unix/alarm.c: Moved ...
71746         * sysdeps/posix/alarm.c: ... here.
71748         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71750 2012-08-17  Jeff Law <law@redhat.com>
71752         * intl/Makefile (codeset_mo): New variable.
71753         ($(codeset_mo)): New target.
71754         (tst-codeset.out): Depend on that.  Remove explicit rule.
71755         (tst-gettext3.out, tst-gettext5.out): Likewise.
71756         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71757         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71758         * intl/tst-codeset.sh: Remove.
71759         * intl/tst-gettext3.sh: Likewise.
71760         * intl/tst-gettext5.sh: Likewise.
71762 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71764         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71765         * sysdeps/unix/syscalls.list: ... here.
71767         * sysdeps/posix/getaddrinfo.c
71768         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71769         (gaiconf_init, gaiconf_reload): Use them.
71770         [!_STATBUF_ST_NSEC]
71771         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71772         Define using time_t rather than struct timespec.
71774         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71775         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71776         Macros removed.
71777         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71778         [!NO_THREADS].
71779         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71780         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71781         Likewise.
71783         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71784         __libc_cleanup_push argument.
71786         * bits/param.h: New file.
71787         * misc/sys/param.h: New file.
71788         * include/sys/param.h: New file.
71789         * misc/Makefile (headers): Add bits/param.h.
71790         * sysdeps/generic/sys/param.h: File removed.
71791         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71792         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71793         * sysdeps/mach/hurd/bits/param.h: New file.
71794         * sysdeps/mach/hurd/sys/param.h: File removed.
71796         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71797         last change.
71799         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71800         [_IO_MTSAFE_IO].
71801         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71802         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71803         New macros.
71805         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71806         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71807         rather than -D_IO_MTSAFE_IO conditionally.
71808         * stdio-common/Makefile (CPPFLAGS): Likewise.
71809         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71810         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71811         Use $(libio-mtsafe).
71812         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71813         of -D_IO_MTSAFE_IO.
71814         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71815         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71816         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71817         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71818         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71819         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71820         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71821         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71822         (CFLAGS-fread_u_chk.c): Likewise.
71823         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71824         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71825         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71826         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71827         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71828         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71829         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71830         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71831         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71833         * libio/Makefile: Test [$(libc-reentrant) = yes]
71834         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71836         * Makeconfig
71837         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71838         * sysdeps/pthread/configure: File removed.
71839         * sysdeps/pthread/Makeconfig: New file.
71840         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71841         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71843 2012-08-16  Gary Benson  <gbenson@redhat.com>
71845         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71846         unmapping the first object in a namespace.
71848 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71850         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
71851         (__internal_setnetgrent): ... this.  Add internal_function to
71852         definition.  Add libc_hidden_def.
71853         (setnetgrent): Update caller.
71854         (internal_endnetgrent): Renamed to ...
71855         (__internal_endnetgrent): ... this.  Add internal_function to
71856         definition.  Add libc_hidden_def.
71857         (endnetgrent): Update caller.
71858         (internal_getnetgrent_r): Renamed to ...
71859         (__internal_getnetgrent_r): ... this.  Add internal_function to
71860         definition.  Add libc_hidden_def.
71861         (__getnetgrent_r): Update caller.
71862         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
71864 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71866         * stdlib/longlong.h: Update from GCC.
71868 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71870         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
71871         on _QL, which is set by umul_ppmm but never used.
71872         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
71873         variables, which are set by GMP macros but never used.
71874         * stdio-common/_itowa.c (_itowa): Likewise.
71875         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
71876         * stdlib/mod_1.c (mpn_mod_1): Likewise.
71878 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
71880         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
71881         struct La_sh_regs is not constant.
71882         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
71883         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
71884         and struct La_sparc64_regs are not constant.
71886 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71888         * sysdeps/unix/sysv/linux/kernel-features.h
71889         (__ASSUME_POSIX_TIMERS): Remove.
71890         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71891         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71892         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
71893         Make code unconditional.
71894         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71895         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
71896         Make code unconditional.
71897         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71898         * sysdeps/unix/sysv/linux/clock_nanosleep.c
71899         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
71900         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71901         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
71902         Make code unconditional.
71903         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71904         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
71905         (__libc_missing_posix_timers): Remove.
71907 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71909         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
71910         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
71912         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
71914         * elf/dl-sym.c: Include <stdlib.h>.
71916         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
71917         constants, which avoids warnings in 32-bit builds.
71919         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
71920         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
71922         * misc/lseek.c: File moved to ...
71923         * io/lseek.c: ... here.
71925         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
71927         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
71928         shifting LEN more than 31 bits at once.
71930 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71932         [BZ #14195]
71933         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
71934         segmentation fault for a case of two empty input strings.
71935         * string/test-strncasecmp.c (check1): Renamed to...
71936         (bz12205): ...this.
71937         (bz14195): Add new testcase for two empty input strings and N > 0.
71938         (test_main): Call new testcase, adapt for renamed function.
71940 2012-08-15  Andreas Jaeger  <aj@suse.de>
71942         [BZ #14090]
71943         * crypt/md5test2.c: New test, based on test supplied by Serge
71944         Belyshev <belyshev@depni.sinp.msu.ru>.
71945         * crypt/Makefile (xtests): Add md5test-giant..
71946         * crypt/Makefile ($(objpfx)md5test-giant): Add.
71948 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
71950         [BZ #14090]
71951         * crypt/md5.c (md5_process_block): Don't assume the buffer
71952         length is less than 2**32.
71953         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
71954         length is less than 2**64.
71956 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71958         * string/str-two-way.h: Include <sys/param.h>.
71959         (MAX): Macro removed.
71961         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
71962         Move #define and #undef of memmove to just before and after
71963         including <string.h>.
71965         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
71966         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
71967         and after including <string.h>.  Move declarations of
71968         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
71969         to before #include "string/memmove.c".
71971         * include/dirent.h: Declare __getdirentries.
71973         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
71974         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
71976 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
71978         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
71979         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
71980         * sysdeps/i386/configure: Regenerated.
71981         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
71982         STABS_CURRENT_FILE, and STABS_FUN.
71983         (END): Remove call to STABS_FUN_END.
71984         (STABS_CURRENT_FILE1): Delete.
71985         (STABS_CURRENT_FILE): Likewise.
71986         (STABS_FUN): Likewise.
71987         (STABS_FUN_END): Likewise.
71988         (STABS_FUN2): Likewise.
71989         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
71990         * sysdeps/x86_64/configure: Regenerated.
71992 2012-08-14  Roland McGrath  <roland@hack.frob.com>
71994         * elf/dl-open.c: Include <atomic.h>.
71995         * elf/dl-lookup.c: Likewise.
71997 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
71999         * sysdeps/unix/sysv/linux/kernel-features.h
72000         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72001         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72002         unconditionally.
72003         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72004         unconditionally.
72005         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72006         condition on __ASSUME_CLONE_THREAD_FLAGS.
72008 2012-08-14  Andreas Jaeger  <aj@suse.de>
72010         * sysdeps/i386/fpu/libm-test-ulps: Update.
72012 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72014         * include/atomic.h (atomic_exchange_and_add): Split into ...
72015         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72016         New atomic macros.
72018 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72022 2012-08-13  Jeff Law <law@redhat.com>
72024         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72025         null byte in the output string.
72027 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72029         * sysdeps/unix/sysv/linux/kernel-features.h
72030         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72031         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72032         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72033         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72034         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72035         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72036         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72038 2012-08-09  Jeff Law <law@redhat.com>
72040         [BZ #13939]
72041         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72042         When avoid_arena is set, don't retry in the that arena.  Pick the
72043         next one, whatever it might be.
72044         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72045         (arena_lock): Pass in new parameter to arena_get2.
72046         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72047         arena_get2.
72048         (__libc_malloc): Unify retrying after main arena failure with
72049         __libc_memalign version.
72050         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72052 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72054         [BZ #14166]
72055         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72056         to __redirect_strstr.
72057         (__strstr_sse42): Use typeof __redirect_strstr.
72058         (__strstr_ia32): Likewise.
72059         (__libc_strstr): New prototype.
72060         (strstr): Renamed to ...
72061         (__libc_strstr): This.
72062         (strstr): New strong alias of __libc_strstr.
72063         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72064         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72065         __redirect_time.
72066         Include <time.h>.
72067         (__libc_time): New prototype.
72068         (time_ifunc): Replace time with __libc_time.
72069         (time): New strong alias and hidden definition of __libc_time.
72070         (__GI_time): Remove strong alias.
72071         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72072         Include <stddef.h>.
72073         (memmove): Redefined to __redirect_memmove.
72074         (__memmove_sse2): Use typeof __redirect_memmove.
72075         (__memmove_ssse3): Likewise.
72076         (__memmove_ssse3_back): Likewise.
72077         (__libc_memmove): New prototype.
72078         (memmove): Renamed to ...
72079         (__libc_memmove): This.
72080         (memmove): New strong alias of __libc_memmove.
72082 2012-08-08  Mark Salter  <msalter@redhat.com>
72084         * elf/elf.h
72085         (R_MN10300_TLS_GD): Define.
72086         (R_MN10300_TLS_LD): Likewise.
72087         (R_MN10300_TLS_LDO): Likewise.
72088         (R_MN10300_TLS_GOTIE): Likewise.
72089         (R_MN10300_TLS_IE): Likewise.
72090         (R_MN10300_TLS_LE): Likewise.
72091         (R_MN10300_TLS_DTPMOD): Likewise.
72092         (R_MN10300_TLS_DTPOFF): Likewise.
72093         (R_MN10300_TLS_TPOFF): Likewise.
72094         (R_MN10300_SYM_DIFF): Likewise.
72095         (R_MN10300_ALIGN): Likewise.
72096         (R_MN10300_NUM): Update.
72098 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72100         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72101         Remove.
72103 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72105         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72107         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72108         sysdeps/unix -> sysdeps/posix move.
72109         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72111 2012-08-07      Allan McRae     <allan@archlinux.org>
72113         [BZ #14303]
72114         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72115         (SUNOS_CPP): Likewise.
72116         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72117         not found.
72118         (open_input): Call CPP using execvp.
72120 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72122         * sysdeps/unix/sysv/linux/kernel-features.h
72123         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72124         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72125         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72126         (__ASSUME_WAITID_SYSCALL): Likewise.
72127         * sysdeps/unix/sysv/linux/dl-execstack.c
72128         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72129         code unconditional.
72130         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72131         conditional code.
72132         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72133         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72134         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72135         code.
72136         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72137         unconditional.
72138         [__ASSUME_WAITID_SYSCALL]: Likewise.
72139         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72141 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72143         * sysdeps/unix/closedir.c: Renamed to ...
72144         * sysdeps/posix/closedir.c: ... here.
72145         * sysdeps/unix/dirfd.c: Renamed to ...
72146         * sysdeps/posix/dirfd.c: ... here.
72147         * sysdeps/unix/dirstream.h: Renamed to ...
72148         * sysdeps/posix/dirstream.h: ... here.
72149         * sysdeps/unix/fdopendir.c: Renamed to ...
72150         * sysdeps/posix/fdopendir.c: ... here.
72151         * sysdeps/unix/opendir.c: Renamed to ...
72152         * sysdeps/posix/opendir.c: ... here.
72153         * sysdeps/unix/readdir.c: Renamed to ...
72154         * sysdeps/posix/readdir.c: ... here.
72155         * sysdeps/unix/readdir_r.c: Renamed to ...
72156         * sysdeps/posix/readdir_r.c: ... here.
72157         * sysdeps/unix/rewinddir.c: Renamed to ...
72158         * sysdeps/posix/rewinddir.c: ... here.
72159         * sysdeps/unix/seekdir.c: Renamed to ...
72160         * sysdeps/posix/seekdir.c: ... here.
72161         * sysdeps/unix/telldir.c: Renamed to ...
72162         * sysdeps/posix/telldir.c: ... here.
72163         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72164         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72165         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72166         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72168         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72169         * bits/fcntl.h: ... here.
72171         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72172         not 0.
72173         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72174         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72175         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72176         (struct flock): Move l_start, l_len to the beginning.
72177         Use __pid_t for l_pid.
72178         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72179         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72180         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72181         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72182         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72183         [__USE_LARGEFILE64] (struct flock64): New type.
72184         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72186         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72187         * bits/dirent.h: ... here.
72189         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72190         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72192 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72194         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72195         Change from 2.6.0 to 2.6.16.
72196         * sysdeps/unix/sysv/linux/configure: Regenerated.
72197         * sysdeps/unix/sysv/linux/kernel-features.h
72198         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72199         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72200         version.
72201         (__ASSUME_UTIMES): Likewise.
72202         (__ASSUME_CLONE_STOPPED): Remove.
72203         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72204         architectures, not kernel version.
72205         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72206         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72207         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72208         (__ASSUME_WAITID_SYSCALL): Likewise.
72209         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72210         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72211         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72212         refer to older versions.
72214 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72216         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72217         Define alphasort64 as an alias.
72218         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72219         Define versionsort64 as an alias.
72220         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72221         Define scandir64 as an alias.
72222         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72223         Define scandirat64 as an alias.
72224         * dirent/alphasort64.c (alphasort64):
72225         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72226         * dirent/versionsort64.c: Likewise.
72227         * dirent/scandir64.c: Likewise.
72228         * dirent/scandirat64.c: Likewise.
72229         * sysdeps/wordsize-64/alphasort.c: File removed.
72230         * sysdeps/wordsize-64/alphasort64.c: File removed.
72231         * sysdeps/wordsize-64/scandir.c: File removed.
72232         * sysdeps/wordsize-64/scandir64.c: File removed.
72233         * sysdeps/wordsize-64/scandirat.c: File removed.
72234         * sysdeps/wordsize-64/scandirat64.c: File removed.
72235         * sysdeps/wordsize-64/versionsort.c: File removed.
72236         * sysdeps/wordsize-64/versionsort64.c: File removed.
72237         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72238         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72239         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72240         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72241         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72242         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72243         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72244         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72246         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72247         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72248         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72249         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72250         [defined __arch64__ || defined __sparcv9]
72251         (__INO_T_MATCHES_INO64_T): New macro.
72252         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72253         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72254         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72255         * sysdeps/unix/sysv/linux/bits/dirent.h
72256         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72257         (_DIRENT_MATCHES_DIRENT64): New macro.
72259         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72260         Define lockf64 as an alias.
72261         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72262         Define fseeko64 as an alias.
72263         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72264         Define ftello64 as an alias.
72265         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72266         Define _IO_fgetpos64 and fgetpos64 as aliases.
72267         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72268         Define _IO_fsetpos64 and fsetpos64 as aliases.
72269         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72270         Conditionalize body on this.
72271         * libio/fseeko64.c: Likewise.
72272         * libio/ftello64.c: Likewise.
72273         * libio/iofgetpos64.c: Likewise.
72274         * libio/iofsetpos64.c: Likewise.
72275         * sysdeps/wordsize-64/lockf.c: File removed.
72276         * sysdeps/wordsize-64/lockf64.c: File removed.
72277         * sysdeps/wordsize-64/fseeko.c: File removed.
72278         * sysdeps/wordsize-64/fseeko64.c: File removed.
72279         * sysdeps/wordsize-64/ftello.c: File removed.
72280         * sysdeps/wordsize-64/ftello64.c: File removed.
72281         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72282         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72283         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72284         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72285         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72286         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72287         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72288         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72289         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72290         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72291         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72292         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72293         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72294         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72296         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72297         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72298         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72299         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72300         [defined __arch64__ || defined __sparcv9]
72301         (__OFF_T_MATCHES_OFF64_T): New macro.
72302         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72303         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72304         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72305         (__OFF_T_MATCHES_OFF64_T): New macro.
72307 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72309         * stdlib/secure-getenv.c (__secure_getenv): Replace
72310         GLIBC_2_16 with GLIBC_2_17.
72312 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72314         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72315         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72317 2012-08-03  David S. Miller  <davem@davemloft.net>
72319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72321 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72324         Remove.
72325         (__ASSUME_CORRECT_SI_PID): Likewise.
72326         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72327         (__ASSUME_TMPFS_NAME): Likewise.
72328         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72329         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72330         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72331         (HAVE_AUX_SECURE): Make definition unconditional.
72332         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72333         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72335 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72337         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72338         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72339         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72340         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72341         __eloop_threshold instead of SYMLOOP_MAX.
72343         * sysdeps/generic/eloop-threshold.h: New file.
72344         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72345         of MAXSYMLINKS.
72346         * elf/chroot_canon.c (chroot_canon): Likewise.
72348 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72350         [BZ #13717]
72351         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72352         Change to 2.6.0 everywhere.
72353         * sysdeps/unix/sysv/linux/configure: Regenerated.
72354         * sysdeps/unix/sysv/linux/kernel-features.h
72355         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72356         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72357         kernel versions.
72358         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72359         (__ASSUME_FUTEX_REQUEUE): Remove.
72360         (__ASSUME_STATFS64): Define unconditionally.
72361         (__ASSUME_AT_SECURE): Likewise.
72362         (__ASSUME_CORRECT_SI_PID): Likewise.
72363         (__ASSUME_TGKILL): Define without depending on kernel version for
72364         i386.
72365         (__ASSUME_UTIMES): Likewise.
72366         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72367         kernel version.
72368         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72369         (__ASSUME_TMPFS_NAME): Likewise.
72370         * README: Update reference to Linux kernel versions.
72372 2012-08-02  Marek Polacek  <polacek@redhat.com>
72374         [BZ #14150]
72375         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72376         libc_cv_asm_type_prefix with %.
72377         * configure: Regenerated.
72378         * include/libc-symbols.h: Remove comment about
72379         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72380         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72381         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72382         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72383         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72384         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72385         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72386         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72387         * elf/tst-unique2mod1.c: Likewise.
72388         * elf/tst-unique1mod2.c: Likewise.
72389         * elf/tst-unique1mod1.c: Likewise.
72390         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72391         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72392         Replace ASM_TYPE_DIRECTIVE with .type.
72393         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72394         * sysdeps/i386/sysdep.h: Likewise.
72395         * sysdeps/x86_64/sysdep.h: Likewise.
72396         * sysdeps/sh/sysdep.h: Likewise.
72397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72398         Do not define ASM_TYPE_DIRECTIVE.
72399         * sysdeps/powerpc/sysdep.h: Likewise.
72400         * sysdeps/powerpc/powerpc32/sysdep.h:
72401         Replace ASM_TYPE_DIRECTIVE with .type.
72402         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72403         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72404         * sysdeps/i386/fpu/e_powf.S: Likewise.
72405         * sysdeps/i386/fpu/e_expl.S: Likewise.
72406         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72407         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72408         * sysdeps/i386/fpu/e_pow.S: Likewise.
72409         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72410         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72411         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72412         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72413         * sysdeps/i386/fpu/e_log2.S: Likewise.
72414         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72415         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72416         * sysdeps/i386/fpu/e_powl.S: Likewise.
72417         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72418         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72419         * sysdeps/i386/fpu/e_logl.S: Likewise.
72420         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72421         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72422         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72423         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72424         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72425         * sysdeps/i386/fpu/e_log.S: Likewise.
72426         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72427         * sysdeps/i386/fpu/e_logf.S: Likewise.
72428         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72429         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72430         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72431         * sysdeps/i386/fpu/e_log10.S: Likewise.
72432         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72433         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72434         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72435         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72436         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72437         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72438         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72439         * sysdeps/i386/i686/strtok.S: Likewise.
72440         * sysdeps/i386/i386-mcount.S: Likewise.
72441         * sysdeps/i386/strtok.S: Likewise.
72442         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72443         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72444         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72445         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72446         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72447         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72448         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72449         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72450         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72451         * sysdeps/x86_64/_mcount.S: Likewise.
72452         * sysdeps/x86_64/strtok.S: Likewise.
72453         * sysdeps/sh/_mcount.S: Likewise.
72455 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72457         * libio/iofopen.c: Include <fcntl.h>.
72458         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72459         (_IO_fopen64, fopen64): Define as aliases.
72460         * libio/iofopen64.c: Include <fcntl.h>.
72461         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72462         Conditionalize body on this.
72463         * sysdeps/wordsize-64/iofopen.c: File removed.
72464         * sysdeps/wordsize-64/iofopen64.c: File removed.
72466 2012-08-01  Marek Polacek  <polacek@redhat.com>
72468         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72469         Use dlfcn directly instead of a variable.
72470         (binfmt-subdir): Do not define.
72471         (dlfcn): Likewise.
72473 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72475         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72476         Remove all definitions.
72477         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72478         <kernel-features.h>.
72479         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72480         (miss_F_GETOWN_EX): Remove all definitions.
72481         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72482         macro definition.
72483         [!__ASSUME_FCNTL64]: Remove conditional code.
72484         [__ASSUME_FCNTL64]: Make code unconditional.
72485         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72486         <kernel-features.h>.
72487         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72488         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72489         (lockf64) [__NR_fcntl64]: Make code unconditional.
72490         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72492         * sysdeps/unix/sysv/linux/kernel-features.h
72493         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72494         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72495         Make code unconditional.
72496         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72497         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72499         [__NR_vfork]: Make code unconditional.
72500         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72501         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72503         [__NR_vfork]: Make code unconditional.
72504         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72505         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72507 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72509         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72510         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72512         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72513         Define mkstemp64 as an alias.
72514         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72515         Define mkstemps64 as an alias.
72516         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72517         Define mkostemp64 as an alias.
72518         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72519         Define mkostemps64 as an alias.
72520         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72521         Conditionalize body on this.
72522         * misc/mkostemp64.c: Likewise.
72523         * misc/mkostemps64.c: Likewise.
72524         * misc/mkstemps64.c: Likewise.
72525         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72526         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72527         * sysdeps/wordsize-64/mkostemp.c: File removed.
72528         * sysdeps/wordsize-64/mkstemp.c: File removed.
72529         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72530         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72531         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72532         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72534         [BZ #14138]
72535         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72536         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72537         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72538         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72540         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72541         compat_symbol macros from <shlib-compat.h> rather than the underlying
72542         default_symbol_version and symbol_version macros, so that DEFAULT
72543         lines in shlib-versions are respected.
72544         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72546 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72548         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72549         Declare with warn_unused_result.
72550         (setgid, setregid, setegid, setresgid): Likewise.
72551         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72552         Likewise.
72553         * WUR-REPORT: Remove set*id functions.
72555 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72557         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72559 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72561         [BZ #10191]
72562         * include/sys/socket.h (__libc_accept, __libc_accept4):
72563         Add attribute_hidden.
72564         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72566         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72567         use of PTR_MANGLE.
72568         * inet/getnetgrent_r.c (setup): Likewise.
72570         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72572 2012-07-31  David S. Miller  <davem@davemloft.net>
72574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72576 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72578         [BZ #13629]
72579         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72580         value between 1.0 and 2.0 and smaller part has absolute value less
72581         than 1.0.
72582         * math/s_clog10.c (__clog10): Likewise.
72583         * math/s_clog10f.c (__clog10f): Likewise.
72584         * math/s_clog10l.c (__clog10l): Likewise.
72585         * math/s_clogf.c (__clogf): Likewise.
72586         * math/s_clogl.c (__clogl): Likewise.
72587         * math/libm-test.inc (clog_test): Add more tests.
72588         (clog10_test): Likewise.
72589         * sysdeps/i386/fpu/libm-test-ulps: Update.
72590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72592 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72594         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72595         Exit with zero in case no suitable GID is found, and write a
72596         message to standard error.
72598 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72600         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72601         rather than to 1.
72602         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72603         (MAXPATHLEN): Removed.
72604         (NOGROUP, NODEV): New macros.
72605         (setbit, clrbit, isset, isclr): New macros.
72606         (howmany, roundup, powerof2): New macros.
72607         (DEV_BSIZE): New macro.
72609         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72610         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72612         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72613         definition on [!__NO_LONG_DOUBLE_MATH].
72615         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72616         PTR_MANGLE and PTR_DEMANGLE.
72618         * socket/accept4.c (accept4): Rename to __libc_accept4.
72619         Define accept4 as a weak alias.
72621         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72622         on [_DIRENT_HAVE_D_TYPE].
72623         * io/ftw.c (ftw_dir): Likewise.
72625         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72627         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72629         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72630         Use the BSD numbers rather than the arbitrary ones we had.
72631         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72632         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72633         (SIGXCPU, SIGXFSZ): New macros.
72634         (_NSIG): Now 32.
72636         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72637         initializer on [_LIBC_REENTRANT].
72639         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72640         definitions inside [_POSIX_MAPPED_FILES].
72642         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72644         * dirent/opendir.c: Include <fcntl.h>.
72646         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72647         (__libc_getspecific): Likewise.
72648         (__libc_key_create): Likewise.
72650         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72651         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72652         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72653         (tmpfile64): Define as alias.
72654         * sysdeps/wordsize-64/tmpfile.c: File removed.
72655         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72656         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72657         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72659         * stdio-common/vfscanf.c: Include <stdbool.h>.
72660         * nss/makedb.c: Likewise.
72661         * stdio-common/_i18n_number.h: Likewise.
72662         * argp/argp-help.c: Likewise.
72663         * posix/wordexp.c: Likewise.
72664         * sysdeps/posix/spawni.c: Likewise.
72665         * nss/nss_files/files-initgroups.c: Likewise.
72666         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72667         * nss/nss_files/files-initgroups.c: Likewise.
72668         * nss/nss_db/db-netgrp.c: Likewise.
72669         * nss/nss_db/db-initgroups.c: Likewise.
72670         * io/fchmodat.c: Include <sys/stat.h>.
72672         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72673         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72675         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72676         [HAVE_MMAP].
72678         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72679         Add multiple inclusion protection.
72681 2012-07-27  David S. Miller  <davem@davemloft.net>
72683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72685 2012-07-27  Gary Benson  <gbenson@redhat.com>
72687         [BZ #14298]
72688         * elf/rtld.c: Include <stap-probe.h>.
72689         (dl_main): Added static probes "init_start" and "init_complete".
72690         * elf/dl-load.c: Include <stap-probe.h>.
72691         (lose): Take new parameter "nsid".
72692         Added static probe "map_failed".
72693         (_dl_map_object_from_fd): Pass namespace id to lose.
72694         Added static probe "map_start".
72695         (open_verify): Pass namespace id to lose.
72696         * elf/dl-open.c: Include <stap-probe.h>.
72697         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72698         and "reloc_complete".
72699         * elf/dl-close.c: Include <stap-probe.h>.
72700         (_dl_close_worker): Added static probes "unmap_start" and
72701         "unmap_complete".
72702         * elf/rtld-debugger-interface.txt: New file documenting the above.
72704 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72706         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72707         rather than a string variable.
72708         * sunrpc/rpc_main.c (h_output): Likewise.
72709         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72711 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72713         * inet/check_native.c: New file.
72715 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72717         [BZ #13629]
72718         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72719         if larger part has absolute value 1.0.
72720         * math/s_clog10.c (__clog10): Likewise.
72721         * math/s_clog10f.c (__clog10f): Likewise.
72722         * math/s_clog10l.c (__clog10l): Likewise.
72723         * math/s_clogf.c (__clogf): Likewise.
72724         * math/s_clogl.c (__clogl): Likewise.
72725         * math/libm-test.inc (clog_test): Add more tests.
72726         (clog10_test): Likewise.
72727         * sysdeps/i386/fpu/libm-test-ulps: Update.
72728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72730         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72731         (pltexit): Likewise.
72732         (La_regs): Likewise.
72733         (La_retval): Likewise.
72734         (int_retval): Likewise.
72735         Update #error for removed macros to refer only to definitions in
72736         tst-audit.h.
72737         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72738         macro.
72739         (pltexit): Likewise.
72740         (La_regs): Likewise.
72741         (La_retval): Likewise.
72742         (int_retval): Likewise.
72743         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72744         macro.
72745         (pltexit): Likewise.
72746         (La_regs): Likewise.
72747         (La_retval): Likewise.
72748         (int_retval): Likewise.
72749         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72750         macro.
72751         (pltexit): Likewise.
72752         (La_regs): Likewise.
72753         (La_retval): Likewise.
72754         (int_retval): Likewise.
72755         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72756         macro.
72757         (pltexit): Likewise.
72758         (La_regs): Likewise.
72759         (La_retval): Likewise.
72760         (int_retval): Likewise.
72761         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72762         macro.
72763         (pltexit): Likewise.
72764         (La_regs): Likewise.
72765         (La_retval): Likewise.
72766         (int_retval): Likewise.
72767         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72768         macro.
72769         (pltexit): Likewise.
72770         (La_regs): Likewise.
72771         (La_retval): Likewise.
72772         (int_retval): Likewise.
72773         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72774         macro definitions in tst-audit.h.
72775         * sysdeps/i386/tst-audit.h: New file.
72776         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72777         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72778         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72779         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72780         * sysdeps/sh/tst-audit.h: Likewise.
72781         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72782         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72783         * sysdeps/x86_64/tst-audit.h: Likewise.
72785 2012-07-26  Andreas Jaeger  <aj@suse.de>
72787         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72788         ptrace.
72790         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72791         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72792         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72793         PTRACE_O_MASK.
72794         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72795         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72796         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72798         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72799         value.
72801         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72802         _sigsys.
72803         (si_call_addr, si_syscall, si_arch): Define new macro.
72804         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72805         _sigsys.
72806         (si_call_addr, si_syscall, si_arch): Define new marcro.
72807         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72808         _sigsys.
72809         (si_call_addr, si_syscall, si_arch): Define new macro.
72810         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72811         _sigsys.
72812         (si_call_addr, si_syscall, si_arch): Define new macro.
72814 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72816         [BZ #13717]
72817         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72818         Change to 2.4.21 where previously 2.4.1.
72819         * sysdeps/unix/sysv/linux/configure: Regenerated.
72820         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72821         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72822         Linux kernel version.
72823         (__ASSUME_STD_AUXV): Remove.
72824         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72825         kernel version.
72826         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72827         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72828         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72829         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72830         (__ASSUME_NETLINK_SUPPORT): Likewise.
72831         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72832         (__no_netlink_support): Remove conditional definition.
72833         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72834         Remove.
72835         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72836         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72837         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72838         (if_nameindex_ioctl): Remove.
72839         (if_nameindex_netlink): Do not handle __no_netlink_support.
72840         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72841         code.
72842         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72843         Remove conditional code.
72844         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72845         code.
72846         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72847         unconditional.
72848         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72849         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
72850         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
72851         Remove.
72852         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
72853         [!__ASSUME_STD_AUXV]: Remove conditional code.
72854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
72855         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
72856         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
72857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
72858         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
72859         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72860         code.
72861         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
72863         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
72864         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72865         conditional code.
72866         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
72868         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72869         code.
72870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
72871         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72872         conditional code.
72873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
72874         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72875         code unconditional.
72876         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72877         conditional code.
72878         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72879         unconditional.
72880         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72881         conditional code.
72882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72883         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72884         unconditional.
72885         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72886         conditional code.
72887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
72888         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72889         code unconditional.
72890         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72891         conditional code.
72892         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72893         unconditional.
72894         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72895         conditional code.
72896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
72897         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72898         code unconditional.
72899         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72900         conditional code.
72901         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72902         unconditional.
72903         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72904         conditional code.
72906 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
72908         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
72909         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
72910         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
72911         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
72912         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
72913         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
72914         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
72915         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
72916         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
72917         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
72918         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
72919         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
72920         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
72921         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
72922         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
72923         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
72924         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
72925         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
72926         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
72927         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
72928         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
72929         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
72930         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72932 2012-07-25  Florian Weimer  <fweimer@redhat.com>
72934         * Versions.def: Add GLIBC_2.17.
72935         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
72936         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
72937         Introduce __libc_secure_getenv.
72938         * stdlib/Versions (2.17): Add secure_getenv
72939         (GLIBC_PRIVATE): Add __libc_secure_getenv.
72940         * stdlib/secure-getenv.c: Rename __secure_getenv to
72941         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
72942         symbol __secure_getenv for GLIBC_2.0.
72943         * stdlib/tst-secure-getenv.c: New.
72944         * stdlib/Makefile (tests): Add testcase.
72945         * manual/startup.texi (Environment Access): Document
72946         secure_getenv.
72947         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
72948         __libc_secure_getenv.
72949         * inet/ruserpass.c (ruserpass): Likewise.
72950         * malloc/mtrace.c (mtrace): Likewise.
72951         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
72952         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
72953         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
72954         * sysdeps/posix/tempname.c: Likewise.  Evaluate
72955         HAVE_SECURE_GETENV.
72956         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
72957         __secure_getenv to __libc_secure_getenv.
72958         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
72959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72960         Likewise.
72961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72962         Likewise.
72963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72965         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72971 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72973         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
72974         (struct La_i86_retval): Likewise.
72975         (struct La_x86_64_regs): Likewise.
72976         (struct La_x86_64_retval): Likewise.
72977         (struct La_x32_regs): Likewise.
72978         (struct La_x32_retval): Likewise.
72979         (struct La_ppc32_regs): Likewise.
72980         (struct La_ppc32_retval): Likewise.
72981         (struct La_ppc64_regs): Likewise.
72982         (struct La_ppc64_retval): Likewise.
72983         (struct La_sh_regs): Likewise.
72984         (struct La_sh_retval): Likewise.
72985         (struct La_s390_32_regs): Likewise.
72986         (struct La_s390_32_retval): Likewise.
72987         (struct La_s390_64_regs): Likewise.
72988         (struct La_s390_64_retval): Likewise.
72989         (struct La_sparc32_regs): Likewise.
72990         (struct La_sparc32_retval): Likewise.
72991         (struct La_sparc64_regs): Likewise.
72992         (struct La_sparc64_retval): Likewise.
72993         (struct audit_ifaces): Remove architecture-specific pltenter and
72994         pltexit members.
72995         * sysdeps/i386/ldsodefs.h: New file.
72996         * sysdeps/powerpc/ldsodefs.h: Likewise.
72997         * sysdeps/s390/ldsodefs.h: Likewise.
72998         * sysdeps/sh/ldsodefs.h: Likewise.
72999         * sysdeps/sparc/ldsodefs.h: Likewise.
73000         * sysdeps/x86_64/ldsodefs.h: Likewise.
73002 2012-07-25  Marek Polacek  <polacek@redhat.com>
73004         [BZ #6808]
73005         * math/libm-test.inc (yn_test): Add another test.
73006         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73007         to ERANGE when the result is +-Inf.
73008         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73009         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73010         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73011         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73013 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73015         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73016         equal to 0.
73017         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73018         clock_t.
73019         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73021 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73023         * configure.in <sysdeps resolving>: Correct printing
73024         Implies_before.
73025         * configure: Regenerate.
73027 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73029         * math/w_ilogb.c: Include <limits.h>.
73030         * math/w_ilogbl.c: Likewise.
73032 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73034         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73035         va_copy.  Document allowing for unavailable va_copy only as
73036         pre-C99 compatibility.
73037         * manual/string.texi (Copying and Concatenation): Use va_copy
73038         instead of __va_copy in concat example.
73040 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73042         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73043         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73044         it if not null.
73046         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73047         with O_NOLINK passed to __file_name_lookup.
73049         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73050         with O_NOLINK passed to __file_name_lookup.
73052         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73053         negative N or less than NGIDS.
73055         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73056         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73057         enough.  Use memcpy instead of strncpy.
73059 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73061         * elf/Makefile (check-data): Remove.
73062         (localplt.data): New vpath directive.
73063         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73064         instead of $(check-data).
73065         * scripts/data/localplt-generic.data: Move to ...
73066         * sysdeps/generic/localplt.data: ... here.
73067         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73068         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73069         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73071         ... here.
73072         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73074         ... here.
73075         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73077         ... here.
73078         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73080         ... here.
73081         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73083         ... here.
73084         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73086         ... here.
73088 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73090         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73091         PPC32 and PPC64 files.
73092         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73093         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73095 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73097         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73098         __makecontext_ret to ...
73099         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73100         ... here and call exit if uc_link is NULL.  New file.
73101         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73102         __makecontext_ret.S.
73103         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73104         __makecontext_ret to ...
73105         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73106         ... here and call exit if uc_link is NULL.  New file.
73107         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73108         __makecontext_ret.S.
73110 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73112         * elf/elf.h (R_390_IRELATIVE): New definition.
73113         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73114         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73115         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73116         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73117         (elf_machine_lazy_rel): Likewise.
73118         * sysdeps/s390/dl-irel.h: New file.
73119         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73120         * sysdeps/s390/s390-64/memset.S: New asm code.
73121         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73122         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73123         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73124         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73125         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73126         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73127         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73128         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73129         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73130         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73131         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73132         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73133         * sysdeps/s390/s390-32/memset.S: New asm code.
73134         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73136 2012-07-17  Marek Polacek  <polacek@redhat.com>
73138         [BZ #14349]
73139         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73140         * sysdeps/s390/s390-64/configure.in: Likewise.
73141         * sysdeps/sparc/configure.in: Likewise.
73142         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73143         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73144         * sysdeps/i386/configure.in: Likewise.
73145         * sysdeps/x86_64/configure.in: Likewise.
73146         * sysdeps/sh/configure.in: Likewise.
73147         * sysdeps/s390/s390-32/configure: Regenerated.
73148         * sysdeps/s390/s390-64/configure: Likewise.
73149         * sysdeps/x86_64/configure: Likewise.
73150         * sysdeps/sh/configure: Likewise.
73151         * sysdeps/powerpc/powerpc64/configure: Likewise.
73152         * sysdeps/powerpc/powerpc32/configure: Likewise.
73153         * sysdeps/sparc/configure: Likewise.
73154         * sysdeps/i386/configure: Likewise.
73156         * elf/dl-open.c: Comment fixes.
73158 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73160         * Makefile [CXX] (check-data): Remove.
73161         [CXX] (c++-types.data): New vpath directive.
73162         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73163         vpath.  Do not allow for C++ type data being missing.
73164         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73165         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73166         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73167         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73168         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73169         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73170         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73172         ... here.
73173         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73175         ... here.
73176         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73178         ... here.
73179         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73181         ... here.
73182         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73184         ... here.
73185         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73187         ... here.
73188         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73190         ... here.
73191         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73194         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73195         definitions to architecture-specific files.
73196         (TLS_IE): Likewise.
73197         (TLS_LD): Likewise.
73198         (TLS_GD): Likewise.
73199         * sysdeps/i386/tls-macros.h: New file.
73200         * sysdeps/powerpc/tls-macros.h: Likewise.
73201         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73202         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73203         * sysdeps/sh/tls-macros.h: Likewise.
73204         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73205         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73206         * sysdeps/x86_64/tls-macros.h: Likewise.
73208 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73210         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73211         zero value for regular exit case.
73213         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73214         (__start_context): Preserve zero value for regular exit case.
73216 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73217             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73219         * manual/setjmp.texi (setcontext): Clarify normal process
73220         termination when uc_link is the null pointer.
73221         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73222         exit call.
73224 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73226         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73227         preprocessor.  Test for each exception mask separately.
73229 2012-07-16  Andreas Jaeger  <aj@suse.de>
73231         * po/ru.po: Update from translation team.
73233 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73235         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73236         equal to 0.
73237         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73238         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73239         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73240         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73241         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73243 2012-07-13  Andreas Jaeger  <aj@suse.de>
73245         * po/fr.po: Update from translation team.
73247 2012-07-12  Marek Polacek  <polacek@redhat.com>
73249         [BZ #14173]
73250         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73251         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73252         loop condition.
73254 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73256         [BZ #13717]
73257         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73258         Change to 2.4.1 where previously 2.4.0.
73259         * sysdeps/unix/sysv/linux/configure: Regenerated.
73260         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73261         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73262         version.
73263         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73264         (__ASSUME_AT_CLKTCK): Remove.
73265         (__ASSUME_AT_PAGESIZE): Likewise.
73266         (__ASSUME_AT_XID): Likewise.
73267         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73268         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73269         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73270         unconditionally.
73271         (HAVE_AUX_PAGESIZE): Likewise.
73272         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73273         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73274         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73276 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73278         [BZ #14307]
73279         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73280         the temporary buffer used to invoke __gethostbyname2_r,
73281         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73282         host_data / struct gaih_addrtuple.
73283         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73284         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73285         header file nss/nsswitch.h.
73286         * nss/nsswitch.h (global scope): Add definition of implementation
73287         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73288         resolv/nss_dns/dns-host.c).
73290 2012-07-11  Andreas Jaeger  <aj@suse.de>
73292         * po/fr.po: Update from translation team.
73294         * po/sv.po: Update from translation team
73295         * po/fr.po: Another update from translation team.
73297 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73299         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73300         for subnormals or multiply small sinh result by itself.
73301         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73304 2012-07-11  David S. Miller  <davem@davemloft.net>
73306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73308 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73310         [BZ #14347]
73311         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73312         (INTERNAL_MARK): Shift it here.
73314 2012-07-10  Marek Polacek  <polacek@redhat.com>
73316         [BZ #14151]
73317         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73318         libc_cv_asm_global_directive with .globl.
73319         * configure: Regenerated.
73320         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73321         with .globl.
73322         * sysdeps/i386/configure: Regenerated.
73323         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73324         with .globl.
73325         * sysdeps/x86_64/configure: Regenerated.
73326         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73327         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73328         * elf/tst-unique2mod2.c: Likewise.
73329         * elf/tst-unique2mod1.c: Likewise.
73330         * elf/tst-unique1mod2.c: Likewise.
73331         * elf/tst-unique1mod1.c: Likewise.
73332         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73333         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73334         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73335         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73336         * sysdeps/mach/sysdep.h: Likewise.
73337         * sysdeps/i386/sysdep.h: Likewise.
73338         * sysdeps/i386/i386-mcount.S: Likewise.
73339         * sysdeps/x86_64/_mcount.S: Likewise.
73340         * sysdeps/x86_64/sysdep.h: Likewise.
73341         * sysdeps/sh/_mcount.S: Likewise.
73342         * sysdeps/sh/sysdep.h: Likewise.
73343         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73344         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73345         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73346         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73347         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73348         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73349         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73350         * locale/localeinfo.h: Likewise.
73351         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73352         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73354 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73356         [BZ #14336]
73357         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73358         system".
73359         * manual/message.texi (The Uniforum approach): Likewise.
73360         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73361         (glibc iconv Implementation): Likewise.
73363 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73365         [BZ #14337]
73366         * math/s_clog.c (__clog): Avoid scaling a value down where that
73367         could result in underflow.
73368         * math/s_clog10.c (__clog10): Likewise.
73369         * math/s_clog10f.c (__clog10f): Likewise.
73370         * math/s_clog10l.c (__clog10l): Likewise.
73371         * math/s_clogf.c (__clogf): Likewise.
73372         * math/s_clogl.c (__clogl): Likewise.
73373         * math/libm-test.inc (clog_test): Add more tests.
73374         (clog10_test): Likewise.
73375         * sysdeps/i386/fpu/libm-test-ulps: Update.
73376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73378 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73380         [BZ #14283]
73381         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73382         by 7 not 8 to examine high bit of fractional part.
73384         [BZ #14042]
73385         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73386         for call to __mcount_internal.
73387         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73388         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73389         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73391 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73393         [BZ #14154]
73394         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73395         approximation for values within 0x1p-13f of an odd multiple of
73396         pi/4.
73397         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73398         exception.  Add more tests.
73399         * sysdeps/i386/fpu/libm-test-ulps: Update.
73401         [BZ #6778]
73402         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73403         inputs and return -1 for them.  Do not check for +Inf in case not
73404         reachable for +Inf.
73405         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73406         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73407         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73408         and return -1 for them.  Do not check for +Inf in case not
73409         reachable for +Inf.
73410         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73411         define.
73412         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73413         and return -1 for them.  Do not check for +Inf in case not
73414         reachable for +Inf.
73415         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73416         spurious underflow.
73417         * sysdeps/i386/fpu/libm-test-ulps: Update.
73418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73420 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73422         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73424 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73426         [BZ #14157]
73427         [BZ #14331]
73428         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73429         could result in spurious underflow.  Scale down values above
73430         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73431         * math/s_csqrtf.c (__csqrtf): Likewise.
73432         * math/s_csqrtl.c (__csqrtl): Likewise.
73433         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73434         spurious underflow.
73435         * sysdeps/i386/fpu/libm-test-ulps: Update.
73436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73438 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73440         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73441         xopen-msg.sed.
73442         * catgets/xopen-msg.awk: New file.
73443         * catgets/xopen-msg.sed: Removed.
73445         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73446         po2text.sed.
73447         * intl/po2test.awk: New file.
73448         * intl/po2test.sed: Removed.
73450 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73452         [BZ #14328]
73453         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73454         or multiply small sinh result by itself.
73455         * math/s_ctanf.c (__ctanf): Likewise.
73456         * math/s_ctanh.c (__ctanh): Likewise.
73457         * math/s_ctanhf.c (__ctanhf): Likewise.
73458         * math/s_ctanhl.c (__ctanhl): Likewise.
73459         * math/s_ctanl.c (__ctanl): Likewise.
73460         * math/libm-test.inc (ctan_test_tonearest): New function.
73461         (ctan_test_towardzero): Likewise.
73462         (ctan_test_downward): Likewise.
73463         (ctan_test_upward): Likewise.
73464         (ctanh_test_tonearest): Likewise.
73465         (ctanh_test_towardzero): Likewise.
73466         (ctanh_test_downward): Likewise.
73467         (ctanh_test_upward): Likewise.
73468         (main): Call these new functions.
73469         * sysdeps/i386/fpu/libm-test-ulps: Update.
73470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73472 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73474         * .gitignore: Delete /ports entry.
73476 2012-07-03  Andreas Jaeger  <aj@suse.de>
73478         * po/bg.po: Update from translation team.
73479         * po/cs.po: Likewise.
73480         * po/de.po: Likewise.
73481         * po/hr.po: Likewise.
73482         * po/nl.pl: Likewise.
73483         * po/pl.po: Likewise.
73484         * po/vi.po: Likewise.
73486 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73488         * Makeconfig [!+link] (+link-before-libc): New variable.
73489         [!+link] (+link-after-libc): Likewise.
73490         [!+link] (+link-tests): Likewise.
73491         [!+link] (+link): Define in terms of $(+link-before-libc) and
73492         $(+link-after-libc).
73493         [!+link-static] (+link-static-before-libc): New variable.
73494         [!+link-static] (+link-static-after-libc): Likewise.
73495         [!+link-static] (+link-static-tests): Likewise.
73496         [!+link-static] (+link-static): Define in terms of
73497         $(+link-static-before-libc) and $(+link-static-after-libc).
73498         [build-shared] (link-libc-before-gnulib): New variable.
73499         [build-shared] (link-libc-tests): Likewise.
73500         [build-shared] (link-libc): Define in terms of
73501         $(link-libc-before-gnulib).
73502         [!build-shared] (link-libc-tests): New variable.
73503         (link-libc-static-tests): New variable.
73504         [!gnulib] (gnulib-arch): New variable.
73505         [!gnulib] (gnulib-tests): Likewise.
73506         [!gnulib] (static-gnulib-arch): Likewise.
73507         [!gnulib] (static-gnulib-tests): Likewise.
73508         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73509         Define with "=" instead of ":=".
73510         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73511         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73512         * Rules (binaries-all-notests): New variable.
73513         (binaries-all-tests): Likewise.
73514         (binaries-static-notests): Likewise.
73515         (binaries-static-tests): Likewise.
73516         (binaries-all): Define using $(binaries-all-notests) and
73517         $(binaries-all-tests).
73518         (binaries-static): Define using $(binaries-static-notests) and
73519         $(binaries-static-tests).
73520         (binaries-shared-tests): New variable.
73521         (binaries-shared-notests): Likewise.
73522         (binaries-shared): Remove variable.
73523         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73524         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73525         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73526         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73527         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73528         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73529         * elf/Makefile (sln-modules): New variable.
73530         (extra-objs): Add $(sln-modules:=.o).
73531         (ldconfig-modules): Add static-stubs.
73532         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73533         * elf/static-stubs.c: New file.
73535         [BZ #14283]
73536         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73537         by 7 not 8 to examine high bit of fractional part.  Use volatile
73538         variables when splitting into final array of floats if
73539         __FLT_EVAL_METHOD__ != 0.
73540         * math/libm-test.inc (cos_test): Add another test.
73541         (sin_test): Likewise.
73542         * sysdeps/i386/fpu/libm-test-ulps: Update.
73544         [BZ #14273]
73545         * math/libm-test.inc (cosh_test): Add more tests.
73547         * version.h (RELEASE): Set to "development".
73548         (VERSION): Set to "2.16.90".
73550 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73552         * NEWS: Update copyright. Remove last-updated date.
73553         Mention math library bug fixes and timezone data changes.
73554         * README: Mention GNU/Hurd, x32, and HPPA support status.
73556 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73558         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73560 2012-06-27  Andreas Jaeger  <aj@suse.de>
73562         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73564 2012-06-25  Andreas Jaeger  <aj@suse.de>
73566         * sysdeps/s390/fpu/libm-test-ulps: Update.
73568 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73569             Thomas Schwinge  <thomas@codesourcery.com>
73571         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73572         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73573         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73574         fanotify_mark.
73576 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73578         * sysdeps/mach/start.c: Remove file.
73579         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73580         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73581         * sysdeps/sh/init-first.c: Likewise.
73583         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73584         registers for frame unwinding purposes, add CFI directives.
73585         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73586         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73587         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73588         Likewise.
73590         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73591         __fortify_fail returning.
73592         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73594         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73595         sysdeps/sh/____longjmp_chk.S.
73596         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73597         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73598         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73599         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73601         * sysdeps/sh/abort-instr.h: New file.
73602         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73603         process in case exit returns.
73605         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73606         initialize the GOT register before use.
73608         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73609         calculation of ARGC > 4.
73611         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73612         meaningful names to some local labels.
73614 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73615             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73617         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73618         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73619         (__arch_compare_and_exchange_val_16_acq): Likewise.
73620         (__arch_compare_and_exchange_val_32_acq): Likewise.
73621         (atomic_exchange_and_add): Fix gUSA sequence.
73622         (atomic_add): Likewise.
73623         (atomic_add_negative): Likewise.
73624         (atomic_add_zero): Likewise.
73625         (atomic_bit_test_set): Likewise.
73627 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73629         [BZ #13579]
73630         * include/link.h (struct link_map): Add l_free_initfini.
73631         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73632         l_initfini.
73633         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73634         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73635         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73636         set.
73638 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73640         * configure.in: Use AC_LANG_SOURCE.
73641         * configure: Regenerate.
73643 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73645         * configure.in (libc_cv_localstatedir): New substituted variable.
73646         * configure: Regenerated.
73647         * config.make.in (localstatedir): New variable, substituted from
73648         libc_cv_localstatedir.
73649         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73650         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73651         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73652         * sysdeps/gnu/configure: Regenerated.
73654 2012-06-21  Jeff Law  <law@redhat.com>
73656         [BZ #14277]
73657         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73658         free.  Simplify list management for _LIBC case.
73660 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73662         [BZ #14273]
73663         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73664         Clear sign bit of 64-bit integer value before comparing against
73665         overflow value.
73667         * sysdeps/mach/configure: Regenerated.
73669 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73671         [BZ #14278]
73672         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73674 2012-06-21  Jeff Law  <law@redhat.com>
73676         [BZ #13882]
73677         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73678         uint16_t for elements in the "seen" array to avoid char overflows.
73679         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73680         * elf/dl-open.c (dl_open_worker): Likewise.
73682 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73684         * scripts/list-sources.sh: Scan PORTS for translations.
73685         * po/libc.pot: Regenerated.
73687 2012-06-21  Andreas Jaeger  <aj@suse.de>
73689         [BZ #12194]
73690         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73691         warning.
73692         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73693         * bits/byteswap-16.h (__bswap_16): Likewise.
73694         * bits/byteswap.h (__bswap_constant_16): Likewise.
73696 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73698         [BZ #14117]
73699         * sysdeps/i386/fpu_control.h: Removed.
73700         * sysdeps/x86_64/fpu_control.h: Moved to ...
73701         * sysdeps/x86/fpu_control.h: Here.
73703         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73704         (_FPU_SETCW): Likewise.
73706 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73708         [BZ #14117]
73709         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73710         * sysdeps/x86/fpu/bits/mathinline.h: This.
73711         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73713         [BZ #14050]
73714         [BZ #14117]
73715         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73716         functions if __x86_64__ is defined.
73718 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73720         * string/endian.h: Add !__ASSEMBLER__ condition for including
73721         conversion interfaces.
73723 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73725         [BZ #14241]
73726         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73727         of ABS(x) in calculating zero to negative powers other than odd
73728         integers.
73729         * math/libm-test.inc (pow_test): Add more tests.
73731 2012-06-15  Andreas Jaeger  <aj@suse.de>
73733         * manual/contrib.texi (Contributors): Update entry of Liubov
73734         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73735         Machado Filho.
73737 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73739         * string/string.h: Add __wur to GNU version of strerror_r.
73741 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73743         [BZ #14229]
73744         * string/Makefile (tests): Add tst-strtok_r.
73745         * string/tst-strtok_r.c: New file.
73746         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73747         RAX_LP/RDX_LP on SAVE_PTR.
73749 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73751         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73753 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73755         * libm_test.inc (csqrt_test): Allow more spurious underflow
73756         exceptions.
73757         (j0_test): Likewise.
73758         (j1_test): Likewise.
73759         (y0_test): Likewise.
73760         (y1_test): Likewise.
73762 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73764         * po/Makefile (libc.pot): Use UTF-8 charset.
73766 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73768         [BZ #14210]
73769         Suppress sign-conversion warning from FD_SET.
73770         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73771         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73772         not unsigned long int.
73773         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73775 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73777         [BZ #14050]
73778         [BZ #14117]
73779         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73780         __extern_always_inline instead of __extern_inline.
73781         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73782         (__signbit): Likewise.
73783         (__signbitl): Support C++ namespace.
73784         (lrintf): New inline function.
73785         (lrint): Likewise.
73786         (llrintf): Likewise.
73787         (llrint): Likewise.
73788         (fmaxf): Likewise.
73789         (fmax): Likewise.
73790         (fminf): Likewise.
73791         (fmin): Likewise.
73792         (rint): Likewise.
73793         (rintf): Likewise.
73794         (ceil): Likewise.
73795         (ceilf): Likewise.
73796         (floor): Likewise.
73797         (floorf): Likewise.
73798         (nearbyint): Likewise.
73799         (nearbyintf): Likewise.
73801 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73803         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73804         non-default versions.
73806 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73808         [BZ #14218]
73809         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73811 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73813         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73814         (FE_UPWARD, FE_DOWNWARD): Don't define.
73815         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73816         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73818         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73819         reading it.
73820         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73821         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73823 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73825         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73826         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73827         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73828         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73830 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73832         [BZ #14117]
73833         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73834         * sysdeps/i386/fpu/Implies: New file.
73835         * sysdeps/x86_64/fpu/Implies: Likewise.
73836         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73837         * sysdeps/x86/fpu/bits/fenv.h: This.
73839         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73840         __SSE_MATH__.
73842 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73844         [BZ #14134]
73845         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73846         character 0xffff that matches the last element of the
73847         conversion table.
73849 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73851         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
73852         fmodl commit.
73854 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73856         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
73857         values higher than 25.6283.
73859 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73861         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
73862         subnormal exponent extraction and add some __builtin_expect.
73863         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
73864         Fix for subnormal mantissa calculation.
73866 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
73868         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
73869         cpu2 is -1 and errno is not ENOSYS.
73871 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
73873         [BZ #14117]
73874         * sysdeps/i386/i486/bits/string.h: Renamed to ...
73875         * sysdeps/x86/bits/string.h: This.
73876         * sysdeps/x86_64/bits/string.h: Removed.
73878         * sysdeps/i386/i486/bits/string.h: Define inline functions only
73879         if not compiling for x86-64, but compiling for >= i486.
73881         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
73882         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
73884         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
73885         New macro from Linux kernel 3.4.0.
73886         (FP_XSTATE_MAGIC2): Likewise.
73887         (FP_XSTATE_MAGIC2_SIZE): Likewise.
73888         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
73889         (struct _fpx_sw_bytes): New struct.
73890         (struct _xsave_hdr): Likewise.
73891         (struct _ymmh_state): Likewise.
73892         (struct _xstate): Likewise.
73894         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
73895         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
73896         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
73897         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
73898         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
73899         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
73901         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
73902         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
73903         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
73904         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
73905         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
73906         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
73908 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73910         [BZ #13743]
73911         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
73912         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
73913         (sysdep_headers): Include sys/platform/ppc.h.
73914         * sysdeps/powerpc/test-gettimebase.c: Test for
73915         __ppc_get_timebase() to catch future ISA opcode/insn changes.
73916         * manual/Makefile (appendices): Include platform.texi.
73917         * manual/contrib.texi (Contributors): Update @node pointers.
73918         * manual/maint.texi (Maintenance): Likewise.
73919         (Platform): New node.
73920         * manual/platform.texi: New file.  Document the new features.
73922 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73923             Jakub Jelinek  <jakub@redhat.com>
73925         [BZ #14188]
73926         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
73927         where __builtin_expect is unavailable.
73929 2012-06-03  David S. Miller  <davem@davemloft.net>
73931         * stdlib/longlong.h: Updated from GCC.
73933 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
73935         [BZ #14042]
73936         * sysdeps/powerpc/powerpc32/mcount.c: New file.
73937         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
73938         __mcount_internal.
73939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73940         (GLIBC_2.16): Likewise.
73942 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73944         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
73946 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
73949         (default-abi): New variable.
73950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
73951         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
73952         variable.
73953         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
73954         Likewise.
73955         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
73956         Likewise.
73957         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
73958         Likewise.
73960         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
73961         definition.  Document in comment.
73963 2012-06-01  David S. Miller  <davem@davemloft.net>
73965         * stdlib/longlong.h: Updated from GCC.
73967 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73969         [BZ #14117]
73970         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
73971         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
73972         sys/debugreg.h sys/io.h here.
73973         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
73974         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
73975         sys/io.h.
73976         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
73977         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
73978         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
73979         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
73980         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
73981         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
73983         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
73984         Define only if __x86_64__ is defined.
73986 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73988         [BZ #14048]
73989         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
73990         Use int64_t for variable i.
73991         * math/libm-test.inc (fmod_test): Add more tests.
73993         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
73994         z computation is not scheduled after fetestexcept.
73995         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
73996         Use math_force_eval instead of asm to ensure calculation scheduled
73997         before exception test.
73998         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
73999         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74001 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74004         computation is not scheduled after fetestexcept.
74006 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74008         [BZ #14117]
74009         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74010         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74012 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74014         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74015         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74017 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74019         [BZ #14117]
74020         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74021         <bits/wordsize.h>.
74022         (__WCHAR_MIN): Support __WORDSIZE == 64.
74023         (__WCHAR_MAX): Likewise.
74025         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74026         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74028         [BZ #14183]
74029         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74030         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74032         [BZ #14117]
74033         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74034         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74036         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74037         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74039         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74040         Defined to 1 if __x86_64__ isn't defined.
74041         (_STAT_VER_LINUX_OLD): New.
74042         (st_atime): Remove duplicate.
74043         (st_mtime): Likewise.
74044         (st_ctime): Likewise.
74046 2012-05-31  David S. Miller  <davem@davemloft.net>
74048         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74049         entries.
74051 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74053         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74054         gen-libm-test.pl.
74056         [BZ #14132]
74057         * elf/dl-reloc.c: Include <_itoa.h>.
74058         (_dl_reloc_bad_type): Remove use of INTUSE.
74059         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74060         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74061         * stdio-common/psiginfo.c (psiginfo): Likewise.
74062         * stdio-common/psignal.c (psignal): Likewise.
74063         * string/strsignal.c (strsignal): Likewise.
74064         * include/signal.h (_sys_siglist): Declare hidden proto.
74065         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74066         INTVARDEF with libc_hidden_data_def.
74067         * stdio-common/itoa-udigits.c: Likewise.
74068         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74069         (_itoa_lower_digits_internal): Remove declaration.
74070         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74071         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74072         (_sys_sigabbrev_internal): Remove aliases.
74073         (_sys_siglist): Define hidden alias.
74075 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74077         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74078         bits/sysctl.h.
74080 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74082         [BZ #14117]
74083         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74084         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74086         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74087         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74088         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74089         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74090         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74091         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74093         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74094         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74095         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74097         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74098         with __addr.
74099         (insw): Likewise.
74100         (insl): Likewise.
74101         (outsb): Likewise.
74102         (outsw): Likewise.
74103         (outsl): Likewise.
74105         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74106         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74107         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74109         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74110         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74111         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74112         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74113         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74114         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74116         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74117         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74119         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74120         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74122         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74123         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74124         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74126         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74127         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74128         to ...
74129         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74131         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74132         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74133         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74135         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74136         for x86-64.
74137         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74139 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74141         * math/math.h (M_El): Use two more decimal places.
74142         (M_LOG2El): Likewise.
74143         (M_LOG10El): Likewise.
74144         (M_LN2l): Likewise.
74145         (M_LN10l): Likewise.
74146         (M_PIl): Likewise.
74147         (M_PI_2l): Likewise.
74148         (M_PI_4l): Likewise.
74149         (M_1_PIl): Likewise.
74150         (M_2_PIl): Likewise.
74151         (M_2_SQRTPIl): Likewise.
74152         (M_SQRT2l): Likewise.
74153         (M_SQRT1_2l): Likewise.
74155 2012-05-31  David S. Miller  <davem@davemloft.net>
74157         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74158         values between float registers.
74159         * sysdeps/sparc/sparc64/memset.S: Likewise.
74160         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74162 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74164         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74165         -D_FORTIFY_SOURCE=1.
74166         (CPPFLAGS-tst-longjmp_chk.c): Define.
74167         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74168         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74169         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74170         CFLAGS-tst-wchar-h.c.
74172 2012-05-31  Marek Polacek  <polacek@redhat.com>
74174         [BZ #14132]
74175         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74176         __endmntent_internal): Remove declaration.
74177         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74178         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74179         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74181 2012-05-30  David S. Miller  <davem@davemloft.net>
74183         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74184         (___Q_simulate_exceptions): Use real FP ops rather than writing
74185         into the %fsr.
74186         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74187         Likewise.
74189 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74191         [BZ #14117]
74192         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74193         * sysdeps/x86/bits/xtitypes.h: This.
74195         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74196         * sysdeps/x86/bits/wordsize.h: This.
74198         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74199         * sysdeps/x86/bits/huge_vall.h: This.
74201         * sysdeps/i386/bits/select.h: Removed.
74202         * sysdeps/x86_64/bits/select.h: Renamed to ...
74203         * sysdeps/x86/bits/select.h: This.
74205         * sysdeps/i386/bits/setjmp.h: Removed.
74206         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74207         * sysdeps/x86/bits/setjmp.h: This.
74209         * sysdeps/i386/bits/mathdef.h: Removed.
74210         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74211         * sysdeps/x86/bits/mathdef.h: This.
74213 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74215         [BZ #14132]
74216         * include/sys/socket.h (__connect_internal)
74217         (__libc_sa_len_internal): Remove declaration.
74218         (__connect, __libc_sa_len): Declare hidden_proto.
74219         (SA_LEN): Remove use of INTUSE.
74220         * socket/connect.c: Add libc_hidden_def.
74221         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74222         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74223         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74224         alias.
74225         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74226         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74227         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74228         of adding _internal alias.
74230 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74232         [BZ #14117]
74233         * sysdeps/i386/bits/link.h: Removed.
74234         * sysdeps/i386/bits/linkmap.h: Likewise.
74235         * sysdeps/x86_64/bits/link.h: Renamed to ...
74236         * sysdeps/x86/bits/link.h: This.
74237         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74238         * sysdeps/x86/bits/linkmap.h: This.
74240         * sysdeps/i386/bits/endian.h: Removed.
74241         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74242         * sysdeps/x86/bits/endian.h: This.
74244         * sysdeps/i386/bits/byteswap.h: Removed.
74245         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74246         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74247         * sysdeps/x86/bits/byteswap.h: This.
74248         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74249         * sysdeps/x86/bits/byteswap-16.h: This.
74250         * sysdeps/i386/Implies: Add x86.
74251         * sysdeps/x86_64/Implies: Likewise.
74253 2012-05-30  David S. Miller  <davem@davemloft.net>
74255         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74256         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74257         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74258         (FP_TRAPPING_EXCEPTIONS): Define.
74259         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74260         (FP_TRAPPING_EXCEPTIONS): Define.
74261         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74262         subnormals only when inexact has been signalled or underflow
74263         exceptions are enabled.
74264         (_FP_PACK_CANONICAL): Likewise.
74266 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74268         [BZ #14183]
74269         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74270         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74272 2012-05-30  Richard Henderson  <rth@twiddle.net>
74274         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74275         with #ifndef NOT_IN_libc.
74277         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74278         marked to avoid plt entry.
74280 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74282         [BZ #14112]
74283         * Makeconfig (default-abi): New macro.
74284         (abi-includes): Likewise.
74285         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74286         $(abi-$(default-abi)-lib-soname) for soname if defined.
74287         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74288         abi-variants.
74289         * Makefile (installed-stubs): Likewise.
74290         * include/stubs-biarch.h: Removed.
74291         * scripts/lib-names.awk: Only handle one library at a time.
74292         * scripts/soversions.awk: Remove WORDSIZE support.
74293         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74294         entries.
74295         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74296         Removed.
74297         (syscall-list-default-condition): Likewise.
74298         (syscall-list-default-condition): Likewise.
74299         (syscall-list-includes): Likewise.
74300         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74301         syscall-list-* with abi-*.  Handle undefined abi-variants.
74302         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74303         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74304         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74305         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74306         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74307         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74308         Removed.
74309         (syscall-list-32-options): Likewise.
74310         (syscall-list-32-condition): Likewise.
74311         (syscall-list-64-options): Likewise.
74312         (syscall-list-64-condition): Likewise.
74313         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74314         macro.
74315         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74316         Renamed to ...
74317         (abi-*): This.
74318         (abi-64-ld-soname): New macro.
74319         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74320         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74321         Renamed to ...
74322         (abi-*): This.
74323         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74324         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74326 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74328         * sysdeps/unix/sysv/linux/kernel-features.h
74329         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74330         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74331         include <kernel-features.h>.
74332         [!__NR_ftruncate64]: Remove conditional code.
74333         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74334         [__NR_ftruncate64]: Make code unconditional.
74335         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74336         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74337         include <kernel-features.h>.
74338         [!__NR_ftruncate64]: Remove conditional code.
74339         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74340         [__NR_ftruncate64]: Make code unconditional.
74341         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74343         include <kernel-features.h>.
74344         [!__NR_ftruncate64]: Remove conditional code.
74345         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74346         [__NR_ftruncate64]: Make code unconditional.
74347         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74349         include <kernel-features.h>.
74350         [!__NR_ftruncate64]: Remove conditional code.
74351         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74352         [__NR_ftruncate64]: Make code unconditional.
74353         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74355         * configure.in (libc_cv_fpie): Weaken to a compile test using
74356         LIBC_TRY_CC_OPTION.
74357         * configure: Regenerated.
74359 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74365         Refreshed.
74366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74372         Refreshed.
74374 2012-05-27  David S. Miller  <davem@davemloft.net>
74376         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74377         (___Q_zero): New.
74378         (__Q_simulate_exceptions): Return void.  Change to simulate
74379         exceptions by writing into the %fsr.
74380         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74381         (__Qp_handle_exceptions): Likewise.
74382         (numbers): Delete.
74383         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74384         __Qp_handle_exceptions.
74385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74386         __Qp_handle_exceptions.
74387         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74388         as unused and give dummy FP_RND_NEAREST initializer.
74389         (FP_INHIBIT_RESULTS): Define.
74390         (___Q_simulate_exceptions): Update declaration.
74391         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74392         formatting.
74393         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74394         as unused and give dummy FP_RND_NEAREST initializer.
74395         (__Qp_handle_exceptions): Update declaration.
74396         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74397         formatting.
74399 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74401         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74402         the temporary FPU control word.
74403         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74404         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74405         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74406         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74407         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74408         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74409         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74410         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74411         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74412         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74413         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74415 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74417         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74418         fields.
74420 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74422         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74423         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74424         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74425         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74426         Likewise.
74427         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74428         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74429         Likewise.
74431 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74433         * po/h.po: Update from translation team.
74435 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74437         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74439         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74440         handling of denormals.
74441         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74442         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74443         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74444         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74445         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74446         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74447         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74448         Likewise.
74450 2012-05-26  Marek Polacek  <polacek@redhat.com>
74452         [BZ #14152]
74453         * math/libm-test.inc (fma_test): Don't always expect underflow
74454         exception.
74456 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74458         [BZ #12416]
74459         * elf/tst-execstack.c: Include stackinfo.h.
74460         (do_test): Adjust test case to ensure that pthread_getattr_np
74461         behaviour remains the same after marking stack executable.
74463 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74465         * sysdeps/unix/sysv/linux/kernel-features.h
74466         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74467         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74468         kernel-features.h.
74469         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74470         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74471         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74472         kernel-features.h.
74473         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74474         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74476 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74478         * configure.in: Define the default includes to being none.
74479         * configure: Regenerated.
74481 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74483         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74484         * sysdeps/x86_64/setjmp.S: Likewise.
74485         * sysdeps/i386/bsd-setjmp.S: Likewise.
74486         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74487         * sysdeps/i386/setjmp.S: Likewise.
74488         * sysdeps/i386/__longjmp.S: Likewise.
74489         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74490         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74492         * include/stap-probe.h: New file.
74493         * configure.in: Handle --enable-systemtap.
74494         * configure: Regenerated.
74495         * config.h.in (USE_STAP_PROBE): New #undef.
74496         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74497         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74498         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74500 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74502         [BZ #13717]
74503         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74504         to 2.4.0 where earlier.
74505         * sysdeps/unix/sysv/linux/configure: Regenerated.
74506         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74507         <kernel-features.h>.
74508         [__ASSUME_32BITUIDS]: Make code unconditional.
74509         [!__ASSUME_32BITUIDS]: Remove conditional code.
74510         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74511         <kernel-features.h>.
74512         [__ASSUME_32BITUIDS]: Make code unconditional.
74513         [!__ASSUME_32BITUIDS]: Remove conditional code.
74514         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74515         [__ASSUME_32BITUIDS]: Make code unconditional.
74516         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74517         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74518         <kernel-features.h>.
74519         [__ASSUME_32BITUIDS]: Make code unconditional.
74520         [!__ASSUME_32BITUIDS]: Remove conditional code.
74521         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
74522         <kernel-features.h>.
74523         [__ASSUME_32BITUIDS]: Make code unconditional.
74524         [!__ASSUME_32BITUIDS]: Remove conditional code.
74525         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
74526         <kernel-features.h>.
74527         [__ASSUME_32BITUIDS]: Make code unconditional.
74528         [!__ASSUME_32BITUIDS]: Remove conditional code.
74529         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
74530         <kernel-features.h>.
74531         [__ASSUME_32BITUIDS]: Make code unconditional.
74532         [!__ASSUME_32BITUIDS]: Remove conditional code.
74533         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
74534         <kernel-features.h>.
74535         [__ASSUME_32BITUIDS]: Make code unconditional.
74536         [!__ASSUME_32BITUIDS]: Remove conditional code.
74537         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
74538         <kernel-features.h>.
74539         [__ASSUME_32BITUIDS]: Make code unconditional.
74540         [!__ASSUME_32BITUIDS]: Remove conditional code.
74541         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74542         <kernel-features.h>.
74543         [__ASSUME_32BITUIDS]: Make code unconditional.
74544         [!__ASSUME_32BITUIDS]: Remove conditional code.
74545         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
74546         <kernel-features.h>.
74547         [__ASSUME_32BITUIDS]: Make code unconditional.
74548         [!__ASSUME_32BITUIDS]: Remove conditional code.
74549         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
74550         <kernel-features.h>.
74551         [__ASSUME_32BITUIDS]: Make code unconditional.
74552         [!__ASSUME_32BITUIDS]: Remove conditional code.
74553         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
74554         <kernel-features.h>.
74555         [__ASSUME_32BITUIDS]: Make code unconditional.
74556         [!__ASSUME_32BITUIDS]: Remove conditional code.
74557         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
74558         <kernel-features.h>.
74559         [__NR_setresgid] (__setresgid): Do not declare.
74560         [__ASSUME_32BITUIDS]: Make code unconditional.
74561         [!__ASSUME_32BITUIDS]: Remove conditional code.
74562         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74563         <kernel-features.h>.
74564         [__NR_setresuid] (__setresuid): Do not declare.
74565         [__ASSUME_32BITUIDS]: Make code unconditional.
74566         [!__ASSUME_32BITUIDS]: Remove conditional code.
74567         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
74568         <kernel-features.h>.
74569         [__ASSUME_32BITUIDS]: Make code unconditional.
74570         [!__ASSUME_32BITUIDS]: Remove conditional code.
74571         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74572         <kernel-features.h>.
74573         [__ASSUME_32BITUIDS]: Make code unconditional.
74574         [!__ASSUME_32BITUIDS]: Remove conditional code.
74575         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74576         <kernel-features.h>.
74577         [__ASSUME_32BITUIDS]: Make code unconditional.
74578         [!__ASSUME_32BITUIDS]: Remove conditional code.
74579         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74580         <kernel-features.h>.
74581         [__ASSUME_32BITUIDS]: Make code unconditional.
74582         [!__ASSUME_32BITUIDS]: Remove conditional code.
74583         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
74584         <kernel-features.h>.
74585         [__ASSUME_32BITUIDS]: Make code unconditional.
74586         [!__ASSUME_32BITUIDS]: Remove conditional code.
74587         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
74588         <kernel-features.h>.
74589         [__ASSUME_32BITUIDS]: Make code unconditional.
74590         [!__ASSUME_32BITUIDS]: Remove conditional code.
74591         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74592         <kernel-features.h>.
74593         [__ASSUME_32BITUIDS]: Make code unconditional.
74594         [!__ASSUME_32BITUIDS]: Remove conditional code.
74595         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74596         <kernel-features.h>.
74597         [__ASSUME_32BITUIDS]: Make code unconditional.
74598         [!__ASSUME_32BITUIDS]: Remove conditional code.
74599         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74600         <kernel-features.h>.
74601         [__ASSUME_32BITUIDS]: Make code unconditional.
74602         [!__ASSUME_32BITUIDS]: Remove conditional code.
74603         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74604         <kernel-features.h>.
74605         [__ASSUME_32BITUIDS]: Make code unconditional.
74606         [!__ASSUME_32BITUIDS]: Remove conditional code.
74607         * sysdeps/unix/sysv/linux/kernel-features.h
74608         (__ASSUME_SETRESUID_SYSCALL): Remove.
74609         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74610         (__ASSUME_32BITUIDS): Likewise.
74611         (__ASSUME_LDT_WORKS): Likewise.
74612         (__ASSUME_O_DIRECTORY): Likewise.
74613         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74614         architecture but not kernel version.
74615         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74616         (__ASSUME_MMAP2_SYSCALL): Likewise.
74617         (__ASSUME_STAT64_SYSCALL): Likewise.
74618         (__ASSUME_IPC64): Likewise.
74619         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74620         <kernel-features.h>.
74621         [__ASSUME_32BITUIDS]: Make code unconditional.
74622         [!__ASSUME_32BITUIDS]: Remove conditional code.
74623         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74624         <kernel-features.h>.
74625         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74626         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74627         132096]: Remove conditional code.
74628         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74629         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74630         <kernel-features.h>.
74631         [__ASSUME_32BITUIDS]: Make code unconditional.
74632         [!__ASSUME_32BITUIDS]: Remove conditional code.
74633         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74634         <kernel-features.h>.
74635         [__ASSUME_32BITUIDS]: Make code unconditional.
74636         [!__ASSUME_32BITUIDS]: Remove conditional code.
74637         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74638         <kernel-features.h>.
74639         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74640         unconditional.
74641         (__setresgid): Do not declare.
74642         [__ASSUME_32BITUIDS]: Make code unconditional.
74643         [!__ASSUME_32BITUIDS]: Remove conditional code.
74644         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74645         <kernel-features.h>.
74646         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74647         unconditional.
74648         (__setresuid): Do not declare.
74649         [__ASSUME_32BITUIDS]: Make code unconditional.
74650         [!__ASSUME_32BITUIDS]: Remove conditional code.
74651         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74652         <kernel-features.h>.
74653         [__ASSUME_32BITUIDS]: Make code unconditional.
74654         [!__ASSUME_32BITUIDS]: Remove conditional code.
74655         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74656         <kernel-features.h>.
74657         [__ASSUME_32BITUIDS]: Make code unconditional.
74658         [!__ASSUME_32BITUIDS]: Remove conditional code.
74660 2012-05-25  Richard Henderson  <rth@twiddle.net>
74662         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74663         dl_hwcap to ifunc resolver.
74664         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74665         elf_ifunc_invoke.
74666         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74667         dl_hwcap to ifunc resolver.
74668         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74670 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74672         [BZ #14153]
74673         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74674         for |x| <= 2**-26, not 2**-57.
74675         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74676         exception.
74678 2012-05-24  Jeff Law  <law@redhat.com>
74680         * stdio-common/Makefile (tests): Add bug25.
74681         * stdio-common/bug25.c: New test.
74683 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74685         [BZ #13576]
74686         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74687         multiple of MALLOC_ALIGNMENT in size.
74688         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74690 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74692         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74693         Require >= 256.
74694         (FILENAME_MAX): Use macro-int-constant.
74695         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74696         (_IOFBF): Use macro-int-constant.
74697         (_IOLBF): Likewise.
74698         (_IONBF): Likewise.
74699         (SEEK_CUR): Likewise.
74700         (SEEK_END): Likewise.
74701         (SEEK_SET): Likewise.
74702         (TMP_MAX): Likewise.
74703         (EOF): Use macro-int-constant.  Require < 0.
74704         (NULL): Use macro-constant.  Require == 0.
74705         (stdin): Require type to be FILE *.
74706         (stdout): Likewise.
74707         (stderr): Likewise.
74708         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74709         macro-int-constant.
74710         (EXIT_SUCCESS): Likewise.
74711         (NULL): Use macro-constant.  Require == 0.
74712         (RAND_MAX): Use macro-int-constant.
74713         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74714         [C99-based standards] (strtof): Require function.
74715         [C99-based standards] (strtold): Likewise.
74716         [C99-based standards] (strtoll): Likewise.
74717         [C99-based standards] (strtoull): Likewise.
74718         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74719         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74720         [ISO || ISO99 || ISO11] (math.h): Likewise.
74721         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74722         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74723         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74725 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74727         [BZ #14132]
74728         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74729         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74730         * intl/dgettext.c (DCGETTEXT): Likewise.
74731         * intl/gettext.c (DCGETTEXT): Likewise.
74732         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74733         * posix/regex_internal.h (gettext): Likewise.
74734         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74735         Remove declaration.
74736         * include/argz.h (__argz_count_internal)
74737         (__argz_stringify_internal): Remove declaration.
74738         (__argz_count, __argz_stringify): Declare hidden proto.
74739         * intl/dcgettext.c: Remove use of INTDEF.
74740         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74741         * string/argz-stringify.c: Likewise.
74742         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74743         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74744         Declare hidden proto.
74745         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74746         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74747         Declare hidden proto.
74748         * include/stdio.h (__asprintf_internal): Don't declare.
74749         (__asprintf): Don't define as macro.  Declare hidden proto.
74750         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74751         (__fsetlocking): Declare hidden proto.
74752         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74753         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74754         hidden proto.
74755         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74756         (_IO_setlinebuf): Remove use of INTUSE.
74757         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74758         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74759         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74760         Remove declaration.
74761         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74762         (_IO_do_flush): Remove use of INTUSE.
74763         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74764         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74765         (_IO_adjust_column, _IO_least_wmarker)
74766         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74767         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74768         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74769         (_IO_default_doallocate, _IO_wdefault_doallocate)
74770         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74771         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74772         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74773         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74774         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74775         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74776         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74777         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74778         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74779         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74780         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74781         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74782         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74783         proto.
74784         (_IO_flush_all_internal, _IO_adjust_column_internal)
74785         (_IO_default_uflow_internal, _IO_default_finish_internal)
74786         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74787         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74788         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74789         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74790         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74791         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74792         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74793         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74794         (_IO_file_close_internal, _IO_file_close_it_internal)
74795         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74796         (_IO_file_init_internal, _IO_file_attach_internal)
74797         (_IO_file_fopen_internal, _IO_file_read_internal)
74798         (_IO_file_sync_internal, _IO_file_seek_internal)
74799         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74800         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74801         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74802         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74803         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74804         (_IO_list_all_internal, _IO_link_in_internal)
74805         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74806         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74807         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74808         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74809         (_IO_do_write_internal, _IO_padn_internal)
74810         (_IO_getline_info_internal, _IO_getline_internal)
74811         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74812         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74813         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74814         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74815         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74816         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74817         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74818         with libc_hidden_ver, remove use of INTUSE.
74819         * libio/genops.c: Likewise.
74820         * libio/freopen.c: Likewise.
74821         * libio/freopen64.c: Likewise.
74822         * libio/iofclose.c: Likewise.
74823         * libio/iofdopen.c: Likewise.
74824         * libio/iofflush.c: Likewise.
74825         * libio/iofflush_u.c: Likewise.
74826         * libio/iofgets.c: Likewise.
74827         * libio/iofgets_u.c: Likewise.
74828         * libio/iofopen.c: Likewise.
74829         * libio/iofopncook.c: Likewise.
74830         * libio/iofread.c: Likewise.
74831         * libio/iofread_u.c: Likewise.
74832         * libio/ioftell.c: Likewise.
74833         * libio/iofwrite.c: Likewise.
74834         * libio/iogetline.c: Likewise.
74835         * libio/iogets.c: Likewise.
74836         * libio/iogetwline.c: Likewise.
74837         * libio/iopadn.c: Likewise.
74838         * libio/iopopen.c: Likewise.
74839         * libio/ioseekoff.c: Likewise.
74840         * libio/ioseekpos.c: Likewise.
74841         * libio/iosetbuffer.c: Likewise.
74842         * libio/iosetvbuf.c: Likewise.
74843         * libio/ioungetc.c: Likewise.
74844         * libio/ioungetwc.c: Likewise.
74845         * libio/iovdprintf.c: Likewise.
74846         * libio/iovsprintf.c: Likewise.
74847         * libio/iovsscanf.c: Likewise.
74848         * libio/memstream.c: Likewise.
74849         * libio/obprintf.c: Likewise.
74850         * libio/oldfileops.c: Likewise.
74851         * libio/oldiofclose.c: Likewise.
74852         * libio/oldiofdopen.c: Likewise.
74853         * libio/oldiofopen.c: Likewise.
74854         * libio/oldiopopen.c: Likewise.
74855         * libio/oldstdfiles.c: Likewise.
74856         * libio/putc.c: Likewise.
74857         * libio/setbuf.c: Likewise.
74858         * libio/setlinebuf.c: Likewise.
74859         * libio/stdfiles.c: Likewise.
74860         * libio/strops.c: Likewise.
74861         * libio/vasprintf.c: Likewise.
74862         * libio/vscanf.c: Likewise.
74863         * libio/vsnprintf.c: Likewise.
74864         * libio/vswprintf.c: Likewise.
74865         * libio/wfiledoalloc.c: Likewise.
74866         * libio/wfileops.c: Likewise.
74867         * libio/wgenops.c: Likewise.
74868         * libio/wmemstream.c: Likewise.
74869         * libio/wstrops.c: Likewise.
74870         * libio/__fpurge.c: Likewise.
74871         * libio/__fsetlocking.c: Likewise.
74872         * assert/assert.c: Likewise.
74873         * debug/fgets_chk.c: Likewise.
74874         * debug/fgets_u_chk.c: Likewise.
74875         * debug/fread_chk.c: Likewise.
74876         * debug/fread_u_chk.c: Likewise.
74877         * debug/gets_chk.c: Likewise.
74878         * debug/obprintf_chk.c: Likewise.
74879         * debug/vasprintf_chk.c: Likewise.
74880         * debug/vdprintf_chk.c: Likewise.
74881         * debug/vsnprintf_chk.c: Likewise.
74882         * debug/vsprintf_chk.c: Likewise.
74883         * malloc/mtrace.c: Likewise.
74884         * misc/error.c: Likewise.
74885         * misc/syslog.c: Likewise.
74886         * stdio-common/asprintf.c: Likewise.
74887         * stdio-common/fxprintf.c: Likewise.
74888         * stdio-common/getw.c: Likewise.
74889         * stdio-common/isoc99_fscanf.c: Likewise.
74890         * stdio-common/isoc99_scanf.c: Likewise.
74891         * stdio-common/isoc99_vfscanf.c: Likewise.
74892         * stdio-common/isoc99_vscanf.c: Likewise.
74893         * stdio-common/isoc99_vsscanf.c: Likewise.
74894         * stdio-common/printf-prs.c: Likewise.
74895         * stdio-common/printf_fp.c: Likewise.
74896         * stdio-common/printf_fphex.c: Likewise.
74897         * stdio-common/printf_size.c: Likewise.
74898         * stdio-common/putw.c: Likewise.
74899         * stdio-common/scanf.c: Likewise.
74900         * stdio-common/sprintf.c: Likewise.
74901         * stdio-common/tmpfile.c: Likewise.
74902         * stdio-common/vfprintf.c: Likewise.
74903         * stdio-common/vfscanf.c: Likewise.
74904         * stdlib/strfmon_l.c: Likewise.
74905         * sunrpc/openchild.c: Likewise.
74906         * sunrpc/xdr_stdio.c: Likewise.
74907         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
74908         * sysdeps/mach/hurd/tmpfile.c: Likewise.
74910 2012-05-24  Roland McGrath  <roland@hack.frob.com>
74912         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74914         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
74915         in the third column, to generate for the shared library an IFUNC
74916         that uses _dl_vdso_vsym.
74917         * Makerules (COMPILE.c, compile-stdin.c): New variables.
74918         * Makeconfig (object-suffixes-noshared): New variable.
74920         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
74921         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
74922         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
74923         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
74925         [BZ #14132]
74926         * include/sys/time.h (__gettimeofday): Remove macro.
74927         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
74928         * time/gettimeofday.c (__gettimeofday): Remove #undef.
74929         Remove INTDEF.
74930         (__gettimeofday): Add libc_hidden_def.
74931         (gettimeofday): Add libc_hidden_weak.
74932         * sysdeps/mach/gettimeofday.c: Likewise.
74933         * sysdeps/posix/gettimeofday.c: Likewise.
74934         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
74935         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
74936         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
74937         (__gettimeofday_internal): Remove strong_alias.
74938         (__gettimeofday): Add libc_hidden_def.
74939         (gettimeofday): Add libc_hidden_weak.
74940         * sysdeps/unix/syscalls.list (gettimeofday):
74941         Remove __gettimeofday_internal alias.
74943 2012-05-24  Daniel Jacobowitz  <drow@false.org>
74944             H.J. Lu  <hongjiu.lu@intel.com>
74946         [BZ #12495]
74947         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
74948         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
74949         (largebin_index_32_big): New.
74950         (largebin_index): Use it for 16-byte alignment.
74951         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
74952         correction with front_misalign.
74954 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
74957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
74958         Likewise.
74959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
74960         Likewise.
74961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
74962         Likewise.
74963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
74964         Likewise.
74965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
74966         Likewise.
74967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
74968         Likewise.
74969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
74970         Likewise.
74971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
74972         Likewise.
74973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
74974         Likewise.
74975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
74976         Likewise.
74977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
74978         Likewise.
74979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
74980         Likewise.
74982         * scripts/data/c++-types-x32-linux-gnu.data: New file.
74983         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
74985 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74987         [BZ #10846]
74988         [BZ #14036]
74989         * math/libm-test.inc (exp_test): Add test from bug 14036.
74990         (pow_test): Add test from bug 10846.
74992         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
74993         and other flags.
74994         (special_function): Do not include flags in test name.
74995         (parse_args): Likewise.
74996         * sysdeps/i386/fpu/libm-test-ulps: Update.
74997         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74998         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
74999         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75002         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75003         exceptions.
75004         * math/libm-test.inc ("Philosophy"): Update comment about
75005         exception testing.
75006         (UNDERFLOW_EXCEPTION): New macro.
75007         (UNDERFLOW_EXCEPTION_OK): Likewise.
75008         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75009         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75010         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75011         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75012         (INVALID_EXCEPTION_OK): Update value.
75013         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75014         (OVERFLOW_EXCEPTION_OK): Likewise.
75015         (IGNORE_ZERO_INF_SIGN): Likewise.
75016         (test_exceptions): Handle underflow exceptions.
75017         (acos_test): Update for underflow exception expectations.
75018         (cexp_test): Likewise.
75019         (clog_test): Likewise.
75020         (clog10_test): Likewise.
75021         (csqrt_test): Likewise.
75022         (ctan_test): Likewise.
75023         (ctanh_test): Likewise.
75024         (exp_test): Likewise.
75025         (exp10_test): Likewise.
75026         (exp2_test): Likewise.
75027         (expm1_test): Likewise.
75028         (fma_test): Likewise.
75029         (j0_test): Likewise.
75030         (jn_test): Likewise.
75031         (nexttoward_test): Likewise.
75032         (pow_test): Likewise.
75033         (scalbn_test): Likewise.
75034         (scalbln_test): Likewise.
75035         (tan_test): Likewise.
75036         (y1_test): Likewise.
75037         * sysdeps/i386/fpu/libm-test-ulps: Update.
75038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75040 2012-05-23  David S. Miller  <davem@davemloft.net>
75042         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75043         (__libc_sigaction): Remove unused local variables.
75045 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75047         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75049 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75051         mktime: avoid signed integer overflow
75052         * time/mktime.c (__mktime_internal): Do not mishandle the case
75053         where diff == INT_MIN.
75055         mktime: simplify computation of average
75056         * time/mktime.c (ranged_convert): Use new time_t_avg function
75057         instead of rolling our own (probably-slower) code.
75059         mktime: do not assume signed right shift propagates sign bit
75060         * time/mktime.c (isdst_differ): New static function.
75061         (__mktime_internal): No need to normalize tm_isdst now.
75062         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75063         tm_isdst values.
75065         mktime: merge another wrapv change from gnulib
75066         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75067         from some compilers.
75069         mktime: remove incorrect attempt at unusual arithmetics
75070         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75071         The code didn't really work on such machines anyway.
75072         (TYPE_MINIMUM): Assume two's complement.
75073         (twos_complement_arithmetic): Verify that long_int and time_t
75074         are two's complement (or unsigned, in the latter case).
75076         mktime: check signed shifts on long_int and time_t, too
75077         * time/mktime.c (SHR): Check that shifts work as desired
75078         on the types long_int and time_t too, as SHR is used on
75079         such types.
75081         mktime: do not assume 'long' is wide enough
75082         * time/mktime.c (verify): Move decl up.
75083         (long_int): New type.
75084         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75085         to remove assumption in the code that 'long' is wide enough to
75086         store year values.  This assumption is not true on x32 and on
75087         some non-glibc platforms.
75089         mktime: merge wrapv change from gnulib
75090         * time/mktime.c (WRAPV): New macro.
75091         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75092         (guess_time_tm, __mktime_internal): Do not assume that signed
75093         integer overflow wraps around; modern compilers generate code
75094         where this assumption is no longer valid.
75096 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75098         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75099         Replace "jmp L(pseudo_end)" with "ret".
75100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75101         Likewise.
75103 2012-05-23  Andreas Jaeger  <aj@suse.de>
75105         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75106         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75108 2012-05-23  Andreas Jaeger  <aj@suse.de>
75109             Maximilian Attems  <max@stro.at>
75111         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75112         New macros.
75114 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75116         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75117         code so that pseudo_end is just ret and the stack pointer is
75118         correct also for static library in error case.
75120 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75122         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75123         move to syscalls.list.
75124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75129         * manual/install.texi (Running make install): Do not mention Linux
75130         kernel version for which pt_chown is not needed.
75131         (Linux): Do not mention problems with nscd with 2.0 kernels.
75132         * INSTALL: Regenerated.
75134 2012-05-23  Andreas Jaeger  <aj@suse.de>
75136         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75137         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75138         macro.
75139         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75140         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75141         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75142         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75143         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75144         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75145         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75146         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75147         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75148         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75149         * sysdeps/unix/sysv/linux/bits/in.h
75150         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75152 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75154         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75155         (PREPARE_VERSION): Just use assert instead, it will be elided
75156         under [NDEBUG] anyway.
75158 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75160         * sysdeps/unix/sysv/linux/Makefile: Include
75161         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75162         (sysdep_routines): Remove sysctl.
75163         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75164         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75165         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75166         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75167         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75169 2012-05-22  Andreas Jaeger  <aj@suse.de>
75171         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75172         that pseudo_end is just ret and the stack pointer is correct also
75173         for static library in error case.
75175 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75177         [BZ #14122]
75178         * nss/nsswitch.c (defconfig_entries): New variable.
75179         (__nss_database_lookup): Don't leak defconfig entries.
75180         (nss_parse_service_list): Don't leak on error paths.
75181         (free_database_entries): New function.
75182         (free_defconfig): New function.
75183         (free_mem): Move common code to free_database_entries.
75185 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75187         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75188         Add arch_prctl.
75189         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75191         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75192         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75193         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75194         New macro.
75195         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75196         (INTERNAL_SYSCALL_TYPES): Likewise.
75197         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75198         (LOAD_REGS_TYPES_[1-6]): Likewise.
75199         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75200         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75202 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75204         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75205         copysignl for GLIBC_2_0.
75206         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75207         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75208         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75209         logbl for GLIBC_2_0.
75210         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75211         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75213 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75215         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75216         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75218         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75219         Use "neg %eax".
75221         * time/mktime.c: Update copyright years.
75223 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75225         mktime: merge comment-quoting-style change from gnulib
75226         * time/mktime.c: Quote 'like this' in comments.
75227         The GNU coding standards suggest that we no longer quote `like this',
75228         as "`" and "'" are typically rendered asymmetrically nowadays.
75229         The typical gnulib style is to quote 'like this' when quoting
75230         code, and "like this" when quoting English.
75232         * time/mktime.c (compile-command): Add "-I.".
75234         mktime: merge mktime-internal.h change from gnulib
75235         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75237         mktime: merge time_r change from gnulib
75238         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75240         mktime: merge DEBUG change from gnulib
75241         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75242         case system <time.h> has a #define.
75244         mktime: merge <sys/types.h> change from gnulib
75245         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75246         since <time.t> is now guaranteed to define time_t.
75248         mktime: merge HAVE_CONFIG_H change from gnulib
75249         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75251 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75254         Use "neg %eax".
75256         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75257         __rlim_t cast.
75258         (struct rusage): Use anonymous union to pad each field to
75259         __syscall_slong_t.
75261 2012-05-21  David S. Miller  <davem@davemloft.net>
75263         * Makefules (o-iterator): Remove .s cases.
75264         (compile-command.s): Delete.
75265         (COMPILE.s): Delete.
75266         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75268 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75270         * configure.in (libc_cv_predef_stack_protector): Only consider
75271         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75272         * configure: Regenerated.
75274 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75276         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75277         New macro.  Use R*LP on int and pointer.
75278         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75279         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75280         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75281         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75283         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75284         [__WORDSIZE_TIME64_COMPAT32] instead of
75285         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75286         (struct utmp): Likewise.
75287         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75288         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75289         Renamed to ...
75290         (__WORDSIZE_TIME64_COMPAT32): This.
75291         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75292         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75293         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75294         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75295         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75296         (__WORDSIZE_TIME64_COMPAT32): New macro.
75298 2012-05-21  Andreas Jaeger  <aj@suse.de>
75300         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75301         only if [SHARED]. Add prototype for __wcschr_ia32.
75303 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75305         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75306         of %rbp unmolested in the jmp_buf while mangling the low bits.
75307         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75308         unmolested high bits of %rbp while demangling the low bits.
75309         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75311 2012-05-21  Andreas Jaeger  <aj@suse.de>
75313         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75314         * sunrpc/svc_simple.c: Use it for registerrpc.
75315         * sunrpc/xcrypt.c: Use it for passwd2des.
75317         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75319 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75321         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75322         Don't define if [__SYSCALL_WORDSIZE != 32].
75323         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75324         New macro.
75326 2012-05-21  Bruno Haible  <bruno@clisp.org>
75327             Andreas Jaeger  <aj@suse.de>
75329         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75330         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75331         inptr and inend for must_buffer_ch.
75332         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75333         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75334         * stdio-common/Makefile (tests): Remove bug15.
75335         (bug15-ENV): Remove macro.
75336         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75337         anymore.
75339 2012-05-19  Andreas Jaeger  <aj@suse.de>
75340             Roland McGrath  <roland@hack.frob.com>
75342         * manual/contrib.texi: Completely rewritten. It contains now an
75343         alphabetical list of contributors and their contributions.
75345 2012-05-21  Richard Henderson  <rth@twiddle.net>
75347         * misc/getauxval.c (__getauxval): Use unsigned long int.
75348         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75349         (getauxval): Use unsigned long int.
75351 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75353         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75355 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75357         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75358         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75359         __alignof__ (long double).
75361 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75365 2012-05-20  Richard Henderson  <rth@twiddle.net>
75367         * misc/getauxval.c: New file.
75368         * misc/sys/auxv.h: New file.
75369         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75370         (routines): Add getauxval.
75371         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75372         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75373         * elf/dl-sysdep.c (_dl_auxv): Remove.
75374         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75375         * elf/dl-support.c (_dl_auxv): New variable.
75376         (_dl_aux_init): Initialize it.
75377         * manual/startup.texi (Auxiliary Vector): New node.
75378         * sysdeps/generic/bits/hwcap.h: New file.
75379         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75380         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75381         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75382         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75383         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75384         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75386         Update.
75387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75390         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75396 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75400 2012-05-19  David S. Miller  <davem@davemloft.net>
75402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75404 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75406         [BZ #14123]
75407         * math/s_ccosh.c: Include <float.h>
75408         (__ccosh): Avoid internal overflow calculating sinh and cosh
75409         values before multiplying by sin and cos values.
75410         * math/s_ccoshf.c: Likewise.
75411         * math/s_ccoshl.c: Likewise.
75412         * math/s_csin.c: Likewise.
75413         * math/s_csinf.c: Likewise.
75414         * math/s_csinl.c: Likewise.
75415         * math/s_csinh.c: Likewise.
75416         * math/s_csinhf.c: Likewise.
75417         * math/s_csinhl.c: Likewise.
75418         * math/libm-test.inc (ccos_test): Add more tests.
75419         (ccosh_test): Likewise.
75420         (csin_test): Likewise.
75421         (csinh_test): Likewise.
75422         * sysdeps/i386/fpu/libm-test-ulps: Update.
75423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75425 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75427         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75428         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75430         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75432 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75434         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75435         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75436         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75437         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75438         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75439         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75440         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75441         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75442         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75443         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75444         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75445         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75446         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75447         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75448         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75449         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75450         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75451         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75452         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75453         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75454         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75455         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75456         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75457         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75458         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75459         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75460         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75461         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75462         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75463         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75464         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75466 2012-05-18  Andreas Jaeger  <aj@suse.de>
75468         * csu/.gitignore: Delete.
75470 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75472         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75473         (timex): Use __syscall_slong_t.
75475 2012-05-18  Andreas Jaeger  <aj@suse.de>
75476             Carlos O'Donell  <carlos_odonell@mentor.com>
75478         * manual/install.texi (Configuring and compiling): Update
75479         description about files modified in the source directory.
75480         * INSTALL: Regenerated.
75482 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75484         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75485         value.  Use "or" to set return value to -1.
75486         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75487         negate return value.
75489 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75491         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75492         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75493         failure if the compiler has Graphite support disabled.
75494         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75495         Likewise.
75496         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75497         (CFLAGS-memmove.c): Likewise.
75498         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75499         Likewise.
75501 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75503         * sysdeps/x86_64/x32/_itoa.h: New file.
75505         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75506         getdents system call only if kernel and user dirents have the
75507         same d_ino and d_off.
75509         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75510         LLONG_MAX != LONG_MAX.
75511         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75512         (_fitoa_word): Likewise.
75514         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75515         years.
75516         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75517         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75518         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75520         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75521         include <bits/wordsize.h>.  Check __x86_64__ instead of
75522         __WORDSIZE.
75523         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75524         if __x86_64__ is defined.  Use anonymous union on fpstate.
75526         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75527         anonymous union.
75529 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75531         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75532         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75533         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75534         Refer to _rtld_local_ro instead of _rtld_global_ro.
75535         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75536         Likewise.
75537         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75538         Likewise.
75539         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75540         Likewise.
75541         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75542         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75543         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75545         [BZ #10882]
75546         * sysdeps/powerpc/powerpc32/dl-machine.c
75547         (__elf_machine_runtime_setup) [PROF]: Don't reference
75548         _dl_prof_resolve.
75550 2012-05-18  Andreas Jaeger  <aj@suse.de>
75552         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75553         function only available for GCCs before 3.4 since GCC 3.4
75554         introduced a builtin.
75555         (lrint): Likewise.
75556         (llrintf): Likewise.
75557         (llrint): Likewise.
75558         (fmaxf): Likewise.
75559         (fmax): Likewise.
75560         (fminf): Likewise.
75561         (fmin): Likewise.
75562         (rint): Likewise.
75563         (rintf): Likewise.
75564         (nearbyint): Likewise.
75565         (nearbyintf): Likewise.
75566         (ceil): Likewise.
75567         (ceilf): Likewise.
75568         (floor): Likewise.
75569         (floorf): Likewise.
75571 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75573         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75574         on both fields and cast pointer to __syscall_ulong_t.
75576         * bits/types.h (__fsword_t): New type.
75577         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75578         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75579         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75580         (__FSWORD_T_TYPE): Likewise.
75581         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75582         (__FSWORD_T_TYPE): Likewise.
75583         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75584         (__FSWORD_T_TYPE): Likewise.
75585         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75586         (__FSWORD_T_TYPE): Likewise.
75587         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75588         __SWORD_TYPE with __fsword_t.
75589         (statfs64): Likewise.
75591 2012-05-17  David S. Miller  <davem@davemloft.net>
75593         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75595 2012-05-17  Andreas Jaeger  <aj@suse.de>
75597         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75598         warning.
75600 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75602         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75604 2012-05-17  Andreas Jaeger  <aj@suse.de>
75606         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75607         when it is used.
75609 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75611         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75613 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75615         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75616         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75618 2012-05-17  Andreas Jaeger  <aj@suse.de>
75619             Carlos O'Donell  <carlos_odonell@mentor.com>
75621         [BZ #14059]
75622         * sysdeps/x86_64/multiarch/init-arch.h
75623         (bit_YMM_Usable): Rename to...
75624         (bit_AVX_Usable): ... this.
75625         (bit_FMA4_Usable): New macro.
75626         (bit_XMM_state): New macro.
75627         (bit_YMM_state): New macro.
75628         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75629         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75630         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75631         (CPUID_OSXSAVE): New macro.
75632         (CPUID_AVX): New macro.
75633         (CPUID_FMA4): New macro.
75634         (index_YMM_Usable): Rename to...
75635         (index_AVX_Usable): ... this.
75636         (HAS_AVX): Use HAS_ARCH_FEATURE.
75637         (HAS_FMA4): Likewise.
75638         (HAS_YMM_USABLE): Remove.
75639         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75640         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75641         are present.
75642         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75643         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75644         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75645         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75646         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75648 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75650         * math/libm-test.c: Support platforms without multiple rounding modes.
75651         * math/bug-nextafter.c: Support platforms without FP exceptions.
75652         * math/bug-nexttoward.c: Likewise.
75653         * math/test-fenv.c: Likewise.
75654         * math/test-misc.c: Likewise.
75655         * stdlib/bug-getcontext.c: Likewise.
75657 2012-05-17  Andreas Jaeger  <aj@suse.de>
75659         * manual/examples/search.c (critter_cmp): Change signature to
75660         avoid warnings.
75661         * manual/string.texi (Collation Functions): Likewise.
75663 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75665         * bits/types.h: Fold copyright years.
75666         * bits/typesizes.h: Likewise.
75667         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75668         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75669         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75670         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75671         * time/time.h: Likewise.
75673 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75675         [BZ #208]
75676         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75677         in instead of returning them.  Return void.
75678         (__libc_mallinfo): Accumulate over all arenas.
75679         (__malloc_stats): Adjust for change in int_mallinfo interface.
75681 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75683         [BZ #10375]
75684         * configure.in (NM): Add AC_CHECK_TOOL for it.
75685         (libc_extra_cflags): New substituted variable.
75686         Check for -fstack-protector being used implicitly.
75687         * configure: Regenerated.
75688         * config.make.in (config-extra-cflags): New variable,
75689         gets @libc_extra_cflags@.
75690         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75692         [BZ #10375]
75693         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75694         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75695         * configure: Regenerated.
75696         * config.make.in (CPPUNDEFS): New substituted variable.
75697         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75698         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75699         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75701 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75703         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75704         (mq_attr): Use __syscall_slong_t.
75706 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75708         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75709         Check __x86_64__ instead of __WORDSIZE.
75710         (_STAT_VER_LINUX): Likewise.
75711         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75712         __syscall_ulong_t and __syscall_slong_t.
75713         (stat64): Likewise.
75715 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75717         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75719 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75721         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75725         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75726         __syscall_ulong_t.
75728         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75729         include <bits/wordsize.h>.  Check __x86_64__ instead of
75730         __WORDSIZE.
75731         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75732         defined.
75733         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75735         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75736         include <bits/wordsize.h>.  Check __x86_64__ instead of
75737         __WORDSIZE.
75738         (user_regs_struct): Use "__extension__ unsigned long long"
75739         instead of "unsigned long" if __x86_64__ is defined.
75740         (user): Likewise.  Pad after pointer field if __ILP32__ is
75741         defined.
75743 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75745         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75746         versions 5 to 9.
75747         * configure: Regenerated.
75748         * manual/install.texi (texinfo): Increase version requirement to
75749         4.5 or later.
75750         * INSTALL: Regenerated.
75752         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75754 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75756         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75758         * sysdeps/x86_64/x32/ffs.c: New file.
75760         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75761         __syscall_ulong_t.
75762         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75763         defined.  Use __syscall_ulong_t.
75764         (shminfo): Use __syscall_ulong_t.
75765         (shm_info): Likewise.
75767         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75768         __syscall_ulong_t.
75770         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75771         <bits/wordsize.h>.
75772         (msgqnum_t): Use __syscall_ulong_t.
75773         (msglen_t): Likewise.
75774         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75775         __syscall_ulong_t.
75777         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75778         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75780         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75782         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75783         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75785         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75786         __syscall_slong_t.
75788         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75789         include <bits/wordsize.h>.  Check __x86_64__ instead of
75790         __WORDSIZE.
75792         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75793         "unsigned long long int" if __x86_64__ is defined.
75794         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75796         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75797         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75798         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75800         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75801         <stdint.h>.
75802         (GET_PC): Cast to uintptr_t first.
75803         (GET_FRAME): Likewise.
75804         (GET_STACK): Likewise.
75806         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75807         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75808         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75809         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75810         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75811         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75812         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75813         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75814         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75815         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75816         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75817         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75818         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75819         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75820         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75821         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75822         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75823         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75824         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75825         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75826         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75827         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75828         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75829         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75830         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75831         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75832         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75833         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75834         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75836 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75838         * Makerules (+depfiles): Also collect depfiles from .oS in
75839         $(extra-objs).
75840         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75841         .oS, $(libnldbl-routines)).
75843         * Makerules (native-compile-mkdep-flags): Define.
75844         * sunrpc/Makefile (extra-objs): Add $(addprefix
75845         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75846         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75847         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
75848         calling $(make-target-directory).
75850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75852         * bits/types.h (__snseconds_t): Removed.
75853         * time/time.h (struct timespec): Replace __snseconds_t with
75854         __syscall_slong_t.
75855         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
75856         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
75857         Likewise.
75858         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75859         (__SNSECONDS_T_TYPE): Likewise.
75860         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75861         (__SNSECONDS_T_TYPE): Likewise.
75862         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75863         (__SNSECONDS_T_TYPE): Likewise.
75865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75867         * sysdeps/mach/hurd/bits/typesizes.h
75868         (__SYSCALL_SLONG_TYPE): New macro.
75869         (__SYSCALL_ULONG_TYPE): Likewise.
75871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75873         * bits/types.h (__syscall_slong_t): New type.
75874         (__syscall_ulong_t): Likewise.
75876         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
75877         (__SYSCALL_ULONG_TYPE): Likewise.
75878         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75879         (__SYSCALL_SLONG_TYPE): Likewise.
75880         (__SYSCALL_ULONG_TYPE): Likewise.
75881         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75882         (__SYSCALL_SLONG_TYPE): Likewise.
75883         (__SYSCALL_ULONG_TYPE): Likewise.
75884         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75885         (__SYSCALL_SLONG_TYPE): Likewise.
75886         (__SYSCALL_ULONG_TYPE): Likewise.
75888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75890         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
75891         Add sigaltstack-offsets.sym.
75892         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
75893         <sigaltstack-offsets.h>.
75894         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
75895         longjmp_msg pointer.
75896         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
75897         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
75898         signal stack.
75899         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
75901 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75903         * elf/stackguard-macros.h: Remove file.
75904         * sysdeps/generic/stackguard-macros.h: New file.
75905         * sysdeps/i386/stackguard-macros.h: Likewise.
75906         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
75907         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
75908         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
75909         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
75910         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
75911         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
75912         * sysdeps/x86_64/stackguard-macros.h: Likewise.
75913         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
75914         <elf/stackguard-macros.h>.
75916         [BZ #14109]
75917         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
75918         __aligned__ in attribute.
75919         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
75920         (gregset_t): Likewise.
75922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75924         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
75925         * sysdeps/x86_64/64/Implies-after: Here.  New file.
75926         * sysdeps/x86_64/x32/Implies-after: New file.
75928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75930         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
75931         and access return value for _dl_profile_fixup.  Use R10_LP to
75932         load frame size.
75934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75936         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
75938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75940         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
75941         * sysdeps/x86_64/x32/sysdep.h: New file.
75943 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75945         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
75946         * sysdeps/x86_64/setjmp.S: Likewise.
75948 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75950         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
75951         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
75952         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
75953         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
75954         remove unused global constant.
75956 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
75958         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
75959         include of <not-cancel.h>.
75961 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75963         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
75965 2012-05-15  Jeff Law  <law@redhat.com>
75966             Andreas Jaeger  <aj@suse.de>
75968         [BZ #13594]
75969         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
75970         out from...
75971         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
75972         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
75973         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
75974         code changing __hst_map_handle.map.
75976 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75978         * configure.in (sysnames): Look for Implies-before and Implies-after
75979         files.
75980         * configure: Regenerated.
75982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75984         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
75985         8-byte data alignment with LP_SIZE alignment.
75987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75989         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
75990         into R10_LP.
75992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75994         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
75996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75998         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
75999         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76000         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76001         Likewise.
76002         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76006         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76007         (stackinfo_sub_sp): Likewise.
76009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76011         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76012         RAX_LP.
76014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76016         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76017         into R*_LP.
76019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76021         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76022         sizes into R*_LP.
76024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76026         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76030         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76031         into R11_LP and load __x86_64_shared_cache_size_half into
76032         R8_LP.
76034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76036         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76037         R8_LP.
76039 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76041         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76042         logb for POWER7.
76043         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76044         logbf for POWER7.
76045         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76046         logbl for POWER7.
76047         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76048         powerpc32/power7/fpu/s_logb.c via #include.
76049         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76050         powerpc32/power7/fpu/s_logbf.c via #include.
76051         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76052         powerpc32/power7/fpu/s_logbl.c via #include.
76054 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76056         * README.libm: Remove file.
76058 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76060         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76061         count for x32.  Use R*_LP and omit operand-size suffix.
76063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76065         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76066         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76067         * sysdeps/x86_64/x32/shlib-versions: New file.
76069 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76071         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76072         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76073         Use _dl_fatal_printf instead.
76075 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76077         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76078         set if not set by the user.  Do not allow for being unset.
76079         * sysdeps/unix/sysv/linux/configure: Regenerated.
76081 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76083         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76084         the `q' suffix from lea and replace .quad with ASM_ADDR.
76086 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76088         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76089         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76090         instead of $17.
76091         (PTR_DEMANGLE): Likewise.
76093 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76095         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76096         (LP_OP): Likewise.
76097         (ASM_ADDR): Likewise.
76098         (RAX_LP): Likewise.
76099         (RBP_LP): Likewise.
76100         (RBX_LP): Likewise.
76101         (RCX_LP): Likewise.
76102         (RDI_LP): Likewise.
76103         (RSI_LP): Likewise.
76104         (RSP_LP): Likewise.
76105         (R8_LP): Likewise.
76106         (R9_LP): Likewise.
76107         (R10_LP): Likewise.
76108         (R10_LP): Likewise.
76109         (R11_LP): Likewise.
76110         (R12_LP): Likewise.
76111         (R13_LP): Likewise.
76112         (R14_LP): Likewise.
76113         (R15_LP): Likewise.
76115 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76117         * sysdeps/x86_64/x32/dl-machine.h: New file.
76119 2012-05-14  Andreas Jaeger  <aj@suse.de>
76121         * manual/Makefile (subdir): Remove export of subdir.
76122         (all): Remove target.
76123         (.PHONY): Remove all from list.
76124         (mkinstalldirs): Remove.
76125         (.PHONY): Remove installdirs from list.
76126         ($(inst_infodir)/libc.info): Use make-target-directory.
76127         (installdirs): Remove.
76128         (subdir_%): Remove.
76129         (glibc-targets): Remove.
76130         (lib): Remove.
76131         (stubs): Remove.
76132         ($(objpfx)stubs ../po/manual.pot): Remove.
76133         ($(objpfx)stamp%): Remove.
76134         (make-target-directory): Remove.
76135         (subdir_install): Remove.
76136         (routines): Remove.
76137         (aux): Remove.
76138         (sources): Remove.
76139         (objects): Remove.
76140         (headers): Remove.
76142         [BZ #13750]
76143         * manual/.gitignore: Remove, it's not needed anymore.
76144         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76145         all files in it.
76146         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76147         directory.
76148         (texis): Renamed to $(objpfx)texis.
76149         (texis-path): New, contains path to generated files.
76150         (chapters.%): Use texis-path for complete path, add extra argument
76151         libc-texinfo.sh.
76152         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76153         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76154         (summary,texi, stamp-summary): Use complete path of
76155         files. Generate files in build dir.
76156         (dir-add.texi): Build in build dir.
76157         (libm-err.texi,stamp-libm-err): Likewise.
76158         (version.texi, stamp-version): Likewise.
76159         (.%c.texi): Likewise.
76160         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76161         (mostlyclean): Remove target.
76162         (realclean): Remove target.
76163         (generated): Add new variable with contents from mostlyclean and
76164         realclean, remove entries duplicated in common-mostlyclean, add
76165         stamp-libm-err and stamp-version.
76166         (generated-dirs): Add libc directory.
76167         ($(inst_infodir)/libc.info): Install files from build dir.
76169         * manual/install.texi (Configuring and compiling): Adjust since
76170         the info files are not part of the tar ball anymore.
76172 2012-05-14  Andreas Jaeger  <aj@suse.de>
76174         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76175         variable.
76177 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76179         [BZ #13717]
76180         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76181         to 2.2.0 where earlier.
76182         * sysdeps/unix/sysv/linux/configure: Regenerated.
76183         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76184         Remove conditional code.
76185         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76186         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76187         Remove conditional code.
76188         [!__NR_lchown]: Likewise.
76189         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76190         [__NR_lchown]: Likewise.
76191         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76192         comment referencing __ASSUME_LCHOWN_SYSCALL.
76193         * sysdeps/unix/sysv/linux/i386/sigaction.c
76194         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76195         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76196         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76197         Remove conditional code.
76198         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76199         (__protocol_available): Remove #if 0 code.
76200         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76201         conditional code.
76202         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76203         * sysdeps/unix/sysv/linux/kernel-features.h
76204         (__ASSUME_GETCWD_SYSCALL): Don't define.
76205         (__ASSUME_REALTIME_SIGNALS): Likewise.
76206         (__ASSUME_PREAD_SYSCALL): Likewise.
76207         (__ASSUME_PWRITE_SYSCALL): Likewise.
76208         (__ASSUME_POLL_SYSCALL): Likewise.
76209         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76210         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76211         non-SPARC.
76212         (__ASSUME_SIOCGIFNAME): Don't define.
76213         (__ASSUME_MSG_NOSIGNAL): Likewise.
76214         (__ASSUME_SENDFILE): Define unconditionally.
76215         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76216         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76217         conditional code.
76218         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76219         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76220         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76221         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76222         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76223         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76224         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76226         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76229         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76232         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76233         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76235         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76238         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76239         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76241         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76242         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76244         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76245         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76247         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76248         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76249         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76250         Remove conditional code.
76251         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76252         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76253         Remove conditional code.
76254         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76255         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76256         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76257         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76258         Remove conditional code.
76259         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76260         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76261         Remove conditional code.
76262         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76263         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76264         Remove conditional code.
76265         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76266         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76267         Remove conditional code.
76268         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76269         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76270         Remove conditional code.
76271         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76272         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76273         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76274         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76275         * sysdeps/unix/sysv/linux/sigaction.c
76276         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76277         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76278         * sysdeps/unix/sysv/linux/sigpending.c
76279         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76280         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76281         * sysdeps/unix/sysv/linux/sigprocmask.c
76282         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76283         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76284         * sysdeps/unix/sysv/linux/sigsuspend.c
76285         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76286         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76287         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76288         (__libc_missing_rt_sigs): Remove.
76289         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76290         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76291         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76292         Remove conditional code.
76293         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76294         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76295         return 1.
76296         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76297         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76298         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76299         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76301 2012-05-14  Andreas Jaeger  <aj@suse.de>
76303         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76304         it's not used in glibc.
76305         (__coshm1): Likewise.
76306         (__acosh1p): Likewise.
76307         (__sgn): Likewise.
76309         * manual/string.texi (Copying and Concatenation): Add missing
76310         variable in concat example.
76311         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76313 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76315         [BZ #14103]
76316         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76317         __builtin_clzl with __builtin_clzll.
76319 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76321         [BZ #14104]
76322         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76323         libc_freeres_ptr.
76325 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76327         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76328         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76329         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76330         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76332 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76334         * NEWS: Update ia64 info.
76336 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76338         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76339         used as bcopy.
76341 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76343         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76344         * sysdeps/unix/syscalls.list (dup3): Likewise.
76345         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76346         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76348 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76350         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76351         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76353 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76355         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76356         thread pointer.
76357         (TLS_IE): Use mov/add instead of movq/addq to load thread
76358         pointer.
76359         (TLS_GD_PREFIX): New.
76360         (TLS_GD): Use it.
76362 2012-05-11  David S. Miller  <davem@davemloft.net>
76364         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76365         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76366         (_FPU_SETCW): Likewise.
76368 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76370         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76371         is 32-byte aligned.
76373 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76375         [BZ #11837]
76376         * iconvdata/gb18030.c: Update tables.
76377         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76378         characters specially.
76379         (BODY for TO_LOOP): Add encoding of missing ranges.
76381 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76383         [BZ #13673]
76384         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76385         * sysdeps/mach/hurd/dup3.c: Likewise.
76386         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76387         * sysdeps/powerpc/memmove.c:: Likewise.
76389 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76391         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76392         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76394 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76396         * elf/elf.h (R_X86_64_RELATIVE64): New.
76397         (R_X86_64_NUM): Updated.
76398         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76399         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76400         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76401         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76402         tst-quad1pie tst-quad2pie
76403         (modules-names): Add tst-quadmod1 tst-quadmod2.
76404         ($(objpfx)tst-quad1): New dependency.
76405         ($(objpfx)tst-quad2): Likewise.
76406         ($(objpfx)tst-quad1pie): Likewise.
76407         ($(objpfx)tst-quad2pie): Likewise.
76408         * sysdeps/x86_64/tst-quad1.c: New file.
76409         * sysdeps/x86_64/tst-quad1pie.c: New file.
76410         * sysdeps/x86_64/tst-quad2.c: Likewise.
76411         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76412         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76413         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76414         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76415         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76419         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76420         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76421         * streams/stropts.h (t_scalar_t): Define type.
76423         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76424         (_PATH_PRESERVE): Set to "/var/lib".
76425         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76427         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76428         instead of int.
76430         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76431         if __dir_mkfile succeeded.
76433         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76434         checking for _hurd_dtablesize.  Unlock it right after having
76435         finished _hurd_dtable allocation.
76437 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76439         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76440         * sysdeps/mach/hurd/configure: Regenerated.
76441         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76442         special-casing to...
76443         * sysdeps/gnu/configure.in: ... this new file.
76444         * sysdeps/unix/sysv/linux/configure: Regenerated.
76445         * sysdeps/gnu/configure: New generated file.
76447         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76448         for Linux: use nsec instead of usec, as well as:
76449         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76450         members of type struct timespec.
76451         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76452         New macros.
76453         (struct stat64): Likewise.
76454         (_STATBUF_ST_NSEC): New macro.
76455         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76457         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76458         __strtoul_internal rather than strtoul.
76460 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76462         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76463         and reject them.
76465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76467         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76468         which preserves existing values.
76469         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76471 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76473         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76474         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76475         greater than FD_SETSIZE.
76477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76479         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76480         allocated, call __vm_protect to finish enabling the existing space, and
76481         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76482         allocate the remainder.
76484 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76486         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76487         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76491         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76492         sysdeps/mach/hurd/readlink.c.
76494         * posix/tst-sysconf.c (posix_options): Only use
76495         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76496         _POSIX_SYNCHRONIZED_IO when they are defined
76497         * sysdeps/mach/hurd/bits/posix_opt.h:
76498         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76499         (_XOPEN_REALTIME): Undefine macro.
76500         (_XOPEN_REALTIME_THREADS): Undefine macro.
76501         (_XOPEN_SHM): Undefine macro.
76502         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76503         macro to -1.
76504         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76505         macro to -1.
76506         (_POSIX_ASYNC_IO): Undefine macro.
76507         (_POSIX_PRIORITIZED_IO): Undefine macro.
76508         (_POSIX_SPIN_LOCKS): Define macro to -1.
76510         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76511         SA_NODEFER, SA_RESETHAND.
76512         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76513         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76514         F_DUPFD_CLOEXEC.
76516 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76518         * elf/Makefile (pldd-modules): Define unconditionally.
76520 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76522         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76524 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76526         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76527         Return ENOENT when name is empty.
76528         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76530 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76532         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76534         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76536 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76538         Fix mlock in all cases except non-readable pages.
76539         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76540         instead of VM_PROT_ALL as parameter to __vm_wire function.
76542         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76543         (__mkdir): When path is `/', just fail with EEXIST.
76544         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76546 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76548         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76549         <sys/uio.h> (for writev).
76550         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76551         and <sys/param.h> (for MIN).
76553 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76555         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76556         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76557         if interrupted.
76559 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76561         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76562         Depend on against $(link-rpcuserlibs).
76564 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76566         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76567         (__libc_stack_end): Do not use attribute_relro.
76568         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76569         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76570         to libthread-provided value.
76571         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76572         attribute_relro.
76574 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76576         [BZ #3748]
76577         * bits/libc-lock.h (__libc_once_get): New macro.
76578         * sysdeps/mach/bits/libc-lock.h: Likewise.
76579         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76580         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76581         instead of using implementation details.
76583         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76584         * libio/freopen.c: Likewise.
76585         * libio/freopen64.c: Likewise.
76586         * misc/syslog.c: Likewise.
76587         * nscd/connections.c: Likewise.
76588         * nscd/netgroupcache.c: Likewise.
76589         * sysdeps/posix/getcwd.c: Likewise.
76591 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76593         * math/w_ilogbf.c: Add #include <limits.h>.
76595 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76597         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76598         path instead of returning without unlocking.
76600         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76601         immediate-write ioctls.
76602         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76604 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76606         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76607         __builtin_frame_address instead of making assumptions about the
76608         location of the return address relative to DATA.  Force early load of
76609         the return address.
76610         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76611         __builtin_frame_address.
76613         dup3 for GNU Hurd.
76614         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76615         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76616         implement dup3 and do some further code clean-ups.
76617         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76618         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76622         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76624         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76625         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76626         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76627         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76628         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76629         d->port.lock.
76631         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76632         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76633         when handler == SIG_ERR, not when handler != SIG_ERR.
76635 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76637         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76638         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76639         definitions.
76641         accept4 for GNU Hurd.
76642         * include/sys/socket.h (__libc_accept4): New prototype.
76643         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76644         to implement __libc_accept4.
76645         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76646         __libc_accept4.
76647         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76649         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76650         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76651         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76652         signal-defines.sym.
76654 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76656         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76658 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76660         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76661         assertion on O_CLOEXEC flag.
76662         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76663         * hurd/intern-fd.c: Likewise.
76664         * hurd/port2fd.c: Likewise.
76666 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76668         [BZ #3906]
76669         * bits/in.h (IPV6_PKTINFO): Define new macro.
76670         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76672 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76674         [BZ #13954]
76675         [BZ #13955]
76676         [BZ #13956]
76677         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76678         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76679         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76680         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76681         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76682         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76683         * math/libm-test.inc (logb_test) : Additional logb tests.
76685 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76686             Andreas Jaeger  <aj@suse.de>
76688         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76689         * configure: Regenerated.
76690         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76691         * config.make.in (link-obsolete-rpc): New substituted variable.
76692         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76693         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76694         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76695         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76696         so that libc.a contains the symbols.
76697         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76698         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76699         * sunrpc/auth_none.c: Likewise.
76700         * sunrpc/auth_unix.c: Likewise.
76701         * sunrpc/authdes_prot.c: Likewise.
76702         * sunrpc/authuxprot.c: Likewise.
76703         * sunrpc/clnt_gen.c: Likewise.
76704         * sunrpc/clnt_perr.c: Likewise.
76705         * sunrpc/clnt_raw.c: Likewise.
76706         * sunrpc/clnt_simp.c: Likewise.
76707         * sunrpc/clnt_tcp.c: Likewise.
76708         * sunrpc/clnt_udp.c: Likewise.
76709         * sunrpc/clnt_unix.c: Likewise.
76710         * sunrpc/des_crypt.c: Likewise.
76711         * sunrpc/des_soft.c: Likewise.
76712         * sunrpc/get_myaddr.c: Likewise.
76713         * sunrpc/key_call.c: Likewise.
76714         * sunrpc/key_prot.c: Likewise.
76715         * sunrpc/netname.c: Likewise.
76716         * sunrpc/pm_getmaps.c: Likewise.
76717         * sunrpc/pm_getport.c: Likewise.
76718         * sunrpc/pmap_clnt.c: Likewise.
76719         * sunrpc/pmap_prot.c: Likewise.
76720         * sunrpc/pmap_prot2.c: Likewise.
76721         * sunrpc/pmap_rmt.c: Likewise.
76722         * sunrpc/publickey.c: Likewise.
76723         * sunrpc/rpc_cmsg.c: Likewise.
76724         * sunrpc/rpc_common.c: Likewise.
76725         * sunrpc/rpc_dtable.c: Likewise.
76726         * sunrpc/rpc_prot.c: Likewise.
76727         * sunrpc/rpc_thread.c: Likewise.
76728         * sunrpc/rtime.c: Likewise.
76729         * sunrpc/svc.c: Likewise.
76730         * sunrpc/svc_auth.c: Likewise.
76731         * sunrpc/svc_raw.c: Likewise.
76732         * sunrpc/svc_run.c: Likewise.
76733         * sunrpc/svc_tcp.c: Likewise.
76734         * sunrpc/svc_udp.c: Likewise.
76735         * sunrpc/svc_unix.c: Likewise.
76736         * sunrpc/svcauth_des.c: Likewise.
76737         * sunrpc/xcrypt.c: Likewise.
76738         * sunrpc/xdr.c: Likewise.
76739         * sunrpc/xdr_array.c: Likewise.
76740         * sunrpc/xdr_float.c: Likewise.
76741         * sunrpc/xdr_intXX_t.c: Likewise.
76742         * sunrpc/xdr_mem.c: Likewise.
76743         * sunrpc/xdr_rec.c: Likewise.
76744         * sunrpc/xdr_ref.c: Likewise.
76745         * sunrpc/xdr_sizeof.c: Likewise.
76746         * sunrpc/xdr_stdio.c: Likewise.
76748 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76750         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76751         change.  Update copyright years.
76753 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76755         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76757 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76758             Joseph Myers  <joseph@codesourcery.com>
76759             Paul Pluzhnikov  <ppluzhnikov@google.com>
76761         [BZ #14012]
76762         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76763         requiring rpcgen.
76764         [cross-compiling] (extra-libs): Likewise.
76765         [cross-compiling] (extra-libs-others): Likewise.
76766         [cross-compiling] (librpcsvc-routines): Likewise.
76767         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76768         [cross-compiling] (omit-deps): Likewise.
76769         (sunrpc-CPPFLAGS): New variable.
76770         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76771         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76772         (cross-rpcgen-objs): New variable.
76773         (extra-objs): Append $(cross-rpcgen-objs).
76774         ($(cross-rpcgen-objs)): New rule.
76775         ($(objpfx)cross-rpcgen): Likewise.
76776         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76777         comment.
76778         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76779         ($(objpfx)x%.stmp): Likewise.
76780         * sunrpc/proto.h [IS_IN_build] (_): Define.
76781         [IS_IN_build] (_libc_intl_domainname): Likewise.
76783 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76785         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76786         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76787         and R_X86_64_TPOFF64.
76789 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76791         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76792         sysdeps/unix/sysv/syscalls.list.
76793         (stime): Likewise.
76794         (utime): Likewise.
76795         * sysdeps/unix/sysv/syscalls.list: Remove file.
76797 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76799         [BZ #3440]
76800         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76801         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76802         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76803         (__LC_IDENTIFICATION): Make these macros useful in #if
76804         expressions, as required by C99.
76806 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76808         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76809         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76810         after this.
76812 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76814         * stdlib/longlong.h: Updated from GCC.
76816 2012-05-09  Andreas Jaeger  <aj@suse.de>
76818         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76819         default is first entry.
76820         (run_mode): Set type.
76821         (main): Remove informal message about syslog.
76822         (options): Fix typo.
76824         [BZ #14053]
76825         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76826         to asm.
76827         (lrint): Likewise.
76828         (llrintf): Likewise.
76829         (llrint): Likewise.
76830         (rint): Likewise.
76831         (rintf): Likewise.
76832         (nearbyint): Likewise.
76833         (nearbyintf): Likewise.
76835 2012-05-09  Andreas Jaeger  <aj@suse.de>
76836             Pedro Alves  <palves@redhat.com>
76838         * nscd/nscd.c (run_mode): Use enum.
76839         (main): Cleanup coding style issue.
76841 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76842             Andreas Jaeger  <aj@suse.de>
76844         * nscd/nscd.c (go_background): Replaced with...
76845         (run_mode): ... this.
76846         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76847         (options): Add -F --foreground.
76848         (main): Implement it.
76849         (parse_opt): Parse it.
76851 2012-05-09  Andreas Jaeger  <aj@suse.de>
76853         [BZ #14083]
76854         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
76855         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
76856         -Wconversion warning.
76857         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
76858         Likewise.
76860 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
76862         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
76863         == 0.
76864         (LC_ALL): Use macro-int-constant.
76865         (LC_COLLATE): Likewise.
76866         (LC_CTYPE): Likewise.
76867         (LC_MESSAGES): Likewise.
76868         (LC_MONETARY): Likewise.
76869         (LC_NUMERIC): Likewise.
76870         (LC_TIME): Likewise.
76871         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
76872         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76873         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76874         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
76875         Specify type.
76876         [C99-based standards] (float_t): Expect type.
76877         [C99-based standards] (double_t): Expect type.
76878         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
76879         type.
76880         [C99-based standards] (HUGE_VALL): Likewise.
76881         [C99-based standards] (INFINITY): Likewise.
76882         [C99-based standards] (NAN): Likewise.
76883         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
76884         [C99-based standards] (FP_NAN): Likewise.
76885         [C99-based standards] (FP_NORMAL): Likewise.
76886         [C99-based standards] (FP_SUBNORMAL): Likewise.
76887         [C99-based standards] (FP_ZERO): Likewise.
76888         [C99-based standards] (FP_FAST_FMA): Use
76889         optional-macro-int-constant.  Specify type.  Require == 1.
76890         [C99-based standards] (FP_FAST_FMAF): Likewise.
76891         [C99-based standards] (FP_FAST_FMAL): Likewise.
76892         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
76893         [C99-based standards] (FP_ILOGBNAN): Likewise.
76894         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
76895         Specify type.
76896         [C99-based standards] (MATH_ERREXCEPT): Likewise.
76897         [C99-based standards] (math_errhandling): Specify type.
76898         [ISO99 || ISO11] (signgam): Do not allow.
76899         [non-C99-based standards] (copysignf): Do not allow.
76900         [non-C99-based standards] (exp2f): Likewise.
76901         [non-C99-based standards] (log2f): Likewise.
76902         [non-C99-based standards] (modff): Allow.
76903         [non-C99-based standards] (erff): Do not allow.
76904         [non-C99-based standards] (erfcf): Likewise.
76905         [non-C99-based standards] (gammaf): Likewise.
76906         [non-C99-based standards] (hypotf): Likewise.
76907         [non-C99-based standards] (j0f): Likewise.
76908         [non-C99-based standards] (j1f): Likewise.
76909         [non-C99-based standards] (jnf): Likewise.
76910         [non-C99-based standards] (lgammaf): Likewise.
76911         [non-C99-based standards] (tgammaf): Likewise.
76912         [non-C99-based standards] (y0f): Likewise.
76913         [non-C99-based standards] (y1f): Likewise.
76914         [non-C99-based standards] (ynf): Likewise.
76915         [non-C99-based standards] (isnanf): Likewise.
76916         [non-C99-based standards] (acoshf): Likewise.
76917         [non-C99-based standards] (asinhf): Likewise.
76918         [non-C99-based standards] (atanhf): Likewise.
76919         [non-C99-based standards] (cbrtf): Likewise.
76920         [non-C99-based standards] (expm1f): Likewise.
76921         [non-C99-based standards] (ilogbf): Likewise.
76922         [non-C99-based standards] (log1pf): Likewise.
76923         [non-C99-based standards] (logbf): Likewise.
76924         [non-C99-based standards] (nextafterf): Likewise.
76925         [non-C99-based standards] (remainderf): Likewise.
76926         [non-C99-based standards] (rintf): Likewise.
76927         [non-C99-based standards] (scalbf): Likewise.
76928         [non-C99-based standards] (copysignl): Likewise.
76929         [non-C99-based standards] (exp2l): Likewise.
76930         [non-C99-based standards] (log2l): Likewise.
76931         [non-C99-based standards] (modfl): Allow.
76932         [non-C99-based standards] (erfl): Do not allow.
76933         [non-C99-based standards] (erfcl): Likewise.
76934         [non-C99-based standards] (gammal): Likewise.
76935         [non-C99-based standards] (hypotl): Likewise.
76936         [non-C99-based standards] (j0l): Likewise.
76937         [non-C99-based standards] (j1l): Likewise.
76938         [non-C99-based standards] (jnl): Likewise.
76939         [non-C99-based standards] (lgammal): Likewise.
76940         [non-C99-based standards] (tgammal): Likewise.
76941         [non-C99-based standards] (y0l): Likewise.
76942         [non-C99-based standards] (y1l): Likewise.
76943         [non-C99-based standards] (ynl): Likewise.
76944         [non-C99-based standards] (isnanl): Likewise.
76945         [non-C99-based standards] (acoshl): Likewise.
76946         [non-C99-based standards] (asinhl): Likewise.
76947         [non-C99-based standards] (atanhl): Likewise.
76948         [non-C99-based standards] (cbrtl): Likewise.
76949         [non-C99-based standards] (expm1l): Likewise.
76950         [non-C99-based standards] (ilogbl): Likewise.
76951         [non-C99-based standards] (log1pl): Likewise.
76952         [non-C99-based standards] (logbl): Likewise.
76953         [non-C99-based standards] (nextafterl): Likewise.
76954         [non-C99-based standards] (remainderl): Likewise.
76955         [non-C99-based standards] (rintl): Likewise.
76956         [non-C99-based standards] (scalbl): Likewise.
76957         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76958         [non-C99-based standards] (FP_*): Do not allow.
76959         [C99-based standards] (FP_*): Change to
76960         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76961         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76962         allow.
76963         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
76964         (SIG_ERR): Likewise.
76965         [X/Open-based standards] (SIG_HOLD): Likewise.
76966         (SIG_IGN): Likewise.
76967         (SIGABRT): Use macro-int-constant.  Specify type.  Require
76968         positive value.
76969         (SIGFPE): Likewise.
76970         (SIGILL): Likewise.
76971         (SIGINT): Likewise.
76972         (SIGSEGV): Likewise.
76973         (SIGTER): Likewise.
76974         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
76975         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
76976         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
76977         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
76978         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
76979         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
76980         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
76981         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
76982         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
76983         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
76984         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
76985         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
76986         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
76987         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
76988         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
76989         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
76990         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
76991         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
76992         [X/Open-based standards] (SIGTRAP): Likewise.
76993         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
76994         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
76995         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
76996         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
76997         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76998         allow.
77000 2012-05-08  Ian Wienand  <ianw@vmware.com>
77002         [BZ #14080]
77003         * time/tzset.c (__tzset_parse_tz): Update default rules for
77004         daylight time changes in the Energy Policy Act of 2005.
77006 2012-05-09  Andreas Jaeger  <aj@suse.de>
77008         [BZ #13983]
77009         * elf/ldconfig.c (parse_conf): Change string to make clear that
77010         ldconfig only issued a warning if ld.so.conf does not exist.
77012 2012-05-08  David S. Miller  <davem@davemloft.net>
77014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77015         movxtod instead of popping the value on the stack.
77017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77019 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77021         * config.h.in: Add HAVE_ARM_PCS_VFP.
77023 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77025         [BZ #13979]
77026         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77027         checking but the checks are disabled for any reason.
77029 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77031         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77032         and ELF64_R_TYPE with ELFW(R_TYPE).
77034 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77036         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77037         (ulimit): Likewise.
77039         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77040         (settimeofday): Likewise.
77042 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77044         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77045         a struct th_u2 inside the union, and move tu_block/tu_code into
77046         a new th_u3 union of tu_block/tu_code inside of that.  Move
77047         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77048         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77049         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77050         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77051         (th_stuff): Change to th_u1.tu_stuff.
77052         (th_data): Define.
77053         (th_msg): Change to th_u1.th_u2.tu_data.
77055 2012-05-07  David S. Miller  <davem@davemloft.net>
77057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77059         [BZ #14074]
77060         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77061         (SETUP_PIC_REG): Use it.
77062         (SETUP_PIC_REG_LEAF): Use it.
77064 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77066         [BZ #13885]
77067         [BZ #13923]
77068         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77069         USE_AS_EXPM1L.
77070         (EXPL_FINITE): Likewise.
77071         (FLDLOG): Likewise.
77072         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77073         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77074         e_expl.S.
77075         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77076         USE_AS_EXPM1L.
77077         (EXPL_FINITE): Likewise.
77078         (FLDLOG): Likewise.
77079         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77080         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77081         e_expl.S.
77082         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77083         test of -max_value argument for long double.
77084         * sysdeps/i386/fpu/libm-test-ulps: Update.
77085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77087 2012-05-06  David S. Miller  <davem@davemloft.net>
77089         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77090         quad soft-float symbols whose references which are compiler
77091         generated.
77092         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77094 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77096         [BZ #13884]
77097         [BZ #13914]
77098         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77099         USE_AS_EXP10L.
77100         (EXPL_FINITE): Likewise.
77101         (FLDLOG): Likewise.
77102         (c0): Likewise.
77103         (c1): Likewise.
77104         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77105         Adjust comments for base varying.
77106         (__expl_finite): Change alias to EXPL_FINITE.
77107         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77108         e_expl.S.
77109         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77110         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77111         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77112         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77113         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77114         USE_AS_EXP10L.
77115         (EXPL_FINITE): Likewise.
77116         (FLDLOG): Likewise.
77117         (c0): Likewise.
77118         (c1): Likewise.
77119         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77120         Adjust comments for base varying.
77121         (__expl_finite): Change alias to EXPL_FINITE.
77122         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77123         tests for bugs.
77124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77126         [BZ #14064]
77127         * math/libm-test.inc (check_float_internal): Correct ulp
77128         calculation for subnormal expected results.
77130 2012-05-06  Andreas Jaeger  <aj@suse.de>
77132         * Makeconfig (+math-flags): New, set to -frounding-math.
77133         (+cflags): Add +math-flags so that all of glibc gets compiled with
77134         it.
77136         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77138 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77140         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77141         Disable one test.
77143         [BZ #13787]
77144         [BZ #13922]
77145         [BZ #14036]
77146         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77147         (__ieee754_expl): Allow for and saturate large arguments.
77148         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77149         (u_threshold): Likewise.
77150         (__exp): Call __ieee754_exp before checking for overflow and
77151         underflow.
77152         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77153         (u_threshold): Likewise.
77154         (__expf): Call __ieee754_expf before checking for overflow and
77155         underflow.
77156         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77157         (u_threshold): Likewise.
77158         (__expl): Call __ieee754_expl before checking for overflow and
77159         underflow.
77160         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77161         (__ieee754_expl): Allow for and saturate large arguments.
77162         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77163         missing overflow exception on overflow.
77164         (expm1_test): Do not allow missing overflow exception on overflow.
77166         * sysdeps/i386/fpu/e_expl.c: Move to ...
77167         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77168         rather than using inline asm.
77169         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77170         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77171         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77173         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77174         (nice): Likewise.
77175         (poll): Likewise.
77176         (signal): Likewise.
77177         (time): Likewise.
77178         (times): Likewise.
77180 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77182         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77183         sysdeps/unix/common/syscalls.list.
77184         (fchmod): Likewise.
77185         (fchown): Likewise.
77186         (ftruncate): Likewise.
77187         (getrusage): Likewise.
77188         (gettimeofday): Likewise.
77189         (setpgid): Likewise.
77190         (setregid): Likewise.
77191         (setreuid): Likewise.
77192         (sigaction): Likewise.
77193         (truncate): Likewise.
77194         (vhangup): Likewise.
77195         * sysdeps/unix/common/syscalls.list: Remove file.
77196         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77197         * sysdeps/unix/sysv/linux/Implies: Likewise.
77199 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77201         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77203         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77204         Moved to ...
77205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77206         Here.
77207         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77208         to ...
77209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77210         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77211         to ...
77212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77213         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77214         to ...
77215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77216         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77217         to ...
77218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77219         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77220         to ...
77221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77222         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77223         to ...
77224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77225         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77226         to ...
77227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77228         Here.
77229         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77230         to ...
77231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77232         Here.
77233         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77234         to ...
77235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77236         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77237         Moved to ...
77238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77239         Here.
77240         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77241         to ...
77242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77244 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77246         * sysdeps/unix/common/bits/dirent.h: Remove file.
77247         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77249         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77250         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77251         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77252         * sysdeps/unix/bsd/isatty.c: Likewise.
77253         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77254         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77255         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77257 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77259         [BZ #13563]
77260         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77261         long double comparison inaccuracies.
77262         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77265 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77267         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77268         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77270 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77272         [BZ #14049]
77273         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77274         nonzero digits before rounding a hex value.
77275         * stdlib/tst-strtod.c (tests): Add another test.
77277 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77279         * sysdeps/s390/fpu/libm-test-ulps: Update.
77281 2012-05-03  Andreas Jaeger  <aj@suse.de>
77283         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77284         does not get optimized out.
77285         (malloc_opt_barrier): New.
77287 2012-05-03  Andreas Jaeger  <aj@suse.de>
77288             Roland McGrath  <roland@hack.frob.com>
77290         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77291         intermediate file deletion.
77292         (generated): Add .symlist files.
77294 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77296         [BZ #13775]
77297         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77298         Redirect under this condition.
77299         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77300         [__USE_GNU] (__dprintf_chk): Not under this condition.
77301         [__USE_GNU] (__vdprintf_chk): Likewise.
77302         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77303         under this condition.
77304         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77305         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77306         [__USE_XOPEN2K8] (vdprintf): Likewise.
77307         [__USE_GNU] (__dprintf_chk): Not under this condition.
77308         [__USE_GNU] (__vdprintf_chk): Likewise.
77309         [__USE_GNU] (dprintf): Likewise.
77310         [__USE_GNU] (vdprintf): Likewise.
77312 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77314         * elf/Makefile (common-generated): Set this instead of generated for
77315         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77316         $(all-built-dso)-derived lists.
77318 2012-05-03  Andreas Jaeger  <aj@suse.de>
77320         * sysdeps/i386/fpu/libm-test-ulps: Update.
77322         * FAQ: Removed.
77323         * FAQ.in: Likewise.
77324         * scripts/gen-FAQ.pl: Likewise.
77325         * manual/install.texi (Installation): Point to online location of
77326         FAQ.
77327         * Makefile (files-for-dist): Remove FAQ.
77328         (FAQ): Remove.
77330 2012-05-02  Allan McRae  <allan@archlinux.org>
77332         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77333         (LDFLAGS-reldepmod5.so): Likewise.
77334         (LDFLAGS-reldep6mod1.so): Likewise.
77335         (LDFLAGS-reldep6mod4.so): Likewise.
77336         (LDFLAGS-reldep8mod3.so): Likewise.
77337         (LDFLAGS-unload4mod1.so): Likewise.
77338         (LDFLAGS-unload4mod2.so): Likewise.
77339         (LDFLAGS-tst-initorder): Likewise.
77340         (LDFLAGS-tst-initordera2.so): Likewise.
77341         (LDFLAGS-tst-initordera3.so): Likewise.
77342         (LDFLAGS-tst-initordera4.so): Likewise.
77343         (LDFLAGS-tst-initorderb2.so): Likewise.
77344         (LDFLAGS-noload): Likewise.
77345         (LDFLAGS-next): Likewise.
77346         (LDFLAGS-order2mod1.so): Likewise.
77347         (LDFLAGS-order2mod2.so): Likewise.
77348         (LDFLAGS-tst-initorder2): Likewise.
77349         (LDFLAGS-tst-initorder2a.so): Likewise.
77350         (LDFLAGS-tst-initorder2b.so): Likewise.
77351         (LDFLAGS-tst-initorder2c.so): Likewise.
77352         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77354 2012-05-02  David S. Miller  <davem@davemloft.net>
77356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77358 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77360         [BZ #14055]
77361         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77363 2012-05-02  Andreas Jaeger  <aj@suse.de>
77365         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77366         since we manipulate rounding mode.
77367         (CPPFLAGS-test-idouble.c): Likewise.
77368         (CPPFLAGS-test-ifloat.c): Likewise.
77369         (CFLAGS-test-ldouble.c): Likewise.
77370         (CFLAGS-test-double.c): Likewise.
77371         (CFLAGS-test-float.c): Likewise.
77372         (CFLAGS-test-misc.c): Likewise.
77373         (CFLAGS-test-test-fenv.c): Likewise.
77375 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77377         [BZ #2550]
77378         [BZ #2570]
77379         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77380         comparisons to determine direction to adjust input.
77382 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77384         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77385         output to the target.
77387         * scripts/localplt.awk: New file.
77388         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77389         (check-localplt-CFLAGS): Variable removed.
77390         ($(all-built-dso:=.jmprel)): New static pattern rule.
77391         (generated): Add those targets.
77392         (localplt-built-dso): New variable.
77393         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77395         * elf/check-localplt.c: File removed.
77397         * scripts/check-execstack.awk: New file.
77398         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77399         (check-execstack-CFLAGS): Variable removed.
77400         ($(objpfx)check-execstack.h): Target removed.
77401         ($(objpfx)execstack-default): New target.
77402         (generated): Add that instead of check-execstack.h.
77403         ($(all-built-dso:=.phdr)): New static pattern rule.
77404         (generated): Add those targets.
77405         * elf/check-execstack.c: File removed.
77407         * scripts/check-textrel.awk: New file.
77408         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77409         (check-textrel-CFLAGS): Variable removed.
77410         (all-built-dso): Use := to define.o
77411         ($(all-built-dso:=.dyn)): New static pattern rule.
77412         (generated): Add those targets.
77413         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77414         * config.make.in (READELF): New substituted variable.
77415         * elf/check-textrel.c: File removed.
77417 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77419         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77420         allow.
77421         * conform/data/ctype.h-data [C99-based standards] (isblank):
77422         Expect function.
77423         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77424         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77425         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77426         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77427         Specify type.  Require positive value.
77428         (EILSEQ): Likewise.
77429         (ERANGE): Likewise.
77430         [ISO || POSIX] (EILSEQ): Do not expect.
77431         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77432         Specify type.  Require positive value.
77433         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77434         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77435         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77436         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77437         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77438         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77439         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77440         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77441         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77442         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77443         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77444         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77445         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77446         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77447         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77448         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77449         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77450         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77451         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77452         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77453         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77454         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77455         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77456         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77457         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77458         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77459         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77460         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77461         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77462         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77463         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77464         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77465         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77466         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77467         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77468         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77469         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77470         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77471         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77472         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77473         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77474         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77475         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77476         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77477         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77478         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77479         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77480         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77481         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77482         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77483         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77484         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77485         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77486         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77487         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77488         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77489         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77490         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77491         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77492         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77493         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77494         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77495         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77496         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77497         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77498         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77499         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77500         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77501         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77502         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77503         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77504         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77505         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77506         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77507         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77508         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77509         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77510         Require >= 2.
77511         (FLT_ROUNDS): Expect as macro, not constant.
77512         (FLT_MANT_DIG): Use macro-int-constant.
77513         (DBL_MANT_DIG): Likewise.
77514         (LDBL_MANT_DIG): Likewise.
77515         (FLT_DIG): Likewise.
77516         (DBL_DIG): Likewise.
77517         (LDBL_DIG): Likewise.
77518         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77519         (DBL_MIN_EXP): Likewise.
77520         (LDBL_MIN_EXP): Likewise.
77521         (FLT_MAX_EXP): Use macro-int-constant.
77522         (DBL_MAX_EXP): Likewise.
77523         (LDBL_MAX_EXP): Likewise.
77524         (FLT_MAX_10_EXP): Likewise.
77525         (DBL_MAX_10_EXP): Likewise.
77526         (LDBL_MAX_10_EXP): Likewise.
77527         (FLT_MAX): Use macro-constant.
77528         (DBL_MAX): Likewise.
77529         (LDBL_MAX): Likewise.
77530         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77531         (DBL_EPSILON): Likewise.
77532         (LDBL_EPSILON): Likewise.
77533         (FLT_MIN): Likewise.
77534         (DBL_MIN): Likewise.
77535         (LDBL_MIN): Likewise.
77536         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77537         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77538         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77539         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77540         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77541         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77542         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77543         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77544         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77545         [ISO11] (FLT_TRUE_MIN): Likewise.
77546         [ISO11] (LDBL_TRUE_MIN): Likewise.
77547         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77548         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77549         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77550         (SCHAR_MAX): Likewise.
77551         (UCHAR_MAX): Likewise.
77552         (CHAR_MIN): Likewise.
77553         (CHAR_MAX): Likewise.
77554         (MB_LEN_MAX): Use macro-int-constant.
77555         (SHRT_MIN): Use macro-int-constant.  Specify type.
77556         (SHRT_MAX): Likewise.
77557         (USHRT_MAX): Likewise.
77558         (INT_MAX): Likewise.
77559         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77560         bound negative.
77561         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77562         bound with "U".
77563         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77564         bound with "L".
77565         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77566         bound negative.  Suffix upper bound with "L".
77567         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77568         bound with "UL".
77569         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77570         Specify type.
77571         [C99-based standards] (LLONG_MAX): Likewise.
77572         [C99-based standards] (ULLONG_MAX): Likewise.
77573         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77574         == 0.
77575         [ISO11] (max_align_t): Require type.
77576         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77578         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77579         from $CFLAGS, without defining away __attribute__ calls.
77580         (checknamespace): Use $CFLAGS_namespace.
77582         * conform/conformtest.pl (@keywords): Only include C99 keywords
77583         for standards based on C99 or C11.
77585         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77586         Disable tests.
77587         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77588         UNIX98]: Likewise.
77590         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77591         usability of symbols in #if.
77593         * conform/conformtest.pl: If macro or constant types start
77594         "promoted:", expect the symbol to be of the following type
77595         promoted by the integer promotions.
77597         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77598         in one place.  Also handle "macro-constant".
77600         * conform/conformtest.pl: Only accept expected macro values with
77601         "==".  Parse all "macro" lines in one place.
77602         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77604         * conform/conformtest.pl: Handle braced types on "constant" lines
77605         instead of handling "typed-constant".
77606         * conform/data/signal.h-data: Use "constant" instead of
77607         "typed-constant".
77609         * conform/conformtest.pl: Handle "optional-" at start of lines in
77610         one place rather than duplicating several cases.  Handle each
77611         format of "macro" line with initial "optional-".
77613         * conform/conformtest.pl: Only accept expected constant or
77614         optional-constant values with "==".  Parse all "constant" lines in
77615         one place.  Parse all "optional-constant" lines in one place.
77616         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77617         * conform/data/fmtmsg.h-data: Likewise.
77618         * conform/data/netinet/in.h-data: Likewise.
77619         * conform/data/tar.h-data: Likewise.
77620         * conform/data/limits.h-data: Use "==" form on "constant" and
77621         "optional-constant" lines.
77623         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77624         Use -std=c99 for XOPEN2K.
77625         (@knownproblems): Remove.
77626         (newtoken): Don't check %isknown.
77628         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77629         Do not expect macro.
77630         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77631         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77632         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77633         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77634         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77635         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77636         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77637         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77638         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77639         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77640         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77641         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77642         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77643         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77644         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77645         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77646         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77647         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77648         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77649         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77650         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77651         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77652         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77653         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77654         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77655         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77656         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77657         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77658         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77659         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77660         [XPG3] (acosh): Likewise.
77661         [XPG3] (asinh): Likewise.
77662         [XPG3] (atanh): Likewise.
77663         [XPG3] (cbrt): Likewise.
77664         [XPG3] (expm1): Likewise.
77665         [XPG3] (ilogb): Likewise.
77666         [XPG3] (log1p): Likewise.
77667         [XPG3] (logb): Likewise.
77668         [XPG3] (nextafter): Likewise.
77669         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77670         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77671         [XPG3] (remainder): Likewise.
77672         [XPG3] (rint): Likewise.
77673         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77674         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77675         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77676         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77677         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77678         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77679         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77680         [UNIX98 || XOPEN2K] (scalb): Expect.
77681         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77682         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77683         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77684         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77685         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77686         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77687         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77688         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77689         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77690         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77691         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77692         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77693         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77694         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77695         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77696         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77697         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77698         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77699         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77700         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77701         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77702         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77703         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77704         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77705         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77706         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77707         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77708         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77709         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77710         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77711         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77712         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77713         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77714         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77715         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77716         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77717         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77718         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77719         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77720         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77721         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77722         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77723         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77724         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77725         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77726         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77727         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77728         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77729         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77730         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77731         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77732         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77733         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77734         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77735         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77736         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77737         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77738         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77739         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77740         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77741         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77742         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77743         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77744         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77745         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77746         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77747         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77748         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77749         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77750         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77751         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77752         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77753         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77754         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77755         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77756         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77757         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77758         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77759         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77760         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77761         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77762         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77763         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77764         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77765         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77766         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77767         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77768         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77769         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77770         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77771         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77772         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77773         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77774         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77775         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77776         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77777         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77778         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77779         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77780         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77781         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77782         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77783         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77784         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77785         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77786         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77787         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77788         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77789         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77790         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77791         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77792         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77793         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77794         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77795         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77796         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77797         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77798         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77799         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77800         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77801         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77802         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77803         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77804         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77805         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77806         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77807         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77808         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77809         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77810         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77811         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77812         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77813         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77814         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77815         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77816         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77817         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77819         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77820         _XOPEN_SOURCE_EXTENDED for XPG4.
77822         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77824         * Makeconfig (localtime): Remove variable.
77825         (inst_localtime-file): Likewise.
77827 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77830         Update.
77831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77832         Update.
77833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77834         Update.
77835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77836         Update.
77837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77838         Update.
77839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77840         Update.
77841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77842         Update.
77843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77844         Update.
77845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77846         Update.
77848 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77850         [BZ #2550]
77851         [BZ #2570]
77852         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
77853         comparisons to determine direction to adjust input.
77854         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
77855         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
77856         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
77857         Likewise.
77858         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
77859         Likewise.
77860         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
77861         Likewise.
77862         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
77863         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
77864         Likewise.
77865         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
77866         Likewise.
77867         * math/libm-test.inc (nexttoward_test): Add more tests.
77869 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77871         [BZ #14040]
77872         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
77873         in version GLIBC_2.1, not GLIBC_2.0.
77874         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
77875         Likewise.
77877 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
77879         [BZ #13942]
77880         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
77881         (1 - x) * (1 + x).
77882         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77883         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
77884         * math/libm-test.inc (acos_test): Add more tests.
77885         (asin_test): Likewise.
77886         * sysdeps/i386/fpu/libm-test-ulps: Update.
77887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77889         [BZ #14034]
77890         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
77891         of square root.
77892         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
77893         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77894         * math/libm-test.inc (acos_test_tonearest): New function.
77895         (acos_test_towardzero): Likewise.
77896         (acos_test_downward): Likewise.
77897         (acos_test_upward): Likewise.
77898         (asin_test_tonearest): Likewise.
77899         (asin_test_towardzero): Likewise.
77900         (asin_test_downward): Likewise.
77901         (asin_test_upward): Likewise.
77902         (main): Call the new functions.
77903         * sysdeps/i386/fpu/libm-test-ulps: Update.
77904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77906         [BZ #13884]
77907         [BZ #13924]
77908         * math/e_exp10.c: Include <float.h>.
77909         (__ieee754_exp10): Handle underflow here rather than multiplying
77910         large negative argument by M_LN10.
77911         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
77912         of __ieee754_expf.
77913         * math/e_exp10l.c: Include <float.h>.
77914         (__ieee754_exp10l): Handle underflow here rather than multiplying
77915         large negative argument by M_LN10l.
77916         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
77917         spurious overflow exception on underflow.
77919 2012-04-29  Marek Polacek  <polacek@redhat.com>
77921         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
77922         (__fortify_function): New macro.
77923         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77924         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
77925         __extern_always_inline.
77926         * libio/bits/stdio2.h: Likewise.
77927         * libio/bits/stdio.h: Likewise.
77928         * string/string.h: Likewise.
77929         * string/bits/string3.h: Likewise.
77930         * include/stdio.h: Likewise.
77931         * stdlib/bits/stdlib.h: Likewise.
77932         * stdlib/stdlib.h: Likewise.
77933         * rt/bits/mqueue2.h: Likewise.
77934         * rt/mqueue.h: Likewise.
77935         * posix/bits/unistd.h: Likewise.
77936         * posix/unistd.h: Likewise.
77937         * io/bits/poll2.h: Likewise.
77938         * io/bits/fcntl2.h: Likewise.
77939         * io/fcntl.h: Likewise.
77940         * io/sys/poll.h: Likewise.
77941         * misc/bits/syslog.h: Likewise.
77942         * misc/bits/syslog-ldbl.h: Likewise.
77943         * misc/sys/syslog.h: Likewise.
77944         * socket/bits/socket2.h: Likewise.
77945         * socket/sys/socket.h: Likewise.
77946         * debug/tst-chk1.c: Likewise.
77947         * wcsmbs/bits/wchar2.h: Likewise.
77948         * wcsmbs/bits/wchar-ldbl.h: Likewise.
77949         * wcsmbs/wchar.h: Likewise.
77951 2012-04-29  Andreas Jaeger  <aj@suse.de>
77953         * Makerules (tests): Remove enable-check-abi protection.
77954         (check-abi-warn): Remove.
77955         (check-abi-%): Remove check-abi-warn usage.
77957         * configure.in: Remove check-abi configure option.
77958         * configure: Regenerated.
77959         * config.make.in (enable-check-abi): Remove.
77961 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
77963         [BZ #14033]
77964         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
77965         double functions to double *_finite functions.
77967         [BZ #13941]
77968         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
77969         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
77970         LDBL_MIN_EXP.
77971         * stdio-common/Makefile (tests): Add tst-sprintf3.
77972         * stdio-common/tst-sprintf3.c: New file.
77974         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
77975         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
77977 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77979         * conform/conformtest.pl: Remove duplicate typed-constant
77980         handling.
77982 2012-04-28  David S. Miller  <davem@davemloft.net>
77984         * Makerules (%.abilist): Add vpath on sysdep_dirs.
77985         (check-abi-%): Remove AWK script prerequisite and explicit
77986         abilist directory.
77987         (check-abi): Rewrite to just diff the symlist with the abilist.
77988         (config-tls, config-abi-config): Delete, no longer used.
77989         (update-abi-%): Remove AWK script and explicit abilist directory.
77990         (update-abi): Rewrite to simply compare and conditionally copy the
77991         symlist and the sysdep abilist file.  Remove update-abi-config
77992         checks.
77993         * abilist/ld.abilist: Remove.
77994         * abilist/libBrokenLocale.abilist: Remove.
77995         * abilist/libanl.abilist: Remove.
77996         * abilist/libcrypt.abilist: Remove.
77997         * abilist/libdl.abilist: Remove.
77998         * abilist/librt.abilist: Remove.
77999         * abilist/libthread_db.abilist: Remove.
78000         * abilist/libutil.abilist: Remove.
78001         * scripts/extract-abilist.awk: Remove.
78002         * scripts/merge-abilist.awk: Remove.
78003         * sysdeps/generic/libcidn.abilist: New file.
78004         * sysdeps/generic/libnss_compat.abilist: New file.
78005         * sysdeps/generic/libnss_db.abilist: New file.
78006         * sysdeps/generic/libnss_dns.abilist: New file.
78007         * sysdeps/generic/libnss_files.abilist: New file.
78008         * sysdeps/generic/libnss_hesiod.abilist: New file.
78009         * sysdeps/generic/libnss_nis.abilist: New file.
78010         * sysdeps/generic/libnss_nisplus.abilist: New file.
78011         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78012         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78013         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78014         file.
78015         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78016         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78017         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78018         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78019         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78020         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78021         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78022         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78023         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78024         file.
78025         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78026         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78027         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78028         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78029         file.
78030         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78031         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78032         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78033         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78034         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78035         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78036         file.
78037         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78038         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78039         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78040         file.
78041         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78043         New file.
78044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78045         New file.
78046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78047         New file.
78048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78049         New file.
78050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78051         New file.
78052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78053         New file.
78054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78055         New file.
78056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78057         New file.
78058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78059         New file.
78060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78061         New file.
78062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78063         New file.
78064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78065         New file.
78066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78067         New file.
78068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78069         file.
78070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78071         New file.
78072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78073         New file.
78074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78075         file.
78076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78077         New file.
78078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78079         New file.
78080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78081         file.
78082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78083         New file.
78084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78085         New file.
78086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78087         New file.
78088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78089         New file.
78090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78091         New file.
78092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78093         New file.
78094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78096         file.
78097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78098         New file.
78099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78100         file.
78101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78102         file.
78103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78104         file.
78105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78106         file.
78107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78108         file.
78109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78110         New file.
78111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78112         file.
78113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78114         file.
78115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78116         New file.
78117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78118         file.
78119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78121         file.
78122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78123         New file.
78124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78125         file.
78126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78127         file.
78128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78129         file.
78130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78131         file.
78132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78133         file.
78134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78135         New file.
78136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78137         file.
78138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78139         file.
78140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78141         New file.
78142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78143         file.
78144         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78145         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78146         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78147         file.
78148         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78149         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78150         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78151         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78152         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78153         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78154         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78155         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78156         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78157         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78160         file.
78161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78162         New file.
78163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78164         file.
78165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78166         file.
78167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78168         file.
78169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78170         file.
78171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78172         file.
78173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78174         New file.
78175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78176         New file.
78177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78178         file.
78179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78180         New file.
78181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78182         file.
78183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78185         file.
78186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78187         New file.
78188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78189         file.
78190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78191         file.
78192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78193         file.
78194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78195         file.
78196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78197         file.
78198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78199         New file.
78200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78201         New file.
78202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78203         file.
78204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78205         New file.
78206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78207         file.
78209 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78211         * conform/conformtest.pl: Fix typo in handling typed-constant from
78212         allow-header.
78214 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78216         * README: Cut down references to pre-2.6 Linux kernels and
78217         Linuxthreads.  Update lists of configurations in libc and ports
78218         and sort alphabetically.  Say "or newer" with Linux kernel version
78219         requirements.
78221         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78223 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78225         [BZ #887]
78226         * math/libm-test.inc (logb_test_downward): New test to expose
78227         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78228         rounding mode.
78230 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78232         [BZ #14027]
78233         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78234         to be done.
78235         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78236         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78238 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78240         * sysdeps/unix/i386/brk.S: Remove file.
78241         * sysdeps/unix/i386/dl-brk.S: Likewise.
78242         * sysdeps/unix/i386/pipe.S: Likewise.
78243         * sysdeps/unix/i386/sigreturn.S: Likewise.
78244         * sysdeps/unix/i386/syscall.S: Likewise.
78245         * sysdeps/unix/i386/vfork.S: Likewise.
78246         * sysdeps/unix/i386/wait.S: Likewise.
78248         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78249         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78251         * configure.in (arm*-none*): Do not allow without
78252         --enable-hacker-mode.
78253         (netbsd*): Remove case setting base_os.
78254         (386bsd*): Likewise.
78255         (freebsd*): Likewise.
78256         (bsdi*): Likewise.
78257         (osf*): Likewise.
78258         (sunos*): Likewise.
78259         (ultrix*): Likewise.
78260         (newsos*): Likewise.
78261         (dynix*): Likewise.
78262         (*bsd*): Likewise.
78263         (sysv*): Likewise.
78264         (isc*): Likewise.
78265         (esix*): Likewise.
78266         (sco*): Likewise.
78267         (minix*): Likewise.
78268         (irix4*): Likewise.
78269         (irix6*): Likewise.
78270         (solaris[2-9]*): Likewise.
78271         (none): Likewise.
78272         * configure: Regenerated.
78274 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78276         [BZ #11521]
78277         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78278         overflow or cancellation in calculating denominator.
78279         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78280         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78281         down expression to avoid unexpected rounding in newer GCCs.
78282         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78284 2012-04-26  David S. Miller  <davem@davemloft.net>
78286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78287         long-double compat symbols.
78288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78302 2012-04-25  David S. Miller  <davem@davemloft.net>
78304         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78305         HWCAP_* values only after the memory barriers have been defined.
78306         (atomic_full_barrier): Define.
78307         (atomic_read_barrier): Define.
78308         (atomic_write_barrier): Define.
78310 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78312         * shlib-versions: Add libgcc_s version information.
78313         * sysdeps/generic/libgcc_s.h: Remove.
78314         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78315         libgcc_s.h.
78316         * sysdeps/gnu/unwind-resume.c: Likewise.
78317         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78319 2012-04-25  David S. Miller  <davem@davemloft.net>
78321         * sysdeps/unix/sparc/brk.S: Delete.
78322         * sysdeps/unix/sparc/dl-brk.S: Delete.
78323         * sysdeps/unix/sparc/pipe.S: Delete.
78324         * sysdeps/unix/sparc/sysdep.S: Delete.
78325         * sysdeps/unix/sparc/sysdep.h: Delete.
78326         * sysdeps/unix/sparc/vfork.S: Delete.
78327         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78328         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78329         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78330         (ret_ERRVAL, r0, r1, MOVE): Define.
78331         (JUMPTARGET): Remove.
78332         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78333         sysdeps/unix/sparc/sysdep.h
78334         (ENTRY, END): Remove.
78335         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78337 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78339         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78340         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78341         -DIS_IN_build.
78343         * timezone/README: Update upstream location and email address for
78344         tzcode and tzdata.
78345         * timezone/zdump.c: Update from tzcode 2012b.
78346         * timezone/zic.c: Likewise.
78348         * configure.in (libc_cv_as_needed): Remove test.
78349         * configure: Regenerated.
78350         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78351         conditional definition.
78352         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78353         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78354         * config.make.in (have-as-needed): Remove variable.
78356 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78357             Paul Pluzhnikov  <ppluzhnikov@google.com>
78359         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78360         strings correctly.
78362 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78364         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78365         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78366         * sysdeps/sh/strlen.S: Likewise.
78368 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78370         * sysdeps/unix/fork.S: Remove file.
78371         * sysdeps/unix/i386/fork.S: Likewise.
78372         * sysdeps/unix/sparc/fork.S: Likewise.
78374         * sysdeps/unix/system.c: Remove file.
78375         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78377         * sysdeps/unix/getegid.S: Remove file.
78378         * sysdeps/unix/geteuid.S: Likewise.
78380 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78382         * scripts/check-localplt.awk: New file.
78383         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78384         of diff.
78385         * scripts/data/localplt-generic.data: Add a comment.
78387         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78388         NODE when __dir_mkfile failed.
78389         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78390         Reported by Ludovic Courtès <ludo@gnu.org>.
78392 2012-04-24  Andreas Jaeger  <aj@suse.de>
78394         * Makerules (common-clean): Also remove gen-as-const-headers
78395         files.
78397 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78399         * Makerules (native-compile): Do not change working directory for
78400         build.  Use $(OUTPUT_OPTION) in command.
78401         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78403 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78405         [BZ #13886]
78406         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78407         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78408         * math/libm-test.inc (floor_test): Add more tests.
78409         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78411 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78413         * sysdeps/unix/getdents.c: Remove file.
78414         * sysdeps/unix/sysv/getdents.c: Likewise.
78415         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78417         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78418         sysdeps/unix/mman/syscalls.list.
78419         (mmap): Likewise.
78420         (mprotect): Likewise.
78421         (msync): Likewise.
78422         (munmap): Likewise.
78423         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78424         * sysdeps/unix/mman/syscalls.list: Remove.
78425         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78427         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78428         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78429         * configure: Regenerated.
78430         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78431         $(libgcc_s_suffix).
78432         * config.make.in (libgcc_s_suffix): Remove variable.
78434 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78436         * sysdeps/unix/sysv/gethostname.c: Move to ...
78437         * sysdeps/posix/gethostname.c: ... here.
78439         * sysdeps/unix/execve.S: Remove file.
78441         * sysdeps/unix/_exit.S: Remove file.
78443 2012-04-23  Andreas Jaeger  <aj@suse.de>
78445         [BZ #13739]
78446         * manual/Makefile: Remove make dist support, there's no
78447         need for a stand-alone documentation tar ball.
78448         (TEXI2DVI): Define always, it's not in Makeconfig.
78449         (dist): Removed.
78450         (tar-it): Removed.
78451         (edition): Removed.
78452         (glibc-doc-$(edition).tar): Removed
78453         (%.Z): Removed.
78454         (%.gz): Removed.
78455         (%.uu): Removed.
78456         (ETAGS): Remove, it's in Makeconfig.
78457         (move-if-change): Remove, it's in Makeconfig.
78459 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78461         [BZ #13970]
78462         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78463         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78464         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78465         (strtod_l, strtof_l, strtold_l): Remove __wur.
78466         It is not necessarily an error to ignore strtol's return value.
78467         One can reliably look at the stored endptr to decide whether
78468         the number had valid syntax.
78470 2012-04-21  Andreas Jaeger  <aj@suse.de>
78472         [BZ #13739]
78473         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78475 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78477         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78478         * sysdeps/unix/sysv/Versions: Remove file.
78480 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78482         [BZ #13927]
78483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78485 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78487         [BZ #7064]
78488         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78489         version from __vm86.
78491 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78493         * sysdeps/unix/common/lxstat.c: Remove file.
78494         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78496         * sysdeps/unix/sysv/Makefile: Remove file.
78498         * sysdeps/unix/sysv/direct.h: Remove file.
78500         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78501         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78502         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78503         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78504         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78505         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78506         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78508         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78510         * sysdeps/unix/xmknod.c: Remove file.
78511         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78513         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78515         * sysdeps/unix/sysv/i386/time.S: Remove file.
78517         * sysdeps/unix/fxstat.c: Remove file.
78518         * sysdeps/unix/xstat.c: Likewise.
78519         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78521         * sysdeps/unix/sysv/sigaction.c: Remove file.
78523         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78524         (sysdep_headers): Remove variable.
78525         [termio.h not in sysdep_headers] (generated): Likewise.
78526         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78527         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78528         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78529         * sysdeps/unix/sysv/tcflow.c: Likewise.
78530         * sysdeps/unix/sysv/tcflush.c: Likewise.
78531         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78532         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78533         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78534         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78535         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78537         * sysdeps/unix/siglist.c: Remove file.
78539         * sysdeps/unix/getppid.S: Remove file.
78541         * sysdeps/unix/mkdir.c: Remove file.
78542         * sysdeps/unix/rmdir.c: Likewise.
78544 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78546         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78547         ERR_MAX value.
78548         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78549         errlist-compat value.
78551 2012-04-18  David S. Miller  <davem@davemloft.net>
78553         * sysdeps/generic/memcopy.h (reg_char): Delete.
78554         * debug/strcat_chk.c: Use char, not reg_char.
78555         * debug/strcpy_chk.c: Likewise.
78556         * debug/strncat_chk.c: Likewise.
78557         * debug/strncpy_chk.c: Likewise.
78558         * string/memchr.c: Likewise.
78559         * string/memrchr.c: Likewise.
78560         * string/rawmemchr.c: Likewise.
78561         * string/strcat.c: Likewise.
78562         * string/strchr.c: Likewise.
78563         * string/strchrnul.c: Likewise.
78564         * string/strcmp.c: Likewise.
78565         * string/strcpy.c: Likewise.
78566         * string/strncat.c: Likewise.
78567         * string/strncmp.c: Likewise.
78568         * string/strncpy.c: Likewise.
78570 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78572         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78573         __builtin_memcopy is called when src and dest ranges are known to not
78574         overlap.
78576 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78578         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78579         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78580         fwd_align_merge macro call.
78581         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78582         bwd_align_merge macro call.
78583         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78585 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78587         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78588         bwd_align_merge macros.
78589         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78590         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78591         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78593 2012-04-18  David S. Miller  <davem@davemloft.net>
78595         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78597 2012-04-18  Andreas Jaeger  <aj@suse.de>
78599         [BZ #6794]
78600         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78601         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78602         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78604         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78605         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78606         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78608         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78609         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78610         Adjust for changed ldbl-128 files.
78612         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78613         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78614         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78616 2012-04-17  David S. Miller  <davem@davemloft.net>
78618         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78620 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78622         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78623         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78624         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78625         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78626         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78627         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78629 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78631         [BZ #6794]
78632         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78633         * math/libm-test.inc: Add ilogb errno and exception tests.
78634         * math/w_ilogb.c: New file: ilogb wrapper.
78635         * math/w_ilogbf.c: New file: ilogbf wrapper.
78636         * math/w_ilogbl.c: New file: ilogbl wrapper.
78637         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78638         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78639         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78640         exception being thrown with 0.0 as argument.
78641         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78642         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78643         exception being thrown with 0.0 as argument.
78644         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78645         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78646         exception being thrown with 0.0 as argument.
78647         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78648         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78649         exception being thrown with 0.0 as argument.
78650         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78651         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78652         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78653         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78654         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78655         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78656         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78657         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78658         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78660 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78662         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78663         with altivec.
78665 2012-04-16  Marek Polacek  <polacek@redhat.com>
78667         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78669 2012-04-16  Marek Polacek  <polacek@redhat.com>
78671         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78672         operands of fdivp instruction.
78674 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78676         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78677         * elf/tst-auditmod3b.c: Likewise.
78678         * elf/tst-auditmod4b.c: Likewise.
78679         * elf/tst-auditmod5b.c: Likewise.
78680         * elf/tst-auditmod6b.c: Likewise.
78681         * elf/tst-auditmod6c.c: Likewise.
78682         * elf/tst-auditmod7b.c: Likewise.
78683         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78684         * sysdeps/x86_64/preconfigure.in: Likewise.
78685         * sysdeps/x86_64/preconfigure: Regenerated.
78687 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78689         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78690         __ILP32__.
78692 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78694         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78695         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78697 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78699         [BZ #13973]
78700         * locale/iso-639.def: Fix gl language name. Spotted by
78701         Yaron Shahrabani.
78703 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78705         [BZ #2074]
78706         * libio/libio.h (__io_write_fn): Update comment.
78708 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78710         [BZ #2074]
78711         * stdio.texi (Hook Functions): The user provided writer function
78712         is not allowed to return -1.
78714 2012-04-11  David S. Miller  <davem@davemloft.net>
78716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78718 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78720         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78721         Add a leading slash to rtkaio.
78723 2012-04-11  Jim Meyering  <meyering@redhat.com>
78725         [BZ #11959]
78726         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78727         It is not necessarily an error to ignore fwrite's return
78728         value.  One can reliably use ferror to test for errors after
78729         the fact.
78731 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78733         * bits/types.h (__snseconds_t): New type.
78734         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78736         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78737         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78738         (__SNSECONDS_T_TYPE): Likewise.
78739         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78740         (__SNSECONDS_T_TYPE): Likewise.
78741         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78742         (__SNSECONDS_T_TYPE): Likewise.
78744 2012-04-10  Andreas Jaeger  <aj@suse.de>
78746         [BZ #2636]
78747         * manual/time.texi (Processor Time): Return type of times is
78748         elapsed real time since an arbitrary point in the past.
78749         (CPU Time): Move CLK_TCK from here...
78750         (Processor Time): ...to here.  Correct description.
78751         * manual/conf.texi (Constants for Sysconf): Correct description of
78752         _SC_CLK_TCK.
78754 2012-04-10  David S. Miller  <davem@davemloft.net>
78756         [BZ #13967]
78757         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78758         where the is a gap between DT_REL(A) and DT_JMPREL.
78760 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78762         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78763         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78764         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78766 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78768         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78769         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78770         (dl_main): Handle --inhibit-cache.
78771         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78772         _dl_inhibit_cache.
78773         * elf/dl-load.c (_dl_map_object): Use it.
78774         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78776 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78778         [BZ #13872]
78779         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78780         (__ieee754_powl): Saturate large exponents rather than testing for
78781         overflow of y*log2(x).
78782         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78783         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78784         exceptions.
78786         [BZ #11521]
78787         * math/s_ctan.c: Include <float.h>.
78788         (__ctan): Avoid internal overflow or cancellation in calculating
78789         denominator.
78790         * math/s_ctanf.c: Likewise.
78791         * math/s_ctanl.c: Likewise.
78792         * math/s_ctanh.c: Likewise.
78793         * math/s_ctanhf.c: Likewise.
78794         * math/s_ctanhl.c: Likewise.
78795         * math/libm-test.inc (ctan_test): Add more tests.
78796         (ctanh_test): Likewise.
78797         * sysdeps/i386/fpu/libm-test-ulps: Update.
78798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78800 2012-04-09  Andreas Jaeger  <aj@suse.de>
78802         [BZ #6894]
78803         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78804         is an optional BSD extension.
78806         [BZ #10254]
78807         * manual/stdio.texi (Opening Streams): Document additional fopen
78808         parameters.
78810 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78812         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78813         %eax without telling the compiler.
78815 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78817         [BZ # 13963]
78818         * manual/install.texi: Use sourceware.org.
78820 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78822         [BZ #13873]
78823         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78824         (__ieee754_pow): Generate overflow and underflow using huge*huge
78825         and tiny*tiny rather than just returning constant infinity or zero
78826         for large exponents.
78827         * math/libm-test.inc (pow_test): Require overflow exceptions for
78828         applicable cases of large exponents.
78830         [BZ #706]
78831         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78832         (__ieee754_pow): Use iterative multiplication algorithm only for
78833         integer exponents with absolute value below 1024.  Check for odd
78834         integer exponents when using algorithm for real exponents.
78835         * math/libm-test.inc (pow_test): Add more tests.
78836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78838 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78840         [BZ #13705]
78841         * math/libm-test.inc (exp_test): Do not allow overflow exception
78842         on underflow test.
78844 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78846         [BZ #13705]
78847         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
78848         instead of __kernel_standard_f.
78850 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
78852         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78853         * sysdeps/x86_64/memset_chk.S: Likewise.
78855 2012-04-08  Andreas Jaeger  <aj@suse.de>
78857         [BZ #10153]
78858         * manual/startup.texi (Environment Access): Describe return value
78859         for putenv and setenv.
78861         [BZ #6895]
78862         * manual/filesys.texi (Directory Entries): Add description for
78863         DT_LNK.
78865         [BZ #6890]
78866         * manual/filesys.texi (Directory Entries): Clarify that it's file
78867         system not operating system in the description of DT_UNKNOWN.
78869         [BZ #6578]
78870         * manual/syslog.texi (closelog): Fix reference, it's openlog.
78872 2012-04-08  Stephen Compall  <s11@member.fsf.org>
78874         [BZ #6649]
78875         * manual/llio.texi (Opening and Closing Files): Add cross
78876         reference to explain mode argument.
78878 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
78880         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
78881         * sysdeps/x86_64/memset_chk.S: Likewise.
78883 2012-04-07  David S. Miller  <davem@davemloft.net>
78885         * elf/elf.h (R_SPARC_WDISP10): Define.
78886         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
78887         R_SPARC_SIZE32.
78888         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
78889         R_SPARC_SIZE64 and R_SPARC_H34.
78891 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
78893         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
78894         conditions and remove no longer applicable assertion.
78896 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78898         * bits/byteswap.h: Include <features.h>.
78899         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78900         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78902 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78904         * bits/byteswap.h (__bswap_16): Removed.
78905         Include <bits/byteswap-16.h> to get __bswap_16.
78906         * sysdeps/i386/bits/byteswap.h: Likewise.
78907         * sysdeps/s390/bits/byteswap.h: Likewise.
78908         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78909         * bits/byteswap-16.h: New file.
78910         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78911         * sysdeps/s390/bits/byteswap-16.h: Likewise.
78912         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
78913         * string/Makefile (headers): Add bits/byteswap-16.h.
78915 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78917         [BZ #13895]
78918         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
78919         extra indirection.
78920         * nss/Makefile (tests-static, tests): Add tst-nss-static.
78921         * nss/tst-nss-static.c: New.
78923 2012-04-06  Robert Millan  <rmh@gnu.org>
78925         [BZ #6486]
78926         * manual/llio.texi (File Position Primitive): lseek
78927         refers to WHENCE when it really means OFFSET.
78929 2012-04-06  Andreas Jaeger  <aj@suse.de>
78931         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
78932         strncmp declarations.
78934         * abilist/libc.abilist: Add __poll and __ppoll.
78936 2012-04-05  David S. Miller  <davem@davemloft.net>
78938         * scripts/check-local-headers.sh: Accept a host triplet in the
78939         path matched by the exclude regexp.
78941         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
78942         definition.
78943         * sysdeps/powerpc/powerpc32/dl-machine.h
78944         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
78945         * sysdeps/s390/s390-32/dl-machine.h
78946         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78947         * sysdeps/sparc/sparc32/dl-machine.h
78948         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78949         * sysdeps/sparc/sparc64/dl-machine.h
78950         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78952         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
78953         lazy binding.
78954         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
78955         undefined symbol errors.
78957         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
78958         DT_NEEDED entries.
78960 2012-04-05  Michael Matz  <matz@suse.de>
78962         [BZ #13592]
78963         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
78965 2012-04-05  Andreas Jaeger  <aj@suse.de>
78967         [BZ #13908]
78968         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
78969         comment.
78971 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78973         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
78974         which ROUND is no valid rounding mode.
78976 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78978         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
78979         read again.
78980         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
78982 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78984         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
78985         an exception using FPU order intentionally.
78987 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78989         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
78990         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
78991         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
78992         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
78994 2012-04-05  Simon Josefsson  <simon@josefsson.org>
78996         [BZ #12340]
78997         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
78998         EINVAL when BUFLEN is too smal.
79000 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79002         [BZ #13553]
79003         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79004         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79006 2012-04-03  Andreas Jaeger  <aj@suse.de>
79008         [BZ #13938]
79009         * manual/setjmp.texi (System V contexts): Fix sentence.
79011         [BZ #13926]
79012         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79013         New macro for this case.
79014         [!__GNUC__] (__bswap_64): New inline function for this case.
79015         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79016         * bits/byteswap.h: Likewise.
79017         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79018         ull, guard with __GLIBC_HAVE_LONG_LONG.
79020         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79021         __GLIBC_HAVE_LONG_LONG.
79023         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79024         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79026 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79028         [BZ #13691]
79029         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79030         inptr and inend, rather than using last_ch.
79032 2012-04-02  David S. Miller  <davem@davemloft.net>
79034         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79035         * stdio-common/printf-parse.h (read_int): Change return type to
79036         'int', return -1 on INT_MAX overflow.
79037         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79038         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79039         overflows INT_MAX.  Check for overflow of in-format-string precision
79040         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79041         SIZE_MAX not INT_MAX for integer overflow test.
79042         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79043         skip the construct in the format string but do not record anything.
79044         * stdio-common/bug22.c: Adjust to test both width/prevision
79045         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79046         explicitly for proper errno values.
79048 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79050         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79051         CHAR_MAX.
79052         * string/test-strcmp.c [! WIDE]: Likewise.
79053         * time/tst-mktime2.c: Likewise for INT_MAX.
79054         * string/test-string.h: #include <sys/param.h> for MIN.
79056         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79057         * sysdeps/i386/init-first.c (init): Likewise.
79058         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79059         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79060         * sysdeps/sh/init-first.c (init): Likewise.
79062 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79064         * po/ru.po: Update from translation team.
79065         * po/vi.po: Likewise.
79067 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79069         * resolv/nss_dns/dns-host.c: Merge copyright years.
79071 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79073         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79074         Optimize memcpy with prefetch if
79075         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79076         src, dst pointers have unequal 16 byte alignments.
79078 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79080         [BZ #13928]
79081         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79082         from a CNAME entry and return the minimum ttl for the query.
79083         (gaih_getanswer_slice): Likewise.
79085 2012-03-30  Jeff Law  <law@redhat.com>
79087         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79088         due to long keys.
79089         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79090         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79092         * resolv/nss_dns/dns-host.c: Update copyright year.
79094 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79096         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79097         requests to save a system call.  Fix check that all bytes are sent.
79099         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79100         comments for sendmmsg.
79102 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79104         [BZ #13691]
79105         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79106         with only 1 character between 0x0041 and 0x01b0.
79107         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79108         * wcsmbs/tst-mbsnrtowcs.c: New file.
79110 2012-03-29  David S. Miller  <davem@davemloft.net>
79112         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79113         small copies by hand.
79115 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79117         [BZ #13761]
79118         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79119         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79120         group memberships.
79122 2012-03-28  David S. Miller  <davem@davemloft.net>
79124         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79125         that branches into memcpy.
79126         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79127         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79128         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79129         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79130         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79131         bits.
79132         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79133         implementation too.
79134         * sysdeps/sparc/mempcpy.S: New file.
79136         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79137         the IFUNC routine in the libc case.
79138         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79140         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79141         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79142         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79143         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79144         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79145         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79146         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79147         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79149         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79150         loop to 256 bytes instead of 64 bytes and fix test signedness.
79152         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79153         * sysdeps/sparc/sparc32/Makefile: rather than here...
79154         * sysdeps/sparc/sparc64/Makefile: and here.
79156 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79158         * malloc/mallocbug.c: Avoid warnings about unused variables.
79160 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79162         [BZ #13760]
79163         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79164         in the right place. Discard and retry query if response is
79165         larger than input buffer size.
79167 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79169         [BZ #369]
79170         [BZ #2678]
79171         [BZ #3866]
79172         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79173         x for large integer exponent.
79174         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79175         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79176         sign of result as needed afterwards.
79177         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79178         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79179         result for underflowing pow the same as for overflow.
79180         (__kernel_standard_l): Handle powl overflow and underflow here
79181         rather than calling __kernel_standard.
79182         * math/libm-test.inc (pow_test): Add more tests.
79184         [BZ #3868]
79185         [BZ #13879]
79186         [BZ #13910]
79187         [BZ #13911]
79188         [BZ #13912]
79189         [BZ #13913]
79190         [BZ #13915]
79191         [BZ #13916]
79192         [BZ #13917]
79193         [BZ #13918]
79194         [BZ #13919]
79195         [BZ #13920]
79196         [BZ #13921]
79197         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79198         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79199         (__kernel_standard_l): New function.
79200         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79201         __kernel_standard.
79202         * math/w_acosl.c (__acosl): Likewise.
79203         * math/w_asinl.c (__asinl): Likewise.
79204         * math/w_atan2l.c (__atan2l): Likewise.
79205         * math/w_atanhl.c (__atanhl): Likewise.
79206         * math/w_coshl.c (__coshl): Likewise.
79207         * math/w_exp10l.c (__exp10l): Likewise.
79208         * math/w_exp2l.c (__exp2l): Likewise.
79209         * math/w_fmodl.c (__fmodl): Likewise.
79210         * math/w_hypotl.c (__hypotl): Likewise.
79211         * math/w_j0l.c (__j0l, __y0l): Likewise.
79212         * math/w_j1l.c (__j1l, __y1l): Likewise.
79213         * math/w_jnl.c (__jnl, __ynl): Likewise.
79214         * math/w_lgammal.c (__lgammal): Likewise.
79215         * math/w_log10l.c (__log10l): Likewise.
79216         * math/w_log2l.c (__log2l): Likewise.
79217         * math/w_logl.c (__logl): Likewise.
79218         * math/w_powl.c (__powl): Likewise.
79219         * math/w_remainderl.c (__remainderl): Likewise.
79220         * math/w_scalbl.c (sysv_scalbl): Likewise.
79221         * math/w_sinhl.c (__sinhl): Likewise.
79222         * math/w_sqrtl.c (__sqrtl): Likewise.
79223         * math/w_tgammal.c (__tgammal): Likewise.
79224         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79225         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79226         * math/libm-test.inc (acos_test): Add more tests.
79227         (acosh_test): Likewise.
79228         (asin_test): Likewise.
79229         (atanh_test): Likewise.
79230         (exp_test): Likewise.
79231         (exp10_test): Likewise.
79232         (exp2_test): Likewise.
79233         (expm1_test): Likewise.
79234         (lgamma_test): Likewise.
79235         (log_test): Likewise.
79236         (log10_test): Likewise.
79237         (log1p_test): Likewise.
79238         (log2_test): Likewise.
79239         (pow_test): Do not allow some spurious overflow exceptions.
79240         (sqrt_test): Add more tests.
79241         (tgamma_test): Likewise.
79242         (y0_test): Likewise.
79243         (y1_test): Likewise.
79244         (yn_test): Likewise.
79246 2012-03-27  Anton Blanchard  <anton@samba.org>
79248         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79249         MAP_HUGETLB.
79250         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79251         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79252         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79254 2012-03-27  David S. Miller  <davem@davemloft.net>
79256         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79258         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79259         have-as-vis3 check.
79261 2012-03-27  Andreas Jaeger  <aj@suse.de>
79263         * sysdeps/x86_64/elf/configure.in: Moved to ...
79264         * sysdeps/x86_64/configure.in: ... here.
79265         * sysdeps/x86_64/elf/start.S: Moved to ...
79266         * sysdeps/x86_64/start.S: ... here.
79267         * sysdeps/x86_64/elf/configure: Delete.
79269         * sysdeps/x86_64/configure.in: Merge contents from
79270         sysdeps/i386/configure.in (without i686 check).
79272         * sysdeps/i386/elf/Versions: Merge into ...
79273         * sysdeps/i386/Versions: ... this.
79274         * sysdeps/i386/elf/Versions: Delete file.
79275         * sysdeps/i386/elf/start.S: Moved to ...
79276         * sysdeps/i386/start.S: ...here.
79277         * sysdeps/i386/elf/configure.in: Merge into...
79278         * sysdeps/i386/configure.in: ...here.
79279         * sysdeps/i386/elf/configure.in: Delete file.
79280         * sysdeps/i386/elf/configure: Delete file.
79282         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79283         * debug/backtracesyms.c: ... here.
79284         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79285         * debug/backtracesymsfd.c: ... here.
79286         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79287         * sysdeps/generic/ifunc-sel.h: ... here.
79289         * sysdeps/unix/i386/start.c: Delete file.
79290         * sysdeps/unix/sparc/start.c: Delete file.
79291         * sysdeps/unix/start.c: Delete file.
79293         * sysdeps/sh/elf/configure.in: Moved to ...
79294         * sysdeps/sh/configure.in: ... here.
79295         * sysdeps/sh/elf/start.S: Moved to ...
79296         * sysdeps/sh/start.S: ... here.
79297         * sysdeps/sh/elf/configure: Delete file.
79299         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79300         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79301         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79302         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79303         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79304         * sysdeps/powerpc/powerpc64/start.S: here.
79305         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79306         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79307         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79308         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79309         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79311         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79312         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79313         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79314         * sysdeps/powerpc/powerpc32/start.S: ... here.
79315         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79316         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79317         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79319         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79320         * sysdeps/powerpc/ifunc-sel.h: ... here.
79321         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79322         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79324         * sysdeps/sparc/elf/configure.in: Moved to ...
79325         * sysdeps/sparc/configure.in: ... here.
79326         * sysdeps/sparc/elf/configure: Delete file.
79327         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79328         * sysdeps/sparc/sparc32/start.S: ... here.
79329         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79330         * sysdeps/sparc/sparc64/start.S: ... here.
79331         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79332         * sysdeps/sparc/sparc32/Makefile: ... this.
79333         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79334         * sysdeps/sparc/sparc64/Makefile: ... this.
79336         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79337         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79338         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79339         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79340         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79341         * sysdeps/s390/s390-32/setjmp.S: ... here.
79342         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79343         * sysdeps/s390/s390-32/configure.in: ... here.
79344         * sysdeps/s390/s390-32/elf/configure: Delete file.
79345         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79346         * sysdeps/s390/s390-32/start.S: ... here.
79348         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79349         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79350         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79351         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79352         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79353         * sysdeps/s390/s390-64/setjmp.S: ... here.
79354         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79355         * sysdeps/s390/s390-64/configure.in: ... here
79356         * sysdeps/s390/s390-64/elf/configure: Delete file.
79357         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79358         * sysdeps/s390/s390-64/start.S: ... here.
79359         * sysdeps/s390/s390-64/elf/configure: Delete.
79361         * configure.in: Remove support for elf directories in sysdeps.
79363         * configure: Regenerated.
79364         * sysdeps/i386/configure: Regenerated.
79365         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79366         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79367         * sysdeps/s390/s390-32/configure: Regenerated.
79368         * sysdeps/s390/s390-64/configure: Regenerated.
79369         * sysdeps/sh/configure: Regenerated.
79370         * sysdeps/sparc/configure: Regenerated.
79371         * sysdeps/x86_64/configure: Regenerated.
79373 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79378         denormal result into account.
79380 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79382         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79383         Reported by Allan McRae <allan@archlinux.org>.
79385 2012-03-23  Jeff Law  <law@redhat.com>
79387         * nss/getnssent.c (__nss_getent): Fix typo.
79389 2012-03-23  David S. Miller  <davem@davemloft.net>
79391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79393 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79395         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79396         to pad to uint64_t for each field.
79397         (dl_tls_index): Replace unsigned long with uint64_t.
79399 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79400         Paul Pluzhnikov  <ppluzhnikov@google.com>
79402         [BZ #6528]
79403         * grp/Makefile (otherlibs): Don't set it.
79404         * inet/Makefile (otherlibs): Likewise.
79405         * login/Makefile (otherlibs): Likewise.
79406         * nscd/Makefile (otherlibs): Likewise.
79407         * posix/Makefile (otherlibs): Likewise.
79408         * pwd/Makefile (otherlibs): Likewise.
79409         * rt/Makefile (otherlibs): Likewise.
79410         * sunrpc/Makefile (otherlibs): Likewise.
79411         * nss/Makefile (otherlibs): Likewise.
79412         Add libnss_files to routines and static-only-routines.
79413         ($(objpfx)getent): Remove rule.
79414         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79415         static-only-routines.
79417 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79419         [BZ #13892]
79420         * math/s_cexp.c: Include <float.h>.
79421         (__cexp): Handle exp result overflowing not necessarily
79422         overflowing both real and imaginary parts of result.
79423         * math/s_cexpf.c: Likewise.
79424         * math/s_cexpl.c: Likewise.
79425         * math/libm-test.inc (cexp_test): Add more tests.
79426         * sysdeps/i386/fpu/libm-test-ulps: Update.
79427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79429 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79431         * include/link.h (ELFW): New macro.
79432         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79433         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79435 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79437         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79438         with uint64_t.
79440 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79442         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79443         declaration.
79444         (struct La_x32_retval): Likewise.
79446 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79448         * sysdeps/x86_64/preconfigure.in: New file.
79449         * sysdeps/x86_64/preconfigure: New generated file.
79451 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79453         [BZ #13824]
79454         * math/e_exp2l.c: Include <float.h>.
79455         (__ieee754_exp2l): Handle overflow and underflow cases
79456         separately.  Only pass fractional part of argument to
79457         __ieee754_expl.
79458         * math/libm-test.inc (exp2_test): Add more tests.
79460         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79461         negating x to take absolute value.
79462         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79463         Likewise.
79464         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79465         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79466         Likewise.
79467         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79468         computing low part if x was negated.
79469         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79471 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79473         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79474         la_x32_gnu_pltexit.
79475         (pltexit): Cast int_retval to ptrdiff_t.
79476         * elf/tst-auditmod3b.c: Likewise.
79477         * elf/tst-auditmod4b.c: Likewise.
79478         * elf/tst-auditmod5b.c: Likewise.
79479         * elf/tst-auditmod6b.c: Likewise.
79480         * elf/tst-auditmod6c.c: Likewise.
79481         * elf/tst-auditmod7b.c: Likewise.
79483         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79484         and x32_gnu_pltexit.
79486         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79487         __ELF_NATIVE_CLASS.
79488         (La_x32_regs): New macro.
79489         (La_x32_retval): Likewise.
79490         (la_x32_gnu_pltenter): New function prototype.
79491         (la_x32_gnu_pltexit): Likewise.
79493 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79495         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79496         exponent.
79498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79500         * configure.in (libc_cv_cc_nofma): Check for option to disable
79501         generation of FMA instructions.
79502         * configure: Regenerate.
79503         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79504         * sysdeps/ieee754/dbl-64/Makefile: New file.
79505         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79506         Remove brandred-fma4.
79507         (CFLAGS-brandred-fma4.c): Remove.
79508         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79509         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79510         define.
79511         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79512         define.
79514 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79516         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79517         LLONG_MAX != LONG_MAX.
79518         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79519         (_fitoa_word): Likewise.
79520         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79521         LLONG_MAX != LONG_MAX.
79522         * stdio-common/_itowa.h: Include <_itoa.h>.
79523         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79524         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79525         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79526         only if not defined.
79527         (_ITOA_WORD_TYPE): Likewise.
79528         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79529         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79531 2012-03-21  David S. Miller  <davem@davemloft.net>
79533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79535 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79537         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79538         of x86_64 when setting libc_cv_slibdir, libdir and
79539         libc_cv_localedir.
79540         * sysdeps/unix/sysv/linux/configure: Regenerated.
79542 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79544         * manual/lang.texi (Old Varargs): Remove section.
79545         (How Variadic): Update menu.
79546         (va_start): Do not mention varargs.h.
79548 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79549             Joseph Myers  <joseph@codesourcery.com>
79551         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79552         link test.
79553         * configure: Regenerated.
79555 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79557         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79558         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79559         conformtest.pl
79561 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79563         * NOTES: Remove.
79564         * Makefile (files-for-dist): Remove NOTES.
79565         (NOTES): Remove rule.
79566         * README: Don't refer to NOTES.
79567         * manual/creature.texi: Don't include macros.texi.
79568         * manual/intro.texi (creature.texi): Remove comment referring to
79569         NOTES.
79571         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79572         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79573         * configure: Regenerated.
79574         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79575         LIBC_TRY_CC_OPTION.
79576         (libc_cv_as_i686): Likewise.
79577         (libc_cv_cc_avx): Likewise.
79578         (libc_cv_cc_sse2avx): Likewise.
79579         (libc_cv_cc_fma4): Likewise.
79580         (libc_cv_cc_novzeroupper): Likewise.
79581         * sysdeps/i386/configure: Regenerated.
79583         [BZ #13883]
79584         * sysdeps/i386/fpu/s_cexp.S: Remove.
79585         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79586         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79587         * math/libm-test.inc (cexp_test): Add more tests.
79588         * sysdeps/i386/fpu/libm-test-ulps: Update.
79589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79591 2012-03-21  Allan McRae  <allan@archlinux.org>
79593         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79595 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79597         [BZ #13871]
79598         * math/w_exp2.c: Do not include <float.h>.
79599         (o_threshold, u_threshold): Remove.
79600         (__exp2): Calculate result before checking finiteness and calling
79601         __kernel_standard.
79602         * math/w_exp2f.c: Likewise.
79603         * math/w_exp2l.c: Likewise.
79604         * math/libm-test.inc (exp2_test): Require overflow exception for
79605         1e6 input.
79607         [BZ #3866]
79608         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79609         range of signed 64-bit integers before using fistpll.  Remove
79610         checks for whether integers fit in mantissa bits.
79611         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79612         the range of signed 32-bit integers before using fistpl.  Remove
79613         checks for whether integers fit in mantissa bits.
79614         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79615         (__ieee754_powl): Test for y outside the range of signed 64-bit
79616         integers before using fistpll.  Reduce 64-bit values to 63-bit
79617         ones as needed.
79618         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79619         divide-by-zero is raised for zero to large negative powers.
79620         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79621         (__ieee754_powl): Test for y outside the range of signed 64-bit
79622         integers before using fistpll.  Reduce 64-bit values to 63-bit
79623         ones as needed.
79624         * math/libm-test.inc (pow_test): Add more tests.
79626 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79628         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79629         <stdio-common/_itoa.h>.
79630         * debug/segfault.c: Likewise.
79631         * elf/dl-cache.c: Likewise.
79632         * elf/dl-minimal.c: Likewise.
79633         * elf/dl-misc.c: Likewise.
79634         * elf/dl-sysdep.c: Likewise.
79635         * elf/dl-version.c: Likewise.
79636         * elf/rtld.c: Likewise.
79637         * hurd/hurdsock.c: Likewise.
79638         * hurd/lookup-retry.c: Likewise.
79639         * malloc/malloc.c: Likewise.
79640         * malloc/mtrace.c: Likewise.
79641         * nscd/nscd_getgr_r.c: Likewise.
79642         * nscd/nscd_getpw_r.c: Likewise.
79643         * nscd/nscd_getserv_r.c: Likewise.
79644         * posix/getopt_init.c: Likewise.
79645         * posix/wordexp.c: Likewise.
79646         * stdio-common/_itoa.c: Likewise.
79647         * stdio-common/printf_fphex.c: Likewise.
79648         * stdio-common/vfprintf.c: Likewise.
79649         * string/_strerror.c: Likewise.
79650         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79651         * sysdeps/i386/i686/hp-timing.h: Likewise.
79652         * sysdeps/mach/_strerror.c: Likewise.
79653         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79654         * sysdeps/mach/hurd/sethostid.c: Likewise.
79655         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79656         * sysdeps/mach/xpg-strerror.c: Likewise.
79657         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79658         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79659         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79660         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79661         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79662         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79663         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79664         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79665         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79666         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79667         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79668         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79669         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79670         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79671         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79672         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79673         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79674         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79675         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79676         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79677         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79679         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79681         * stdio-common/_itoa.h: Moved to ...
79682         * sysdeps/generic/_itoa.h: Here.
79684         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79686         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79687         instead of "_itoa.h" and "_itowa.h".
79688         * stdio-common/vfprintf.: Likewise.
79690 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79692         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79693         <bits/wordsize.h>.
79694         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79695         (__signbit): Likewise.
79696         (llrintf): Likewise.
79697         (llrint): Likewise.
79699 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79701         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79702         __WORDSIZE != 64.
79704 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79706         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79707         OVERFLOW_EXCEPTION_OK.
79708         * math/libm-test.inc ("Philosophy"): Update comment about
79709         exception testing.
79710         (OVERFLOW_EXCEPTION): Define.
79711         (OVERFLOW_EXCEPTION_OK): Likewise.
79712         (INVALID_EXCEPTION_OK): Renumber.
79713         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79714         (IGNORE_ZERO_INF_SIGN): Likewise.
79715         (test_exceptions): Handle FE_OVERFLOW.
79716         (exp10_test): Expect overflow exceptions.
79717         (exp2_test): Likewise.
79718         (expm1_test): Likewise.
79719         (nextafter_test): Likewise.
79720         (pow_test): Likewise.
79721         (scalbn_test): Likewise.
79722         (scalbln_test): Likewise.
79724 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79726         * sysdeps/x86_64/bits/atomic.h
79727         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79728         64bit integer.
79729         (atomic_exchange_acq): Likewise.
79730         (__arch_exchange_and_add_body): Likewise.
79731         (__arch_add_body): Likewise.
79732         (atomic_add_negative): Likewise.
79733         (atomic_add_zero): Likewise.
79735 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79737         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79738         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79740 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79742         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79743         Check __x86_64__ instead of __WORDSIZE.
79745 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79747         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79749 2012-03-19  David S. Miller  <davem@davemloft.net>
79751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79753         * sysdeps/sparc/fpu/fenv_private.h: New file.
79754         * sysdeps/sparc/fpu/math_private.h: Use it.
79755         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79756         Remove.
79757         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79758         (libc_feholdexcept_setroundl): Remove.
79759         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79760         Remove.
79761         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79762         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79764 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79766         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79767         int64_t instead of long int.
79768         (INSERT_WORDS64): Likewise.
79770 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79772         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79773         _Unwind_GetCFA return to _Unwind_Ptr first.
79775 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79777         [BZ #13629]
79778         * math/s_clog.c: Include <float.h>.
79779         (__clog): Scale large or subnormal inputs.
79780         * math/s_clogf.c: Likewise.
79781         * math/s_clogl.c: Likewise.
79782         * math/s_clog10.c: Include <float.h>.
79783         (M_LOG10_2): Define.
79784         (__clog10): Scale large or subnormal inputs.
79785         * math/s_clog10f.c: Likewise.
79786         * math/s_clog10l.c: Likewise.
79787         * math/libm-test.inc (clog_test): Add more tests.
79788         (clog10_test): Likewise.
79789         * sysdeps/i386/fpu/libm-test-ulps: Update.
79790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79792         [BZ #11451]
79793         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79794         x and y.
79795         * math/libm-test.inc (atan2_test): Add another test.
79797         * Makerules (common-objdir-compile): Remove.
79798         * sysdeps/unix/Makefile (config-generated): Do not add
79799         $(unix-generated) to variable.
79800         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79801         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79802         Remove rule.
79803         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79804         Likewise.
79805         [generic bits/local_lim.h] (before-compile): Do not append to
79806         variable.
79807         [generic bits/local_lim.h] (common-generated): Likewise.
79808         [generic sys/param.h] (before-compile): Do not append to variable.
79809         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79810         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79811         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79812         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79813         include.
79814         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79815         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79816         [generic sys/param.h] ($(addprefix
79817         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79818         [generic sys/param.h] (common-generated): Do not append to
79819         variable.
79820         [generic sys/param.h] (sysdep_headers): Likewise.
79821         [generic bits/errno.h] (before-compile): Do not append to
79822         variable.
79823         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79824         rule.
79825         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79826         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79827         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79828         [generic bits/errno.h] (common-generated): Do not append to
79829         variable.
79830         [generic bits/ioctls.h] (before-compile): Do not append to
79831         variable.
79832         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79833         rule.
79834         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79835         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79836         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79837         rule.
79838         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79839         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79840         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79841         [generic bits/ioctls.h] (common-generated): Do not append to
79842         variable.
79843         [generic sys/syscall.h] (syscall.h): Remove variable.
79844         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79845         rule.
79846         [generic sys/syscall.h] (before-compile): Do not append to
79847         variable.
79848         [generic sys/syscall.h] (common-generated): Likewise.
79849         * sysdeps/unix/errnos-tmpl.c: Remove file.
79850         * sysdeps/unix/errnos.awk: Likewise.
79851         * sysdeps/unix/ioctls-tmpl.c: Likewise.
79852         * sysdeps/unix/ioctls.awk: Likewise.
79853         * sysdeps/unix/mk-local_lim.c: Likewise.
79854         * sysdeps/unix/snarf-ioctls: Likewise.
79856 2012-03-19  Richard Henderson  <rth@twiddle.net>
79858         * sysdeps/i386/fpu/fenv_private.h: New file.
79859         * sysdeps/i386/fpu/math_private.h: Use it.
79860         (math_opt_barrier, math_force_eval): Remove.
79861         (libc_feholdexcept_setround_53bit): Remove.
79862         (libc_feupdateenv_53bit): Remove.
79863         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79864         (math_opt_barrier, math_force_eval): Remove.
79865         (libc_feholdexcept): Remove.
79866         (libc_feholdexcept_setround): Remove.
79867         (libc_fetestexcept, libc_fesetenv): Remove.
79868         (libc_feupdateenv_test): Remove.
79869         (libc_feupdateenv, libc_feholdsetround): Remove.
79870         (libc_feresetround): Remove.
79872         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
79873         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
79875         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
79876         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
79877         (libc_feupdateenv_testl): New.
79878         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
79879         (libc_feupdateenv_testf): New.
79880         (libc_feupdateenv): Use libc_feupdateenv_test.
79881         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
79882         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
79884         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
79885         (libc_feholdsetroundf, libc_feholdsetroundl): New.
79886         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
79887         (libc_feresetround_noex): New.
79888         (libc_feresetround_noexf): New.
79889         (libc_feresetround_noexl): New.
79890         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
79891         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
79892         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
79893         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
79894         SET_RESTORE_ROUND.
79895         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
79896         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
79897         (__cos): Likewise.
79898         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
79899         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
79900         SET_RESTORE_ROUND_NOEX.
79901         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
79902         SET_RESTORE_ROUND_NOEXF.
79903         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
79904         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
79905         (libc_feholdsetroundf): New.
79906         (libc_feresetround, libc_feresetroundf): New.
79908         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
79909         (libc_feholdexcept_setround_53bit): Convert from macro to function.
79910         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
79912         * sysdeps/generic/math_private.h: Include <fenv.h>.
79913         (default_libc_feholdexcept): New.
79914         (default_libc_feholdexcept_setround): New.
79915         (default_libc_fesetenv, default_libc_feupdateenv): New.
79916         (libc_feholdexcept): Only define if undefined.
79917         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
79918         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
79919         (libc_feholdexcept_setroundl): Likewise.
79920         (libc_feholdexcept_setround_53bit): Likewise.
79921         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
79922         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
79923         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
79924         (libc_feupdateenv_53bit): Likewise.
79925         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
79926         (libc_feholdexcept): Convert from macro to inline function.
79927         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
79928         (libc_fesetenv, libc_feupdateenv): Likewise.
79930         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
79931         not previously defined.
79932         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
79933         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
79934         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
79935         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
79936         * sysdeps/ieee754/flt-32/math_private.h: New file.
79937         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
79938         math_private.h below SET_FLOAT_WORD.
79939         (__isnan, __isinf_ns, __finite): Remove.
79940         (__isnanf, __isinf_nsf, __finitef): Remove.
79942 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
79944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79946 2012-03-17  David S. Miller  <davem@davemloft.net>
79948         [BZ #6471]
79949         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
79950         for 2.16.
79952 2012-03-16  David S. Miller  <davem@davemloft.net>
79954         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
79955         warnings.
79957         [BZ #6471]
79958         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
79959         properly.
79960         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
79961         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
79962         sysdep_routines when subdir is sysvipc.
79963         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
79964         __getshmlba helper.
79966         * sysdeps/sparc/fpu/libm-test/ulps: Update.
79968 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79970         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
79971         [__LP64__].
79973 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79975         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
79976         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
79977         (__lround): Renamed to ...
79978         (__llround): This.  Replace long int with long long int.
79979         Define lround functions as aliases of llround functions.
79980         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
79982 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79984         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
79985         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
79986         adresses to uintptr_t.  Replace "long int" and "unsigned long
79987         int" with "greg_t" on va_arg.
79989 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79991         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
79992         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
79994         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
79995         Move e_machine check before EI_CLASS check.  Handle x32
79996         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
79997         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
79998         SKIP_EM_IA_64 and include
79999         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80001         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80002         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80003         (add_system_dir): New macro.
80005         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80006         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80008 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80010         [BZ #2551]
80011         [BZ #2552]
80012         [BZ #2553]
80013         [BZ #2554]
80014         [BZ #2562]
80015         [BZ #2563]
80016         [BZ #2565]
80017         [BZ #2566]
80018         [BZ #2576]
80019         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80020         (y0): Likewise.
80021         * math/w_j0f.c (j0f): Likewise.
80022         (y0f): Likewise.
80023         * math/w_j0l.c (__j0l): Likewise.
80024         (__y0l): Likewise.
80025         * math/w_j1.c (j1): Likewise.
80026         (y1): Likewise.
80027         * math/w_j1f.c (j1f): Likewise.
80028         (y1f): Likewise.
80029         * math/w_j1l.c (__j1l): Likewise.
80030         (__y1l): Likewise.
80031         * math/w_jn.c (jn): Likewise.
80032         (yn): Likewise.
80033         * math/w_jnf.c (jnf): Likewise.
80034         (ynf): Likewise.
80035         * math/w_jnl.c (__jnl): Likewise.
80036         (__ynl): Likewise.
80037         * math/libm-test.inc (j0_test): Add more tests.
80038         (j1_test): Likewise.
80039         (jn_test): Likewise.  Add trailing semicolon to existing test.
80040         (y0_test): Likewise.
80041         (y1_test): Likewise.
80042         * sysdeps/i386/fpu/libm-test-ulps: Update.
80043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80045         [BZ #13851]
80046         [BZ #13854]
80047         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80048         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80049         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80050         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80051         (__tanl): Set errno for infinite argument.
80052         * sysdeps/i386/fpu/mptan.c: Remove.
80053         * sysdeps/i386/fpu/s_tan.S: Likewise.
80054         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80055         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80056         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80057         * math/libm-test.inc (tan_test): Add more tests and enable more
80058         tests for double and long double.
80059         * sysdeps/i386/fpu/libm-test-ulps: Update.
80060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80062 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80064         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80065         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80067 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80069         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80070         * configure.in: Use it for both main tree and add-ons.
80071         * configure: Regenerated.
80073 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80075         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80077 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80079         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80080         in comment.
80082         [BZ #13851]
80083         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80084         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80085         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80086         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80087         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80088         infinite argument.
80089         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80090         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80091         != 0 for prec == 2.
80092         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80093         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80094         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80095         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80096         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80097         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80098         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80099         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80100         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80101         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80102         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80103         * math/libm-test.inc (cos_test): Add more tests and enable more
80104         tests for long double.
80105         (sin_test): Likewise.
80106         (sincos_test): Likewise.
80107         * sysdeps/i386/fpu/libm-test-ulps: Update.
80108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80110 2012-03-16  David S. Miller  <davem@davemloft.net>
80112         * sysdeps/sparc/fpu/math_private.h: New file.
80114 2012-03-15  David S. Miller  <davem@davemloft.net>
80116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80117         file.
80118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80120         file.
80121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80122         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80123         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80126         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80127         sysdep routines.
80128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80130         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80131         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80133         * sysdeps/sparc/sparc-ifunc.h: New file.
80134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80135         sparc-ifunc.h
80136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80138         Likewise.
80139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80140         Likewise.
80141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80145         Likewise.
80146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80151         Likewise.
80152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80153         Likewise.
80154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80158         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80160         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80161         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80167         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80168         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80169         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80170         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80171         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80172         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80173         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80174         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80175         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80176         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80177         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80179 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80181         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80182         scaling.
80183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80185 2012-03-15  Andreas Jaeger  <aj@suse.de>
80187         [BZ #13852]
80188         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80189         ieee754/flt-32 implementation for sin, cos and sincos.
80190         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80191         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80192         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80193         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80194         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80195         ieee754/flt-32 implementation for tan.
80197         * math/libm-test.inc (cos_test): Enable some large input tests for
80198         float as well
80199         (sin_test): Likewise.
80200         (sincos_test): Likewise.
80201         (tan_test): Add tests for large input.
80203         * sysdeps/i386/fpu/libm-test-ulps: Update.
80205 2012-03-15  Andreas Jaeger  <aj@suse.de>
80207         [BZ #13658]
80208         * math/libm-test.inc (cos_test): Add more test cases.
80209         (sin_test): Likewise.
80210         (sincos_test): Likewise.
80212 2012-03-15  Andreas Jaeger  <aj@suse.de>
80214         [BZ #13837]
80215         * math/libm-test.inc (cos_test): Add a test case for large input
80216         value.
80217         (sin_test): Likewise.
80218         (sincos_test): Likewise.
80220 2012-03-15  Andreas Jaeger  <aj@suse.de>
80221             Joseph Myers  <joseph@codesourcery.com>
80223         [BZ #13658]
80224         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80225         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80226         * sysdeps/i386/fpu/branred.c: Likewise.
80227         * sysdeps/i386/fpu/dosincos.c: Likewise.
80228         * sysdeps/i386/fpu/mpa.c: Likewise.
80229         * sysdeps/i386/fpu/s_cos.S: Likewise.
80230         * sysdeps/i386/fpu/s_sin.S: Likewise.
80231         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80232         * sysdeps/i386/fpu/sincos32.c: Likewise.
80234         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80235         Define.
80236         (libc_feupdateenv_53bit): Define.
80237         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80238         Define.
80239         (libc_feupdateenv_53bit): Define.
80241         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80242         53 bit (without extend i386 double precision).
80244         * math/libm-test.inc (sincos_test): Add tests for large input.
80245         (sin): Likewise.
80246         (cos): Likewise.
80248         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80250 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80254 2012-03-15  David S. Miller  <davem@davemloft.net>
80256         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80257         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80258         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80259         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80266         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80267         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80272         file.
80273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80275         file.
80276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80278         file.
80279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80281         file.
80282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80283         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80284         fmin/fmax sysdep routines.
80285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80287 2012-03-14  David S. Miller  <davem@davemloft.net>
80289         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80293         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80294         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80295         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80296         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80301         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80302         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80303         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80304         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80305         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80309         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80310         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80311         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80312         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80313         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80314         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80315         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80316         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80317         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80318         routines.
80319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80320         file.
80321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80323         file.
80324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80326         file.
80327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80329         file.
80330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80332         file.
80333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80335         file.
80336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80337         file.
80338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80339         file.
80340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80341         file.
80342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80343         New file.
80344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80345         file.
80346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80347         file.
80348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80350         file.
80351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80353         file.
80354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80356         file.
80357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80359         VIS3 routines.
80361         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80362         New file.
80364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80366         * sysdeps/sparc/configure.in: New file.
80367         * sysdeps/sparc/configure: Generate.
80368         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80369         * configure: Regenerate.
80370         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80371         * config.make.in (have-as-vis3): New.
80372         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80373         available use -Av9d instead of -Av9a.
80374         * sysdeps/sparc/sparc64/Makefile: Likewise.
80375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80377         New file.
80378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80379         file.
80380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80381         New file.
80382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80383         file.
80384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80385         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80386         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80387         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80388         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80390         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80391         fzeros/fnegs to load 0x80000000 into a float register instead of
80392         using the stack.
80393         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80395 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80398         bits/syscall.h.
80399         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80400         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80401         ($(inst_includedir)/bits/syscall.h): Remove rule.
80402         ($(objpfx)bits/syscall.d): Include instead of
80403         $(objpfx)syscall-list.d.
80404         (generated): Change syscall-list.h and syscall-list.d to
80405         bits/syscall.h and bits/syscall.d.
80407 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80409         [BZ #13846]
80410         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80412 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80414         [BZ #13841]
80415         * math/s_csqrt.c: Include <float.h>.
80416         (__csqrt): Scale large or subnormal inputs.
80417         * math/s_csqrtf.c: Likewise.
80418         * math/s_csqrtl.c: Likewise.
80419         * math/libm-test.inc (csqrt_test): Add more tests.
80420         * sysdeps/i386/fpu/libm-test-ulps: Update.
80421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80423         [BZ #13840]
80424         * math/libm-test.inc (hypot_test): Add more tests.
80426 2012-03-13  David S. Miller  <davem@davemloft.net>
80428         [BZ #13840]
80429         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80430         double-precision for the calculation instead of scaling.
80432 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80434         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80435         manipulate bits before adding and subtracting TWO52[sx].
80436         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80437         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80438         Likewise.
80439         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80441 2012-03-13  David S. Miller  <davem@davemloft.net>
80443         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80444         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80445         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80446         rtld-global-offsets.h
80447         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80449         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80450         large parameters.
80452         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80454         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80455         'err' in the ifdef scope in which it is actually used.
80457         * nss/nss_db/db-init.c: Include string.h
80459 2012-03-12  David S. Miller  <davem@davemloft.net>
80461         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80462         masking out of the most significant byte of random value used.
80463         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80464         Fix coding style in previous change.
80466         * sysdeps/unix/sysv/linux/kernel-features.h
80467         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80468         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80469         expression.
80470         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80471         later.
80473 2012-03-11  David S. Miller  <davem@davemloft.net>
80475         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80476         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80477         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80478         for 'resultvar' otherwise things get truncated on 64-bit.
80480         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80481         Fix masking out of the most significant byte of random value used.
80483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80485 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80489 2012-03-09  David S. Miller  <davem@davemloft.net>
80491         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80492         variables with appropriate CPP guards.
80493         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80494         from the frame pointer, not the stack pointer.  Correct layout
80495         comments.  Fix test on resulting framesize and the management of
80496         the outregs buffer for pltexit.  Preserve floating point return
80497         values across _dl_call_pltexit call.
80498         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80499         framesize and the management of the outregs buffer for pltexit.
80500         Preserve floating point return values across _dl_call_pltexit
80501         call.
80502         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80503         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80504         (la_sparc64_gnu_pltexit): New functions.
80505         (print_exit): Fix format string for return register value.
80507 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80509         * sunrpc/Makefile (others): Add rpcgen.
80510         ($(objpfx)rpcgen): Remove special build rule and dependency on
80511         libc.
80512         * sunrpc/rpcgen.c: New file.
80514 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80516         [BZ #13673]
80517         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80518         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80519         * sysdeps/i386/crti.S: Likewise.
80520         * sysdeps/i386/crtn.S: Likewise.
80521         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80522         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80523         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80524         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80525         * sysdeps/sh/crti.S: Likewise.
80526         * sysdeps/sh/crtn.S: Likewise.
80527         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80529         [BZ #13673]
80530         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80531         with URL.
80532         * locale/programs/locfile-kw.gperf: Likewise.
80533         * locale/programs/charmap-kw.h: Regenerated.
80534         * locale/programs/locfile-kw.h: Likewise.
80536         [BZ #13673]
80537         * intl/plural.y: Replace FSF snail mail address with URL.
80538         * intl/plural.c: Regenerated.
80540 2012-03-09  Richard Henderson  <rth@twiddle.net>
80542         * include/math_private.h: Remove file.
80543         * math/math_private.h: Move file ...
80544         * sysdeps/generic/math_private.h: ... here.
80546         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80547         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80548         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80550         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80551         and <math_private.h>.
80552         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80553         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80554         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80555         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80556         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80557         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80558         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80559         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80560         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80561         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80562         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80563         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80564         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80565         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80566         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80567         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80568         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80569         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80570         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80571         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80572         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80573         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80574         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80575         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80576         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80577         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80578         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80579         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80581         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80582         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80583         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80584         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80585         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80586         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80587         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80588         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80589         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80590         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80591         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80592         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80593         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80594         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80595         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80596         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80597         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80598         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80599         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80600         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80601         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80602         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80603         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80604         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80605         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80606         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80607         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80608         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80609         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80610         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80611         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80612         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80613         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80614         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80615         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80616         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80617         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80618         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80619         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80620         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80621         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80622         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80623         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80624         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80625         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80626         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80627         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80628         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80629         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80630         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80631         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80632         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80633         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80634         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80635         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80636         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80637         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80638         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80639         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80640         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80641         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80642         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80643         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80644         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80645         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80646         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80647         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80648         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80649         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80650         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80651         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80652         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80653         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80654         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80655         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80656         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80657         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80658         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80659         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80660         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80661         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80662         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80663         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80664         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80665         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80666         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80667         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80668         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80669         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80670         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80671         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80672         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80673         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80674         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80675         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80676         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80677         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80678         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80679         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80680         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80681         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80682         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80683         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80684         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80685         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80686         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80687         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80688         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80689         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80690         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80691         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80692         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80693         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80694         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80695         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80696         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80697         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80698         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80699         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80700         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80701         * sysdeps/ieee754/k_standard.c: Likewise.
80702         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80703         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80704         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80705         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80706         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80707         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80708         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80709         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80710         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80711         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80712         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80713         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80714         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80715         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80716         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80717         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80718         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80719         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80720         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80721         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80722         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80723         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80724         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80725         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80726         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80727         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80728         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80729         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80730         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80731         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80732         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80733         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80734         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80735         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80736         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80737         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80738         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80739         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80740         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80741         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80742         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80743         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80744         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80745         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80746         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80747         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80748         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80749         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80750         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80751         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80752         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80753         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80754         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80755         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80756         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80757         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80758         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80759         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80760         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80761         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80762         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80763         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80764         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80765         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80766         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80767         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80768         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80769         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80770         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80771         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80772         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80773         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80774         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80775         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80776         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80777         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80778         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80779         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80780         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80781         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80782         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80783         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80784         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80785         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80786         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80787         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80788         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80789         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80790         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80791         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80792         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80793         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80794         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80795         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80796         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80797         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80798         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80799         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80800         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80801         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80802         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80803         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80804         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80805         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80806         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80807         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80808         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80809         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80810         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80811         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80812         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80813         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80814         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80815         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80816         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80817         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80818         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80819         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80820         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80821         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80822         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80823         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80824         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80825         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80826         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80827         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80828         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80829         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80830         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80831         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80832         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80833         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80834         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80835         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80836         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80837         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80838         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80839         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80840         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80841         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80842         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80843         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80844         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80845         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80846         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80847         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80848         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80849         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80850         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80851         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
80852         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80853         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80854         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80855         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80856         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
80857         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
80858         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80859         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80860         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80861         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
80862         * sysdeps/ieee754/s_lib_version.c: Likewise.
80863         * sysdeps/ieee754/s_matherr.c: Likewise.
80864         * sysdeps/ieee754/s_signgam.c: Likewise.
80865         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80866         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80867         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
80868         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
80869         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
80870         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80871         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
80872         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
80873         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
80874         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
80875         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
80876         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
80877         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80878         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80879         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
80880         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
80881         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
80882         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
80883         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
80884         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80885         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80887 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80889         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
80890         * sunrpc/rpc_main.c: Likewise.
80891         * sunrpc/rpc_svcout.c: Likewise.
80893 2012-03-09  David S. Miller  <davem@davemloft.net>
80895         * include/math_private.h: New file.
80897 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80899         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
80900         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
80901         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
80902         from <bits/socket_type.h>.
80903         (enum __socket_type): Don't define here.
80904         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
80905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80906         bits/socket_type.h.
80908         [BZ #13566]
80909         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
80910         checking __USE_GNU.
80912         * Makerules ($(inst_includedir)/%.h): New rule.
80913         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
80914         (install-others): Remove variable setting.
80915         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
80917 2012-03-08  Richard Henderson  <rth@twiddle.net>
80919         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
80920         from macro to inline function; merge with the
80921         !__LIBC_INTERNAL_MATH_INLINES version.
80922         (__ieee754_sqrtf): Likewise.
80924         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
80925         to inline function.
80926         (__rintf, __floor, __floorf): Likewise.
80928         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
80929         macro to inline function.
80930         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
80932         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
80933         not <math/math_private.h>.
80935 2012-03-08  David S. Miller  <davem@davemloft.net>
80937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
80938         copyright year.
80939         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
80941 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
80943         * resolv/gai_misc.c (handle_requests): Fix struct timespec
80944         normalization.
80945         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
80946         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
80948 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
80950         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
80951         be defined individually, they must be defined as a block.  Define
80952         S for printing a string instead of hidint the different by using a
80953         macro for adding the 'l'.
80954         * stdio-common/tst-fphex-wide.c: Adjust.
80956 2012-03-07  Marek Polacek  <polacek@redhat.com>
80958         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
80960 2012-03-08  Marek Polacek  <polacek@redhat.com>
80962         [BZ #13806]
80963         * stdio-common/Makefile (tests): Add tst-fphex-wide.
80964         * stdio-common/tst-fphex.c: Define a few macros to make the
80965         test reusable.  Use them.
80966         * stdio-common/tst-fphex-wide.c: New file.
80968 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
80970         [BZ #6911]
80971         * manual/macros.texi (gnusystems): New macro.
80972         (nongnusystems): Likewise.
80973         (gnulinuxhurdsystems): Likewise.
80974         (gnuhurdsystems): Likewise..
80975         (gnulinuxsystems): Likewise.
80976         * manual/charset.texi: Use new macros or @theglibc{} to refer to
80977         variants of the GNU system, not "GNU system".
80978         * manual/conf.texi: Likewise.
80979         * manual/errno.texi: Likewise.  Update example of errno macro
80980         expansion.
80981         * manual/filesys.texi: Likewise.
80982         (getumask): Document as specific to GNU/Hurd.
80983         * manual/install.texi: Likewise.  Reword some references to
80984         GNU/Linux.
80985         * manual/intro.texi: Likewise.
80986         * manual/io.texi: Likewise.
80987         (File Name Portability): Detail which constraints are inapplicable
80988         to all GNU systems and which are only inapplicable to GNU/Hurd.
80989         * manual/job.texi: Likewise.
80990         * manual/llio.texi: Likewise.
80991         (O_NOCTTY): Document as present on GNU/Linux.
80992         * manual/maint.texi: Likewise.
80993         * manual/memory.texi: Likewise.
80994         * manual/pattern.texi: Likewise.
80995         * manual/pipe.texi: Likewise.
80996         * manual/process.texi: Likewise.
80997         * manual/resource.texi: Likewise.
80998         (RUSAGE_CHILDREN): Remove statement about specifying a particular
80999         child on GNU/Hurd.
81000         * manual/setjmp.texi: Likewise.
81001         * manual/signal.texi: Likewise.
81002         * manual/startup.texi: Likewise.
81003         * manual/stdio.texi: Likewise.
81004         * manual/terminal.texi: Likewise.
81005         (ONLCR): Document as POSIX.
81006         (OXTABS): Document availability on GNU/Linux as XTABS.
81007         (ONOEOT): Document availability separately from other bits.
81008         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81009         * manual/time.texi: Likewise.
81010         * manual/users.texi: Likewise.
81011         * INSTALL: Regenerated.
81012         * sysdeps/gnu/errlist.c: Regenerated.
81014         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81015         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81016         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81017         puts.
81018         * configure: Regenerated.
81020 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81022         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81023         default includes instead of AC_HEADER_CHECK.
81024         * sysdeps/i386/configure: Regenerated.
81026         [BZ #10716]
81027         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81028         * math/s_cacoshf.c (__cacoshf): Likewise.
81029         * math/s_cacoshl.c (__cacoshl): Likewise.
81030         * math/s_casinh.c (__casinh): Set signs of result from argument.
81031         * math/s_casinhf.c (__casinhf): Likewise.
81032         * math/s_casinhl.c (__casinhl): Likewise.
81033         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81034         (casinh_test): Add more tests.
81035         * sysdeps/i386/fpu/libm-test-ulps: Update.
81036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81038 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81040         * po/zh_TW.po: Update from translation team.
81042         * login/Makefile (distribute): Remove variable.
81043         * catgets/Makefile: Likewise.
81044         * mach/Makefile: Likewise.
81045         * malloc/Makefile: Likewise.
81046         * misc/Makefile: Likewise.
81047         * iconv/Makefile: Likewise.
81048         * nscd/Makefile: Likewise.
81049         * hurd/Makefile: Likewise.
81050         * manual/Makefile: Likewise.
81051         * locale/Makefile: Likewise.
81052         * intl/Makefile: Likewise.
81053         * conform/Makefile: Likewise.
81054         * nss/Makefile: Likewise.
81055         * time/Makefile: Likewise.
81056         * soft-fp/Makefile: Likewise.
81057         * dirent/Makefile: Likewise.
81058         * gmon/Makefile: Likewise.
81059         * po/Makefile: Likewise.
81060         * rt/Makefile: Likewise.
81061         * socket/Makefile: Likewise.
81062         * math/Makefile: Likewise.
81063         * signal/Makefile: Likewise.
81064         * debug/Makefile: Likewise.
81065         * elf/Makefile: Likewise.
81066         * timezone/Makefile: Likewise.
81067         * stdlib/Makefile: Likewise.
81068         * iconvdata/Makefile: Likewise.
81069         * sunrpc/Makefile: Likewise.
81070         * io/Makefile: Likewise.
81071         * argp/Makefile: Likewise.
81072         * inet/Makefile: Likewise.
81073         * hesiod/Makefile: Likewise.
81074         * grp/Makefile: Likewise.
81075         * csu/Makefile: Likewise.
81076         * wctype/Makefile: Likewise.
81077         * crypt/Makefile: Likewise.
81078         * libio/Makefile: Likewise.
81079         * string/Makefile: Likewise.
81080         * nis/Makefile: Likewise.
81081         * resolv/Makefile: Likewise.
81082         * stdio-common/Makefile: Likewise.
81083         * wcsmbs/Makefile: Likewise.
81084         * dlfcn/Makefile: Likewise.
81085         * posix/Makefile: Likewise.
81087         [BZ #6959]
81088         * timezone/Makefile: Don't install timezone files, just the programs
81089         and scripts.
81091 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81093         * nss/databases.def: Add missing gshadow entry.
81095         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81097 2012-03-06  Marek Polacek  <polacek@redhat.com>
81099         [BZ #13726]
81100         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81101         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81102         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81103         * stdio-common/tst-long-dbl-fphex.c: New file.
81105 2012-03-06  David S. Miller  <davem@davemloft.net>
81107         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81108         (set_obp_int): New function.
81109         (get_obp_int): New function.
81110         (__get_clockfreq_via_dev_openprom): Likewise.
81111         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81112         Avoid unused variable warnings on 'val' and use builtin_expect.
81113         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81114         __builtin_expect.
81115         (INLINE_CLONE_SYSCALL): Likewise.
81117 2012-03-05  David S. Miller  <davem@davemloft.net>
81119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81121 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81125         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81126         only for |x| >= 40.
81127         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81129 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81131         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81132         Replace gettimeofday with __vdso_gettimeofday.
81134         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81135         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81136         __vdso_clock_gettime and __vdso_getcpu.
81138         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81139         time with __vdso_time.
81141 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81143         * manual/lang.texi (size_t): Note types to which size_t may be
81144         equivalent with the GNU C Library, but do not describe when
81145         differences between them are significant.
81147 2012-03-05  Andreas Jaeger  <aj@suse.de>
81149         * sysdeps/i386/fpu/libm-test-ulps: Update.
81151 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81153         [BZ #3976]
81154         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81155         (__ieee754_pow): Save and restore rounding mode and use
81156         round-to-nearest for main computations.
81157         * math/libm-test.inc (pow_test_tonearest): New function.
81158         (pow_test_towardzero): Likewise.
81159         (pow_test_downward): Likewise.
81160         (pow_test_upward): Likewise.
81161         (main): Call the new functions.
81162         * sysdeps/i386/fpu/libm-test-ulps: Update.
81163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81165         [BZ #3976]
81166         * math/libm-test.inc (cosh_test_tonearest): New function.
81167         (cosh_test_towardzero): Likewise.
81168         (cosh_test_downward): Likewise.
81169         (cosh_test_upward): Likewise.
81170         (sinh_test_tonearest): Likewise.
81171         (sinh_test_towardzero): Likewise.
81172         (sinh_test_downward): Likewise.
81173         (sinh_test_upward): Likewise.
81174         (main): Call the new functions.
81175         * sysdeps/i386/fpu/libm-test-ulps: Update.
81176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81178 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81180         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81181         default stack guard is set in last bytes.
81182         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81184 2012-03-05  Kees Cook  <keescook@chromium.org>
81186         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81188         [BZ #13656]
81189         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81190         possibly allocate from heap instead of stack.
81191         * stdio-common/bug-vfprintf-nargs.c: New file.
81192         * stdio-common/Makefile (tests): Add nargs overflow test.
81194 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81198 2012-03-03  Marek Polacek  <polacek@redhat.com>
81200         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81201         * math/math_private.h: Likewise.
81202         * stdlib/tst-strtod.c: Likewise.
81203         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81204         * sysdeps/x86_64/bits/atomic.h: Likewise.
81206 2012-03-02  David S. Miller  <davem@davemloft.net>
81208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81212         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81213         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81214         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81215         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81217 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81219         [BZ #13792]
81220         * manual/examples/README: New file, says the example source files
81221         can be used under GPL>=2.
81222         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81223         line containing just "*/".
81224         * manual/examples/add.c: Add copyright header (GPL>=2).
81225         * manual/examples/argp-ex1.c: Likewise.
81226         * manual/examples/argp-ex2.c: Likewise.
81227         * manual/examples/argp-ex3.c: Likewise.
81228         * manual/examples/argp-ex4.c: Likewise.
81229         * manual/examples/atexit.c: Likewise.
81230         * manual/examples/db.c: Likewise.
81231         * manual/examples/dir.c: Likewise.
81232         * manual/examples/dir2.c: Likewise.
81233         * manual/examples/execinfo.c: Likewise.
81234         * manual/examples/filecli.c: Likewise.
81235         * manual/examples/filesrv.c: Likewise.
81236         * manual/examples/fmtmsgexpl.c: Likewise.
81237         * manual/examples/genpass.c: Likewise.
81238         * manual/examples/inetcli.c: Likewise.
81239         * manual/examples/inetsrv.c: Likewise.
81240         * manual/examples/isockad.c: Likewise.
81241         * manual/examples/longopt.c: Likewise.
81242         * manual/examples/memopen.c: Likewise.
81243         * manual/examples/memstrm.c: Likewise.
81244         * manual/examples/mkfsock.c: Likewise.
81245         * manual/examples/mkisock.c: Likewise.
81246         * manual/examples/mygetpass.c: Likewise.
81247         * manual/examples/pipe.c: Likewise.
81248         * manual/examples/popen.c: Likewise.
81249         * manual/examples/rprintf.c: Likewise.
81250         * manual/examples/search.c: Likewise.
81251         * manual/examples/select.c: Likewise.
81252         * manual/examples/setjmp.c: Likewise.
81253         * manual/examples/sigh1.c: Likewise.
81254         * manual/examples/sigusr.c: Likewise.
81255         * manual/examples/stpcpy.c: Likewise.
81256         * manual/examples/strdupa.c: Likewise.
81257         * manual/examples/strftim.c: Likewise.
81258         * manual/examples/strncat.c: Likewise.
81259         * manual/examples/subopt.c: Likewise.
81260         * manual/examples/swapcontext.c: Likewise.
81261         * manual/examples/termios.c: Likewise.
81262         * manual/examples/testopt.c: Likewise.
81263         * manual/examples/testpass.c: Likewise.
81264         * manual/examples/timeval_subtract.c: Likewise.
81266         [BZ #13792]
81267         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81268         function to ...
81269         * manual/timeval_subtract.c.texi: ... here, new file.
81271 2012-03-02  David S. Miller  <davem@davemloft.net>
81273         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81275 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81277         [BZ #3976]
81278         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81279         (__sin): Save and restore rounding mode and use round-to-nearest
81280         for all computations.
81281         (__cos): Save and restore rounding mode and use round-to-nearest
81282         for all computations.
81283         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81284         <fenv.h>.
81285         (tan): Save and restore rounding mode and use round-to-nearest for
81286         all computations.
81287         * math/libm-test.inc (cos_test_tonearest): New function.
81288         (cos_test_towardzero): Likewise.
81289         (cos_test_downward): Likewise.
81290         (cos_test_upward): Likewise.
81291         (sin_test_tonearest): Likewise.
81292         (sin_test_towardzero): Likewise.
81293         (sin_test_downward): Likewise.
81294         (sin_test_upward): Likewise.
81295         (tan_test_tonearest): Likewise.
81296         (tan_test_towardzero): Likewise.
81297         (tan_test_downward): Likewise.
81298         (tan_test_upward): Likewise.
81299         (main): Call the new functions.
81300         * sysdeps/i386/fpu/libm-test-ulps: Update.
81301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81303         [BZ #10135]
81304         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81305         small n, then large n, before computing and testing k+n.
81306         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81307         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81308         Likewise.
81309         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81310         Likewise.
81311         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81312         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81313         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81314         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81315         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81316         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81317         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81318         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81319         * math/libm-test.inc (scalbn_test): Add more tests.
81320         (scalbln_test): Likewise.
81322         * manual/filesys.texi (mode_t): Describe constraints on size and
81323         signedness, not exact equivalence to a particular type.
81324         (ino_t): Likewise.
81325         (ino64_t): Likewise.
81326         (dev_t): Likewise.
81327         (nlink_t): Likewise.
81328         (blkcnt_t): Likewise.
81329         (blkcnt64_t): Likewise.
81330         * manual/llio.texi (off_t): Likewise.
81332         [BZ #3976]
81333         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81334         (__ieee754_exp): Save and restore rounding mode and use
81335         round-to-nearest for all computations.
81336         * math/libm-test.inc (exp_test_tonearest): New function.
81337         (exp_test_towardzero): Likewise.
81338         (exp_test_downward): Likewise.
81339         (exp_test_upward): Likewise.
81340         (main): Call the new functions.
81341         * sysdeps/i386/fpu/libm-test-ulps: Update.
81342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81344 2012-03-01  Chris Demetriou  <cgd@google.com>
81346         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81347         have predictable order.
81349 2012-03-01  David S. Miller  <davem@davemloft.net>
81351         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81353         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81354         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81355         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81356         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81358         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81359         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81360         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81362         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81363         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81364         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81365         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81366         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81370         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81371         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81372         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81374         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81375         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81376         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81377         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81378         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81379         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81380         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81381         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81382         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81383         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81384         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81385         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81387         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81388         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81389         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81390         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81391         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81392         * sysdeps/sparc/elf/configure: Regenerated.
81394 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81396         * configure.in (AS, LD): Require binutils 2.20 or later.
81397         * configure: Regenerated.
81398         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81399         as required minimum version.
81400         * INSTALL: Regenerated.
81402         [BZ #2541]
81403         [BZ #4108]
81404         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81405         before squaring exponent.
81406         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81407         bottom long double and 27 bits of top long double before squaring
81408         exponent.
81409         * math/libm-test.inc (erfc_test): Add more tests.
81410         * sysdeps/i386/fpu/libm-test-ulps: Update.
81411         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81414 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81416         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81417         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81418         containing bit-fields.
81419         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81420         * soft-fp/single.h (_FP_UNION_S): Likewise.
81421         * soft-fp/double.h (_FP_UNION_D): Likewise.
81423 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81425         [BZ #13786]
81426         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81427         not include ../strcmp.S.
81428         [USE_AS_STRNCASECMP_L]: Likewise.
81429         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81430         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81431         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81432         (__strncasecmp_l_ia32): Define as alias to
81433         __strncasecmp_l_nonascii.
81435         [BZ #5794]
81436         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81437         * sysdeps/i386/fpu/libm-test-ulps: Update.
81438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81440         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81443 2012-02-29  Jeff Law  <law@redhat.com>
81445         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81446         out of bounds read.
81448 2012-02-29  Marek Polacek  <polacek@redhat.com>
81450         [BZ #13706]
81451         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81452         * elf/Makefile: Add rules to run tst-unused-dep.out.
81454 2012-02-28  David S. Miller  <davem@davemloft.net>
81456         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81457         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81458         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81459         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81460         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81461         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81463 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81465         * math/libm-test.inc (llround_test): Move one test from
81466         lround_test.  Use TEST_f_L in moved test.
81467         (lround_test): Move misplaced test to llround_test.  Add testcase
81468         from bug 2561.
81470 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81472         * sysdeps/x86_64/fpu/e_expf.S: New file.
81473         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81475 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81477         [BZ #13637]
81478         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81479         of remain_len that may cause incomplete multi-byte character and
81480         false match.
81481         * posix/bug-regex33.c: New file.
81482         * posix/Makefile (tests): Add bug-regex33.
81484 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81486         * manual/macros.texi: New file.
81487         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81488         * manual/libc.texinfo: Include macros.texi.
81489         * manual/creatute.texi: Likewise.
81490         * manual/install.texi: Likewise.
81491         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81492         @glibcadj{} in references to the GNU C Library.
81493         * manual/charset.texi: Likewise.
81494         * manual/conf.texi: Likewise.
81495         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81496         when not using those macros.
81497         * manual/creature.texi: Likewise.
81498         * manual/crypt.texi: Likewise.
81499         * manual/errno.texi: Likewise.
81500         * manual/filesys.texi: Likewise.
81501         * manual/header.texi: Likewise.
81502         * manual/install.texi: Likewise.
81503         * manual/intro.texi: Likewise.
81504         * manual/io.texi: Likewise.
81505         * manual/job.texi: Likewise.
81506         * manual/lang.texi: Likewise.
81507         * manual/libc.texiinfo: Likewise.
81508         * manual/llio.texi: Likewise.
81509         * manual/locale.texi: Likewise.
81510         * manual/maint.texi: Likewise.
81511         * manual/math.texi: Likewise.
81512         * manual/memory.texi: Likewise.
81513         * manual/message.texi: Likewise.
81514         * manual/nss.texi: Likewise.
81515         * manual/pattern.texi: Likewise.
81516         * manual/process.texi: Likewise.
81517         * manual/resource.texi: Likewise.
81518         * manual/search.texi: Likewise.
81519         * manual/setjmp.texi: Likewise.
81520         * manual/signal.texi: Likewise.
81521         * manual/socket.texi: Likewise.
81522         * manual/startup.texi: Likewise.
81523         * manual/stdio.texi: Likewise.
81524         * manual/string.texi: Likewise.
81525         * manual/sysinfo.texi: Likewise.
81526         * manual/syslog.texi: Likewise.
81527         * manual/terminal.texi: Likewise.
81528         * manual/time.texi: Likewise.
81529         * manual/users.texi: Likewise.
81530         * INSTALL: Regenerated.
81531         * NOTES: Regenerated.
81532         * sysdeps/gnu/errlist.c: Regenerated.
81534 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81536         * include/dirent.h: Include <dirstream.h> before
81537         <dirent/dirent.h>.
81539 2012-02-28  David S. Miller  <davem@davemloft.net>
81541         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81542         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81543         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81544         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81546 2012-02-27  David S. Miller  <davem@davemloft.net>
81548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81550         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81551         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81554         frame pointer instead of stack pointer relative arg slot.
81555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81556         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81557         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81559 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81561         [BZ #3992]
81562         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81564 2012-02-27  David S. Miller  <davem@davemloft.net>
81566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81570         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81571         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81572         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81573         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81575 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81577         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81578         later.  Allow versions 5-9.
81579         * configure: Regenerated.
81580         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81581         required minimum version and 4.6 as recommended version.  Do not
81582         mention bugs in GCC 2.7 and 2.8.
81583         * INSTALL: Regenerated.
81585 2012-02-27  David S. Miller  <davem@davemloft.net>
81587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81591         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81592         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81593         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81594         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81596         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81597         manipulate bits before adding and subtracting TWO112[sx].
81598         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81600 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81602         [BZ #13775]
81603         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81604         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81605         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81606         being in POSIX, because they are in 1003.1-2008.
81608         * rt/tst-aio.c: Include <fcntl.h>.
81609         * rt/tst-aio7.c: Likewise.
81610         * rt/tst-aio64.c: Likewise.
81612         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81614 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81616         * manual/install.texi (--with-headers): Describe headers as
81617         interface headers, not private headers.
81618         (Specific advice for GNU/Linux systems): Describe use of headers
81619         from "make headers_install", not private headers from older
81620         kernels.
81621         * INSTALL: Regenerated.
81622         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81623         Change to 2.6.19.
81624         * sysdeps/unix/sysv/linux/configure: Regenerated.
81626         * manual/llio.texi (fclean): Remove documentation.
81628         * manual/Makefile (libc-texi-generated): New variable.  Include
81629         version.texi.
81630         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81631         $(libc-texi-generated), not duplicated list of files.
81632         (version.texi, stamp-version): New rules.
81633         (realclean): Remove $(libc-texi-generated), not individual files
81634         from that list.  Do not remove dir-add.texinfo.
81635         * manual/libc.texinfo: Comment out uses of edition numbers and
81636         references to printed manual.  Remove last-updated dates.
81637         (EDITION): Comment out.
81638         (ISBN): Likewise.
81639         (VERSION, UPDATED): Remove.
81640         (version.texi): Include.
81642 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81644         * sysdeps/posix/spawni.c: Include <signal.h>.
81645         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81646         * sysdeps/pthread/aio_fsync.c: Likewise.
81648 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81650         * conform/Makefile (tests): Run only when not cross-compiling and
81651         when fast-check is not defined.
81653         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81654         * conform/data/limits.h-data: Fixes for POSIX2008.
81655         * conform/run-conformtest.sh: Run all tests.
81656         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81657         headers.
81658         * include/bits/dlfcn.h: Likewise.
81659         * include/langinfo.h: Likewise.
81660         * include/monetary.h: Likewise.
81661         * include/sys/poll.h: Likewise.
81663         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81664         for __USE_GNU.
81665         * posix/spawn.h: Define __need_sigset_t.
81666         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81667         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81668         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81669         to get sigevent_t only.
81670         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81671         only for __USE_GNU.
81672         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81673         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81674         process_vm_writev only for __USE_GNU.
81675         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81677         * conform/Makefile: For now ignore errors from run-conformtest.
81678         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81679         POSIX to avoid namespace pollution.  Don't prepend headers.
81680         * conform/data/aio.h-data: Fixes for POSIX testing.
81681         * conform/data/fcntl.h-data: Likewise.
81682         * conform/data/glob.h-data: Likewise.
81683         * conform/data/grp.h-data: Likewise.
81684         * conform/data/pthread.h-data: Likewise.
81685         * conform/data/pwd.h-data: Likewise.
81686         * conform/data/signal.h-data: Likewise.
81687         * conform/data/spawn.h-data: Likewise.
81688         * conform/data/stdio.h-data: Likewise.
81689         * conform/data/stdlib.h-data: Likewise.
81690         * conform/data/stropts.h-data: Likewise.
81691         * conform/data/sys/mman.h-data: Likewise.
81692         * conform/data/sys/stat.h-data: Likewise.
81693         * conform/data/sys/types.h-data: Likewise.
81694         * conform/data/sys/wait.h-data: Likewise.
81695         * conform/data/time.h-data: Likewise.
81696         * conform/data/unistd.h-data: Likewise.
81697         * conform/data/utime.h-data: Likewise.
81699         * io/sys/stat.h: fchmod was always in POSIX.
81700         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81701         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81702         * rt/aio.h: Define __need_timespec before including <time.h>.
81703         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81704         struct.  Add forward declaration of pthread_attr_t and use it in
81705         sigevent.
81706         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81707         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81708         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81709         always remove CLK_TCK definition.
81711 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81713         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81715 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81717         * conform/run-conformtest.sh: New file.
81718         * conform/Makefile: Run run-conformtest for tests.
81719         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81720         support.
81722         * conform/data/uchar.h-data: New file.
81723         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81724         * conform/data/arpa/inet.h-data: Likewise.
81725         * conform/data/assert.h-data: Likewise.
81726         * conform/data/complex.h-data: Likewise.
81727         * conform/data/cpio.h-data: Likewise.
81728         * conform/data/ctype.h-data: Likewise.
81729         * conform/data/dirent.h-data: Likewise.
81730         * conform/data/dlfcn.h-data: Likewise.
81731         * conform/data/errno.h-data: Likewise.
81732         * conform/data/fcntl.h-data: Likewise.
81733         * conform/data/float.h-data: Likewise.
81734         * conform/data/fmtmsg.h-data: Likewise.
81735         * conform/data/fnmatch.h-data: Likewise.
81736         * conform/data/ftw.h-data: Likewise.
81737         * conform/data/glob.h-data: Likewise.
81738         * conform/data/grp.h-data: Likewise.
81739         * conform/data/iconv.h-data: Likewise.
81740         * conform/data/inttypes.h-data: Likewise.
81741         * conform/data/langinfo.h-data: Likewise.
81742         * conform/data/libgen.h-data: Likewise.
81743         * conform/data/limits.h-data: Likewise.
81744         * conform/data/locale.h-data: Likewise.
81745         * conform/data/math.h-data: Likewise.
81746         * conform/data/monetary.h-data: Likewise.
81747         * conform/data/mqueue.h-data: Likewise.
81748         * conform/data/ndbm.h-data: Likewise.
81749         * conform/data/net/if.h-data: Likewise.
81750         * conform/data/netdb.h-data: Likewise.
81751         * conform/data/netinet/in.h-data: Likewise.
81752         * conform/data/nl_types.h-data: Likewise.
81753         * conform/data/poll.h-data: Likewise.
81754         * conform/data/pthread.h-data: Likewise.
81755         * conform/data/pwd.h-data: Likewise.
81756         * conform/data/regex.h-data: Likewise.
81757         * conform/data/sched.h-data: Likewise.
81758         * conform/data/search.h-data: Likewise.
81759         * conform/data/semaphore.h-data: Likewise.
81760         * conform/data/setjmp.h-data: Likewise.
81761         * conform/data/signal.h-data: Likewise.
81762         * conform/data/spawn.h-data: Likewise.
81763         * conform/data/stdarg.h-data: Likewise.
81764         * conform/data/stdio.h-data: Likewise.
81765         * conform/data/stdlib.h-data: Likewise.
81766         * conform/data/string.h-data: Likewise.
81767         * conform/data/strings.h-data: Likewise.
81768         * conform/data/stropts.h-data: Likewise.
81769         * conform/data/sys/ipc.h-data: Likewise.
81770         * conform/data/sys/mman.h-data: Likewise.
81771         * conform/data/sys/msg.h-data: Likewise.
81772         * conform/data/sys/resource.h-data: Likewise.
81773         * conform/data/sys/select.h-data: Likewise.
81774         * conform/data/sys/sem.h-data: Likewise.
81775         * conform/data/sys/shm.h-data: Likewise.
81776         * conform/data/sys/socket.h-data: Likewise.
81777         * conform/data/sys/stat.h-data: Likewise.
81778         * conform/data/sys/statvfs.h-data: Likewise.
81779         * conform/data/sys/time.h-data: Likewise.
81780         * conform/data/sys/timeb.h-data: Likewise.
81781         * conform/data/sys/times.h-data: Likewise.
81782         * conform/data/sys/types.h-data: Likewise.
81783         * conform/data/sys/uio.h-data: Likewise.
81784         * conform/data/sys/un.h-data: Likewise.
81785         * conform/data/sys/utsname.h-data: Likewise.
81786         * conform/data/sys/wait.h-data: Likewise.
81787         * conform/data/syslog.h-data: Likewise.
81788         * conform/data/tar.h-data: Likewise.
81789         * conform/data/termios.h-data: Likewise.
81790         * conform/data/utime.h-data: Likewise.
81791         * conform/data/utmpx.h-data: Likewise.
81792         * conform/data/varargs.h-data: Likewise.
81793         * conform/data/wchar.h-data: Likewise.
81794         * conform/data/wctype.h-data: Likewise.
81795         * conform/data/wordexp.h-data: Likewise.
81797         * include/stropts.h: New file.
81798         * include/uchar.h: New file.
81799         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81800         * include/assert.h: Likewise.
81801         * include/ctype.h: Likewise.
81802         * include/dirent.h: Likewise.
81803         * include/dlfcn.h: Likewise.
81804         * include/fcntl.h: Likewise.
81805         * include/fnmatch.h: Likewise.
81806         * include/glob.h: Likewise.
81807         * include/grp.h: Likewise.
81808         * include/libio.h: Likewise.
81809         * include/locale.h: Likewise.
81810         * include/math.h: Likewise.
81811         * include/net/if.h: Likewise.
81812         * include/netdb.h: Likewise.
81813         * include/netinet/in.h: Likewise.
81814         * include/pthread.h: Likewise.
81815         * include/pwd.h: Likewise.
81816         * include/regex.h: Likewise.
81817         * include/sched.h: Likewise.
81818         * include/search.h: Likewise.
81819         * include/setjmp.h: Likewise.
81820         * include/signal.h: Likewise.
81821         * include/stdio.h: Likewise.
81822         * include/stdlib.h: Likewise.
81823         * include/string.h: Likewise.
81824         * include/sys/cdefs.h: Likewise.
81825         * include/sys/mman.h: Likewise.
81826         * include/sys/msg.h: Likewise.
81827         * include/sys/resource.h: Likewise.
81828         * include/sys/select.h: Likewise.
81829         * include/sys/socket.h: Likewise.
81830         * include/sys/stat.h: Likewise.
81831         * include/sys/statvfs.h: Likewise.
81832         * include/sys/time.h: Likewise.
81833         * include/sys/times.h: Likewise.
81834         * include/sys/uio.h: Likewise.
81835         * include/sys/utsname.h: Likewise.
81836         * include/sys/wait.h: Likewise.
81837         * include/termios.h: Likewise.
81838         * include/time.h: Likewise.
81839         * include/ulimit.h: Likewise.
81840         * include/unistd.h: Likewise.
81841         * include/utime.h: Likewise.
81842         * include/wchar.h: Likewise.
81843         * include/wctype.h: Likewise.
81844         * include/wordexp.h: Likewise.
81846         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
81848         * time/time.h: TIME_UTC must be a macro.
81849         Make timespec_get available for ISO C11 only as well.
81851 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
81853         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
81854         Reported by Peng Haitao <penght@cn.fujitsu.com>.
81856 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81858         * configure.in: Use -o not -a in test for unsupported multi-arch.
81860 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81862         * manual/texinfo.tex: Update to version 2012-01-19.16.
81864 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81866         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
81868 2012-02-24  Roland McGrath  <roland@hack.frob.com>
81870         [BZ #13738]
81871         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
81872         * manual/fdl-1.3.texi: New file.
81873         * manual/fdl-1.1.texi: File removed.
81875         [BZ #13738]
81876         * manual/libc.texinfo (FDL_VERSION): New @set.
81877         Use it for mention of FDL in cover text.
81878         (Documentation License): Use it in @include file name.
81880 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81881             Roland McGrath  <roland@hack.frob.com>
81883         [BZ #5461]
81884         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
81885         (not LONG_LONG_MAX and LONG_LONG_MIN.
81886         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
81887         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
81888         name.
81889         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
81891 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81893         [BZ #2547]
81894         [BZ #11365]
81895         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
81896         manipulate bits before adding and subtracting TWO23[sx].
81897         * math/libm-test.inc (nearbyint_test): Add more tests.
81899 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81901         [BZ #2548]
81902         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
81903         bits before adding and subtracting TWO23[sx].
81904         * math/libm-test.inc (rint_test): Add more tests.
81905         (rint_test_tonearest): Likewise.
81906         (rint_test_towardzero): Likewise.
81907         (rint_test_downward): Likewise.
81908         (rint_test_upward: Likewise.
81910 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81912         [BZ #10110]
81913         * include/stdc-predef.h: New file.  Extracted from features.h.
81914         * include/features.h: Include stdc-predef.h.
81915         * Makefile (headers): Add stdc-predef.h.
81916         * CONFORMANCE (Compiler limitations): Update.
81918 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81920         * manual/libc.texinfo (VERSION, UPDATED): Revert.
81922 2012-02-21  David S. Miller  <davem@davemloft.net>
81924         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
81925         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81927 2012-02-20  David S. Miller  <davem@davemloft.net>
81929         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
81930         using a normal save/restore sequence, rather than allocating a
81931         dummy stack frame just to store a frame pointer and restore.
81932         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81934 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81936         * manual/install.texi: Fix stray word in line-wrapped comment.
81938 2012-02-20  David S. Miller  <davem@davemloft.net>
81940         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
81941         both binutils and gcc support GOTDATA.
81943         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
81944         "rd %pc" in the PIC register setup sequences.
81946         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
81947         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
81948         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81949         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
81950         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81951         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81952         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81953         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81954         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
81955         (SYSCALL_ERROR_HANDLER): Likewise.
81956         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81957         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81958         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
81959         (SYSCALL_ERROR_HANDLER): Likewise.
81961         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
81962         (HAVE_GCC_GOTDATA): New.
81963         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
81964         relocation support in both binutils and gcc.
81965         * sysdeps/sparc/elf/configure: Regenerate.
81967         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
81968         * sysdeps/sparc/sparc32/elf/configure: Delete.
81969         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
81970         * sysdeps/sparc/sparc64/elf/configure: Delete.
81971         * sysdeps/sparc/elf/configure.in: New file.
81972         * sysdeps/sparc/elf/configure: Generate.
81974         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
81975         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
81976         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81977         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
81978         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
81980 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81982         * manual/install.texi: Do not mention specific glibc version
81983         numbers.
81984         * manual/libc.texinfo (VERSION, UPDATED): Update.
81985         (@copying): Use @copyright{} and range of years.
81987 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81989         [BZ #13695]
81990         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
81991         [crti.S not in sysdirs] (generated): Do not append.
81992         [crti.S not in sysdirs] (omit-deps): Likewise.
81993         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
81994         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
81995         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
81996         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
81997         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
81998         Likewise.
81999         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82000         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82001         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82002         * csu/defs.awk: Remove file.
82003         * sysdeps/generic/initfini.c: Likewise.
82004         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82005         variable.
82006         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82007         Likewise.
82009 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82011         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82012         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82013         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82014         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82015         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82016         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82017         <bits/epoll.h>.
82018         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82019         (__EPOLL_PACKED): Define to empty if not defined by
82020         <bits/epoll.h>.
82021         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82023         bits/epoll.h.
82025 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82027         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82028         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82029         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82030         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82031         <bits/timerfd.h>.
82032         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82034         bits/timerfd.h.
82036 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82038         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82039         in C locale.
82040         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82041         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82042         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82045 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82047         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82048         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82050 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82052         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82053         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82054         defined.
82055         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82056         Likewise.
82057         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82058         entry for 2.16.
82060 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82062         * math/w_acos.c: Use non-signaling floating-point comparisons.
82063         * math/w_acosf.c: Likewise.
82064         * math/w_acosh.c: Likewise.
82065         * math/w_acoshf.c: Likewise.
82066         * math/w_acoshl.c: Likewise.
82067         * math/w_acosl.c: Likewise.
82068         * math/w_asin.c: Likewise.
82069         * math/w_asinf.c: Likewise.
82070         * math/w_asinl.c: Likewise.
82071         * math/w_atanh.c: Likewise.
82072         * math/w_atanhf.c: Likewise.
82073         * math/w_atanhl.c: Likewise.
82074         * math/w_exp2.c: Likewise.
82075         * math/w_exp2f.c: Likewise.
82076         * math/w_exp2l.c: Likewise.
82077         * math/w_j0.c: Likewise.
82078         * math/w_j0f.c: Likewise.
82079         * math/w_j0l.c: Likewise.
82080         * math/w_j1.c: Likewise.
82081         * math/w_j1f.c: Likewise.
82082         * math/w_j1l.c: Likewise.
82083         * math/w_jn.c: Likewise.
82084         * math/w_jnf.c: Likewise.
82085         * math/w_log.c: Likewise.
82086         * math/w_log10.c: Likewise.
82087         * math/w_log10f.c: Likewise.
82088         * math/w_log10l.c: Likewise.
82089         * math/w_log2.c: Likewise.
82090         * math/w_log2f.c: Likewise.
82091         * math/w_log2l.c: Likewise.
82092         * math/w_logf.c: Likewise.
82093         * math/w_logl.c: Likewise.
82094         * math/w_sqrt.c: Likewise.
82095         * math/w_sqrtf.c: Likewise.
82096         * math/w_sqrtl.c: Likewise.
82097         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82098         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82099         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82100         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82101         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82103 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82105         [BZ #9739]
82106         * manual/string.texi (strnlen): Use correct parameter name in
82107         equivalent expression.
82109 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82111         [BZ #11174]
82112         * manual/users.texi (seteuid): Consistently use neweuid for
82113         argument name.
82115 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82117         [BZ #13704]
82118         * manual/nss.texi (Services in the NSS configuration): Correct
82119         list of services in example configuration file.
82121 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82123         [BZ #11322]
82124         * manual/arith.texi: Remove statements about negative zero
82125         behaving identically to zero.
82127 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82129         [BZ #5993]
82130         * manual/install.texi: Do not document upgrading from libc5.
82132 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82134         [BZ #4596]
82135         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82137 2012-02-18  David S. Miller  <davem@davemloft.net>
82139         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82140         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82141         %o7 across the call.
82142         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82143         instead.
82144         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82145         SETUP_PIC_REG_LEAF.
82146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82147         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82148         * sysdeps/sparc/crtn.S: Likewise.
82150 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82152         * aout/Makefile: Remove.
82154 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82156         [BZ #13058]
82157         * manual/examples/argp-ex1.c (main): Format definition in GNU
82158         style.
82159         * manual/examples/argp-ex2.c (main): Likewise.
82160         * manual/examples/argp-ex3.c (main): Likewise.
82161         * manual/examples/argp-ex4.c (main): Likewise.
82162         * manual/examples/longopt.c (main): Use new-style prototype
82163         definition.
82164         * manual/examples/strncat.c (main): Specify return type and use
82165         (void) for arguments.
82166         * manual/examples/subopt.c (main): Use char **argv argument.
82168 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82170         [BZ #5077]
82171         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82172         rounding modes.
82174 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82176         [BZ #6907]
82177         * manual/string.texi (strchr): Change when strchrnul is
82178         recommended.
82180 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82182         [BZ #174]
82183         * manual/locale.texi (setlocale): Document LOCPATH.
82185 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82187         [BZ #10210]
82188         * manual/process.texi (execle): Move @dots{} before last argument.
82190 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82192         [BZ #12047]
82193         * manual/charset.texi (Generic Charset Conversion): Fix typo
82194         (LC_TYPE -> LC_CTYPE).
82196 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82198         [BZ #5805]
82199         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82200         (scalbnf): Likewise.
82201         (scalbnl): Likewise.
82202         (scalbln): Likewise.
82203         (scalblnf): Likewise.
82204         (scalblnl): Likewise.
82205         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82206         (vwarnx): Likewise.
82207         (verr): Likewise.
82208         (verrx): Likewise.
82209         * manual/filesys.texi (telldir): Use braces around return type.
82210         * manual/llio.texi (mmap): Add space after comma.
82211         (mmap64): Likewise.
82212         * manual/math.texi (jn): Use @var{} on parameter names.
82213         (jnf): Likewise.
82214         (jnl): Likewise.
82215         (yn): Likewise.
82216         (ynf): Likewise.
82217         (ynl): Likewise.
82218         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82219         line.
82220         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82221         "...".
82222         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82223         (sched_get_priority_max): Likewise.
82224         * manual/signal.texi (sigvec): Add space after comma.
82225         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82226         names.
82227         (if_indextoname): Likewise.
82228         (if_freenameindex): Likewise.
82229         (sendto): Use ',' instead of '.' in prototype.
82230         * manual/startup.texi (syscall): Use @dots{} instead of literal
82231         "...".
82232         * manual/stdio.texi (__fpending): Separate initial words of
82233         paragraph from @deftypefun line.
82234         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82235         "...".
82236         (vsyslog): Use @var{} on parameter names.
82237         * manual/terminal.texi (stty): Use @var{} on parameter names.
82238         * manual/users.texi (getutmp): Use @var{} on parameter names.
82239         (getutmpx): Likewise.
82241 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82243         [BZ #6884]
82244         * manual/stdio.texi (fopen): Fix typos in description of
82245         ",ccs=STRING".
82247 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82249         [BZ #4026]
82250         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82251         get clock_id definition.
82253 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82255         [BZ #4822]
82256         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82257         (madvise): Cast every argument to void on its own.
82259 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82261         [BZ #9902]
82262         * manual/startup.texi (Exit Status): Fix typo.
82264 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82266         [BZ #10140]
82267         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82268         * manual/examples/argp-ex2.c: Likewise.
82269         * manual/examples/argp-ex3.c: Likewise.
82271 2012-02-16  Richard Henderson  <rth@redhat.com>
82273         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82274         * sysdeps/s390/s390-32/initfini.c: Remove.
82275         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82276         * sysdeps/s390/s390-64/initfini.c: Remove.
82278 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82280         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82281         compiler output for sysdeps/generic/initfini.c.
82282         * sysdeps/sh/elf/initfini.c: Remove file.
82284 2012-02-16  David S. Miller  <davem@davemloft.net>
82286         [BZ #11494]
82287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82289         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82290         * sysdeps/sparc/crti.S: New file.
82291         * sysdeps/sparc/crtn.S: New file.
82292         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82293         * sysdeps/sparc/sparc64/Makefile: Likewise.
82295 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82297         [BZ #3335]
82298         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82300 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82302         [BZ #4822]
82303         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82305         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82306         (write, read, close): Likewise.
82307         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82309 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82311         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82312         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82313         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82314         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82315         <bits/signalfd.h>.
82316         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82318         bits/signalfd.h.
82320 2012-02-14  Marek Polacek  <polacek@redhat.com>
82322         * sysdeps/x86_64/crti.S: New file.
82323         * sysdeps/x86_64/crtn.S: New file.
82324         * sysdeps/x86_64/elf/initfini.c: Remove file.
82326 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82328         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82329         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82330         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82331         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82332         <bits/inotify.h>.
82333         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82334         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82335         bits/inotify.h.
82337 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82339         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82340         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82341         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82342         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82343         <bits/eventfd.h>.
82344         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82345         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82346         bits/eventfd.h.
82348 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82350         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82351         __feraiseexcept instead of feraiseexcept.
82353         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82354         nanosleep invocations.
82355         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82356         strings, and add error checking for a nanosleep invocations.
82358 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82360         Replace FSF snail mail address with URLs, as per GNU coding standards.
82361         Most of the snail mail addresses were wrong anyway, and omitting
82362         them makes the source code easier to maintain.  Almost all of the
82363         changes are to license notices and to locale LC_IDENTIFICATION
82364         addresses, except for this one:
82365         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82366         not its snail mail address.
82368 2012-02-09  Richard Henderson  <rth@twiddle.net>
82370         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82371         of kernel-features.h.
82373         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82375 2012-02-08  Marek Polacek  <polacek@redhat.com>
82377         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82378         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82379         * sysdeps/gnu/_G_config.h: Likewise.
82380         * sysdeps/generic/_G_config.h: Likewise.
82382 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82384         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82385         tests.
82386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82388         * sysdeps/powerpc/powerpc32/crti.S: New file.
82389         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82390         * sysdeps/powerpc/powerpc64/crti.S: New file.
82391         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82393         * Makeconfig (have-initfini): Don't set.
82394         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82395         * configure.in (nopic_initfini): Don't substitute.
82396         * config.h.in (HAVE_INITFINI): Don't #undef.
82397         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82398         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82400 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82402         Support crti.S and crtn.S provided directly by architectures.
82403         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82404         [crti.S in sysdirs] (omit-deps): Likewise.
82405         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82406         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82407         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82408         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82409         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82410         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82411         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82412         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82413         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82414         compiler output for sysdeps/generic/initfini.c.
82415         * sysdeps/i386/elf/Makefile: Remove file.
82416         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82418 2012-02-07  Marek Polacek  <polacek@redhat.com>
82420         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82421         * sysdeps/gnu/_G_config.h: Likewise.
82422         * sysdeps/mach/hurd/_G_config.h: Likewise.
82424 2012-02-07  Marek Polacek  <polacek@redhat.com>
82426         * math/Makefile (tests): Add tst-CMPLX2.
82427         * math/tst-CMPLX2.c: New file.
82429 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82431         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82433         * math/libm-test.inc (jn_test): Add missing L suffix.
82435 2012-02-06  Marek Polacek  <polacek@redhat.com>
82437         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82438         * sysdeps/i386/fpu/e_powf.S: Likewise.
82439         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82440         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82441         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82442         * sysdeps/i386/fpu/e_pow.S: Likewise.
82443         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82444         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82445         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82446         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82447         * sysdeps/i386/fpu/e_log2.S: Likewise.
82448         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82449         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82450         * sysdeps/i386/fpu/e_powl.S: Likewise.
82451         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82452         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82453         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82454         * sysdeps/i386/fpu/e_logl.S: Likewise.
82455         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82456         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82457         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82458         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82459         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82460         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82461         * sysdeps/i386/fpu/e_log.S: Likewise.
82462         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82463         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82464         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82465         * sysdeps/i386/fpu/e_logf.S: Likewise.
82466         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82467         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82468         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82469         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82470         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82471         * sysdeps/i386/fpu/e_log10.S: Likewise.
82472         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82473         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82474         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82475         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82476         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82477         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82478         * sysdeps/i386/asm-syntax.h: Likewise.
82479         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82480         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82481         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82482         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82483         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82484         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82485         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82486         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82487         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82488         * sysdeps/powerpc/sysdep.h: Likewise.
82489         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82490         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82492 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82494         [BZ #411]
82495         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82497 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82499         * sysdeps/i386/sysdep.h: Include <features.h>.
82500         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82501         version.
82503 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82505         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82506         Define.
82507         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82508         LOAD_PIC_REG_STR.
82510 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82512         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82513         (SETUP_PIC_REG): Use GET_PC_THUNK.
82514         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82515         macro.
82517 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82519         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82520         for non-PIC compilation.
82521         (SETUP_PIC_REG): Add .p2align directive.
82522         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82523         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82524         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82525         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82526         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82527         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82528         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82529         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82530         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82531         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82532         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82533         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82534         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82535         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82536         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82537         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82538         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82539         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82540         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82541         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82542         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82543         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82544         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82545         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82546         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82548         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82549         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82550         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82551         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82552         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82553         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82554         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82555         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82556         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82557         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82558         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82559         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82560         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82561         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82562         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82564 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82566         * math/tst-CMPLX.c: Include <stdio.h>.
82568 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82570         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82571         float.
82572         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82573         * sysdeps/sparc/bits/mathdef.h: Likewise.
82575 2012-01-31  Marek Polacek  <polacek@redhat.com>
82577         * libio/libio.h: Don't define _PARAMS.
82578         * locale/programs/config.h: Don't define PARAMS.
82579         * stdlib/strtol_l.c: Likewise.
82580         (__strtol_l): Remove PARAMS from the prototype.
82582 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82584         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82585         names.  Just use the correct names.  Remove unnecessary wrapper
82586         functions.
82587         * malloc/arena.c: Likewise.
82588         * malloc/hooks.c: Likewise.
82590         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82591         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82592         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82594 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82596         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82597         into tail calls.
82598         (update_get_addr): New function.
82599         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82600         GET_ADDR_MODULE parameter.
82602 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82604         * crypt/cert.c: Remove __STDC__ conditionals.
82605         * crypt/crypt-entry.c: Likewise.
82606         * crypt/crypt_util.c: Likewise.
82607         * libio/filedoalloc.c: Likewise.
82608         * libio/fileops.c: Likewise.
82609         * libio/genops.c: Likewise.
82610         * libio/iofclose.c: Likewise.
82611         * libio/iofdopen.c: Likewise.
82612         * libio/iofopen.c: Likewise.
82613         * libio/iofopen64.c: Likewise.
82614         * libio/iogetdelim.c: Likewise.
82615         * libio/iopopen.c: Likewise.
82616         * libio/obprintf.c: Likewise.
82617         * libio/oldfileops.c: Likewise.
82618         * libio/oldiofclose.c: Likewise.
82619         * libio/oldiofdopen.c: Likewise.
82620         * libio/oldiofopen.c: Likewise.
82621         * libio/oldiopopen.c: Likewise.
82622         * libio/wfiledoalloc.c: Likewise.
82623         * libio/wgenops.c: Likewise.
82624         * locale/programs/xmalloc.c: Likewise.
82625         * misc/syslog.c: Likewise.
82626         * stdio-common/xbug.c: Likewise.
82627         * string/memchr.c: Likewise.
82628         * string/memcmp.c: Likewise.
82629         * string/memrchr.c: Likewise.
82630         * string/rawmemchr.c: Likewise.
82631         * sysdeps/posix/getcwd.c: Likewise.
82632         * time/strftime_l.c: Likewise.
82634 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82636         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82637         * config.make.in (config-cflags-sse2avx): Define.
82638         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82639         Fix typo.
82641 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82643         * scripts/config.guess: Update from upstream config git repository.
82644         * scripts/config.sub: Likewise.
82646 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82648         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82649         (EM_NUM): Update.
82650         (R_TILEPRO_*, R_TILEGX_*): New macros.
82652         * scripts/firstversions.awk: Fix bug in version range handling.
82654         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82656         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82658         * include/sys/epoll.h: New file.
82659         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82660         libc_hidden_def.
82662 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82664         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82665         Avoid unnecessary __WORDSIZE == 64 test.
82666         (fmaxf): Use VEX format if possible.
82667         (fmax): Likewise.
82668         (fminf): Likewise.
82669         (fmin): Likewise.
82671         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82672         * math/math_private.h: Remove libc_fegetround* and
82673         libc_fesetround*.
82674         * sysdeps/i386/configure.in: Check for -msse2avx.
82675         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82676         also if SSE2AVX is defined.
82677         Remove libc_fegetround* and libc_fesetround*.
82678         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82679         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82680         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82681         of HAS_YMM_USABLE.
82682         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82683         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82684         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82685         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82686         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82688         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82690 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82692         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82693         size is not set.
82694         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82696 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82698         [BZ #13618]
82699         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82700         relocation.
82701         * Makeconfig (libm): Define.
82702         * elf/Makefile: Add rules to build and run tst-relsort1.
82703         * elf/tst-relsort1.c: New file.
82704         * elf/tst-relsort1mod1.c: New file.
82705         * elf/tst-relsort1mod2.c: New file.
82707 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82709         * math/s_ldexp.c: Remove __STDC__ conditionals.
82710         * math/s_ldexpf.c: Likewise.
82711         * math/s_ldexpl.c: Likewise.
82712         * math/s_nextafter.c: Likewise.
82713         * math/s_nexttowardf.c: Likewise.
82714         * math/s_significand.c: Likewise.
82715         * math/s_significandf.c: Likewise.
82716         * math/s_significandl.c: Likewise.
82717         * math/w_jnl.c: Likewise.
82718         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82719         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82720         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82721         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82722         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82723         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82724         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82725         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82726         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82727         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82728         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82729         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82730         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82731         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82732         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82733         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82734         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82735         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82736         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82737         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82738         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82739         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82740         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82741         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82742         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82743         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82744         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82745         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82746         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82747         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82748         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82749         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82750         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82751         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82752         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82753         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82754         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82755         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82756         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82757         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82758         * sysdeps/ieee754/k_standard.c: Likewise.
82759         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82760         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82761         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82762         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82763         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82764         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82765         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82766         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82767         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82768         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82769         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82770         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82771         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82772         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82773         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82774         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82775         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82776         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82777         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82778         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82779         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82780         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82781         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82782         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82783         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82784         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82785         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82786         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82787         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82788         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82789         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82790         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82791         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82792         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82793         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82794         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82795         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82796         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82797         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82798         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82799         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82800         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82801         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82802         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82803         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82804         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82805         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82806         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82807         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82808         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82809         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82810         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82811         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82812         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82813         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82814         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82815         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82816         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82817         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82818         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82819         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82820         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82821         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82822         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82823         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82824         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82825         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82826         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82827         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82828         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82829         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82830         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82831         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82832         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82833         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82834         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82835         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82836         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82837         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82838         * sysdeps/ieee754/s_matherr.c: Likewise.
82839         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82840         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82841         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82842         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82844 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82846         * crypt/md5.h: Remove __STDC__ conditionals.
82847         * libio/libioP.h: Likewise.
82848         * locale/programs/config.h: Likewise.
82849         * sysdeps/generic/sysdep.h: Likewise.
82850         * sysdeps/i386/asm-syntax.h: Likewise.
82851         * sysdeps/s390/asm-syntax.h: Likewise.
82852         * sysdeps/unix/sysdep.h: Likewise.
82853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
82854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82856 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82858         * libio/libio.h: Remove __STDC__ conditionals.
82859         * malloc/obstack.h: Likewise.
82860         * math/complex.h: Likewise.
82861         * math/math.h: Likewise.
82862         * sysdeps/generic/_G_config.h: Likewise.
82863         * sysdeps/gnu/_G_config.h: Likewise.
82864         * sysdeps/mach/hurd/_G_config.h: Likewise.
82865         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82866         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82867         * sysdeps/sparc/bits/mathdef.h: Likewise.
82869 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
82871         [BZ #13583]
82872         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
82873         Clean up HAS_* macros.
82874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
82875         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
82876         possible.
82877         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
82878         HAS_AVX.
82879         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82880         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82881         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82882         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82883         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82885 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
82887         * elf/tst-unique3.cc (gets): Remove declaration.
82888         * elf/tst-unique3lib.cc (gets): Likewise.
82889         * elf/tst-unique3lib2.cc (gets): Likewise.
82890         * elf/tst-unique4.cc (gets): Likewise.
82892 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
82894         * include/stdio.h: Add C++ protection.  Add gets declarations and
82895         definitions.
82896         * debug/tst-chk1.c: Don't declare gets here.
82897         * stdio-common/tst-gets.c: Likewise.
82899 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82901         * posix/glob: Remove directory.
82903 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82905         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
82907 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
82909         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
82910         of the non-standard EPFNOSUPPORT.
82912 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82914         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
82915         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
82916         ANYWHERE set to 1 only on KERN_NO_SPACE error.
82918 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
82920         * wcsmbs/uchar.h: Test __STDC_VERSION__.
82922 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
82924         * nscd/aicache.c (addhstaiX): Do not cache negative results of
82925         transient errors.
82926         * nscd/grpcache.c (cache_addgr): Likewise.
82927         * nscd/hstcache.c (cache_addhst): Likewise.
82928         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82929         * nscd/pwdcache.c (cache_addpw): Likewise.
82930         * nscd/servicescache.c (cache_addserv): Likewise.
82932 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
82934         * malloc/malloc.c: Various cleanups.
82935         * malloc/hooks.c: Likewise.
82937         * stdlib/Makefile (tests): Add bug-fmtmsg1.
82938         * stdlib/bug-fmtmsg1.c: New file.
82940         * stdlib/fmtmsg.c (init): Add missing unlock.
82941         Patch by Peng Haitao <penght@cn.fujitsu.com>.
82943 2012-01-12  Marek Polacek  <polacek@redhat.com>
82945         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
82946         and _GNU_SOURCE.
82948 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
82950         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
82951         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
82952         macro to ensure uniqueness of label name.
82953         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82954         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82956 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
82958         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
82960         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
82961         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82962         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82963         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
82965 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
82967         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
82969         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
82970         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82971         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82973         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
82975         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
82976         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82977         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82978         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
82980         * math/bits/math-finite.h: Add ldexp support.
82982 2012-01-10  Marek Polacek  <polacek@redhat.com>
82984         * locale/programs/localedef.h (show_archive_content): Add noreturn
82985         attribute.
82987 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
82989         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
82991 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82993         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
82995         * io/Makefile (headers): Add bits/poll2.h.
82997 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
82999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83000         typo #include statement.
83002 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83004         * include/sys/cdefs.h: Define __attribute_alloc_size.
83005         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83006         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83007         * elf/pldd.c: Likewise.
83008         * iconv/iconv_charmap.c: Likewise.
83009         * iconv/iconvconfig.c: Likewise.
83010         * iconv/strtab.c: Likewise.
83011         * locale/programs/locale.c: Likewise.
83012         * locale/programs/localedef.h: Likewise.
83013         * locale/programs/simple-hash.c: Likewise.
83014         * nscd/nscd.h: Likewise.
83015         * nss/makedb.c: Likewise.
83016         * sysdeps/generic/ldconfig.h: Likewise.
83017         * locale/programs/localedef.c: Remove xmalloc prototype.
83018         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83020 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83022         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83023         appropriate.
83025 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83027         * math/Makefile (tests): Add tst-CMPLX.
83028         * math/tst-CMPLX.c: New file.
83030         * math/complex.h (CMPLXL): Fix typo.
83032         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83033         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83034         GLIBC_2.16.
83035         * debug/tst-chk1.c: Add poll and ppoll tests.
83036         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83037         * include/sys/poll.h: Add hidden proto for ppoll.
83038         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83039         * sysdeps/mach/hurd/ppoll.c: Likewise.
83040         * io/ppoll.c: Likewise.
83041         * debug/poll_chk.c: New file.
83042         * debug/ppoll_chk.c: New file.
83043         * include/bits/poll2.h: New file.
83044         * io/bits/poll2.h: New file.
83046         [BZ #1350]
83047         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83049         * configure.in: static is always set to yes.  Remove.
83050         * config.make.in: Don't set build-static.
83051         * Makeconfig: Remove use of build-static.
83052         * dlfcn/Makefile: Likewise.
83053         * elf/Makefile: Likewise.
83054         * math/Makefile: Likewise.
83055         * misc/Makefile: Likewise.
83056         * nptl/Makefile: Likewise.
83057         * sysdeps/mach/hurd/Makefile: Likewise.
83059         * configure.in: PWD_P is not used anymore.
83060         * config.make.in: Remove PWD_P entry.
83062         * configure.in: Remove last remnants of RANLIB.
83063         No need to check for signed size_t anymore.
83064         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83065         and IA-64.
83066         Remove __builtin_expect test because we require at least gcc 3.4.
83067         * aclocal.m4: Likewise.
83069         * wcsmbs/mbrtoc16.c: Implement using towc function.
83070         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83071         * wcsmbs/wcsmbsload.c: Likewise.
83072         * iconv/gconv_simple.c: Likewise.
83073         * iconv/gconv_int.h: Likewise.
83074         * iconv/gconv_builtin.h: Likewise.
83075         * iconv/iconv_prog.c: Remove CHAR16 handling.
83077         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83079         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83081         * configure.in: Remove --with-elf and --enable-bounded options.
83082         Dont set base_machine for ia64.  More non-ELF conditions removed.
83083         Remove testing and setting of leading underscore information.
83084         * config.make.in (build-bounded): Set to no.
83085         * config.h.in: Remove NO_UNDERSCORES entry.
83086         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83087         them.
83088         * csu/start.c: Remove !NO_UNDERSCORE code.
83089         * locale/localeinfo.h: Likewise.
83090         * sysdeps/generic/machine-gmon.h: Likewise.
83091         * sysdeps/generic/sysdep.h: Likewise.
83092         * sysdeps/i386/sysdep.h: Likewise.
83093         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83094         * sysdeps/mach/sysdep.h: Likewise.
83095         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83096         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83097         * sysdeps/sh/sysdep.h: Likewise.
83098         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83099         * sysdeps/unix/i386/sysdep.S: Likewise.
83100         * sysdeps/unix/sparc/start.c: Likewise.
83101         * sysdeps/unix/sparc/sysdep.S: Likewise.
83102         * sysdeps/unix/sparc/sysdep.h: Likewise.
83103         * sysdeps/unix/start.c: Likewise.
83104         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83105         * sysdeps/x86_64/sysdep.h: Likewise.
83107 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83109         [BZ #13553]
83110         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83111         for non-gcc.
83112         * argp/argp-fmtstream.h: Use const instead __const.
83113         * argp/argp.h: Likewise.
83114         * assert/assert.h: Likewise.
83115         * bits/fenv.h: Likewise.
83116         * bits/sched.h: Likewise.
83117         * bits/sigset.h: Likewise.
83118         * bits/sigthread.h: Likewise.
83119         * catgets/nl_types.h: Likewise.
83120         * conform/data/pthread.h-data: Likewise.
83121         * crypt/crypt-private.h: Likewise.
83122         * crypt/crypt.h: Likewise.
83123         * crypt/crypt_util.c: Likewise.
83124         * ctype/ctype.h: Likewise.
83125         * debug/execinfo.h: Likewise.
83126         * debug/mbsnrtowcs_chk.c: Likewise.
83127         * debug/mbsrtowcs_chk.c: Likewise.
83128         * debug/wcsnrtombs_chk.c: Likewise.
83129         * debug/wcsrtombs_chk.c: Likewise.
83130         * debug/wcstombs_chk.c: Likewise.
83131         * dirent/dirent.h: Likewise.
83132         * dlfcn/dlfcn.h: Likewise.
83133         * elf/neededtest4.c: Likewise.
83134         * grp/grp.h: Likewise.
83135         * gshadow/gshadow.h: Likewise.
83136         * iconv/gconv.h: Likewise.
83137         * iconv/gconv_int.h: Likewise.
83138         * iconv/gconv_simple.c: Likewise.
83139         * iconv/iconv.h: Likewise.
83140         * iconv/loop.c: Likewise.
83141         * iconv/skeleton.c: Likewise.
83142         * include/aio.h: Likewise.
83143         * include/aliases.h: Likewise.
83144         * include/argz.h: Likewise.
83145         * include/arpa/inet.h: Likewise.
83146         * include/assert.h: Likewise.
83147         * include/dirent.h: Likewise.
83148         * include/dlfcn.h: Likewise.
83149         * include/execinfo.h: Likewise.
83150         * include/fcntl.h: Likewise.
83151         * include/fenv.h: Likewise.
83152         * include/glob.h: Likewise.
83153         * include/grp.h: Likewise.
83154         * include/libintl.h: Likewise.
83155         * include/mntent.h: Likewise.
83156         * include/netdb.h: Likewise.
83157         * include/pwd.h: Likewise.
83158         * include/rpc/netdb.h: Likewise.
83159         * include/sched.h: Likewise.
83160         * include/search.h: Likewise.
83161         * include/shadow.h: Likewise.
83162         * include/signal.h: Likewise.
83163         * include/stdio.h: Likewise.
83164         * include/stdlib.h: Likewise.
83165         * include/string.h: Likewise.
83166         * include/sys/socket.h: Likewise.
83167         * include/sys/stat.h: Likewise.
83168         * include/sys/statfs.h: Likewise.
83169         * include/sys/statvfs.h: Likewise.
83170         * include/sys/syslog.h: Likewise.
83171         * include/sys/time.h: Likewise.
83172         * include/sys/uio.h: Likewise.
83173         * include/time.h: Likewise.
83174         * include/unistd.h: Likewise.
83175         * include/utmp.h: Likewise.
83176         * include/wchar.h: Likewise.
83177         * include/wctype.h: Likewise.
83178         * inet/aliases.h: Likewise.
83179         * inet/arpa/inet.h: Likewise.
83180         * inet/netinet/ether.h: Likewise.
83181         * inet/netinet/in.h: Likewise.
83182         * intl/libintl.h: Likewise.
83183         * io/bits/fcntl2.h: Likewise.
83184         * io/fcntl.h: Likewise.
83185         * io/ftw.h: Likewise.
83186         * io/sys/poll.h: Likewise.
83187         * io/sys/stat.h: Likewise.
83188         * io/sys/statfs.h: Likewise.
83189         * io/sys/statvfs.h: Likewise.
83190         * io/utime.h: Likewise.
83191         * libio/bits/stdio.h: Likewise.
83192         * libio/bits/stdio2.h: Likewise.
83193         * libio/libio.h: Likewise.
83194         * libio/libioP.h: Likewise.
83195         * libio/stdio.h: Likewise.
83196         * locale/lc-ctype.c: Likewise.
83197         * locale/locale.h: Likewise.
83198         * login/utmp.h: Likewise.
83199         * malloc/arena.c: Likewise.
83200         * malloc/malloc.c: Likewise.
83201         * malloc/malloc.h: Likewise.
83202         * malloc/mcheck.c: Likewise.
83203         * malloc/mtrace.c: Likewise.
83204         * math/bits/mathcalls.h: Likewise.
83205         * math/fenv.h: Likewise.
83206         * math/math_private.h: Likewise.
83207         * misc/bits/error.h: Likewise.
83208         * misc/bits/syslog.h: Likewise.
83209         * misc/err.h: Likewise.
83210         * misc/error.h: Likewise.
83211         * misc/fstab.h: Likewise.
83212         * misc/mntent.h: Likewise.
83213         * misc/regexp.h: Likewise.
83214         * misc/search.h: Likewise.
83215         * misc/sgtty.h: Likewise.
83216         * misc/sys/mman.h: Likewise.
83217         * misc/sys/syslog.h: Likewise.
83218         * misc/sys/uio.h: Likewise.
83219         * misc/sys/xattr.h: Likewise.
83220         * misc/ttyent.h: Likewise.
83221         * nis/rpcsvc/ypclnt.h: Likewise.
83222         * nss/nss.h: Likewise.
83223         * posix/bits/unistd.h: Likewise.
83224         * posix/fnmatch.h: Likewise.
83225         * posix/glob.h: Likewise.
83226         * posix/sched.h: Likewise.
83227         * posix/spawn.h: Likewise.
83228         * posix/sys/wait.h: Likewise.
83229         * posix/unistd.h: Likewise.
83230         * posix/wordexp.h: Likewise.
83231         * pwd/pwd.h: Likewise.
83232         * resolv/netdb.h: Likewise.
83233         * resource/sys/resource.h: Likewise.
83234         * rt/aio.h: Likewise.
83235         * rt/bits/mqueue2.h: Likewise.
83236         * rt/mqueue.h: Likewise.
83237         * shadow/shadow.h: Likewise.
83238         * signal/signal.h: Likewise.
83239         * socket/send.c: Likewise.
83240         * socket/sendto.c: Likewise.
83241         * socket/sys/socket.h: Likewise.
83242         * stdio-common/printf.h: Likewise.
83243         * stdlib/bits/stdlib.h: Likewise.
83244         * stdlib/fmtmsg.h: Likewise.
83245         * stdlib/monetary.h: Likewise.
83246         * stdlib/stdlib.h: Likewise.
83247         * stdlib/ucontext.h: Likewise.
83248         * streams/stropts.h: Likewise.
83249         * string/argz.h: Likewise.
83250         * string/bits/string2.h: Likewise.
83251         * string/string.h: Likewise.
83252         * string/strings.h: Likewise.
83253         * sunrpc/rpc/auth.h: Likewise.
83254         * sunrpc/rpc/auth_des.h: Likewise.
83255         * sunrpc/rpc/clnt.h: Likewise.
83256         * sunrpc/rpc/netdb.h: Likewise.
83257         * sunrpc/rpc/pmap_clnt.h: Likewise.
83258         * sunrpc/rpc/xdr.h: Likewise.
83259         * sysdeps/generic/inttypes.h: Likewise.
83260         * sysdeps/generic/net/if.h: Likewise.
83261         * sysdeps/generic/sys/swap.h: Likewise.
83262         * sysdeps/gnu/net/if.h: Likewise.
83263         * sysdeps/gnu/utmpx.h: Likewise.
83264         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83265         * sysdeps/i386/i486/bits/string.h: Likewise.
83266         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83267         * sysdeps/s390/bits/string.h: Likewise.
83268         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83269         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83270         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83271         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83272         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83273         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83274         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83275         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83276         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83277         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83278         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83279         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83280         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83281         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83282         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83283         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83284         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83285         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83286         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83287         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83288         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83289         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83290         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83291         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83292         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83293         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83294         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83295         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83296         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83297         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83298         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83299         * sysvipc/sys/ipc.h: Likewise.
83300         * sysvipc/sys/msg.h: Likewise.
83301         * sysvipc/sys/sem.h: Likewise.
83302         * sysvipc/sys/shm.h: Likewise.
83303         * termios/termios.h: Likewise.
83304         * time/sys/time.h: Likewise.
83305         * time/time.h: Likewise.
83306         * wcsmbs/bits/wchar2.h: Likewise.
83307         * wcsmbs/uchar.h: Likewise.
83308         * wcsmbs/wchar.h: Likewise.
83309         * wctype/wctype.h: Likewise.
83311         [BZ #13551]
83312         * Makeconfig: Remove all but ELF support including AIX support.
83313         * Makerules: Likewise.
83314         * config.h.in: Likewise.
83315         * config.make.in: Likewise.
83316         * configure: Likewise.
83317         * configure.in: Likewise.
83318         * csu/Makefile: Likewise.
83319         * csu/version.c: Likewise.
83320         * debug/Makefile: Likewise.
83321         * dlfcn/Makefile: Likewise.
83322         * elf/Makefile: Likewise.
83323         * extra-lib.mk: Likewise.
83324         * iconv/Makefile: Likewise.
83325         * include/libc-symbols.h: Likewise.
83326         * include/shlib-compat.h: Likewise.
83327         * resolv/Makefile: Likewise.
83328         * resolv/res_libc.c: Likewise.
83329         * rt/Makefile: Likewise.
83330         * sysdeps/i386/asm-syntax.h: Likewise.
83331         * sysdeps/i386/sysdep.h: Likewise.
83332         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83333         * sysdeps/mach/sysdep.h: Likewise.
83334         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83335         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83336         * sysdeps/s390/asm-syntax.h: Likewise.
83337         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83338         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83339         * sysdeps/sh/sysdep.h: Likewise.
83340         * sysdeps/unix/sparc/sysdep.h: Likewise.
83341         * sysdeps/wordsize-32/divdi3.c: Likewise.
83342         * sysdeps/x86_64/sysdep.h: Likewise.
83344         * argp/Versions: Remove _argp_unlock_xxx.
83346         [BZ #13559]
83347         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83348         * abilist/libBrokenLocale.abilist: Likewise.
83349         * abilist/libanl.abilist: Likewise.
83350         * abilist/libc.abilist: Likewise.
83351         * abilist/libcrypt.abilist: Likewise.
83352         * abilist/libdl.abilist: Likewise.
83353         * abilist/libm.abilist: Likewise.
83354         * abilist/libnsl.abilist: Likewise.
83355         * abilist/libpthread.abilist: Likewise.
83356         * abilist/libresolv.abilist: Likewise.
83357         * abilist/librt.abilist: Likewise.
83358         * abilist/libthread_db.abilist: Likewise.
83359         * abilist/libutil.abilist: Likewise.
83360         * abilist/libnss_db.abilist: New file.
83362         * scripts/abilist.awk: Add support for indirect functions.
83364         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83366         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83368         * shlib-versions: Remove entries for ports architectures.
83370         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83371         files in ports.
83372         * elf/stackguard-macros.h: Remove support for IA-64.
83373         * elf/tst-auditmod1.c: Likewise.
83374         * sysdeps/generic/ldsodefs.h: Likewise.
83376         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83377         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83378         configure files.
83380         [BZ #13552]
83381         * configure.in: Remove --enable-omitfp support.
83382         * FAQ.in: Adjust.
83383         * config.make.in: Likewise.
83384         * Makeconfig: Likewise.
83385         * manual/install.texi: Likewise.
83387         In case anyone cares, the IA-64 architecture could move to ports.
83388         * sysdeps/ia64/*: Removed.
83389         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83390         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83392         [BZ #13555]
83393         * configure.in: Remove entries for unsupported architectures.
83395         [BZ #13533]
83396         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83397         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83398         routines.
83399         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83400         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83401         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83402         fall back to using wcrtomb.
83403         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83404         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83405         renaming.
83406         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83407         * wcsmbs/tst-c16c32-1.c: New file.
83409         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83410         local variable.
83412         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83414         * elf/tst-unique3.cc: Add explicit declaration of gets.
83415         * elf/tst-unique3lib.cc: Likewise.
83416         * elf/tst-unique3lib2.cc: Likewise.
83417         * elf/tst-unique4.cc: Likewise.
83419         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83421 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83423         [BZ #13566]
83424         * assert/assert.h (static_assert): Don't define for C++.
83425         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83426         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83428 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83430         * iconv/loop.c (single loop): Fix assertion in storing of
83431         remaining bytes.
83433         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83435 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83437         * posix/getconf.c: Update copyright year.
83438         * nss/getent.c: Likewise.
83439         * nss/makedb.c: Likewise.
83440         * iconv/iconvconfig.c: Likewise.
83441         * iconv/iconv_prog.c: Likewise.
83442         * elf/ldconfig.c: Likewise.
83443         * elf/pldd.c: Likewise.
83444         * elf/sotruss.ksh: Likewise.
83445         * catgets/gencat.c: Likewise.
83446         * csu/version.c: Likewise.
83447         * elf/ldd.bash.in: Likewise.
83448         * elf/sprof.c (print_version): Likewise.
83449         * locale/programs/locale.c: Likewise.
83450         * locale/programs/localedef.c: Likewise.
83451         * login/programs/pt_chown.c: Likewise.
83452         * nscd/nscd.c (print_version): Likewise.
83453         * debug/xtrace.sh: Likewise.
83454         * malloc/memusage.sh: Likewise.
83455         * malloc/mtrace.pl: Likewise.
83456         * debug/catchsegv.sh: Likewise.
83458 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83460         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83461         pure attribute.
83463 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83465         [BZ #13533]
83466         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83467         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83468         transformations.
83469         * iconv/gconv_int.h: Likewise.
83470         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83471         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83472         from libc for GLIBC_2.16.
83473         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83474         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83475         * wcsmbs/uchar.h: Really define mbstate_t.
83476         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83477         * wcsmbs/c16rtomb.c: New file.
83478         * wcsmbs/mbrtoc16.c: New file.
83479         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83480         for C/POSIX locale.
83481         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83482         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83484         * wcsmbs/wchar.h: Add missing __restrict.
83486 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83488         [BZ #13532]
83489         * time/Makefile (routines): Add timespec_get.
83490         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83491         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83492         timespec for ISO C11.
83493         * time/timespec_get.c: New file.
83494         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83495         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83497         [BZ #13531]
83498         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83499         * stdlib/stdlib.h: Declare aligned_alloc.
83500         * Versions.def: Add GLIBC_2.16 for libc.
83501         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83503         [BZ 13527]
83504         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83505         ISO C11.
83507         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83508         code.
83510         [BZ #13528]
83511         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83513         [BZ #13529]
83514         * assert/assert.h (static_assert): Define.
83516         * version.h: Update for 2.16 development version.
83518         [BZ #13526]
83519         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83520         _ISOC11_SOURCE.
83522         * version.h (RELEASE): Bump for 2.15 release.
83523         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83525         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83526         Patch by Marek Polacek <mpolacek@redhat.com>.
83528         * bits/byteswap.h: Protect long long constants with __extension__.
83529         * sysdeps/i386/bits/byteswap.h: Likewise.
83530         * sysdeps/ia64/bits/byteswap.h: Likewise.
83531         * sysdeps/s390/bits/byteswap.h: Likewise.
83532         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83534 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83536         [BZ #13540]
83537         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83538         destination buffer.
83539         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83541 2011-12-23  Marek Polacek  <polacek@redhat.com>
83543         * elf/dl-addr.c (determine_info): Add inline keyword.
83544         * elf/tst-auditmod4b.c (check_avx): Likewise.
83545         * elf/tst-auditmod6b.c (check_avx): Likewise.
83546         * elf/tst-auditmod6c.c (check_avx): Likewise.
83547         * elf/tst-auditmod7b.c (check_avx): Likewise.
83549 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83551         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83552         !__SSE_MATH__.
83554 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83556         [BZ #13540]
83557         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83558         processing for last bytes.
83560 2011-08-06  Bruno Haible  <bruno@clisp.org>
83562         [BZ #13061]
83563         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83564         U+0385, not to U+1FEE.
83566         [BZ #13062]
83567         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83568         entry for U+00A5 U+0301.
83570 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83572         [BZ #13166]
83573         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83574         buffer for the output is too small.
83576         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83577         optimization.
83579         [BZ #13185]
83580         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83581         SSE flags if possible.
83583 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83585         [BZ #13540]
83586         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83587         processing for last bytes.
83589 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83591         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83592         (syscall-list-default-options, syscall-list-default-condition)
83593         (syscall-list-includes): Define.
83594         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83595         list of ABIs and options and #if conditions for each ABI.  Do not
83596         handle common syscalls between ABIs specially.
83597         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83598         Remove.
83599         (syscall-list-variants, syscall-list-32bit-options)
83600         (syscall-list-32bit-condition, syscall-list-64bit-options)
83601         (syscall-list-64bit-condition): Define.
83602         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83603         (syscall-list-variants, syscall-list-32bit-options)
83604         (syscall-list-32bit-condition, syscall-list-64bit-options)
83605         (syscall-list-64bit-condition): Define.
83606         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83607         Remove.
83608         (syscall-list-variants, syscall-list-32bit-options)
83609         (syscall-list-32bit-condition, syscall-list-64bit-options)
83610         (syscall-list-64bit-condition): Define.
83611         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83612         Remove.
83613         (syscall-list-variants, syscall-list-32bit-options)
83614         (syscall-list-32bit-condition, syscall-list-64bit-options)
83615         (syscall-list-64bit-condition): Define.
83617 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83619         * locale/iso-639.def: Add brx entry.
83621         [BZ #13328]
83622         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83623         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83625         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83626         __feraiseexcept_renamed.
83628 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83630         [BZ #13538]
83631         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83632         EPOLLET with unsigned values.
83633         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83634         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83636         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83637         to large cancellation.
83638         * math/s_cacoshf.c: Likewise.
83639         * math/s_cacoshl.c: Likewise.
83641 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83643         [BZ #13305]
83644         [BZ #12786]
83645         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83646         * math/s_cacoshf.c: Likewise.
83647         * math/s_cacoshl.c: Likewise.
83649 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83651         [BZ #13439]
83652         * iconv/gconv.h: Define __GCONV_SWAP.
83653         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83654         * iconvdata/utf-16.c: Likewise.
83655         * iconvdata/utf-32.c: Likewise.
83657 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83659         [BZ #13524]
83660         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83661         numerator after shifting it by one limb.
83663 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83665         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83666         under [__USE_EXTERN_INLINES].
83668 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83670         [BZ #13446]
83671         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83673 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83675         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83676         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83677         optimized code.
83678         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83679         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83680         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83681         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83682         for strncasecmp/strncasecmp_l compilation.
83683         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83684         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83686 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83688         [BZ #13484]
83689         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83690         of __asm__.
83692 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83694         [BZ #13506]
83695         * time/tzfile.c (__tzfile_read): Check values from file header.
83697 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83699         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83700         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83701         * powerpc/powerpc32/dl-start.S: Likewise.
83702         * powerpc/powerpc32/elf/start.S: Likewise.
83703         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83704         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83705         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83706         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83707         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83708         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83709         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83710         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83711         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83712         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83713         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83714         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83715         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83716         * powerpc/powerpc32/memset.S: Likewise.
83717         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83718         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83719         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83720         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83721         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83722         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83723         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83724         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83725         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83726         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83727         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83728         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83729         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83731 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83733         * math/libm-test.inc: Added more nearbyint tests.
83734         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83735         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83736         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83737         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83739 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83741         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83742         FD_CLOEXEC.
83744 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83746         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83747         Add wcscpy-ssse3 wcscpy-c.
83748         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83749         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83750         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83751         * sysdeps/x86_64/wcschr.S: New file.
83752         * sysdeps/x86_64/wcsrchr.S: New file.
83753         * string/test-strcmp.c: Remove checking of wcscmp function for
83754         wrong alignments.
83755         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83756         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83757         wcsrchr-sse2 wcsrchr-c.
83758         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83759         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83760         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83761         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83762         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83763         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83764         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83765         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83766         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83767         * wcsmbc/wcschr.c (WCSCHR): New macro.
83769 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83771         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83772         * wcsmbs/test-wcsrchr.c: New file.
83773         * string/test-strrchr.c: Add wcsrchr support.
83774         (WIDE): New macro.
83775         * wcsmbs/test-wcscpy.c: New file.
83776         * string/test-strcpy.c: Add wcscpy support.
83777         (WIDE): New macro.
83779 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83781         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83782         the inner loop.
83784 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83786         [BZ #13472]
83787         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83789 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83791         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83792         Minor optimizations.
83794         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83795         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83796         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83798 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83800         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83801         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83802         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83803         for gcc to avoid warnings.
83804         * inet/Makefile (tests): Add tst-checks.
83805         * inet/tst-checks.c: New file.
83807         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83808         warning.
83810         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83811         __wmemcmp_sse2.
83813         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83814         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83816         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83818 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83820         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83821         problem.
83823         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83825 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83827         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83828         conditional on GCC version.
83829         (__arch_compare_and_exchange_val_8_acq)
83830         (__arch_compare_and_exchange_val_16_acq)
83831         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83832         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83833         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83835 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83837         * sysdeps/sh/backtrace.c: New file.
83839 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83841         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83842         parenthesis.
83844 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83846         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83847         falling back to utime.
83849 2011-11-30  Andreas Schwab  <schwab@redhat.com>
83851         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
83852         expectations for float.
83854 2011-11-29  Andreas Schwab  <schwab@redhat.com>
83856         * locale/weight.h (findidx): Add parameter len.
83857         * locale/weightwc.h (findidx): Likewise.
83858         * posix/fnmatch_loop.c (FCT): Adjust caller.
83859         * posix/regcomp.c (build_equiv_class): Likewise.
83860         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
83861         * posix/regexec.c (check_node_accept_bytes): Likewise.
83862         * string/strcoll_l.c (STRCOLL): Likewise.
83863         * string/strxfrm_l.c (STRXFRM): Likewise.
83865 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
83867         * Makefile.in: Remove CVSOPT handling.
83868         * configure.in: Remove use of AC_REVISION.
83869         * iconvdata/Makefile (distribute): No need to filter out CVS.
83870         * scripts/list-sources.sh: Remove CVS, subversion and monotone
83871         handling.
83873 2011-11-16  Andreas Schwab  <schwab@redhat.com>
83875         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
83876         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
83877         [USE_AS_STRNCASECMP_L]: Likewise.
83878         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
83879         NO_TLS_DIRECT_SEG_REFS.
83880         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
83881         Fix argument offsets for non-PIC.
83882         [USE_AS_STRNCASECMP_L]: Likewise.
83883         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
83884         NO_TLS_DIRECT_SEG_REFS.
83886 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83888         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
83889         O_CLOEXEC.
83890         * locale/loadlocale.c (_nl_load_locale): Likewise.
83892 2011-11-15  Andreas Schwab  <schwab@redhat.com>
83894         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
83895         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
83896         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
83897         (SYSCALL_GETTIME): Set errno on error.
83899         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
83900         count references to noai6ai_cached.
83902 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83904         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
83906         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
83907         FD_CLOEXEC for /proc/self/maps.
83909         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
83910         FD_CLOEXEC for /proc/meminfo.
83912         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
83913         gai.conf.
83915         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
83916         FD_CLOEXEC for given file.
83918         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
83920         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
83921         FD_CLOEXEC for /etc/hosts.
83922         (_gethtent): Likewise.
83924         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
83926         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
83927         cancellation and set FD_CLOEXEC for /etc/netgroup.
83929         * nss/nss_files/files-key.c (search): Don't allow cancellation when
83930         reading /etc/publickey.
83932         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
83933         allow cancellation when reading /etc/group.
83935         * nss/nss_files/files-alias.c (internal_setent): Don't allow
83936         cancellation.
83937         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
83939         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
83940         when using data file.
83942         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
83944         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
83945         (write_nis_obj): Use "c" and "e" in fopen.
83947         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
83949         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
83951         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
83953         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
83955         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
83956         locale.alias.
83958         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
83960         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
83962         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
83964         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
83965         file parsing and set FD_CLOEXEC.
83967 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83969         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
83971 2011-11-14  Andreas Schwab  <schwab@redhat.com>
83973         * malloc/arena.c (arena_get2): Don't call reused_arena when
83974         _int_new_arena failed.
83976 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83978         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
83979         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
83980         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
83981         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83982         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83983         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
83984         to compile strcasecmp and strncasecmp.
83985         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
83986         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
83988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
83990 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
83992         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
83993         locale-defines.sym to gen-as-const-headers.
83994         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
83995         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
83996         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
83997         to compile strcasecmp and strncasecmp.
83998         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
83999         strcasecmp_l and strncasecmp_l.
84000         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84001         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84002         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84003         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84004         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84005         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84006         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84007         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84008         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84009         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84010         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84012 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84014         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84015         result of SYSDEP_GETTIME_CPU to retval.
84016         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84017         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84019         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84020         variable.
84022         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84023         mantissa words.
84024         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84026         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84027         from unused variable.
84029         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84030         DWARF definitions.
84031         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84032         for assembling.
84034         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84035         over namespaces.
84037         * sunrpc/rpc_prot.c (rejected): Fix case value.
84039         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84040         unsigned long long int to avoid warnings in shift.
84042         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84043         of use of trans.
84044         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84045         variable tmp.
84047         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84048         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84049         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84051         * nis/nis_table.c (nis_list): Use variable of correct type for
84052         result of __follow_path call.
84054 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84056         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84057         of math functions ceil, trunc, floor, round, and sqrt, when
84058         avaliable on the platform.
84059         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84060         name clash.
84061         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84062         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84063         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84065 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84067         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84068         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84070 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84072         * include/unistd.h: Fix __readlink return type.
84073         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84075 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84077         * stdlib/ucontext.h: Undo last change for makecontext.
84079 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84081         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84083         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84084         * setjmp/setjmp.h: Mark functions as non-leaf.
84085         * setjmp/bits/setjmp2.h: Likewise.
84086         * stdlib/ucontext.h: Likewise.
84088 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84090         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84091         (reused_arena): Don't check arena limit.
84092         (arena_get2): Atomically check arena limit.
84094 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84096         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84097         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84099         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84100         instructions.
84102 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84104         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84105         handler when locking.
84107         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84108         Fix size of allocated buffer.
84110 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84112         [BZ #10103]
84113         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84114         declarations for long double functions.
84115         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84117         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84119 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84121         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84122         installed.
84124         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84125         is disabled.
84127 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84129         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84131 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84133         * include/alloca.h (stackinfo_alloca_round): Define.
84134         (extend_alloca): Use it.
84135         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84136         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84137         here.
84139         * scripts/check-local-headers.sh: Ignore libaudit.h.
84141         * nscd/Makefile (extra-objs): Make recursively expanded.
84143 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84145         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84146         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84148         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84149         * posix/tst-rfc3484-2.c: Likewise.
84150         * posix/tst-rfc3484-3.c: Likewise.
84152         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84153         process_vm_writev.
84154         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84155         process_vm_writev.
84156         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84157         process_vm_writev from libc using GLIBC_2.15 version.
84159         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84161 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84163         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84164         stack usage.
84166 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84168         [BZ #13367]
84169         * nss/getent.c (initgroups_keys): Show error message in case no group
84170         names are given.
84172         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84173         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84174         __bump_nl_timestamp.
84175         * nscd/connections (nscd_init): When host database is served open
84176         netlink socket and request notification about configuration changes.
84177         (main_loop_poll): Track netlink file descriptor and bump timestamp
84178         in case data becomes available.
84179         (main_loop_epoll): Likewise.
84180         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84181         (database_pers_head): Add extra_data fileds.
84182         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84183         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84184         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84185         Adjust caller.
84186         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84187         in6ai data, call __free_in6ai.
84188         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84189         Add -DHAVE_NETLINK.
84190         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84191         interface information.  Reuse previous data if netlink timestamp
84192         is not changed.
84193         (__bump_nl_timestamp): New function.
84194         (__free_in6ai): New function.
84196 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84198         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84199         close_not_cancel_no_status here.
84200         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84202 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84204         [BZ #13276]
84205         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84206         return value.
84208         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84209         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84210         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84212 2011-07-03  Andreas Jaeger  <aj@suse.de>
84214         [BZ #10709]
84215         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84216         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84217         * math/libm-test.inc (sin_test): Add test case.
84219 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84221         [BZ #13337]
84222         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84223         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84225         * elf/chroot_canon.c (chroot_canon): Cleanups.
84227         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84229         [BZ #13335]
84230         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84231         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84233         * string/test-strchr.c: Make usable for strchrnul testing.
84234         * string/test-strchrnul.c: New file.
84235         * string/Makefile (strop-tests): Add strchrnul.
84237         * po/it.po: Update from translation team.
84238         * po/es.po: Likewise.
84240 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84242         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84243         the three constants needed as parameters.  Drop the others.
84244         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84245         __m128i_strloadu_tolower.
84246         Create and initialize variable zero and use it in all the places
84247         where _mm_setzero_si128 was used.
84249         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84250         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84251         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84252         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84253         anymore.
84254         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84255         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84256         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84257         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84258         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84259         __mpranred, __mptan.
84260         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84261         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84262         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84263         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84264         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84265         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84266         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84267         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84268         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84270 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84272         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84273         redefine if SHARED.
84274         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84277         wide char related routines to wcsmbs subdir.
84279 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84281         [BZ #13344]
84282         * misc/sys/cdefs.h (__THROWNL): Define.
84283         * posix/unistd.h: Use __THREADNL instead of __THREAD
84284         for memory synchronization functions.
84286 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84288         [BZ #13349]
84289         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84290         doesn't exist.
84291         * manual/stdio.texi (Obstack Streams): Node removed.
84293 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84295         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84296         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84297         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84299         * math/math_private.h (math_force_eval): Allow non-addressable
84300         arguments.
84301         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84303 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84305         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84306         file is not needed.
84308         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84309         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84310         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84311         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84312         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84313         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84314         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84315         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84316         Add AVX variants.
84317         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84318         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84319         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84320         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84321         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84322         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84323         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84324         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84325         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84326         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84327         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84328         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84329         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84330         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84331         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84332         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84333         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84334         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84335         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84337         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84338         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84340         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84341         place.  Use VEX encoding when compiling for AVX.
84343 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84345         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84346         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84348         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84350 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84352         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84353         useless if() expression.
84354         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84355         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84356         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84357         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84358         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84359         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84360         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84361         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84362         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84363         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84364         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84365         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84366         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84367         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84368         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84369         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84370         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84371         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84372         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84374         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84376 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84378         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84379         condition.
84380         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84382 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84384         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84385         .text section.  Avoid duplicate constants.
84386         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84387         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84388         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84389         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84390         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84391         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84392         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84393         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84394         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84395         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84396         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84397         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84398         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84399         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84400         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84401         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84402         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84403         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84404         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84405         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84406         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84407         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84408         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84409         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84410         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84411         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84412         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84413         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84414         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84415         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84416         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84417         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84418         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84419         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84420         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84421         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84422         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84423         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84424         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84425         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84426         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84427         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84428         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84429         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84430         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84432 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84434         * sysdeps/x86_64/dla.h: Move to ...
84435         * sysdeps/x86_64/fpu/dla.h: ...here.
84436         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84437         situations.  Use __builtin_fma only for gcc 4.6 and up.
84439         * config.make.in: Add have-mfma4 entry.
84440         * configure.in: Substitute libc_cv_cc_fma4.
84441         * math/Makefile (dbl-only-routines): Add sincostab.
84442         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84443         Use __sincostab not sincos.
84444         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84445         name is a macro.
84446         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84447         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84448         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84449         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
84450         using __copysign.
84451         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84452         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84453         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84454         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84455         and __inv.
84456         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84457         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84458         __copysign.
84459         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84460         define aliases when function name is a macro.
84461         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84462         sysdeps/ieee754/dbl-64/sincos.tbl.
84463         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84464         fma4-enabled routines.
84465         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84466         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84467         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84468         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84469         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84470         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84471         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84472         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84473         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84474         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84475         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84476         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84477         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84478         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84479         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84480         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84481         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84482         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84483         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84484         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84485         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84486         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84487         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84488         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84489         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84490         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84491         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84492         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84493         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84494         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84496         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84497         rename.
84498         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84499         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84500         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84501         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84502         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84503         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84504         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84505         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84507 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84509         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84511 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84513         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84515         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84516         prediction.
84517         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84519         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84520         Remove unused variable magic_bits.
84521         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84523         * string/strnlen.c: Define and use STRNLEN macro.
84524         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84525         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84526         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84527         * wcsmbs/wcslen.c: Define and use WCSLEN.
84528         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84529         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84530         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84531         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84532         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84533         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84534         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84536 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84539         strnlen-sse2-no-bsf.
84540         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84541         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84542         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84543         Add strnlen support.
84544         (USE_AS_STRNLEN): New macro.
84545         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84546         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84547         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84548         * sysdeps/x86_64/wcslen.S: New file.
84550 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84552         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84553         XMM-moves are used for copying on small sizes.
84555 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84557         * wcsmbs/Makefile (strop-tests): Add wcschr.
84558         * wcsmbs/test-wcschr.c: New file.
84559         * string/test-strchr.c: Update.
84560         Add wcschr support.
84561         (WIDE): New macro.
84563 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84565         * wcsmbs/Makefile (strop-tests): Add wcslen.
84566         * wcsmbs/test-wcslen.c: New file.
84567         * string/test-strlen.c: Update.
84568         Add wcslen support.
84569         (WIDE): New macro.
84571 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84573         * po/it.po: Update from translation team.
84575 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84577         * sysdeps/x86_64/wcscmp.S: Update.
84578         Fix wrong comparison semantics.
84579         wcscmp shall use signed comparison not unsigned.
84580         Don't use substraction to avoid overflow bug.
84581         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84582         * wcsmbc/wcscmp.c: Likewise.
84583         * string/test-strcmp.c: Likewise.
84584         Add new tests to check cases with negative values.
84586 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84588         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84589         * sysdeps/x86_64/dla.h: ...here.  New file.
84590         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84591         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84593         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84594         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84595         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84596         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84597         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84598         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84600 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84602         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84603         __ynl_finite aliases.
84605 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84609         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84610         define DLA_FMA.
84611         [DLA_FMA] (EMULV): Use DLA_FMA.
84612         [DLA_FMA] (MUL12): Use EMULV.
84613         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84614         that are not needed.
84615         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84616         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84617         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84618         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84619         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84620         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84621         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84623 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84625         * math/s_nan.c: Undef __nan.
84626         * math/s_nanf.c: Undef __nanf.
84627         * math/s_nanl.c: Undef __nanl.
84628         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84629         "math_private.h".
84631 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84633         * math/s_catan.c: Add branch predictions.
84634         * math/s_catanf.c: Likewise.
84635         * math/s_catanh.c: Likewise.
84636         * math/s_catanhf.c: Likewise.
84637         * math/s_catanhl.c: Likewise.
84638         * math/s_catanl.c: Likewise.
84639         * math/s_cexp.c: Likewise.
84640         * math/s_cexpf.c: Likewise.
84641         * math/s_cexpl.c: Likewise.
84642         * math/s_clog.c: Likewise.
84643         * math/s_clog10.c: Likewise.
84644         * math/s_clog10f.c: Likewise.
84645         * math/s_clog10l.c: Likewise.
84646         * math/s_clogf.c: Likewise.
84647         * math/s_clogl.c: Likewise.
84648         * math/s_csqrt.c: Likewise.
84649         * math/s_csqrtf.c: Likewise.
84650         * math/s_csqrtl.c: Likewise.
84651         * math/s_ctanf.c: Likewise.
84652         * math/s_ctanh.c: Likewise.
84653         * math/s_ctanhf.c: Likewise.
84654         * math/s_ctanhl.c: Likewise.
84655         * math/s_ctanl.c: Likewise.
84657         * math/math_private.h: Define __nan, __nanf, __nanl.
84658         * math/s_cacosh.c: Include <math_private.h>.
84659         * math/s_cacoshl.c: Likewise.
84660         * math/s_casinh.c: Likewise.
84661         * math/s_casinhf.c: Likewise.
84662         * math/s_casinhl.c: Likewise.
84663         * math/s_ccos.c: Rely entire on ccosh.
84664         * math/s_ccosf.c: Rely entire on ccoshf.
84665         * math/s_ccosl.c: Rely entirely on ccoshl.
84666         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84667         Remove tests for FE_INVALID.
84668         * math/s_ccoshf.c: Likewise.
84669         * math/s_ccoshl.c: Likewise.
84670         * math/s_csin.c: Likewise.
84671         * math/s_csinf.c: Likewise.
84672         * math/s_csinh.c Likewise.
84673         * math/s_csinhf.c: Likewise.
84674         * math/s_csinhl.c: Likewise.
84675         * math/s_csinl.c: Likewise.
84676         * math/s_ctan.c: Likewise.
84677         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84678         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84679         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84681 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84684         compilation problems.
84686         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84687         __builtin_expect.
84689 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84691         * sysdeps/i386/configure.in: Test for -mfma4 option.
84692         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84693         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84694         COMMON_CPUID_INDEX_80000001.
84695         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84696         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84697         use it if FMA3 is not supported.
84698         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84700         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84701         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84703 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84705         [BZ #12892]
84706         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84707         it would create a cycle with a link time dependency.
84709 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84711         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84712         instruction.
84713         * string/Makefile (strop-tests): Add rawmemchr.
84714         * string/test-rawmemchr.c: New file.
84716         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84717         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84718         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84719         when compiling str{,n}casecmp and when AVX is available.  Hook up
84720         new optimized code in initializers.
84722 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84724         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84725         __feraiseexcept instead of feraiseexcept.
84727 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84729         * math/math_private.h: Define defaults for libc_fetestexcept and
84730         libc_feupdateenv.
84731         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84732         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84733         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84734         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84735         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84736         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84737         libc_fetestexcept and libc_feupdateenv.
84739         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84740         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84741         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84742         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84743         libc_feholdexcept_setround.
84745         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84746         Add s_nearbyint-c and s_nearbyintf-c.
84747         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84748         nearbyintf inlines.
84749         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84750         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84751         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84752         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84754         * math/math_private.h: Define defaults for libc_fegetround,
84755         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84756         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84757         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84758         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84759         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84760         standard functions.
84761         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84762         Remove comments and hacks for old compiler versions.
84763         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84764         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84765         libc_feholdexceptl.
84767 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84769         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84770         (__feraiseexcept_renamed): Add __NTH.
84771         (feraiseexcept): Add __NTH.  Rename local variables to fix
84772         namespace violations.
84774 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84776         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84778         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84780         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84781         recently added interfaces.
84782         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84784         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84785         about macro parameter expansion.
84787         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84788         __NO_MATH_INLINES is defined.  Cleanups.
84790         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84791         and __floorf is target has SSE4.1.
84792         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84793         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84794         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84795         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84797         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84798         name.
84799         (floorf): Likewise.
84801         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84803 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84805         * misc/sys/cdefs.h: Fix last change.
84807         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84808         database lookup.
84810 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84812         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84814         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84815         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84816         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84817         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84818         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84819         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84820         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84821         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84822         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84823         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84824         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84825         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84826         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84827         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84828         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84829         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84830         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84831         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84832         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84833         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84834         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84835         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84837         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84838         ceil, ceilf, floor, floorf.
84840         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84841         Perform IRELATIVE relocations last.
84843         * elf/do-rel.h: Add another parameter nrelative, replacing the
84844         local variable with the same name.  Change name of the function
84845         to end in Rel or Rela (uppercase).
84846         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84847         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
84848         elf_dynamic_do_##reloc function.
84850 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84852         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
84853         is sufficient, at least on modern CPUs.
84855         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
84857         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
84858         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
84860         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
84861         __expl_finite.
84862         * math/bits/math-finite.h: Add entries for exp.
84863         * math/e_expl.c: Add __*_finite alias.
84864         * sysdeps/i386/fpu/e_exp.S: Likewise.
84865         * sysdeps/i386/fpu/e_expf.S: Likewise.
84866         * sysdeps/i386/fpu/e_expl.c: Likewise.
84867         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84868         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84869         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
84870         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
84871         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
84872         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84873         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84875         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
84876         is sufficient, at least on modern CPUs.
84878         * ctype/ctype-info.c (__ctype_init): Define.
84879         * include/ctype.h (__ctype_init): Declare.
84880         (__ctype_b_loc): The variable is always initialized.
84881         (__ctype_toupper_loc): Likewise.
84882         (__ctype_tolower_loc): Likewise.
84883         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
84884         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
84886 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
84888         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
84890         * configure.in: Also look in $cxxmachine/include for C++ system
84891         headers.
84893 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84895         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
84896         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
84897         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
84898         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
84899         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
84900         (USE_AS_WMEMCMP): New macro.
84901         Fixing indents.
84902         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
84903         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
84904         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
84905         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
84906         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84907         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
84908         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
84909         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
84910         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
84911         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
84912         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
84913         (USE_AS_WMEMCMP): New macro.
84914         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
84915         * sysdeps/string/test-memcmp.c: Update.
84916         Fix simple_wmemcmp.
84917         Add new tests.
84918         * wcsmbs/wmemcmp.c: Update.
84919         (WMEMCMP): New macro.
84920         Fix overflow bug.
84922 2011-10-12  Andreas Jaeger  <aj@suse.de>
84924         [BZ #13268]
84925         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
84927 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84929         * libio/iofwide.c (do_length): Avoid warning.
84931         * ctype/ctype.h (__isctype_f): Add missing __THROW.
84933 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
84935         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
84937         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
84938         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
84939         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
84940         * sysdeps/i386/i686/fpu/e_log.S: New file.
84941         * sysdeps/i386/i686/fpu/e_logf.S: New file.
84942         * sysdeps/i386/i686/fpu/e_logl.S: New file.
84944         * ctype/ctype.h: Add support for inlined isXXX functions when
84945         compiling C++ code.
84947 2011-10-14  Andreas Schwab  <schwab@redhat.com>
84949         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84951         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
84953 2011-10-13  Roland McGrath  <roland@hack.frob.com>
84955         [BZ #13291]
84956         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
84958 2011-10-13  Andreas Schwab  <schwab@redhat.com>
84960         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
84961         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
84962         feraiseexcept.
84964         * sysdeps/x86_64/memrchr.S: Check for zero size.
84966         * string/stratcliff.c: Add memrchr tests.
84968 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84970         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84971         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
84972         rawmemchr-sse2 rawmemchr-sse2-bsf.
84973         * sysdeps/i386/i686/multiarch/memchr.S: New file.
84974         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
84975         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
84976         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
84977         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
84978         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
84979         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
84980         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
84981         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
84982         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
84983         * string/memrchr.c (MEMRCHR): New macro.
84985 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
84987         Add integration with gcc's -ffinite-math-only and optimize wrapper
84988         functions in libm.
84989         * Versions.def: Define GLIBC_2.15 version for libm.
84990         * math/Makefile (headers): Add bits/math-finite.h.
84991         * math/bits/math-finite.h: New file.
84992         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
84993         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
84994         * math/e_acoshl.c: Add __*_finite alias.
84995         * math/e_acosl.c: Likewise.
84996         * math/e_asinl.c: Likewise.
84997         * math/e_atan2l.c: Likewise.
84998         * math/e_atanhl.c: Likewise.
84999         * math/e_coshl.c: Likewise.
85000         * math/e_exp10.c: Likewise.
85001         * math/e_exp10f.c: Likewise.
85002         * math/e_exp10l.c: Likewise.
85003         * math/e_exp2l.c: Likewise.
85004         * math/e_fmodl.c: Likewise.
85005         * math/e_gammal_r.c: Likewise.
85006         * math/e_hypotl.c: Likewise.
85007         * math/e_j0l.c: Likewise.
85008         * math/e_j1l.c: Likewise.
85009         * math/e_jnl.c: Likewise.
85010         * math/e_lgammal_r.c: Likewise.
85011         * math/e_log10l.c: Likewise.
85012         * math/e_log2l.c: Likewise.
85013         * math/e_logl.c: Likewise.
85014         * math/e_powl.c: Likewise.
85015         * math/e_sinhl.c: Likewise.
85016         * math/e_sqrtl.c: Likewise.
85017         * math/e_scalb.c: Completely rewritten and optimized.
85018         * math/e_scalbf.c: Likewise.
85019         * math/e_scalbl.c: Likewise.
85020         * math/w_acos.c: Likewise.
85021         * math/w_acosf.c: Likewise.
85022         * math/w_acosl.c: Likewise.
85023         * math/w_acosh.c: Likewise.
85024         * math/w_acoshf.c: Likewise.
85025         * math/w_acoshl.c: Likewise.
85026         * math/w_asin.c: Likewise.
85027         * math/w_asinf.c: Likewise.
85028         * math/w_asinl.c: Likewise.
85029         * math/w_atan2.c: Likewise.
85030         * math/w_atan2f.c: Likewise.
85031         * math/w_atan2l.c: Likewise.
85032         * math/w_atanh.c: Likewise.
85033         * math/w_atanhf.c: Likewise.
85034         * math/w_atanhl.c: Likewise.
85035         * math/w_exp10.c: Likewise.
85036         * math/w_exp10f.c: Likewise.
85037         * math/w_exp10l.c: Likewise.
85038         * math/w_fmod.c: Likewise.
85039         * math/w_fmodf.c: Likewise.
85040         * math/w_fmodl.c: Likewise.
85041         * math/w_j0.c: Likewise.
85042         * math/w_j0f.c: Likewise.
85043         * math/w_j0l.c: Likewise.
85044         * math/w_j1.c: Likewise.
85045         * math/w_j1f.c: Likewise.
85046         * math/w_j1l.c: Likewise.
85047         * math/w_jn.c: Likewise.
85048         * math/w_jnf.c: Likewise.
85049         * math/w_log.c: Likewise.
85050         * math/w_logf.c: Likewise.
85051         * math/w_logl.c: Likewise.
85052         * math/w_log10.c: Likewise.
85053         * math/w_log10f.c: Likewise.
85054         * math/w_log10l.c: Likewise.
85055         * math/w_log2.c: Likewise.
85056         * math/w_log2f.c: Likewise.
85057         * math/w_log2l.c: Likewise.
85058         * math/w_pow.c: Likewise.
85059         * math/w_powf.c: Likewise.
85060         * math/w_powl.c: Likewise.
85061         * math/w_remainder.c: Likewise.
85062         * math/w_remainderf.c: Likewise.
85063         * math/w_remainderl.c: Likewise.
85064         * math/w_scalb.c: Likewise.
85065         * math/w_scalbf.c: Likewise.
85066         * math/w_scalbl.c: Likewise.
85067         * math/w_sqrt.c: Likewise.
85068         * math/w_sqrtf.c: Likewise.
85069         * math/w_sqrtl.c: Likewise.
85070         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85071         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85072         used.
85073         * math/math_private.h: Declare __kernel_standard_f.
85074         * math/w_cosh.c: Remove cruft and optimize a bit.
85075         * math/w_coshf.c: Likewise.
85076         * math/w_coshl.c: Likewise.
85077         * math/w_exp2.c: Likewise.
85078         * math/w_exp2f.c: Likewise.
85079         * math/w_exp2l.c: Likewise.
85080         * math/w_hypot.c: Likewise.
85081         * math/w_hypotf.c: Likewise.
85082         * math/w_hypotl.c: Likewise.
85083         * math/w_lgamma.c: Likewise.
85084         * math/w_lgamma_r.c: Likewise.
85085         * math/w_lgammaf.c: Likewise.
85086         * math/w_lgammaf_r.c: Likewise.
85087         * math/w_lgammal.c: Likewise.
85088         * math/w_lgammal_r.c: Likewise.
85089         * math/w_sinh.c: Likewise.
85090         * math/w_sinhf.c: Likewise.
85091         * math/w_sinhl.c: Likewise.
85092         * math/w_tgamma.c: Likewise.
85093         * math/w_tgammaf.c: Likewise.
85094         * math/w_tgammal.c: Likewise.
85095         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85096         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85097         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85098         Minor optimizations.  Pretty printing.  Remove cruft.
85099         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85100         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85101         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85102         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85103         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85104         * sysdeps/i386/fpu/e_asin.S: Likewise.
85105         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85106         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85107         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85108         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85109         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85110         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85111         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85112         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85113         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85114         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85115         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85116         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85117         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85118         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85119         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85120         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85121         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85122         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85123         * sysdeps/i386/fpu/e_log.S: Likewise.
85124         * sysdeps/i386/fpu/e_log10.S: Likewise.
85125         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85126         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85127         * sysdeps/i386/fpu/e_log2.S: Likewise.
85128         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85129         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85130         * sysdeps/i386/fpu/e_logf.S: Likewise.
85131         * sysdeps/i386/fpu/e_logl.S: Likewise.
85132         * sysdeps/i386/fpu/e_pow.S: Likewise.
85133         * sysdeps/i386/fpu/e_powf.S: Likewise.
85134         * sysdeps/i386/fpu/e_powl.S: Likewise.
85135         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85136         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85137         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85138         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85139         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85140         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85141         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85142         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85143         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85144         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85145         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85146         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85147         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85148         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85149         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85150         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85151         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85152         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85153         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85154         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85155         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85156         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85157         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85158         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85159         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85160         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85161         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85162         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85163         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85164         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85165         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85166         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85167         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85168         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85169         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85170         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85171         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85172         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85173         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85174         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85175         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85176         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85177         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85178         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85179         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85180         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85181         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85182         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85183         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85184         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85185         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85186         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85187         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85188         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85189         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85190         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85191         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85192         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85193         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85194         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85195         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85196         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85197         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85198         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85199         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85200         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85201         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85202         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85203         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85204         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85205         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85206         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85207         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85208         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85209         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85210         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85211         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85212         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85213         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85214         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85215         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85216         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85217         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85218         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85219         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85220         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85221         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85222         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85223         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85224         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85225         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85226         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85227         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85228         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85229         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85230         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85231         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85232         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85233         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85234         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85235         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85236         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85237         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85238         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85239         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85240         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85241         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85242         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85243         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85244         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85245         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85246         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85247         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85248         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85249         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85250         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85251         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85252         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85253         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85254         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85255         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85256         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85257         (__isnanf): Likewise.
85258         (__isinf_ns): Likewise.
85259         (__isinf_nsf): Likewise.
85260         (__finite): Likewise.
85261         (__finitef): Likewise.
85262         (__ieee754_sqrt): Define as macro.
85263         (__ieee754_sqrtf): Define as macro.
85264         (__ieee754_sqrtl): Define as macro.
85265         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85266         inlined copy.
85267         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85268         __FINITE_MATH_ONLY__ consistent.
85269         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85271 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85273         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85274         of rawmemchr.
85276         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85278 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85280         * po/ja.po: Update from translation team.
85282 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85284         * locale/programs/locarchive.c (prepare_address_space): New function.
85285         (create_archive, enlarge_archive, open_archive): Use it.
85287         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85288         inside [SHARED], where it is used.
85290         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85292         * nss/getent.c (netgroup_keys): Remove unused variable.
85293         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85295 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85297         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85298         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85299         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85300         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85301         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85302         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85303         * math/Makefile (libm-calls): Add s_isinf_ns.
85304         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85305         * math/multc3.c: Likewise.
85306         * math/s_casin.c: Likewise.
85307         * math/s_casinf.c: Likewise.
85308         * math/s_casinl.c: Likewise.
85309         * math/s_ccos.c: Likewise.
85310         * math/s_ccosf.c: Likewise.
85311         * math/s_ccosl.c: Likewise.
85312         * math/s_ctan.c: Likewise.
85313         * math/s_ctanf.c: Likewise.
85314         * math/s_ctanh.c: Likewise.
85315         * math/s_ctanhf.c: Likewise.
85316         * math/s_ctanhl.c: Likewise.
85317         * math/s_ctanl.c: Likewise.
85318         * math/w_fmod.c: Likewise.
85319         * math/w_fmodf.c: Likewise.
85320         * math/w_fmodl.c: Likewise.
85321         * math/w_remainder.c: Likewise.
85322         * math/w_remainderf.c: Likewise.
85323         * math/w_remainderl.c: Likewise.
85324         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85325         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85326         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85327         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85328         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85329         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85330         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85331         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85333         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85334         of the number.
85335         * stdio-common/printf_fphex.c: Likewise.
85336         * stdio-common/printf_size.c: Likewise.
85338         * math/e_exp10.c: Include math_private.h using <...> not "...".
85339         * math/e_exp10f.c: Likewise.
85340         * math/e_exp10l.c: Likewise.
85341         * math/e_exp2l.c: Likewise.
85342         * math/e_j0l.c: Likewise.
85343         * math/e_j1l.c: Likewise.
85344         * math/e_jnl.c: Likewise.
85345         * math/e_lgammal_r.c: Likewise.
85346         * math/e_rem_pio2l.c: Likewise.
85347         * math/e_scalb.c: Likewise.
85348         * math/e_scalbf.c: Likewise.
85349         * math/e_scalbl.c: Likewise.
85350         * math/k_cosl.c: Likewise.
85351         * math/k_sinl.c: Likewise.
85352         * math/k_tanl.c: Likewise.
85353         * math/s_cacoshf.c: Likewise.
85354         * math/s_catan.c: Likewise.
85355         * math/s_catanf.c: Likewise.
85356         * math/s_catanh.c: Likewise.
85357         * math/s_catanhf.c: Likewise.
85358         * math/s_catanhl.c: Likewise.
85359         * math/s_catanl.c: Likewise.
85360         * math/s_ccosh.c: Likewise.
85361         * math/s_ccoshf.c: Likewise.
85362         * math/s_ccoshl.c: Likewise.
85363         * math/s_cexp.c: Likewise.
85364         * math/s_cexpf.c: Likewise.
85365         * math/s_cexpl.c: Likewise.
85366         * math/s_clog.c: Likewise.
85367         * math/s_clog10.c: Likewise.
85368         * math/s_clog10f.c: Likewise.
85369         * math/s_clog10l.c: Likewise.
85370         * math/s_clogf.c: Likewise.
85371         * math/s_clogl.c: Likewise.
85372         * math/s_csin.c: Likewise.
85373         * math/s_csinf.c: Likewise.
85374         * math/s_csinh.c: Likewise.
85375         * math/s_csinhf.c: Likewise.
85376         * math/s_csinhl.c: Likewise.
85377         * math/s_csinl.c: Likewise.
85378         * math/s_csqrt.c: Likewise.
85379         * math/s_csqrtf.c: Likewise.
85380         * math/s_csqrtl.c: Likewise.
85381         * math/s_ctan.c: Likewise.
85382         * math/s_ctanf.c: Likewise.
85383         * math/s_ctanh.c: Likewise.
85384         * math/s_ctanhf.c: Likewise.
85385         * math/s_ctanhl.c: Likewise.
85386         * math/s_ctanl.c: Likewise.
85387         * math/s_ldexp.c: Likewise.
85388         * math/s_ldexpf.c: Likewise.
85389         * math/s_ldexpl.c: Likewise.
85390         * math/s_significand.c: Likewise.
85391         * math/s_significandf.c: Likewise.
85392         * math/s_significandl.c: Likewise.
85393         * math/w_acos.c: Likewise.
85394         * math/w_acosf.c: Likewise.
85395         * math/w_acosh.c: Likewise.
85396         * math/w_acoshf.c: Likewise.
85397         * math/w_acoshl.c: Likewise.
85398         * math/w_acosl.c: Likewise.
85399         * math/w_asin.c: Likewise.
85400         * math/w_asinf.c: Likewise.
85401         * math/w_asinl.c: Likewise.
85402         * math/w_atan2.c: Likewise.
85403         * math/w_atan2f.c: Likewise.
85404         * math/w_atan2l.c: Likewise.
85405         * math/w_atanh.c: Likewise.
85406         * math/w_atanhf.c: Likewise.
85407         * math/w_atanhl.c: Likewise.
85408         * math/w_cosh.c: Likewise.
85409         * math/w_coshf.c: Likewise.
85410         * math/w_coshl.c: Likewise.
85411         * math/w_dremf.c: Likewise.
85412         * math/w_exp10.c: Likewise.
85413         * math/w_exp10f.c: Likewise.
85414         * math/w_exp10l.c: Likewise.
85415         * math/w_exp2.c: Likewise.
85416         * math/w_exp2f.c: Likewise.
85417         * math/w_fmod.c: Likewise.
85418         * math/w_fmodf.c: Likewise.
85419         * math/w_fmodl.c: Likewise.
85420         * math/w_hypot.c: Likewise.
85421         * math/w_hypotf.c: Likewise.
85422         * math/w_hypotl.c: Likewise.
85423         * math/w_j0.c: Likewise.
85424         * math/w_j0f.c: Likewise.
85425         * math/w_j0l.c: Likewise.
85426         * math/w_j1.c: Likewise.
85427         * math/w_j1f.c: Likewise.
85428         * math/w_j1l.c: Likewise.
85429         * math/w_jn.c: Likewise.
85430         * math/w_jnf.c: Likewise.
85431         * math/w_jnl.c: Likewise.
85432         * math/w_lgamma.c: Likewise.
85433         * math/w_lgamma_r.c: Likewise.
85434         * math/w_lgammaf.c: Likewise.
85435         * math/w_lgammaf_r.c: Likewise.
85436         * math/w_lgammal.c: Likewise.
85437         * math/w_lgammal_r.c: Likewise.
85438         * math/w_log.c: Likewise.
85439         * math/w_log10.c: Likewise.
85440         * math/w_log10f.c: Likewise.
85441         * math/w_log10l.c: Likewise.
85442         * math/w_log2.c: Likewise.
85443         * math/w_log2f.c: Likewise.
85444         * math/w_log2l.c: Likewise.
85445         * math/w_logf.c: Likewise.
85446         * math/w_logl.c: Likewise.
85447         * math/w_pow.c: Likewise.
85448         * math/w_powf.c: Likewise.
85449         * math/w_powl.c: Likewise.
85450         * math/w_remainder.c: Likewise.
85451         * math/w_remainderf.c: Likewise.
85452         * math/w_remainderl.c: Likewise.
85453         * math/w_scalb.c: Likewise.
85454         * math/w_scalbf.c: Likewise.
85455         * math/w_scalbl.c: Likewise.
85456         * math/w_sinh.c: Likewise.
85457         * math/w_sinhf.c: Likewise.
85458         * math/w_sinhl.c: Likewise.
85459         * math/w_sqrt.c: Likewise.
85460         * math/w_sqrtf.c: Likewise.
85461         * math/w_sqrtl.c: Likewise.
85462         * math/w_tgamma.c: Likewise.
85463         * math/w_tgammaf.c: Likewise.
85464         * math/w_tgammal.c: Likewise.
85466         * po/ja.po: Update from translation team.
85468 2011-09-29  Andreas Jaeger  <aj@suse.de>
85470         [BZ #13179]
85471         * sunrpc/netname.c (netname2host): Fix logic.
85473         [BZ #6779]
85474         [BZ #6783]
85475         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85476         correctly.
85477         * math/w_remainder.c (__remainder): Likewise.
85478         * math/w_remainderf.c (__remainderf): Likewise.
85479         * math/libm-test.inc (remainder_test): Add test cases.
85481 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85483         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85484         sdiv_qrnnd.
85486 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85488         * string/test-memcmp.c: Avoid unncessary #defines.
85489         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85491 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85493         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85494         Use new sse2 version for core i3 - i7 as it's faster
85495         than sse42 version.
85496         (bit_Prefer_PMINUB_for_stringop): New.
85497         * sysdeps/x86_64/rawmemchr.S: Update.
85498         Replace with faster SSE2 version.
85499         * sysdeps/x86_64/memrchr.S: New file.
85500         * sysdeps/x86_64/memchr.S: Update.
85501         Replace with faster SSE2 version.
85503 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85505         * elf/dl-load.c (lose): Add cast to avoid warning.
85507 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85509         * po/ca.po: Update from translation team.
85511         * inet/getnetgrent_r.c: Hook up nscd.
85512         * nscd/Makefile (routines): Add nscd_netgroup.
85513         (nscd-modules): Add netgroupcache.
85514         (CFLAGS-netgroupcache.c): Define.
85515         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85516         (cache_search): Add const to second parameter.
85517         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85518         INNETGR.
85519         (dbs): Add netgrdb entry.
85520         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85521         (verify_persistent_db): Handle netgrdb.
85522         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85523         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85524         GETFDNETGR.
85525         (netgroup_response_header): Define.
85526         (innetgroup_response_header): Define.
85527         (datahead): Add netgroup_response_header and innetgroup_response_header
85528         elements.
85529         * nscd/nscd.conf: Add entries for netgroup cache.
85530         * nscd/nscd.h (dbtype): Add netgrdb.
85531         (_PATH_NSCD_NETGROUP_DB): Define.
85532         (netgroup_iov_disabled): Declare.
85533         (xmalloc, xcalloc, xrealloc): Move declarations here.
85534         (cache_search): Adjust prototype.
85535         Add netgroup-related prototypes.
85536         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85537         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85538         (__nscd_innetgr): Declare.
85539         * nscd/selinux.c (perms): Use access_vector_t as element type and
85540         add netgroup-related initializers.
85541         * nscd/netgroupcache.c: New file.
85542         * nscd/nscd_netgroup.c: New file.
85543         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85544         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85545         For four parameters use innetgr.
85546         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85547         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85548         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85549         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85551         * nscd/connections.c (register_traced_file): Don't register file
85552         for disabled databases.
85554 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85556         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85558         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85559         from tree and freeing node.
85561 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85563         * nss/nsswitch.c (__nss_database_lookup): Handle
85564         nss_parse_service_list out of memory case.
85566 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85568         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85569         out of memory case.
85571 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85573         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85574         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85575         pass it down.
85576         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85577         elf_machine_rela, elf_machine_lazy_rel.
85578         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85579         (ELF_DYNAMIC_DO_REL): Likewise.
85580         (ELF_DYNAMIC_DO_RELA): Likewise.
85581         (ELF_DYNAMIC_RELOCATE): Likewise.
85582         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85583         to ELF_DYNAMIC_DO_REL.
85584         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85585         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85586         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85587         elf_machine_rela.
85588         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85589         skip_ifunc, don't call ifunc function if non-zero.
85590         (elf_machine_rela): Likewise.
85591         (elf_machine_lazy_rel): Likewise.
85592         (elf_machine_lazy_rela): Likewise.
85593         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85594         (elf_machine_lazy_rel): Likewise.
85595         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85596         Likewise.
85597         (elf_machine_lazy_rel): Likewise.
85598         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85599         Likewise.
85600         (elf_machine_lazy_rel): Likewise.
85601         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85602         (elf_machine_lazy_rel): Likewise.
85603         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85604         (elf_machine_lazy_rel): Likewise.
85605         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85606         (elf_machine_lazy_rel): Likewise.
85607         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85608         (elf_machine_lazy_rel): Likewise.
85609         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85610         (elf_machine_lazy_rel): Likewise.
85611         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85612         (elf_machine_lazy_rel): Likewise.
85614 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85616         * nss/nss_files/files-init.c (_nss_files_init): Use static
85617         initialization for all the *_traced_file variables.
85619 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85621         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85623 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85625         [BZ #13226]
85626         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85628 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85630         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85631         Reread the line before reparsing it.
85633 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85635         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85637 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85638             Maxim Kuvyrkov  <maxim@codesourcery.com>
85639             Joseph Myers  <joseph@codesourcery.com>
85641         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85642         if needed for __stack_chk_guard.
85644 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85646         * sysdeps/posix/spawni.c (script_execute): Always define it.
85647         It will be optimized away if unused.
85648         (maybe_script_execute): New function.
85649         (__spawni): Call it.
85651         * Makerules: Don't include tls.make.
85652         (config-tls): Always set to thread.
85653         * tls.make.c: File removed.
85655 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85657         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85658         * config.make.in (CPPFLAGS-config): New substituted variable.
85660 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85662         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85664         [BZ #13192]
85665         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85666         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85668 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85670         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85671         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85672         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85673         (CALL_FAIL): Likewise.
85674         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85675         (CALL_FAIL): Macro removed.
85676         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85678 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85680         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85681         for __FINITE_MATH_ONLY__ == 1.
85683 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85685         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85686         __ieee754_sqrt instead of sqrt.
85687         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85688         __ieee754_sqrtf instead of sqrtf.
85689         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85690         __floorf instead of floorf.
85691         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85692         __floorf, __truncf instead of floorf, truncf.
85694 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85696         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85698         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85699         __extern_always_inline.
85700         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85701         32-bit.
85703 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85705         * elf/rtld.c (dl_main): Also relocate in dependency order when
85706         doing symbol dependency testing.
85708 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85710         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85711         Always define `refsym'.
85713 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85715         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85716         (__FD_ELT): Renamed from __FDELT.
85717         * misc/bits/select2.h (__FD_ELT): Likewise.
85718         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85719         __FD_MASK instead of __FDELT, __FDMASK.
85720         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85721         Likewise.
85722         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85723         Likewise.
85725         * elf/Makefile (gen-ldd): Fix pattern.
85727         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85728         (init_tls): Likewise.
85730 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85732         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85734 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85736         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85737         `struct cmsghdr *' instead of `void *'.
85738         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85739         Likewise.
85741 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85743         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85744         if non-absolute.
85745         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85746         ldd_rewrite_script.
85748 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85750         * configure.in: Remove --with-tls option.
85751         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85752         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85753         out in case it is missing.
85754         * sysdeps/ia64/elf/configure.in: Likewise.
85755         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85756         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85757         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85758         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85759         * sysdeps/sh/elf/configure.in: Likewise.
85760         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85761         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85762         * sysdeps/x86_64/elf/configure.in: Likewise.
85763         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85764         * sysdeps/mach/hurd/tls.h: Likewise.
85766         [BZ #13067]
85767         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85769         [BZ #13090]
85770         * configure.in: Fix use of AC_INIT.
85772         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85774 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85776         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85777         __set_errno.
85778         * malloc/hooks.c: Likewise.
85780         [BZ #11929]
85781         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85782         variables statically.
85783         (narenas): Initialize.
85784         (list_lock): Initialize.
85785         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85786         initializtion of main_arena and list_lock.  Small cleanups.
85787         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85788         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85789         Add initializers to main_arena and mp_.
85790         (malloc_state): Remove pagesize member.  Change all users to use
85791         GLRO(dl_pagesize).
85793         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85794         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85795         is always initialized.
85797         * malloc/malloc.c: Removed unused configurations and dead code.
85798         * malloc/arena.c: Likewise.
85799         * malloc/hooks.c: Likewise.
85800         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85802         * include/tls.h: Removed.  USE___THREAD must always be defined.
85803         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85804         * elf/dl-libc.c: Likewise.
85805         * elf/dl-tsd.c: Likewise.
85806         * include/errno.h: Likewise.
85807         * include/netdb.h: Likewise.
85808         * include/resolv.h: Likewise.
85809         * inet/herrno-loc.c: Likewise.
85810         * inet/herrno.c: Likewise.
85811         * malloc/arena.c: Likewise.
85812         * malloc/hooks.c: Likewise.
85813         * malloc/malloc.c: Likewise.
85814         * resolv/res-state.c: Likewise.
85815         * resolv/res_libc.c: Likewise.
85816         * sysdeps/i386/dl-machine.h: Likewise.
85817         * sysdeps/ia64/dl-machine.h: Likewise.
85818         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85819         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85820         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85821         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85822         * sysdeps/sh/dl-machine.h: Likewise.
85823         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85824         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85825         * sysdeps/unix/i386/sysdep.S: Likewise.
85826         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85827         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85828         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85829         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85832         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85833         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85834         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85835         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85836         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85837         * sysdeps/x86_64/dl-machine.h: Likewise.
85838         * tls.make.c: Likewise.
85840         * configure.in: Remove --with-__thread option.  Make tests for
85841         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85842         tls_model attribute fail if no support is available.  Remove
85843         USE_IN_LIBIO.
85844         * Makeconfig: Adjust for dropped configure option.  All features are
85845         now mandatory.
85846         * Makerules: Likewise.
85847         * Versions.def: Likewise.
85848         * argp/argp-fmtstream.c: Likewise.
85849         * argp/argp-fmtstream.h: Likewise.
85850         * argp/argp-help.c: Likewise.
85851         * assert/assert.c: Likewise.
85852         * config.h.in: Likewise.
85853         * config.make.in: Likewise.
85854         * configure: Likewise.
85855         * configure.in: Likewise.
85856         * csu/Versions: Likewise.
85857         * csu/init.c: Likewise.
85858         * elf/tst-audit2.c: Likewise.
85859         * elf/tst-tls10.c: Likewise.
85860         * elf/tst-tls10.h: Likewise.
85861         * elf/tst-tls11.c: Likewise.
85862         * elf/tst-tls12.c: Likewise.
85863         * elf/tst-tls14.c: Likewise.
85864         * elf/tst-tlsmod11.c: Likewise.
85865         * elf/tst-tlsmod12.c: Likewise.
85866         * elf/tst-tlsmod13.c: Likewise.
85867         * elf/tst-tlsmod13a.c: Likewise.
85868         * elf/tst-tlsmod14a.c: Likewise.
85869         * elf/tst-tlsmod15b.c: Likewise.
85870         * elf/tst-tlsmod16a.c: Likewise.
85871         * elf/tst-tlsmod16b.c: Likewise.
85872         * elf/tst-tlsmod7.c: Likewise.
85873         * elf/tst-tlsmod8.c: Likewise.
85874         * elf/tst-tlsmod9.c: Likewise.
85875         * gmon/gmon.c: Likewise.
85876         * grp/fgetgrent_r.c: Likewise.
85877         * grp/putgrent.c: Likewise.
85878         * hurd/fopenport.c: Likewise.
85879         * include/libc-symbols.h: Likewise.
85880         * include/tls.h: Likewise.
85881         * intl/gettextP.h: Likewise.
85882         * intl/loadinfo.h: Likewise.
85883         * locale/global-locale.c: Likewise.
85884         * locale/localeinfo.h: Likewise.
85885         * mach/devstream.c: Likewise.
85886         * malloc/arena.c: Likewise.
85887         * malloc/set-freeres.c: Likewise.
85888         * misc/err.c: Likewise.
85889         * misc/getttyent.c: Likewise.
85890         * misc/mntent_r.c: Likewise.
85891         * posix/getopt.c: Likewise.
85892         * posix/wordexp.c: Likewise.
85893         * pwd/fgetpwent_r.c: Likewise.
85894         * resolv/Versions: Likewise.
85895         * resolv/res_hconf.c: Likewise.
85896         * shadow/fgetspent_r.c: Likewise.
85897         * shadow/putspent.c: Likewise.
85898         * stdio-common/printf_fphex.c: Likewise.
85899         * stdio-common/tmpfile.c: Likewise.
85900         * stdlib/abort.c: Likewise.
85901         * stdlib/fmtmsg.c: Likewise.
85902         * sunrpc/auth_unix.c: Likewise.
85903         * sunrpc/clnt_perr.c: Likewise.
85904         * sunrpc/clnt_tcp.c: Likewise.
85905         * sunrpc/clnt_udp.c: Likewise.
85906         * sunrpc/clnt_unix.c: Likewise.
85907         * sunrpc/openchild.c: Likewise.
85908         * sunrpc/svc_simple.c: Likewise.
85909         * sunrpc/svc_tcp.c: Likewise.
85910         * sunrpc/svc_udp.c: Likewise.
85911         * sunrpc/svc_unix.c: Likewise.
85912         * sunrpc/xdr.c: Likewise.
85913         * sunrpc/xdr_array.c: Likewise.
85914         * sunrpc/xdr_rec.c: Likewise.
85915         * sunrpc/xdr_ref.c: Likewise.
85916         * sunrpc/xdr_stdio.c: Likewise.
85918 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85920         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85922 2011-07-03  Andreas Jaeger  <aj@suse.de>
85924         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
85925         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
85926         regenerate with gen-libm-tests.pl.
85928 2010-05-12  Petr Baudis  <pasky@suse.cz>
85930         [BZ #11589]
85931         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
85932         around j0() zero points by switching to j1().
85933         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85934         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85936         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85938 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85940         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
85941         instead of 0.
85942         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
85943         instead of 0.
85944         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85945         Patch in part by Pavel Roskin <proski@gnu.org>.
85947         [BZ #13138]
85948         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
85949         realloc.
85950         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
85951         Free memory block if necessary.
85953         [BZ #12847]
85954         * libio/genops.c (INTDEF): For string streams the _lock pointer can
85955         be NULL.  Don't lock in this case.
85957 2011-09-09  Roland McGrath  <roland@hack.frob.com>
85959         * elf/elf.h (ELFOSABI_GNU): New macro.
85960         (ELFOSABI_LINUX): Define to that.
85962 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
85964         * string/strncat.c (strncat): Undef the symbol in case it has been
85965         defined in bits/string.h.
85967 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85969         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
85971         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
85972         link map.
85974 2011-08-17  Andreas Jaeger  <aj@suse.de>
85976         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
85978 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
85979             Ian Lance Taylor  <iant@google.com>
85981         * math/libm-test.inc (lround_test): New testcase.
85982         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
85984 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
85986         * Makefile: Remove support for automatic cvs check-ins.
85987         * Makerules: Likewise.
85988         * config.make.in: Likewise.
85989         * configure.in: Likewise.
85990         * intl/Makefile: Likewise.
85991         * locale/Makefile: Likewise.
85992         * po/Makefile: Likewise.
85993         * posix/Makefile: Likewise.
85994         * sysdeps/gnu/Makefile: Likewise.
85995         * sysdeps/mach/hurd/Makefile: Likewise.
85996         * sysdeps/sparc/sparc32/Makefile: Likewise.
85998         [BZ #13118]
85999         * posix/Makefile (bug-regex32-ENV): Define.
86000         Patch by John Stanley <jpsinthemix@verizon.net>.
86002         * misc/Makefile (headers): Add bits/select2.h.
86003         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86004         * misc/bits/select2.h: New file.
86005         * include/bits/select2.h: New file.
86006         * debug/Makefile (routines): Add fdelt_chk.
86007         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86008         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86009         FD_ISSET.
86010         * debug/fdelt_chk.c: New file.
86012         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86013         * wcsmbs/test-wmemcmp.c: Likewise.
86014         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86015         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86017 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86019         * string/Makefile (strop-tests): Add memcmp.
86020         * string/test-wmemcmp.c: New file.
86021         * string/test-memcmp.c: Add wmemcmp support.
86023 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86025         [BZ #13153]
86026         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86027         2011-07-19 change.
86029         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86030         garbage value in a __mach_port_mod_refs call in the cases of the
86031         task-self and thread-self ports.
86033 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86035         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86037 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86039         * elf/dl-load.c (lose): Check for non-null L.
86041 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86043         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86045         * elf/dl-libc.c (dlerror_run): Pass back error code from
86046         dl_catch_error.
86048         [BZ #13123]
86049         * elf/dl-load.c (lose): Free l_origin if it is valid.
86051         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86052         names.
86053         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86054         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86055         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86056         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86057         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86058         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86060 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86062         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86063         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86064         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86065         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86066         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86067         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86068         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86069         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86070         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86071         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86073 2011-08-15  Alan Modra  <amodra@gmail.com>
86075         [BZ #13092]
86076         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86077         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86078         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86079         ppc_mcount to static-only-routines.
86080         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86081         __mcount_internal.
86082         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86083         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86085 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86087         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86088         for finite and infinity parameters.
86090 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86092         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86093         and add nop instructions for throughput optimization.
86094         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86096 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86098         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86099         aligned copy for power7 with vector-scalar instructions.
86100         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86102 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86104         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86105         AVX check.
86107 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86109         [BZ #13144]
86110         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86111         last change.
86113 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86115         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86116         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86117         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86118         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86119         clock_gettime.
86121 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86123         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86124         Forgot to demangle the pointer.
86126         * sysdeps/i386/sysdep.h: Define atom_text_section.
86127         * sysdeps/x86_64/sysdep.h: Likewise.
86128         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86129         section with atom_text_section.
86130         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86131         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86132         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86133         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86134         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86136         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86137         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86138         already be defined.  Change to take two parameters and don't assign
86139         result to variable.  Adjust all users.
86140         Define INTERNAL_GETTIME if not already defined.
86141         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86142         call.
86143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86144         HAVE_CLOCK_GETTIME_VSYSCALL.
86145         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86147         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86148         gettimeofday vsyscall, just use time.
86150 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86152         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86153         <errno.h>.
86155 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86157         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86158         syscall on x86-64.
86159         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86160         syscall.
86161         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86162         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86163         syscall if possible.
86165 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86167         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86168         e_ident.  Don't pass to find_mapsXX.
86169         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86171 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86174         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86175         * sysdeps/x86_64/multiarch/strchr.S: Update.
86176         Check bit_slow_BSF bit.
86177         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86178         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86179         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86181 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86183         [BZ #13134]
86184         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86185         before glibc 2.15.
86186         (tryshell): Define.
86187         (__spawni): Change last parameter to be flag.  Test
86188         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86189         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86190         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86191         * posix/spawni.c: Likewise.
86192         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86193         * posix/spawnp.c: Likewise.  Change normal version to use
86194         SPAWN_XFLAGS_USE_PATH.
86195         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86196         SPAWN_XFLAGS_TRY_SHELL.
86198         [BZ #13150]
86199         * posix/glob.h: Remove gcc 1.x support.
86201         [BZ #13068]
86202         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86204 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86206         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86207         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86208         strrchr-sse2-bsf
86209         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86210         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86211         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86212         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86213         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86214         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86216 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86218         * sysdeps/x86_64/wcscmp.S: New file.
86220         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86221         wcscmp-c wcscmp-sse2
86222         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86223         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86224         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86225         * wcsmbs/wcscmp.c: Allow renaming.
86227 2011-09-05  David S. Miller  <davem@davemloft.net>
86229         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86230         stack slot, rather than the struct return pointer slot.
86231         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86232         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86234         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86236 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86238         * po/ja.po: Update from translation team.
86240         [BZ #13144]
86241         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86242         kernel in 64-bit binaries.
86244 2011-09-01  David S. Miller  <davem@davemloft.net>
86246         * elf/elf.h (HWCAP_SPARC_*): Move to..
86247         * sysdeps/sparc/sysdep.h: this new file and add new values.
86248         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86249         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86250         _DL_HWCAP_COUNT to 24.
86251         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86252         entries.
86253         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86254         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86255         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86256         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86257         instead of magic constants.
86258         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86260 2011-08-31  David S. Miller  <davem@davemloft.net>
86262         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86263         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86264         Reimplement to do errno handling inline.
86265         (SYSCALL_ERROR_HANDLER): New macro.
86266         (__SYSCALL_STRING): Do not do errno handling in asm.
86267         (__CLONE_SYSCALL_STRING): Delete.
86268         (__INTERNAL_SYSCALL_STRING): Delete.
86269         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86270         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86271         (PSEUDO): Reimplement to do errno handling inline.
86272         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86273         (SYSCALL_ERROR_HANDLER): New macro.
86274         (__SYSCALL_STRING): Do not do errno handling in asm.
86275         (__CLONE_SYSCALL_STRING): Delete.
86276         (__INTERNAL_SYSCALL_STRING): Delete.
86277         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86278         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86279         i386.
86280         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86281         (inline_syscall*): Add 'err' argument.
86282         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86283         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86284         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86285         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86287         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86288         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86290 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86292         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86294 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86296         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86297         directive.
86299 2011-08-24  David S. Miller  <davem@davemloft.net>
86301         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86303 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86305         * elf/Makefile: Add rules to build and run unload8 test.
86306         * elf/unload8.c: New file.
86307         * elf/unload8mod1.c: New file.
86308         * elf/unload8mod1x.c: New file.
86309         * elf/unload8mod2.c: New file.
86310         * elf/unload8mod3.c: New file.
86312         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86313         it wasn't used.
86315 2011-08-23  David S. Miller  <davem@davemloft.net>
86317         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86318         subtract stack bias.
86319         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86320         %sp not %fp in calculations.
86321         (_JMPBUF_UNWINDS_ADJ): Likewise.
86323         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86324         (aio_suspend): Call it to force an exception region around the
86325         AIO_MISC_WAIT() invocation.
86327 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86329         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86330         backslash.
86332 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86334         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86335         protection macro.
86336         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86337         and <dl-machine.h>.
86338         (Elf64_FuncDesc): Remove.
86340 2011-08-22  David S. Miller  <davem@davemloft.net>
86342         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86343         sigaltstack check, add missing cfi directives.
86344         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86345         missing cfi directives, and sigaltstack handling.
86347 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86349         [BZ #11724]
86350         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86351         object is seen twice.
86352         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86354         * elf/Makefile (distribute): Add tst-initorder2.c.
86355         (tests): Add tst-initorder2.
86356         (modules-names): Add tst-initorder2a tst-initorder2b
86357         tst-initorder2c tst-initorder2d.  Add rules to build them.
86358         ($(objpfx)tst-initorder2.out): New rule.
86359         * elf/tst-initorder2.c: New file.
86360         * elf/tst-initorder2.exp: New file.
86362 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86364         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86366         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86367         dependencies back to end of function.
86369         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86370         $(elfobjdir)/ld.so.
86372 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86374         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86375         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86376         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86377         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86378         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86379         of __vdso_gettimeofday.
86380         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86381         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86382         attribute_hidden.
86383         (_libc_vdso_platform_setup): Remove initialization of
86384         __vdso_gettimeofday and __vdso_time.
86386 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86388         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86389         and fgetc_unlocked.
86390         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86391         getc_unlocked.
86393         * elf/dl-open.c (add_to_global): Report additions to the global scope
86394         for LD_DEBUG=scopes.
86395         (dl_open_worker): Also print scope of newly loaded dependencies.
86396         (_dl_show_scope): Indicate if there is no scope.
86398         [BZ #13114]
86399         * stdio-common/Makefile (tests): Add bug24.
86400         * stdio-common/bug24.c: New file.
86402 2011-08-19  Andreas Jaeger  <aj@suse.de>
86404         [BZ #13114]
86405         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86406         non-existant file when using close-on-exec mode.
86408 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86410         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86411         the very first instruction.
86413         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86414         the CFI state in the end.
86415         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86416         inclusion of dl-trampoline.h.
86417         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86419 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86421         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86422         expectations for long double.
86424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86425         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86427 2011-08-14  David S. Miller  <davem@davemloft.net>
86429         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86430         artificual limit depends upon the system page size.
86432 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86434         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86435         * resolv/Makefile: Define CFLAGS-libresolv.
86437 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86439         * nss/makedb.c (compute_tables): Make variables used in nested
86440         function static.
86442 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86444         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86445         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86446         if buffer was too small.
86448         * elf/pldd.c (main): Attach to all threads in the process.
86449         Rewrite /proc handling to use *at functions.
86451 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86453         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86454         specifies first scope to show.
86455         (dl_open_worker): Update callers.  Move printing scope of new
86456         object to before the relocation.
86457         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86458         * sysdeps/generic/ldsodefs.h: Update declaration.
86460         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86461         string for the scope number.
86463 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86465         * nscd/servicescache.c (cache_addserv): Make sure written is always
86466         initialized.
86468 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86470         * sysdeps/i386/i486/bits/atomic.h
86471         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86472         statement expression, so as to suppress "set but not used" warning.
86473         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86475         * string/strncat.c (STRNCAT): Use prototype definition.
86477         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86478         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86479         -Iprograms here.
86480         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86481         (localedef-modules): Add localedef.
86482         (locale-modules): Add locale.
86484         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86485         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86486         to avoid a warning.
86488 2011-08-14  David S. Miller  <davem@davemloft.net>
86490         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86491         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86493 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86495         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86496         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86497         * elf/rtld.c (dl_main): Set l_name of vDSO.
86498         Call _dl_show_scope when DL_DEBUG_SCOPES.
86499         (process_dl_debug): Recognize scopes flag and also set it for all.
86500         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86501         Declare _dl_show_scope.
86503         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86504         (do_dlopen): Pass caller_dlopen to dl_open.
86505         (__libc_dlopen_mode): Initialize caller_dlopen.
86507         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86508         of libc.  Make tolower call locale-independent.  Optimize a bit by
86509         using isdigit instead of isalnum.
86510         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86512 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86514         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86515         was a dependency or dynamically loaded.
86517 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86519         * intl/l10nflist.c: Allow architecture-specific pop function.
86520         * sysdeps/x86_64/l10nflist.c: New file.
86522         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86523         classification.
86525 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86527         * include/dirent.h: Add libc_hidden_proto for scandirat and
86528         scandirat64.  Don't declare __scandirat64.
86529         * dirent/scandirat.c: Add libc_hidden_def.
86530         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86531         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86533 2011-08-10  David S. Miller  <davem@davemloft.net>
86535         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86536         enum.
86537         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86538         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86539         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86541 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86543         * Versions.def [libc]: Add GLIBC_2.15.
86544         * dirent/Makefile (routines): Add scandirat and scandirat64.
86545         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86546         GLIBC_2.15.
86547         * dirent/dirent.h: Declare scandirat and scandirat64.
86548         * dirent/scandirat.c: New file.
86549         * dirent/scandirat64.c: New file.
86550         * sysdeps/wordsize-64/scandirat.c: New file.
86551         * sysdeps/wordsize-64/scandirat64.c: New file.
86552         * dirent/opendir.c: Define opendirat.
86553         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86554         using scandirat.
86555         * dirent/scandir64.c: Adjust for scandir.c change.
86556         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86557         __scandirat64, and __scandir_cancel_handler.
86558         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86559         additional parameter and use openat instead of open (outside of ld.so).
86560         Add new __opendir as wrapper around __opendirat.
86561         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86562         here without requiring old scandirat implementation.
86564 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86566         * dirent/scandir.c (cancel_handler): Renamed to
86567         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86568         defined.  Adjust users.
86569         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86570         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86572 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86574         * string/test-string.h (IMPL): Use __STRING to expand name and then
86575         stringify it.
86577         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86578         of cleanups.
86580 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86582         * string/Makefile: Update.
86583         (strop-tests): Append strncat.
86584         * string/test-wcscmp.c: New file.
86585         New comprehensive test for wcscmp.
86586         * string/test-strcmp.c: Update.
86587         (WIDE): New define.
86589 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86591         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86592         line.
86594 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86597         encoding to ACE if AI_IDN.
86599 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86601         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86602         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86604 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86606         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86607         Fix overflow bug in strncat.
86608         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86610         * string/test-strncat.c: Update.
86611         Add new tests for checking overflow bugs.
86613 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86615         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86616         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86617         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86618         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86619         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86620         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86621         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86622         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86623         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86625         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86626         (USE_AS_STRCAT): Define.
86627         Add strcat and strncat support.
86628         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86630 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86632         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86633         __n bigger than INT_MAX+1.
86634         (__strncmp_g): Likewise.
86636 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86638         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86639         * libio/stido.h: Likewise.
86641         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86642         (AF_NFC): Define.
86643         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86644         (AF_NFC): Define.
86646         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86647         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86648         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86649         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86650         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86652         [BZ #13021]
86653         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86654         installed.
86656         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86657         typo.
86658         (_dl_x86_64_save_sse): Likewise.
86660 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86662         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86663         OSXSAVE.
86664         (_dl_x86_64_save_sse): Likewise.
86666         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86668         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86670 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86673         change.
86674         (_dl_x86_64_save_sse): Use correct AVX check.
86676 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86678         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86679         bug in strncpy/strncat.
86680         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86682 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86684         * string/tester.c (test_strcat): Add tests for different alignments
86685         of source and destination.
86686         (test_strncat): Likewise.
86688 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86690         [BZ #12852]
86691         * posix/glob.c (glob): Check passed in values before using them in
86692         expressions to avoid some overflows.
86693         (glob_in_dir): Likewise.
86695         [BZ #13007]
86696         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86697         check for AVX enablement so that we don't crash with old kernels and
86698         new hardware.
86699         * elf/tst-audit4.c: Add same checks here.
86700         * elf/tst-audit6.c: Likewise.
86702         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86704 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86706         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86708 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86710         * po/cs.po: Update from translation team.
86711         * po/bg.po: Likewise.
86713 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86715         * misc/sys/cdefs.h: Add support for const attribute.
86716         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86717         to gnu_dev_{major,minor,makedev} functions.
86719 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86721         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86723 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86725         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86726         strlen results.
86728 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86731         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86732         register in order to avoid conflicts with the soft frame pointer
86733         being held in r11 when necessary.
86734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86735         (INTERNAL_VSYSCALL_NCS): Likewise.
86737 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86739         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86740         * elf/dl-fini.c (_dl_fini): Adjust caller.
86741         * elf/dl-close.c (_dl_close_worker): Likewise.
86742         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86744 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86746         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86747         "aux_cache->nlibs < 0".
86749         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86750         in the reload-count case.
86752 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86755         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86756         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86757         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86758         * sysdeps/x86_64/multiarch/strcat.S: New file.
86759         * sysdeps/x86_64/multiarch/strncat.S: New file.
86760         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86761         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86762         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86763         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86764         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86765         (USE_AS_STRCAT): Define.
86766         Add strcat and strncat support.
86767         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86768         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86769         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86770         * string/strncat.c: Update.
86771         (USE_AS_STRNCAT): Define.
86772         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86773         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86774         and i7.
86775         * sysdeps/x86_64/multiarch/init-arch.h
86776         (bit_Prefer_PMINUB_for_stringop): New.
86777         (index_Prefer_PMINUB_for_stringop): Likewise.
86778         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86779         bit_Prefer_PMINUB_for_stringop.
86781 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86783         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86784         buffer64.
86785         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86786         of casting of buffer.
86787         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86788         buffer32 and buffer64.
86789         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86790         writes instead of casting of buffer.
86791         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86792         buffer32.
86793         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86794         casting of buffer.
86796 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86798         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86800 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86802         * nscd/nscd.c (termination_handler): Don't do anything for a database
86803         if it has not yet been initialized.
86805 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86807         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86809 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86811         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86813 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86815         * po/nl.po: Update from translation team.
86816         * po/sv.po: Likewise.
86818 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86820         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86821         now disallowed by GCC.
86823         * configure.in (use-default-link): Default to yes if a test -shared
86824         link meets our qualifications.
86825         * configure: Regenerated.
86827         * config.make.in (output-format): New variable.
86828         * configure.in: Check for ld --print-output-format support.
86829         * configure: Regenerated.
86830         * Makerules ($(common-objpfx)format.lds)
86831         [$(output-format) != unknown]: Just use $(output-format),
86832         instead of the linker-script munging.
86834 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86836         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86837         of $(common-objpfx)shlib.lds.
86838         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86840         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86841         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86843         * configure.in (-z relro check): Adjust test code to add a large
86844         writable data section after it.
86845         * configure: Regenerated.
86847 2011-07-11  Roland McGrath  <roland@hack.frob.com>
86849         * configure.in (-z relro check): Fix test code to make the variable
86850         truly const.
86851         * configure: Regenerated.
86853 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
86855         * nscd/nscd.h (struct traced_file): Define.
86856         (struct database_dyn): Remove inotify_descr, reset_res, and filename
86857         elements.  Add traced_files.
86858         (inotify_fd): Declare.
86859         (register_traced_file): Declare.
86860         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
86861         (inotify_fd): Export.
86862         (resolv_conf_descr): Remove.
86863         (nscd_init): Move inotify descriptor creation to main.
86864         Don't register files for notification here.
86865         (register_traced_file): New function.
86866         (invalidate_cache): Don't use reset_res to determine whether to call
86867         res_init, go through the list of registered files.
86868         (main_loop_poll): The inotify descriptors are now stored in the
86869         structures for the traced files.
86870         (main_loop_epoll): Likewise.
86871         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
86872         to __nss_disable_nscd.
86873         * nscd/cache.c (prune_cache): There is no single inotify descriptor
86874         for a database anymore.  Check the records for all the registered
86875         files instead.
86876         * nss/Makefile (libnss_files-routines): Add files-init.
86877         (libnss_db-routines): Add db-init.
86878         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
86879         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
86880         * nss/nss_db/db-init.c: New file.
86881         * nss/nss_files/files-init.c: New file.
86882         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
86883         __nss_lookup_function.
86884         (__nss_lookup_function): Call nss_load_library.
86885         (nss_load_all_libraries): New function.
86886         (__nss_disable_nscd): Take parameter with callback function for files
86887         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
86888         used for the cached services.
86889         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
86890         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
86891         options for features to all the files in nscd.
86893         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
86895 2011-07-10  Roland McGrath  <roland@hack.frob.com>
86897         * csu/elf-init.c (__libc_csu_init): Comment typo.
86899 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
86901         * po/pl.po: Update from translation team.
86902         * po/ja.po: Likewise.
86903         * po/ru.po: Likewise.
86904         * po/ko.po: Likewise.
86905         * po/fr.po: Likewise.
86907 2011-07-09  Roland McGrath  <roland@hack.frob.com>
86909         * configure.in (.ctors/.dtors header and trailer check):
86910         Use an empirical test on a built program.
86911         * configure: Regenerated.
86913         * configure.in (-z relro check): Use an empirical test on a built DSO.
86914         Detect, but do not require, on ia64.
86915         * configure: Regenerated.
86917         * configure.in (READELF): Find it with AC_CHECK_TOOL.
86918         Update tests that use readelf to use $READELF instead.
86919         * configure: Regenerated.
86921 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
86923         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
86924         if the result is not used.
86926 2011-07-05  Andreas Jaeger  <aj@suse.de>
86928         [BZ #9696]
86929         * stdlib/tst-strtod.c: Add testcase.
86931 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
86933         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
86934         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
86935         The latter has a higher limit.  Take additional parameter to pass to
86936         the new function.
86937         (__pathconf): Pass file to __statfs_link_max.
86938         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
86939         __statfs_link_max.
86940         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
86941         __statfs_link_max.
86943         [BZ #12868]
86944         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
86945         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86946         Handle Lustre.
86947         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
86948         (__statfs_filesize_max): Likewise.
86949         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
86951 2011-07-05  Andreas Jaeger  <aj@suse.de>
86953         * resolv/res_comp.c (dn_skipname): Remove unused variable.
86955 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
86957         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
86958         `status' variable.
86959         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
86960         Likewise.
86962 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
86964         * Makefile (strop-tests): Add strncat.
86965         * string/test-strncat.c: New file.
86967 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
86969         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
86971 2011-06-21  Andreas Jaeger  <aj@suse.de>
86973         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
86974         Copy rule from iconvdata/Makefile.
86976 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86978         [BZ #12922]
86979         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
86980         but no long options are defined, just return 'W'.
86982 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
86984         [BZ #9696]
86985         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
86987 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86989         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
86990         netgroups to read.
86991         (innetgr): Likewise.
86993 2011-07-05  Roland McGrath  <roland@hack.frob.com>
86995         * config.make.in (install_root): Default to $(DESTDIR).
86997 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
86999         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87001 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87003         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87005         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87006         containing directory rather than embedding absolute directory names.
87008         * scripts/check-local-headers.sh: Rewritten using awk.
87009         Match by word, not by line.  Print error messages for matches.
87010         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87012         * Makerules [shlib-lds-flags empty]:
87013         ($(common-objpfx)libc_pic.opts): New target.
87014         ($(common-objpfx)libc_pic.os.clean): New target.
87015         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87017         * config.make.in (OBJCOPY): New variable.
87018         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87019         * configure: Regenerated.
87021         * config.make.in (use-default-link): New variable.
87022         * configure.in (use_default_link): Grok --with-default-link to set it.
87023         * configure: Regenerated.
87024         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87025         (shlib-lds, shlib-lds-flags): Define to empty.
87027         * Makerules (shlib-lds): New variable.
87028         (shlib-lds-flags): New variable.
87029         (build-shlib, build-moduile, build-module-asneeded): Use it.
87030         ($(common-objpfx)libc.so): Use $(shlib-lds).
87031         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87032         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87034         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87035         DT_FLAGS/DT_FLAGS_1 with zero flags.
87037         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87038         linker script munging.
87040 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87042         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87043         as 128-bit value.
87044         * crypt/sha512.c (sha512_process_block): Perform total addition using
87045         128-bit if possible.
87046         (__sha512_finish_ctx): Likewise.
87047         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87048         as 64-bit value.
87049         * crypt/sha256.c (SWAP64): Define.
87050         (sha256_process_block): Perform total addition using 64-bit if
87051         possible.
87052         (__sha256_finish_ctx): Likewise.
87054 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87056         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87057         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87058         * nscd/hstcache.c (cache_addhst): Likewise.
87059         * nscd/grpcache.c (cache_addgr): Likewise.
87060         * nscd/aicache.c (addhstaiX): Likewise.
87061         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87063 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87065         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87066         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87067         * nscd/hstcache.c (cache_addhst): Likewise.
87068         * nscd/grpcache.c (cache_addgr): Likewise.
87069         * nscd/aicache.c (addhstaiX): Likewise.
87071 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87073         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87074         domain only when needed.
87076 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87079         is always restored.
87081 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87083         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87084         are re-adding the entry.
87085         * nscd/servicescache.c (cache_addserv): Likewise.
87087 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87089         * sysdeps/generic/dl-irel.h: fix protection against multiple
87090         inclusions.
87091         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87093 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87095         [BZ #12935]
87096         * malloc/memusage.sh: Fix quoting in message.
87097         * debug/xtrace.sh: Likewise.
87099         * configure.in: Remove support for --experimental-malloc option, make
87100         it the default.
87101         * config.make.in: Likewise.
87102         * malloc/Makefile: Likewise.
87104 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87106         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87107         two-byte characters.
87109 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87111         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87112         AC_CACHE_CHECK invocation.
87113         * configure: Regenerated.
87115         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87117 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87119         [BZ #12350]
87120         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87121         bit from old_res_options.
87123         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87125         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87126         value type for setfct.
87128 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87130         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87131         __gettimeofday instead of gettimeofday.
87133 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87135         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87137 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87139         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87141         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87142         info.
87144 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87146         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87147         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87148         strcpy-sse2-unaligned strncpy-sse2-unaligned
87149         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87150         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87151         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87152         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87153         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87154         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87155         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87156         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87157         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87158         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87159         (STRCPY): Support SSE2 and SSSE3 versions.
87161 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87163         [BZ #12874]
87164         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87165         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87166         kernels which artificially limit size of requests.
87168 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87170         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87171         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87172         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87173         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87174         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87175         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87176         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87177         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87178         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87179         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87180         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87181         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87182         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87183         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87184         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87185         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87186         Enable unaligned load optimization for Intel Core i3, i5 and i7
87187         processors.
87188         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87189         Define.
87190         (index_Fast_Unaligned_Load): Define.
87191         (HAS_FAST_UNALIGNED_LOAD): Define.
87193 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87195         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87197 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87199         [BZ #12907]
87200         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87201         until it is clear that the information is realy needed.
87202         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87204 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87208 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87211         /sys/devices/system/cpu/online if it is usable.
87213         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87214         reading the information from the /proc filesystem to once a second.
87216 2011-06-21  Andreas Jaeger  <aj@suse.de>
87218         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87219         NULL after inclusion of kernel headers.
87221 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87223         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87224         calls to internal_setent.
87226         [BZ #12885]
87227         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87228         addresses using gethostbyname4_r ignore IPv4 addresses.
87230         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87231         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87233         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87235 2011-06-20  David S. Miller  <davem@davemloft.net>
87237         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87238         inclusions.
87239         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87241         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87242         (elf_irel): Use it.
87243         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87244         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87245         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87246         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87247         * sysdeps/x86_64/dl-irel.h: Likewise.
87249         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87250         * elf/dl-sym.c: Likewise.
87252 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87254         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87255         need to dereference resplen2.
87257 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87259         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87261 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87263         * Makeconfig: Define vardbdir and inst_vardbdir.
87264         * nss/Makefile: Add rules to install db-Makefile.
87266         * nss/nss_db/db-XXX.c: Cleanup.
87268         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87269         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87270         GLIBC_PRIVATE.
87271         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87272         * nss/makedb.c: Implement -g option to specify that value strings
87273         are generated and should not be added to table iterated over for
87274         get*ent calls.
87275         * nss/nss_db/db-initgroups.c: New file.
87277         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87278         interface.
87280         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87281         (internal_getgrouplist): Adjust to name change.
87282         Update use_initgroups_entry if this is not the first call.
87283         * nss/databases.def: Add initgroups entry.
87285         * nss/makedb.c (compute_tables): Check result of multiple hash table
87286         sizes to minimize maximum chain length.
87288 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87290         * Versions.def: Add entry for libnss_db.
87291         * shlib-versions: Likewise.
87292         * nss/Makefile: Add rules to build libnss_db.
87293         * nss/Versions: Add libnss_db information.  Organize libnss_files
87294         entries better.
87295         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87296         makedb progra.  Some minor improvements to generate smaller files.
87297         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87298         here from...
87299         * nss/makedb.c: ...here.
87300         Improve database format to be smaller and require less memory at
87301         runtime.
87302         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87303         db anymore.
87304         * nss/nss_db/db-netgrp.c: Likewise.
87305         * nss/nss_db/db-open.c: Likewise.
87306         * nss/nss_files/flies-XXX.x: Adjust comments.
87307         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87308         * nss/nss_files/files-grp.c: Likewise.
87309         * nss/nss_files/files-hosts.c: Likewise.
87310         * nss/nss_files/files-network.c: Likewise.
87311         * nss/nss_files/files-proto.c: Likewise.
87312         * nss/nss_files/files-pwd.c: Likewise.
87313         * nss/nss_files/files-rpc.c: Likewise.
87314         * nss/nss_files/files-service.c: Likewise.
87315         * nss/nss_files/files-sgrp.c: Likewise.
87316         * nss/nss_files/files-spwd.c: Likewise.
87317         * nss/nss_db/db-alias.c: Removed.
87318         * nss/nss_db/dummy-db.h: Removed.
87320 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87322         * nss/makedb.c: Rewritten to not use database library.
87323         * nss/Makefile: Update to build new makedb program.
87325 2011-06-14  Andreas Jaeger  <aj@suse.de>
87327         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87328         memset declaration.
87330 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87333         tmpbuf.
87335 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87337         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87338         * elf/Makefile ($(objpfx)ld.so): Likewise.
87340         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87341         Don't list ld.so twice in dependencies.
87343         * posix/bug-regex31.c: Include <stdlib.h>.
87345         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87347         * nis/nss_compat/compat-spwd.c
87348         (getspent_next_nss_netgr): Remove unused variable.
87349         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87351         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87352         nonmembers" output to use the right array.
87354         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87356         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87358         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87359         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87360         * catgets/gencat.c (read_input_file): Likewise.
87361         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87363         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87364         variable definition inside #if's controlling its use.
87366         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87368         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87370         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87372         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87373         unreachable code.
87375         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87377         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87378         * configure: Regenerated.
87380         * Makerules: Revert last change.
87381         * elf/Makefile: Likewise.
87383 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87385         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87386         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87387         (reloc-link): Likewise.
87389 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87391         * elf/Makefile: Add rules to build pldd.
87392         * elf/pldd.c: New file.
87393         * elf/pldd-xx.c: New file.
87395 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87397         * version.h: Update for 2.15 development version.
87399 2011-06-07  David S. Miller  <davem@davemloft.net>
87401         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87402         ifuncs.
87403         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87404         elf_machine_lazy_rel): Likewise.
87405         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87406         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87407         elf_machine_lazy_rel): Likewise.
87408         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87409         dl_hwcap via passed in argument.
87410         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87411         Likewise.
87413 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87415         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87417 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87419         [BZ #12849]
87420         * manual/fdl-1.1.texi: New file, verbatim from:
87421         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87422         * manual/lgpl-2.1.texi: New file, verbatim from:
87423         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87424         * manual/Makefile (licenses): New variable, list those new file names.
87425         (texis): Use it.
87426         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87428         * manual/fdl.texi: File removed.
87429         * manual/lesser.texi: File removed.
87430         * manual/libc.texinfo (Copying, Documentation License):
87431         Use new @include file names, put @appendix directive before @include.
87433 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87435         [BZ #12841]
87436         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87437         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87438         (mq_open): Add __NTH.
87440 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87443         Assume Intel Core i3/i5/i7 processor if AVX is available.
87445 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87447         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87448         typo.
87450 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87452         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87453         memory.  Use alloca_account.  Fix memory leak when retrying.
87455 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87457         * version.h (RELEASE): Bump for 2.14 release.
87458         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87460         * config.make.in (RANLIB): Remove entry.
87462 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87464         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87465         (libc.pot): Work around missing support for .ksh extension in xgettext.
87467         [BZ #12684]
87468         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87469         if both request failed.
87470         (send_dg): In case of server errors clear resplen or *resplen2.
87472         [BZ #12454]
87473         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87474         when there are multiple maps.
87475         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87476         (_dl_fini): Remove test here.
87478         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87480 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87482         [BZ #12350]
87483         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87484         bit from old_res_options.
87485         (gaih_inet): Likewise.
87487         [BZ #11099]
87488         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87489         as signed.
87491         * resolv/res_init.c (res_setoptions): Make the code more compact.
87493         [BZ #11558]
87494         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87495         set RES_USEVC.
87497         [BZ #11634]
87498         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87500         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87502         [BZ #11781]
87503         * malloc/malloc.h: Declare malloc hook variables as volatile.
87505         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87506         in last patch.
87508         [BZ #11799]
87509         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87510         raise in the comment.
87511         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87512         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87513         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87515 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87517         [BZ #12811]
87518         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87519         grow the buffers more if it already has to be sufficient.
87520         (build_wcs_upper_buffer): Likewise.
87521         * posix/regexec.c (check_matching): Likewise.
87522         (clean_state_log_if_needed): Likewise.
87523         (extend_buffers): Don't enlarge buffers beyond size of the input
87524         buffer.
87525         Patches mostly by Emil Wojak <emil@wojak.eu>.
87526         * posix/bug-regex32.c: New file.
87527         * posix/Makefile (tests): Add bug-regex32.
87529         * locale/findlocale.c (_nl_find_locale): Return right away if
87530         _nl_explode_name failed.
87531         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87533         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87535         * debug/xtrace.sh: Unify messages.
87536         * malloc/memusage.sh: Likewise.
87538         [BZ #12813]
87539         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87540         time symbol from vDSO.  Substitute with vsyscall if not available.
87541         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87542         __vdso_time.
87544         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87545         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87546         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87547         Add sendmmsg and internal_sendmmsg.
87548         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87549         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87550         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87552         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87553         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87554         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87556 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87558         [BZ #12813]
87559         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87560         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87561         available.
87562         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87563         __vdso_getcpu.
87565         [BZ #12814]
87566         * iconvdata/Makefile (tests): Add bug-iconv9.
87567         * iconvdata/bug-iconv9.c: New file.
87569 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87571         [BZ #12814]
87572         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87574 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87576         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87577         (struct user_regs_struct): Change intcs field back to cs.
87579 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87581         * po/ja.po: Update from translation team.
87583 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87585         [BZ #12795]
87586         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87587         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87589 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87591         * stdlib/longlong.h: Update from GCC.
87593 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87595         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87596         parameter name.
87597         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87598         Add parameter name.
87599         (__sysconf): Pass it down.
87601 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87603         [BZ #12671]
87604         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87605         some situations.
87606         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87607         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87608         add in in __libc_use_alloca calls.  Adjust callers.
87609         (glob): Use malloc in some situations.
87611         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87612         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87613         pltexit.
87615 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87617         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87618         and CLOCK_BOOTTIME_ALARM.
87620         [BZ #12782]
87621         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87622         is returned.
87624         * string/_strerror.c (__strerror_r): Print negative errors as signed
87625         numbers.
87627         [BZ #12777]
87628         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87629         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87630         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87632         * configure.in: Fix typo in redirection and correct removal of test
87633         files in two cases.
87635         [BZ #12788]
87636         * locale/setlocale.c (new_composite_name): Fix test to check for
87637         identical name of all categories.
87639         [BZ #12792]
87640         * libio/filedoalloc.c (local_isatty): New function.
87641         (_IO_file_doallocate): Use local_isatty.
87642         * stdio-common/perror.c (perror): In case a new stream is used
87643         forward the stream error.
87644         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87645         error flag.
87647 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87649         [BZ #11884]
87650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87651         alloca.
87652         * include/alloca.h (extend_alloca_account): Define.
87654         [BZ #11857]
87655         * posix/regex.h: Fix comments with documentation of user-accessible
87656         fields after compilation and describe correct free'ing of pattern
87657         after re_compile_pattern.
87658         Patch by Reuben Thomas <rrt@sc3d.org>.
87660 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87662         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87663         and -mno-altivec to prevent the compiler from using Altivec and/or
87664         VSX instructions when the corresponding registers are not available.
87666 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87668         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87670 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87672         * libio/freopen.c (freopen): Use __dup2, not dup2.
87673         * libio/freopen64.c (freopen64): Likewise.
87675 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87677         [BZ #12775]
87678         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87679         * math/Makefile (tests): Add test-powl.
87680         (CFLAGS-test-powl.c): Define.
87681         * math/test-powl.c: New file.
87683 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87685         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87687 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87689         [BZ #11837]
87690         * iconvdata/gb18030.c: Update to GB18020-2005.
87692 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87694         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87695         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87696         Patch by Aharon Robbins <arnold@skeeve.com>.
87698         [BZ #11892]
87699         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87700         on the stack.
87702         [BZ #11895]
87703         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87704         through underflows.
87706         [BZ #12766]
87707         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87708         point to strings before performing equality test for error_one_per_line
87709         mode.
87711         [BZ #11697]
87712         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87714         [BZ #11820]
87715         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87716         (struct user_fpregs_struct): Avoid __uint*_t types.
87718         [BZ #6420]
87719         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87720         symbol info.  Use it instead of calling _dl_addr locally.
87721         (lock_and_info): New function.
87722         (tr_freehook): Call lock_and_info and pass symbol info as additional
87723         parameter to tr_where.
87724         (tr_mallochook): Likewise.
87725         (tr_reallochook): Likewise.
87726         (tr_memalignhook): Likewise.
87728         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87729         used and couldn't be at all thread-safe.
87731 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87733         * libio/freopen.c (freopen): Don't close old file descriptor
87734         before the new one is opened.  Instead dup the new file descriptor
87735         to the old one after the new stream is created.
87736         * libio/freopen64.c (freopen64): Likewise.
87737         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87738         * libio/fileops.c (_IO_new_file_close_it): Handle new
87739         _IO_FLAGS2_NOCLOSE flag.
87740         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87741         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87742         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87743         _IO_FLAGS2_NOCLOSE flag.
87744         * include/unistd.h: Add hidden_proto for dup3.
87745         Define __have_dup3.
87746         * io/dup3.c: Define hidden symbol.
87747         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87749         [BZ #7101]
87750         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87751         when an incomplete long option is used.
87752         * posix/tst-getopt_long1.c: New file.
87753         * posix/Makefile (tests): Add tst-getopt_long1.
87755         [BZ #10138]
87756         * scripts/config.guess: Update from autoconf-2.68.
87757         * scripts/config.sub: Likewise.
87759         [BZ #10157]
87760         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87761         tests into ...
87762         (has_cpuclock): ...this.  New function.
87763         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87764         macro here based on has_cpuclock code.
87766         [BZ #10149]
87767         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87768         First byte (not low byte) is now always NUL.
87769         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87771         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87772         Use non-cancelable interfaces.
87774         [BZ #9809]
87775         * locale/iso-639.def: Add entry for Sorani.
87777         [BZ #11901]
87778         * include/stdlib.h: Move include protection to the right place.
87779         Define abort_msg_s.  Declare __abort_msg with it.
87780         * stdlib/abort.c (__abort_msg): Adjust type.
87781         * assert/assert.c (__assert_fail_base): New function.  Majority
87782         of code from __assert_fail.  Allocate memory for __abort_msg with
87783         mmap.
87784         (__assert_fail): Now call __assert_fail_base.
87785         * assert/assert-perr.c: Remove bulk of implementation.  Use
87786         __assert_fail_base.
87787         * include/assert.hL Declare __assert_fail_base.
87788         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87789         mmap.
87790         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87792 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87794         [BZ #11952]
87795         [BZ #12453]
87796         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87797         until all modules are registered in the DTV.
87798         * elf/Makefile: Add rules to build and run tst-tls19.
87799         * elf/tst-tls19.c: New file.
87800         * elf/tst-tls19mod1.c: New file.
87801         * elf/tst-tls19mod2.c: New file.
87802         * elf/tst-tls19mod3.c: New file.
87803         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87805         [BZ #12083]
87806         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87807         correctly.
87809         [BZ #12601]
87810         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87811         two-byte sequence errors.
87812         * iconvdata/Makefile (tests): Add bug-iconv8.
87813         * iconvdata/bug-iconv8.c: New file.
87815         [BZ #12626]
87816         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87817         buf2 definition.
87819         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87821         [BZ #12432]
87822         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87823         (dummy_getcfa): New function.
87824         (init): Get _Unwind_GetCFA address, use dummy if not found.
87825         (backtrace_helper): In recursion check, also check whether CFA changes.
87826         (__backtrace): Completely initialize arg.
87828         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87829         storing incomplete byte sequence in state object.  Avoid testing for
87830         guaranteed too small input if we know there is enough data available.
87832 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87834         * Makeconfig (+link-pie): Indent.
87835         * Rules (binaries-pie): Define if $(have-fpie) and
87836         $(build-shared).
87837         (binaries-shared): Also filter out $(binaries-pie).
87838         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87839         * nscd/Makefile (others-pie): Add nscd.
87840         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87841         ($(objpfx)nscd): Remove command override.
87842         * login/Makefile (others-pie): Add pt_chown.
87843         ($(objpfx)pt_chown): Remove command override.
87844         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87845         remove command overrides.
87847 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
87849         * libio/tst_putwc.c: Fix error messages.
87851         [BZ #12724]
87852         * libio/fileops.c (_IO_new_file_close_it): Always flush when
87853         currently writing and seek to current position when not.
87854         * libio/Makefile (tests): Add bug-fclose1.
87855         * libio/bug-fclose1.c: New file.
87857 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
87859         [BZ #12511]
87860         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
87861         don't set DF_1_NODELETE here.
87862         (do_lookup_x): When entering new entry test for copy relocation
87863         and if necessary set DF_1_NODELETE flag.
87864         * elf/tst-unique4.cc: New file.
87865         * elf/tst-unique4.h: New file.
87866         * elf/tst-unique4lib.cc: New file.
87867         * elf/Makefile: Add rules to build and run tst-unique4.
87868         Patch by Piotr Bury <pbury@goahead.com>.
87870 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
87872         [BZ #12052]
87873         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
87875         [BZ #12625]
87876         * misc/mntent_r.c (addmntent): Flush the stream after the output
87878         [BZ #12393]
87879         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
87880         (is_trusted_path_normalize): Skip initial colon.  Append slash
87881         to empty buffer.  Duplicate is_trusted_path code but allow
87882         constructed patch to be prefix.
87883         (is_dst): Allow $ORIGIN followed by /.
87884         (_dl_dst_substitute): Correct clearing of check_for_trusted.
87885         Correct testing of result of is_trusted_path_normalize
87886         (decompose_rpath): Fix warning.
87888 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
87890         [BZ #11257]
87891         * grp/initgroups.c (internal_getgrouplist): When we found the service
87892         list through the initgroups entry in nsswitch.conf do not always
87893         continue on a successful lookup.  Don't always use the
87894         __nss_group_database value if it is set.
87895         * nss/nsswitch.conf (initgroups): Change action for successful db
87896         lookup to continue for compatibility.
87898 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
87900         [BZ #11532]
87901         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
87902         and CP774 modules.
87903         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
87904         and CP774 modules.
87905         * iconvdata/tst-tables.sh: Likewise.
87906         * iconvdata/cp770.c: New file.
87907         * iconvdata/cp771.c: New file.
87908         * iconvdata/cp772.c: New file.
87909         * iconvdata/cp773.c: New file.
87910         * iconvdata/cp774.c: New file.
87911         * iconvdata/testdata/CP770: New file.
87912         * iconvdata/testdata/CP770..UTF8: New file.
87913         * iconvdata/testdata/CP771: New file.
87914         * iconvdata/testdata/CP771..UTF8: New file.
87915         * iconvdata/testdata/CP772: New file.
87916         * iconvdata/testdata/CP772..UTF8: New file.
87917         * iconvdata/testdata/CP773: New file.
87918         * iconvdata/testdata/CP773..UTF8: New file.
87919         * iconvdata/testdata/CP774: New file.
87920         * iconvdata/testdata/CP774..UTF8: New file.
87922         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
87923         END CHARMAP line.
87924         * iconvdata/gen-8bit-gap.sh: Likewise.
87925         * iconvdata/gen-8bit.sh: Likewise.
87927         * locale/iso-639.def: Add ary entry.
87929         [BZ #11258]
87930         * locale/C-translit.h.in: Add U20A1 transliteration.
87932         [BZ #12178]
87933         * locale/iso-639.def: Add wae entry.
87934         Patch by Kevin Bortis <bortis@translate-wae.ch>.
87936         [BZ #12545]
87937         * locale/programs/localedef.c (construct_output_path): Use ssize_t
87938         for n.
87940         [BZ #12711]
87941         * locale/C-translit.h.in: Add entry for U20B9.
87942         Patch by pravin.d.s@gmail.com.
87944 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
87946         [BZ #12713]
87947         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
87948         ENAMETOOLONG use generic getcwd.
87949         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
87950         in rtld.  Use *stat64.
87951         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
87952         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
87953         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
87954         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
87955         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
87956         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
87957         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
87958         __fstatat64 macros.
87959         * include/dirent.h: Add libc_hidden_proto for rewinddir.
87960         * dirent/rewinddir.c: Add libc_hidden_def.
87961         * sysdeps/mach/hurd/rewinddir.c: Likewise.
87962         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
87964         * include/dirent.h (__alloc_dir): Add flags parameter.
87965         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
87966         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
87967         __alloc_dir.
87968         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
87969         from fdopendir if O_CLOEXEC is already set.
87971 2011-03-15  Alan Modra  <amodra@gmail.com>
87973         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
87974         l_tls_firstbyte_offset non-zero.  Save padding offset in
87975         l_tls_firstbyte_offset for later use.
87976         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
87977         freeing static tls block.
87979 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
87981         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
87982         where #ifdef was intended.  The intent is to prevent ARG_MAX from
87983         being defined by the kernel headers.
87985 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
87987         [BZ #12734]
87988         * resolv/resolv.h: Define RES_NOTLDQUERY.
87989         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
87990         no-tld-query and set RES_NOTLDQUERY.
87991         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
87992         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
87993         modern BIND to search name as TLD unless forbidden.
87995 2011-05-07  Petr Baudis  <pasky@suse.cz>
87996             Ulrich Drepper  <drepper@gmail.com>
87998         [BZ #12393]
87999         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88000         (is_trusted_path): ...to here.
88001         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88002         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88003         using is_trusted_path_normalize() in setuid scripts.
88005 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88007         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88008         __BEGIN/__END_DECLS.
88010 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88012         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88013         NSS_STATUS_NOTFOUND if no record was found.
88015 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88017         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88018         (headers-not-in-tirpc): Remove rpc/netdb.h
88019         * resolv/netdb.h: Revert last change.
88021 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88023         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88024         circular dependency between libgcc.a and libc.a.
88026 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88028         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88029         * nis/Makefile: Don't install rpcsvc/*.
88030         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88031         instead of <rpc/types.h>.
88032         (MAXHOSTNAMELEN): Define.
88034 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88036         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88038 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88040         [BZ #12714]
88041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88042         gethostbyname4_r when IPv6 results are possible.
88044 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88046         [BZ #12723]
88047         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88048         _PC_PIPE_BUF handling.
88050 2011-04-30  Bruno Haible  <bruno@clisp.org>
88052         [BZ #12717]
88053         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88054         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88055         to 'int'.
88056         * inet/getnameinfo.c (getnameinfo): Likewise.
88058 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88060         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88061         to groups setting in database lookup.
88062         * nss/nsswitch.conf: Add initgroups entry.
88064 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88066         [BZ #12685]
88067         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88068         mode string.
88069         Patch by Eric Blake <eblake@redhat.com>.
88071 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88073         * sunrpc/Makefile (need-export-routines): Add svc_run.
88074         (routines): Remove svc_run.
88075         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88076         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88077         * sunrpc/svc_run.c (svc_run): Likewise.
88078         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88080 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88082         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88083         problem in reallocation in last patch.
88085 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88087         * sunrpc/Makefile: Move inclusion of Rules.
88089 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88091         * nss/nss_files/files-initgroups.c: New file.
88092         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88093         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88094         _nss_files_initgroups_dyn.
88096 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88098         * elf/elf.h (R_ARM_IRELATIVE): Define.
88100 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88102         * po/ru.po: Update from translation team.
88104 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88106         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88107         dependencies.
88109 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88111         [BZ #12653]
88112         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88113         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88114         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88115         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88116         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88118 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88120         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88121         differing bytes.
88122         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88123         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88124         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88126 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88128         [BZ #12420]
88129         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88130         storing it.
88131         * stdlib/bug-getcontext.c: New file.
88132         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88134 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88136         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88137         instructions into .machine "z9-109".
88138         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88139         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88141 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88143         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88144         between environment variables and auxiliary vector.
88146 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88148         * Makefile: Add rules to build linkobj/libc.so.
88149         * include/libc-symbols.h: Define libc_hidden_nolink.
88150         * include/rpc/auth.h: Mark functions which are to be hidden.
88151         * include/rpc/auth_des.h: Likewise.
88152         * include/rpc/auth_unix.h: Likewise.
88153         * include/rpc/clnt.h: Likewise.
88154         * include/rpc/des_crypt.h: Likewise.
88155         * include/rpc/key_prot.h: Likewise.
88156         * include/rpc/pmap_clnt.h: Likewise.
88157         * include/rpc/pmap_prot.h: Likewise.
88158         * include/rpc/pmap_rmt.h: Likewise.
88159         * include/rpc/rpc_msg.h: Likewise.
88160         * include/rpc/svc.h: Likewise.
88161         * include/rpc/svc_auth.h: Likewise.
88162         * include/rpc/xdr.h: Likewise.
88163         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88164         * nss/Makefile: Likewise.
88165         * sunrpc/Makefile: Don't install headers.  Build library with normal
88166         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88167         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88168         for the compat linking library.  Remove use of INTDEF/INTUSE.
88169         * sunrpc/auth_none.c: Likewise.
88170         * sunrpc/auth_unix.c: Likewise.
88171         * sunrpc/authdes_prot.c: Likewise.
88172         * sunrpc/authuxprot.c: Likewise.
88173         * sunrpc/clnt_gen.c: Likewise.
88174         * sunrpc/clnt_perr.c: Likewise.
88175         * sunrpc/clnt_raw.c: Likewise.
88176         * sunrpc/clnt_simp.c: Likewise.
88177         * sunrpc/clnt_tcp.c: Likewise.
88178         * sunrpc/clnt_udp.c: Likewise.
88179         * sunrpc/clnt_unix.c: Likewise.
88180         * sunrpc/des_crypt.c: Likewise.
88181         * sunrpc/des_soft.c: Likewise.
88182         * sunrpc/get_myaddr.c: Likewise.
88183         * sunrpc/key_call.c: Likewise.
88184         * sunrpc/key_prot.c: Likewise.
88185         * sunrpc/netname.c: Likewise.
88186         * sunrpc/pm_getmaps.c: Likewise.
88187         * sunrpc/pm_getport.c: Likewise.
88188         * sunrpc/pmap_clnt.c: Likewise.
88189         * sunrpc/pmap_prot.c: Likewise.
88190         * sunrpc/pmap_prot2.c: Likewise.
88191         * sunrpc/pmap_rmt.c: Likewise.
88192         * sunrpc/publickey.c: Likewise.
88193         * sunrpc/rpc_cmsg.c: Likewise.
88194         * sunrpc/rpc_common.c: Likewise.
88195         * sunrpc/rpc_dtable.c: Likewise.
88196         * sunrpc/rpc_prot.c: Likewise.
88197         * sunrpc/rpc_thread.c: Likewise.
88198         * sunrpc/rtime.c: Likewise.
88199         * sunrpc/svc.c: Likewise.
88200         * sunrpc/svc_auth.c: Likewise.
88201         * sunrpc/svc_authux.c: Likewise.
88202         * sunrpc/svc_raw.c: Likewise.
88203         * sunrpc/svc_run.c: Likewise.
88204         * sunrpc/svc_simple.c: Likewise.
88205         * sunrpc/svc_tcp.c: Likewise.
88206         * sunrpc/svc_udp.c: Likewise.
88207         * sunrpc/svc_unix.c: Likewise.
88208         * sunrpc/svcauth_des.c: Likewise.
88209         * sunrpc/xcrypt.c: Likewise.
88210         * sunrpc/xdr.c: Likewise.
88211         * sunrpc/xdr_array.c: Likewise.
88212         * sunrpc/xdr_float.c: Likewise.
88213         * sunrpc/xdr_intXX_t.c: Likewise.
88214         * sunrpc/xdr_mem.c: Likewise.
88215         * sunrpc/xdr_rec.c: Likewise.
88216         * sunrpc/xdr_ref.c: Likewise.
88217         * sunrpc/xdr_sizeof.c: Likewise.
88218         * sunrpc/xdr_stdio.c: Likewise.
88220 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88222         [BZ #12650]
88223         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88224         * sysdeps/ia64/dl-tls.h: Likewise.
88225         * sysdeps/powerpc/dl-tls.h: Likewise.
88226         * sysdeps/s390/dl-tls.h: Likewise.
88227         * sysdeps/sh/dl-tls.h: Likewise.
88228         * sysdeps/sparc/dl-tls.h: Likewise.
88229         * sysdeps/x86_64/dl-tls.h: Likewise.
88230         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88232 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88234         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88235         rpath element also skip the following colon.
88236         (expand_dynamic_string_token): Add is_path parameter and pass
88237         down to DL_DST_REQUIRED and _dl_dst_substitute.
88238         (decompose_rpath): Call expand_dynamic_string_token with
88239         non-zero is_path.  Ignore empty rpaths.
88240         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88241         with zero is_path.
88243 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88246         Make cancelable.
88248 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88250         [BZ #12655]
88251         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88252         Patch by Filipe David Manana <fdmanana@apache.org>.
88254 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88256         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88257         Maintain aligned stack.
88258         (CHECK_RSP): Remove unused macro.
88260 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88262         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88263         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88265 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88267         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88269         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88271 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88273         [BZ #12518]
88274         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88275         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88276         * sysdeps/x86_64/memmove.c: New file.
88277         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88278         (memcpy): Renamed to ...
88279         (__new_memcpy): This.
88280         (memcpy): Provide GLIBC_2_14 memcpy.
88281         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88282         (memcpy): Provide GLIBC_2_2_5 memcpy.
88284 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88286         [BZ #12631]
88287         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88289 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88291         * misc/syncfs.c: New file.
88292         * misc/Makefile (routines): Add syncfs.
88293         * posix/unistd.h: Declare syncfs.
88294         * sysdeps/unix/syscalls.list: Add syncfs.
88296 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88298         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88299         open_by_handle_at.
88300         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88301         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88302         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88303         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88305         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88306         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88308 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88310         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88311         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88312         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88313         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88314         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88315         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88316         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88318         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88319         sync_file_range.c with -fexceptions.
88320         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88321         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88322         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88323         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88324         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88325         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88326         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88327         sync_file_range as cancellation point
88328         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88329         now a wrapper around __call_sync_file_range with cancellation handling.
88330         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88331         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88332         function name to __call_sync_file_range.
88333         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88334         Add call_sync_file_range.
88336 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88339         bits/timex.h.
88341 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88343         * iconv/iconv.h: Fix typo in comment.
88344         * io/fcntl.h: Likewise.
88345         * libio/stdio.h: Likewise.
88346         * posix/spawn.h: Likewise.
88347         * posix/unistd.h: Likewise.
88348         * stdlib/stdlib.h: Likewise.
88349         * time/time.h: Likewise.
88350         * wcsmbs/wchar.h: Likewise.
88352         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88353         open_by_handle): Add.
88354         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88355         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88356         Augment a few comments.
88357         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88358         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88359         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88361         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88362         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88363         open_by_handle.
88365         * io/fcntl.h (AT_EMPTY_PATH): Define.
88367 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88369         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88370         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88371         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88372         to...
88373         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88374         * Versions.def: Add GLIBC_2.14.
88375         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88376         Export.
88378 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88380         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88381         round counter.
88382         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88384 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88386         [BZ #12597]
88387         * string/test-strncmp.c (do_page_test): New function.
88388         (check2): Likewise.
88389         (test_main): Call check2.
88390         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88392 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88394         [BZ #12587]
88395         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88396         Handle cache information in CPU leaf 4.
88397         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88399 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88401         [BZ #12583]
88402         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88403         character representation.
88404         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88406 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88408         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88409         END(__isnan) to END(__isnanf) to match function entry point/label
88410         EALIGN(__isnanf,...).
88412 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88414         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88416 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88418         [BZ #12510]
88419         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88420         copy from the symbol referenced in the relocation to initialize the
88421         used variable.
88422         Patch by Piotr Bury <pbury@goahead.com>.
88423         * elf/Makefile: Add rules to build and tst-unique3.
88424         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88425         * elf/tst-unique3.cc: New file.
88426         * elf/tst-unique3.h: New file.
88427         * elf/tst-unique3lib.cc: New file.
88428         * elf/tst-unique3lib2.cc: New file.
88430         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88432 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88434         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88435         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88436         to _start.
88438 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88440         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88441         to-be-loaded object along a path to loader is ld.so.
88443 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88444             Ulrich Drepper  <drepper@gmail.com>
88446         * sysdeps/x86_64/memset.S: After aligning destination, code
88447         branches to different locations depending on the value of
88448         misalignment, when multiarch is enabled. Fix this.
88450 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88452         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88453         Set _x86_64_preferred_memory_instruction for AMD processsors.
88454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88455         Set bit_Prefer_SSE_for_memop for AMD processors.
88457 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88459         * libio/fmemopen.c (fmemopen): Optimize a bit.
88461 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88463         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88465 2011-03-03  Roland McGrath  <roland@redhat.com>
88467         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88469 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88471         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88472         __bzero_ultra1 instead of __memset_ultra1.
88474 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88475             Ulrich Drepper  <drepper@gmail.com>
88477         [BZ #12509]
88478         * include/link.h (struct link_map): Add l_orig_initfini.
88479         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88480         returning unsuccessfully.
88481         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88482         close of a file loaded at startup, restore the original l_initfini
88483         list.
88484         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88485         list, store the pointer.
88486         * elf/Makefile ($(objpfx)noload-mem): New rule.
88487         (noload-ENV): Define.
88488         (tests): Add $(objpfx)noload-mem.
88489         * elf/noload.c: Include <memcheck.h>.
88490         (main): Call mtrace.  Close all opened handles.
88492 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88494         [BZ #12454]
88495         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88496         dependencies are missing.
88498 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88500         Fix __if_freereq crash: Unlike the generic version which uses free,
88501         Hurd needs munmap.
88502         * sysdeps/mach/hurd/ifreq.h: New file.
88504 2011-01-27  Petr Baudis  <pasky@suse.cz>
88505             Ulrich Drepper  <drepper@gmail.com>
88507         [BZ 12445]#
88508         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88509         to extend_alloca().
88510         * stdio-common/bug23.c: New file.
88511         * stdio-common/Makefile (tests): Add bug23.
88513 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88514             Ulrich Drepper  <drepper@gmail.com>
88516         [BZ #12489]
88517         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88518         before performing relro protection.  At old place add assertion
88519         to make sure nothing changed.
88521 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88522             Glauber de Oliveira Costa  <glommer@gmail.com>
88524         * elf/elf.h: Add new ARM TLS relocs.
88526 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88529         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88530         cast from r3.
88531         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88532         'tests' variable.
88533         * sysdeps/wordsize-64/tst-writev.c: New file.
88535 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88537         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88538         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88539         insns in _dl_start to prevent a TOC reference before relocs are
88540         resolved.
88542 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88544         [BZ #12469]
88545         * Makeconfig: Remove RANLIB definition.
88546         * Makerules: Don't use RANLIB.
88547         * aclocal.m4: Remove ranlib test.
88548         * configure.in: No need to check for ranlib.
88549         * elf/rtld-Rules: Don't use RANLIB.
88551 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88553         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88554         protection macro.
88555         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88556         inclusion protection macro.
88558         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88559         SIGRTMIN and SIGRTMAX and print information in that case only when
88560         SIGRTMIN is defined.
88562 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88564         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88565         arginfo fn returning -1.
88567         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88568         and thousands string is zero terminated.
88570 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88572         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88573         sysdeps/unix/sysv/linux/bits/socket.h.
88575 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88577         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88578         (__CPU_COUNT): Remove old macros.
88579         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88580         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88581         (__CPU_ALLOC, __CPU_FREE): Add macros.
88582         (__sched_cpualloc, __sched_cpufree): Add declarations.
88584 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88586         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88587         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88588         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88589         (readdhstai): Return value of addhstaiX call.
88590         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88591         (addgrbyX): Return value returned by cache_addgr.
88592         (readdgrbyname): Return value returned by addgrbyX.
88593         (readdgrbygid): Likewise.
88594         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88595         (addpwbyX): Return value returned by cache_addpw.
88596         (readdpwbyname): Return value returned by addhstbyX.
88597         (readdpwbyuid): Likewise.
88598         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88599         (addservbyX): Return value returned by cache_addserv.
88600         (readdservbyname): Return value returned by addservbyX:
88601         (readdservbyport): Likewise.
88602         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88603         (addhstbyX): Return value returned by cache_addhst.
88604         (readdhstbyname): Return value returned by addhstbyX.
88605         (readdhstbyaddr): Likewise.
88606         (readdhstbynamev6): Likewise.
88607         (readdhstbyaddrv6): Likewise.
88608         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88609         (readdinitgroups): Return value returned by addinitgroupsX.
88610         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88611         (prune_cache): Keep track of timeout value of re-added entries.
88612         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88613         * nscd/nscd.h: Adjust prototypes of readd* functions.
88615 2011-02-04  Roland McGrath  <roland@redhat.com>
88617         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88618         (nis_stats): Likewise.
88619         * nis/nis_modify.c (nis_modify): Likewise.
88620         * nis/nis_remove.c (nis_remove): Likewise.
88621         * nis/nis_add.c (nis_add): Likewise.
88623         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88625         * posix/fnmatch_loop.c: Add some consts.
88627         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88629 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88631         [BZ #12460]
88632         * config.make.in (config-cflags-novzeroupper): Define.
88633         * configure.in: Substitute libc_cv_cc_novzeroupper.
88634         * elf/Makefile (AVX-CFLAGS): Define.
88635         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88636         (CFLAGS-tst-auditmod4a.c): Likewise.
88637         (CFLAGS-tst-auditmod4b.c): Likewise.
88638         (CFLAGS-tst-auditmod6b.c): Likewise.
88639         (CFLAGS-tst-auditmod6c.c): Likewise.
88640         (CFLAGS-tst-auditmod7b.c): Likewise.
88641         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88643 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88645         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88646         function to the callback.
88647         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88649 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88651         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88652         of errno.
88654 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88656         [BZ #11724]
88657         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88658         of constructors.
88659         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88660         of destructors.
88661         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88663         [BZ #11724]
88664         * elf/Makefile: Add rules to build and run new test.
88665         * elf/tst-initorder.c: New file.
88666         * elf/tst-initorder.exp: New file.
88667         * elf/tst-initordera1.c: New file.
88668         * elf/tst-initordera2.c: New file.
88669         * elf/tst-initordera3.c: New file.
88670         * elf/tst-initordera4.c: New file.
88671         * elf/tst-initorderb1.c: New file.
88672         * elf/tst-initorderb2.c: New file.
88673         * elf/tst-order-a1.c: New file.
88674         * elf/tst-order-a2.c: New file.
88675         * elf/tst-order-a3.c: New file.
88676         * elf/tst-order-a4.c: New file.
88677         * elf/tst-order-b1.c: New file.
88678         * elf/tst-order-b2.c: New file.
88679         * elf/tst-order-main.c: New file.
88680         New test case by George Gensure <werkt0@gmail.com>.
88682 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88685         decoding ACE if AI_CANONIDN.
88687 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88689         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88691 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88693         * version.h (RELEASE): Bump for 2.13 release.
88694         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88696         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88698         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88699         MADV_NOHUGEPAGE.
88700         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88701         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88702         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88703         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88704         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88705         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88707         * posix/getconf.c: Update copyright year.
88708         * catgets/gencat.c: Likewise.
88709         * csu/version.c: Likewise.
88710         * debug/catchsegv.sh: Likewise.
88711         * debug/xtrace.sh: Likewise.
88712         * elf/ldconfig.c: Likewise.
88713         * elf/ldd.bash.in: Likewise.
88714         * elf/sprof.c (print_version): Likewise.
88715         * iconv/iconv_prog.c: Likewise.
88716         * iconv/iconvconfig.c: Likewise.
88717         * locale/programs/locale.c: Likewise.
88718         * locale/programs/localedef.c: Likewise.
88719         * malloc/memusage.sh: Likewise.
88720         * malloc/mtrace.pl: Likewise.
88721         * nscd/nscd.c (print_version): Likewise.
88722         * nss/getent.c: Likewise.
88724         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88725         PF_CAIF, and PF_ALG.
88726         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88728 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88730         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88731         (modules-names): Use them.
88732         (ifunc-test-modules, ifunc-pie-tests): Define.
88733         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88734         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88735         (test-extras): Likewise.
88736         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88737         $(compile-command.c).
88738         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88739         (all-built-dso): Define.
88740         (check-textrel.out, check-execstack.out): Depend on it.
88742         * configure.in: Don't override --enable-multi-arch.
88744 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88746         [BZ #6812]
88747         * nscd/hstcache.c (tryagain): Define.
88748         (cache_addhst): Return tryagain not notfound for temporary errors.
88749         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88750         failed.
88752 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88754         [BZ #10563]
88755         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88756         to make the syscall.
88757         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88759         [BZ #12378]
88760         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88761         and fall back to matching as normal character if the string ends before
88762         the matching ']' is found.  This is what POSIX requires.
88763         * posix/testfnm.c: Adjust test result.
88764         * posix/globtest.sh: Adjust test result.  Add new test.
88765         * posix/tst-fnmatch.input: Likewise.
88766         * posix/tst-fnmatch2.c: Add new test.
88768 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88770         * elf/Makefile (check-execstack): Revert last change.  Depend on
88771         check-execstack.h.
88772         (check-execstack.h): New target.
88773         (generated): Add check-execstack.h.
88774         * elf/check-execstack.c: Include "check-execstack.h".
88775         (main): Revert last change.
88776         (handle_file): Return zero if GNU_STACK is absent and
88777         DEFAULT_STACK_PERMS doesn't include PF_X.
88779 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88781         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88782         in child fails because the descriptor is already closed.
88783         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88784         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88785         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88787         [BZ #12397]
88788         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88789         syscall.
88791         [BZ #10484]
88792         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88793         temporary buffer used to handle multi lookups locally.
88794         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88796 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88798         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88799         loader is ld.so.
88801 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88803         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88804         alignment for SSE2.
88806 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88808         [BZ #12394]
88809         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88810         characters.  When rounding increased number of integer digits recompute
88811         number of groups.
88812         * stdio-common/tst-grouping.c: New file.
88813         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88815 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88817         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88818         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88820         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88821         void.
88822         * bits/select.h: Likewise.
88824 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88826         * po/ja.po: Update from translation team.
88828 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88830         [BZ #11155]
88831         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88832         implementation just like for lxstat, fxstatat, et al.
88834 2010-12-27  Jim Meyering  <meyering@redhat.com>
88836         [BZ #12348]
88837         * posix/regexec.c (build_trtable): Return failure indication upon
88838         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88840 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88842         [BZ #12201]
88843         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88844         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88845         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88846         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
88848         [BZ #12207]
88849         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
88851         [BZ #12204]
88852         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
88853         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
88855 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
88857         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
88858         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
88859         script has SORT_BY_INIT_PRIORITY.
88860         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
88861         NO_CTORS_DTORS_SECTIONS is defined.
88862         * elf/soinit.c: Likewise.
88863         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
88864         NO_CTORS_DTORS_SECTIONS is defined.
88865         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
88866         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
88867         * sysdeps/sh/init-first.c: Likewise.
88868         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
88870 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
88872         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
88873         always use the slow path.
88875 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
88877         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
88878         similar rule which adds the sysdep directories to the header search in
88879         order to pick up the correct platform stackinfo.h.
88880         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
88881         perform test if it is, otherwise return successfully without testing.
88882         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
88883         DEFAULT_STACK_PERMS define in stackinfo.h.
88884         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
88885         defined in stackinfo.h.
88886         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
88887         DEFAULT_STACK_PERMS defined in stackinfo.h.
88888         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
88889         * sysdeps/ia64/stackinfo.h: Likewise.
88890         * sysdeps/s390/stackinfo.h: Likewise.
88891         * sysdeps/sh/stackinfo.h: Likewise.
88892         * sysdeps/sparc/stackinfo.h: Likewise.
88893         * sysdeps/x86_64/stackinfo.h: Likewise.
88894         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
88895         PF_X for powerpc64.  Retain PF_X for powerpc32.
88897 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
88899         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
88900         accurately.
88901         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
88902         GETDENTS_64BIT_ALIGNED.
88904 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
88906         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
88908 2010-12-10  Andreas Schwab  <schwab@redhat.com>
88910         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
88911         _GNU_SOURCE.
88913         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
88914         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
88915         Remove __restrict.
88916         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
88917         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
88919 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
88921         [BZ #11655]
88922         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
88923         are initialized.
88925 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
88927         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
88929 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
88931         * po/it.po: Update from translation team.
88933 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
88935         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
88936         unused codes.
88938 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
88940         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
88942 2010-11-24  Andreas Schwab  <schwab@redhat.com>
88944         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
88945         specially.
88946         (gaih_getanswer_slice): Likewise.
88948 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
88950         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
88952 2010-05-31  Petr Baudis  <pasky@suse.cz>
88954         [BZ #11149]
88955         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
88956         silently even in the chroot mode.
88958 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
88960         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
88961         last patch a bit.  Pretty printing
88963 2010-05-31  Petr Baudis <pasky@suse.cz>
88965         [BZ #10085]
88966         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
88967         initialization of skip_initgroups_dyn.
88969 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
88971         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
88972         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88974 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
88976         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
88978 2010-11-11  Andreas Schwab  <schwab@redhat.com>
88980         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
88981         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
88982         (tst-fnmatch-ENV): Set MALLOC_TRACE.
88983         ($(objpfx)tst-fnmatch-mem): New rule.
88984         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
88985         * posix/tst-fnmatch.c (main): Call mtrace.
88987 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
88989         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88990         Support Intel processor model 6 and model 0x2c.
88992 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
88994         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
88995           signed comparison.
88997 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
88999         [BZ #12205]
89000         * string/test-strncasecmp.c (check_result): New function.
89001         (do_one_test): Use it.
89002         (check1): New function.
89003         (test_main): Use it.
89004         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89005         Support strcasecmp and strncasecmp.
89007 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89009         [BZ #12194]
89010         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89011         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89013 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89015         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89016         IFUNC support.
89017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89018         memset-x86-64.
89019         * sysdeps/x86_64/multiarch/bzero.S: New file.
89020         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89021         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89022         * sysdeps/x86_64/multiarch/memset.S: New file.
89023         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89025         Set bit_Prefer_SSE_for_memop for Intel processors.
89026         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89027         Define.
89028         (index_Prefer_SSE_for_memop): Define.
89029         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89031 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89033         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89034         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89036 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89038         [BZ #12191]
89039         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89040         (__x86_64_raw_data_cache_size_half): Likewise.
89041         (__x86_64_raw_shared_cache_size): Likewise.
89042         (__x86_64_raw_shared_cache_size_half): Likewise.
89044         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89045         (__x86_64_raw_data_cache_size_half): Likewise.
89046         (__x86_64_raw_shared_cache_size): Likewise.
89047         (__x86_64_raw_shared_cache_size_half): Likewise.
89048         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89049         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89050         and __x86_64_raw_shared_cache_size_half.  Round
89051         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89052         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89053         to multiple of 256 bytes.
89055 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89057         [BZ #12167]
89058         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89059         of inacessible symlinks.  Verify result of symlink before returning it.
89060         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89061         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89063 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89065         * math/math.h (isinf): Fix typo in comment.
89067 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89069         * po/da.po: Update from translation team.
89071 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89073         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89074         is added to the list.
89076 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89077             Ulrich Drepper  <drepper@gmail.com>
89079         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89080         the global list here.  Move code to...
89081         (_dl_add_to_namespace_list): ...here.  New function.
89082         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89083         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89084         * elf/dl-load.c (lose): Don't remove the element from the list.
89085         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89086         (_dl_map_object): Likewise.
89088 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89090         [BZ #12159]
89091         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89092         into all bytes of SSE register.
89093         Patch by Richard Li <richardpku@gmail.com>.
89095 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89097         [BZ #12140]
89098         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89099         perturbing.
89101 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89103         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89104         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89105         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89106         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89108         submachine.
89109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89111 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89113         * include/dlfcn.h (__RTLD_SECURE): Define.
89114         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89115         mode & __RTLD_SECURE instead.
89116         (open_path): Rename preloaded parameter to secure.
89117         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89118         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89119         * elf/dl-deps.c (openaux): Likewise.
89120         * elf/rtld.c (struct map_args): Remove is_preloaded.
89121         (map_doit): Don't use it.
89122         (dl_main): Likewise.
89123         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89124         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89126 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89128         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89129         (sysd-rules-targets): Remove duplicates.
89130         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89131         rtld-%.$o dependency.
89133 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89135         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89136         _dl_map_object do it.
89138 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89140         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89141         fast fma builtins, define the macros in the C99 standard.
89142         (FP_FAST_FMAF): Likewise.
89143         (FP_FAST_FMAL): Likewise.
89144         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89146         * bits/mathdef.h: Update copyright year.
89147         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89149 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89151         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89152         builtins, define the macros in the C99 standard.
89153         (FP_FAST_FMAF): Likewise.
89154         (FP_FAST_FMAL): Likewise.
89155         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89156         multiply/add.
89157         (FP_FAST_FMAF): Likewise.
89159 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89161         [BZ #3268]
89162         * math/libm-test.inc (fma_test): Some new testcases.
89163         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89164         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89165         y and infinite z.  Do multiplication by C already in long double.
89166         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89167         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89168         y and infinite z.  Do bitwise or of inexact bit into u.d.
89169         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89170         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89171         * sysdeps/i386/fpu/s_fma.S: Removed.
89172         * sysdeps/i386/fpu/s_fmal.S: Removed.
89174 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89176         [BZ #3268]
89177         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89178         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89179         computation is not scheduled after fetestexcept.  Fix value
89180         of minimum denormal long double.
89182 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89184         [BZ #3268]
89185         * math/libm-test.inc (fma_test): Add some more tests.
89186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89187         correctly.
89189 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89191         * scripts/data/localplt-s390-linux-gnu.data: New file.
89192         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89194 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89196         [BZ #3268]
89197         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89198         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89199         instead of dbl-64.
89200         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89201         inlines.
89202         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89203         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89204         if one of x and y is very large and the other is subnormal.
89205         * sysdeps/s390/fpu/s_fmaf.c: New file.
89206         * sysdeps/s390/fpu/s_fma.c: New file.
89207         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89208         * sysdeps/powerpc/fpu/s_fma.S: New file.
89209         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89210         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89211         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89213 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89215         [BZ #3268]
89216         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89217         fma tests.
89218         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89219         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89220         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89221         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89222         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89223         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89224         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89226 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89228         [BZ #12078]
89229         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89230         * posix/bug-regex31.input: Add test case.
89232 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89234         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89235         * posix/bug-regex31.input: New file.
89237         [BZ #12078]
89238         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89239         (parse_sub_exp): Fix last change, use postorder.
89241         * posix/bug-regex31.c: New file.
89242         * posix/Makefile: Add rules to build and run bug-regex31.
89244         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89246         [BZ #12078]
89247         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89249         [BZ #12108]
89250         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89251         to have entries in sys_siglist.
89253         [BZ #12093]
89254         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89255         be NULL.
89257 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89259         [BZ #3268]
89260         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89261         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89262         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89263         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89264         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89265         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89266         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89267         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89268         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89269         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89270         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89271         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89272         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89273         * math/ftestexcept.c (fetestexcept): Likewise.
89274         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89275         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89276         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89277         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89278         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89279         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89280         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89282 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89284         [BZ #12107]
89285         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89286         newline.
89288 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89290         * string/bug-strstr1.c: New file.
89291         * string/Makefile: Add rules to build and run bug-strstr1.
89293 2010-10-05  Eric Blake  <eblake@redhat.com>
89295         [BZ #12092]
89296         * string/str-two-way.h (two_way_long_needle): Always clear memory
89297         when skipping input due to the shift table.
89299 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89301         [BZ #12005]
89302         * malloc/mcheck.c: Handle large requests.
89304         [BZ #12077]
89305         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89306         for strncmp and strncasecmp.
89307         * string/stratcliff.c: Add tests for strcmp and strncmp.
89308         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89310 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89312         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89313         __set_fpscr.
89315 2010-09-30  Andreas Jaeger  <aj@suse.de>
89317         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89318         (CGROUP_SUPER_MAGIC): Define.
89319         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89320         Handle btrfs and cgroup file systems.
89321         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89322         Likewise.
89324 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89326         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89327         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89329 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89331         [BZ #12067]
89332         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89333         trying to locate the ELF header.
89335 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89337         [BZ #11611]
89338         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89339         Mask out sign-bit copies when constructing f_fsid.
89341 2010-09-24  Petr Baudis <pasky@suse.cz>
89343         * debug/stack_chk_fail_local.c: Add missing licence exception.
89344         * debug/warning-nop.c: Likewise.
89346 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89348         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89349         implementing getdents64 using getdents syscall, set d_type if
89350         __ASSUME_GETDENTS32_D_TYPE.
89352 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89354         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89355         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89357 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89359         [BZ #12037]
89360         * posix/unistd.h: Undo change of feature selection for ftruncate from
89361         2010-01-11.
89363 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89365         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89366         detection.
89368 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89370         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89371         fanotify_mark.
89372         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89374 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89376         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89377         variables after CHECK_SP call.
89378         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89380 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89381             Ulrich Drepper  <drepper@redhat.com>
89383         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89384         re-relocationg ld.so.
89385         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89386         _dl_init_paths call.
89387         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89388         here anymore.
89390 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89392         * resolv/res_init.c (__res_vinit): Count the default server we added.
89394 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89395             Ulrich Drepper  <drepper@redhat.com>
89397         [BZ #11968]
89398         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89399         (____longjmp_chk): Use %ebx for saving value across system call.
89400         Add unwind info.
89402 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89404         * manual/Makefile: Don't mix pattern rules with normal rules.
89406 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89408         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89409         operation.
89410         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89411         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89412         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89413         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89414         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89415         Likewise.
89417 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89419         [BZ #11979]
89420         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89421         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89423 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89425         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89426         * sysdeps/x86_64/addmul_1.S: Likewise.
89427         * sysdeps/x86_64/lshift.S: Likewise.
89428         * sysdeps/x86_64/mul_1.S: Likewise.
89429         * sysdeps/x86_64/rshift.S: Likewise.
89430         * sysdeps/x86_64/sub_n.S: Likewise.
89431         * sysdeps/x86_64/submul_1.S: Likewise.
89433 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89435         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89436         Define __sched_param instead of SCHED_* and sched_param when
89437         <bits/sched.h> is included with __need_schedparam defined.
89438         * bits/sched.h [__need_schedparam]
89439         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89440         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89441         (__defined_schedparam): Define to 1.
89442         (__sched_param): New structure, identical to sched_param.
89443         (__need_schedparam): Undefine.
89445 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89447         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89448         (epoll_create1): Declare.
89450         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89452 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89454         [BZ #7066]
89455         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89456         shifting retval into place.
89458 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89460         * nis/rpcsvc/nis.h: Update copyright notice.
89461         * nis/rpcsvc/nis.x: Likewise.
89462         * nis/rpcsvc/nis_callback.h: Likewise.
89463         * nis/rpcsvc/nis_callback.x: Likewise.
89464         * nis/rpcsvc/nis_object.x: Likewise.
89465         * nis/rpcsvc/nis_tags.h: Likewise.
89466         * nis/rpcsvc/yp.h: Likewise.
89467         * nis/rpcsvc/yp.x: Likewise.
89468         * nis/rpcsvc/ypupd.h: Likewise.
89469         * nis/yp_xdr.c: Likewise.
89470         * nis/ypupdate_xdr.c: Likewise.
89472         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89473         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89474         (pmap_getport): Use __libc_rpc_getport.
89475         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89476         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89477         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89479 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89482         fanotify_mark.
89484 2010-08-27  Roland McGrath  <roland@redhat.com>
89486         * sysdeps/i386/i686/multiarch/Makefile
89487         (CFLAGS-varshift.c): New variable.
89489 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89491         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89492         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89494         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89496         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89498 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89500         * sysdeps/x86_64/strlen.S: Unroll the loop.
89501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89502         strlen-sse2 strlen-sse2-bsf.
89503         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89504         __strlen_no_bsf if bit_Slow_BSF is set.
89505         (__strlen_sse42): Removed.
89506         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89507         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89509 2010-08-25  Roland McGrath  <roland@redhat.com>
89511         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89512         * sysdeps/x86_64/multiarch/varshift.c: New file.
89513         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89514         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89515         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89516         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89518 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89520         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89521         strlen-sse2 strlen-sse2-bsf.
89522         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89523         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89524         (__strlen_sse2): Removed.
89525         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89526         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89528         bit_Slow_BSF for Atom.
89529         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89530         (index_Slow_BSF): Define.
89531         (HAS_SLOW_BSF): Define.
89533 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89535         [BZ #10851]
89536         * resolv/res_init.c (__res_vinit): When no server address at all
89537         is given default to loopback.
89539 2010-08-24  Roland McGrath  <roland@redhat.com>
89541         * configure.in: Remove config-name.h generation.
89542         * configure: Regenerated.
89543         * config-name.in: File removed.
89544         * scripts/config-uname.sh: New file.
89545         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89546         ($(objdir)config-name.h): New target.
89548         * sunrpc/rpc_parse.h: Avoid nested comment.
89550 2010-08-24  Richard Henderson  <rth@redhat.com>
89551             Ulrich Drepper  <drepper@redhat.com>
89552             H.J. Lu  <hongjiu.lu@intel.com>
89554         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89556         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89557         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89558         _mm_alignr_epi8 with _mm_loadu_si128.
89559         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89560         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89561         (__m128i_shift_right): Removed.
89562         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89563         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89564         * sysdeps/x86_64/multiarch/varshift.h: New file.
89565         * sysdeps/x86_64/multiarch/varshift.S: New file.
89567 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89569         * configure.in: Move assembler checks to before sysdep dir checking.
89571 2010-08-20  Petr Baudis  <pasky@suse.cz>
89573         * LICENSES: Sync the sunrpc license.
89575 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89577         * sunrpc/auth_des.c: Update copyright notice once again.
89578         * sunrpc/auth_none.c: Likewise.
89579         * sunrpc/auth_unix.c: Likewise.
89580         * sunrpc/authdes_prot.c: Likewise.
89581         * sunrpc/authuxprot.c: Likewise.
89582         * sunrpc/bindrsvprt.c: Likewise.
89583         * sunrpc/clnt_gen.c: Likewise.
89584         * sunrpc/clnt_perr.c: Likewise.
89585         * sunrpc/clnt_raw.c: Likewise.
89586         * sunrpc/clnt_simp.c: Likewise.
89587         * sunrpc/clnt_tcp.c: Likewise.
89588         * sunrpc/clnt_udp.c: Likewise.
89589         * sunrpc/clnt_unix.c: Likewise.
89590         * sunrpc/des_crypt.c: Likewise.
89591         * sunrpc/des_soft.c: Likewise.
89592         * sunrpc/get_myaddr.c: Likewise.
89593         * sunrpc/getrpcport.c: Likewise.
89594         * sunrpc/key_call.c: Likewise.
89595         * sunrpc/key_prot.c: Likewise.
89596         * sunrpc/openchild.c: Likewise.
89597         * sunrpc/pm_getmaps.c: Likewise.
89598         * sunrpc/pm_getport.c: Likewise.
89599         * sunrpc/pmap_clnt.c: Likewise.
89600         * sunrpc/pmap_prot.c: Likewise.
89601         * sunrpc/pmap_prot2.c: Likewise.
89602         * sunrpc/pmap_rmt.c: Likewise.
89603         * sunrpc/rpc/auth.h: Likewise.
89604         * sunrpc/rpc/auth_unix.h: Likewise.
89605         * sunrpc/rpc/clnt.h: Likewise.
89606         * sunrpc/rpc/des_crypt.h: Likewise.
89607         * sunrpc/rpc/key_prot.h: Likewise.
89608         * sunrpc/rpc/netdb.h: Likewise.
89609         * sunrpc/rpc/pmap_clnt.h: Likewise.
89610         * sunrpc/rpc/pmap_prot.h: Likewise.
89611         * sunrpc/rpc/pmap_rmt.h: Likewise.
89612         * sunrpc/rpc/rpc.h: Likewise.
89613         * sunrpc/rpc/rpc_des.h: Likewise.
89614         * sunrpc/rpc/rpc_msg.h: Likewise.
89615         * sunrpc/rpc/svc.h: Likewise.
89616         * sunrpc/rpc/svc_auth.h: Likewise.
89617         * sunrpc/rpc/types.h: Likewise.
89618         * sunrpc/rpc/xdr.h: Likewise.
89619         * sunrpc/rpc_clntout.c: Likewise.
89620         * sunrpc/rpc_cmsg.c: Likewise.
89621         * sunrpc/rpc_common.c: Likewise.
89622         * sunrpc/rpc_cout.c: Likewise.
89623         * sunrpc/rpc_dtable.c: Likewise.
89624         * sunrpc/rpc_hout.c: Likewise.
89625         * sunrpc/rpc_main.c: Likewise.
89626         * sunrpc/rpc_parse.c: Likewise.
89627         * sunrpc/rpc_parse.h: Likewise.
89628         * sunrpc/rpc_prot.c: Likewise.
89629         * sunrpc/rpc_sample.c: Likewise.
89630         * sunrpc/rpc_scan.c: Likewise.
89631         * sunrpc/rpc_scan.h: Likewise.
89632         * sunrpc/rpc_svcout.c: Likewise.
89633         * sunrpc/rpc_tblout.c: Likewise.
89634         * sunrpc/rpc_util.c: Likewise.
89635         * sunrpc/rpc_util.h: Likewise.
89636         * sunrpc/rpcinfo.c: Likewise.
89637         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89638         * sunrpc/rpcsvc/key_prot.x: Likewise.
89639         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89640         * sunrpc/rpcsvc/mount.x: Likewise.
89641         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89642         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89643         * sunrpc/rpcsvc/rex.x: Likewise.
89644         * sunrpc/rpcsvc/rstat.x: Likewise.
89645         * sunrpc/rpcsvc/rusers.x: Likewise.
89646         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89647         * sunrpc/rpcsvc/spray.x: Likewise.
89648         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89649         * sunrpc/rtime.c: Likewise.
89650         * sunrpc/svc.c: Likewise.
89651         * sunrpc/svc_auth.c: Likewise.
89652         * sunrpc/svc_authux.c: Likewise.
89653         * sunrpc/svc_raw.c: Likewise.
89654         * sunrpc/svc_run.c: Likewise.
89655         * sunrpc/svc_simple.c: Likewise.
89656         * sunrpc/svc_tcp.c: Likewise.
89657         * sunrpc/svc_udp.c: Likewise.
89658         * sunrpc/svc_unix.c: Likewise.
89659         * sunrpc/svcauth_des.c: Likewise.
89660         * sunrpc/xcrypt.c: Likewise.
89661         * sunrpc/xdr.c: Likewise.
89662         * sunrpc/xdr_array.c: Likewise.
89663         * sunrpc/xdr_float.c: Likewise.
89664         * sunrpc/xdr_mem.c: Likewise.
89665         * sunrpc/xdr_rec.c: Likewise.
89666         * sunrpc/xdr_ref.c: Likewise.
89667         * sunrpc/xdr_sizeof.c: Likewise.
89668         * sunrpc/xdr_stdio.c: Likewise.
89670         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89671         handling.
89673 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89675         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89677 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89679         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89680         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89681         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89682         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89683         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89684         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89685         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89686         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89687         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89688         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89689         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89690         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89691         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89692         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89694 2010-07-26  Anton Blanchard  <anton@samba.org>
89696         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89697         * malloc/arena.c (heap_trim): Likewise.
89699 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89701         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89702         here.  Not...
89703         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89704         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89706 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89708         * sysdeps/i386/elf/Makefile: New file.
89710 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89712         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89713         from fanotify_init.
89714         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89715         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89717 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89719         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89720         of strncasecmp_l.
89721         * sysdeps/multiarch/strcmp.S: Likewise.
89723 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89725         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89726         strncase_l-nonascii.
89727         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89728         Add strncase_l-ssse3.
89729         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89730         * sysdeps/x86_64/strcmp.S: Likewise.
89731         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89732         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89733         * sysdeps/x86_64/strncase.S: New file.
89734         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89735         * sysdeps/x86_64/strncase_l.S: New file.
89736         * string/Makefile (strop-tests): Add strncasecmp.
89737         * string/test-strncasecmp.c: New file.
89739         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89740         warning.
89742         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89743         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89745 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89747         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89749 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89751         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89752         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89753         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89755 2010-05-01  Alan Modra  <amodra@gmail.com>
89757         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89758         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89759         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89760         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89761         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89762         tidying.  Don't tail-call __sigjmp_save for static lib.
89763         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89764         save location.
89765         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89766         (CALL_MCOUNT): Add eh info, and nop after bl.
89767         (TAIL_CALL_SYSCALL_ERROR): New macro.
89768         (PSEUDO_RET): Use it.
89769         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89770         Correct save location of integer regs and cr.
89771         (_dl_profile_resolve): Correct cr save location.  Delete nops
89772         after bl when SHARED.  Reduce cfi size a little by better
89773         placement of cfi directives.
89774         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89775         make a stack frame.  Instead use parm save area as a temp.
89776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89777         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89779         Don't make a stack frame for parent, use parm save area.
89780         Increase child stack frame to 112 bytes.  Don't save unused reg,
89781         and adjust reg usage.  Set up cfi on error recovery and
89782         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89784         (__makecontext): Add dummy nop after jump to exit.
89785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89786         Use correct parm save area and cr save, reduce stack frame.
89787         Correct cfi for possible PSEUDO_RET frame setup.
89788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89789         Branch to local label emitted by PSEUDO_RET rather than
89790         __syscall_error.
89792 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89794         [BZ #11904]
89795         * locale/programs/locale.c (print_assignment): New function.
89796         (show_locale_vars): Use it.
89798 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89800         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89801         field.
89802         (struct statfs64): Likewise.
89803         (_STATFS_F_FLAGS): Define.
89804         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89805         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89806         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89807         (ST_VALID): Define locally.
89808         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89809         __statvfs_getflags, use the provided value.
89810         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89811         __ASSUME_STATFS_F_FLAGS.
89813         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89815         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89816         Add sys/fanotify.h.
89817         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89818         fanotify_mask for GLIBC_2.13.
89819         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89820         fanotify_init and fanotify_mark.
89821         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89822         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89824         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89825         Add prlimit.
89826         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89827         prlimit64 for GLIBC_2.13.
89828         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89829         prlimit64.
89830         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89831         syscall.
89832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89833         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89834         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89835         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89837         add prlimit alias.
89838         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89840         [BZ #11903]
89841         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89842         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89844         * nss/Makefile: Add rules to build and run tst-nss-test1.
89845         * shlib-versions: Add entry for libnss_test1.
89846         * nss/nss_test1.c: New file.
89847         * nss/tst-nss-test1.c: New file.
89849         * nss/nsswitch.c (__nss_database_custom): Define new variable.
89850         (__nss_configure_lookup): Set appropriate entry in
89851         __nss_configure_lookup to true.
89852         * nss/nsswitch.h: Define enum with indeces of databases in
89853         databases and __nss_database_custom arrays.  Declare
89854         __nss_database_custom.
89855         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
89856         to avoid using nscd when custom rules are installed.
89857         * nss/getXXbyYY_r.c: Likewise.
89858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
89860         * nss/nss_files/files-parse.c: Whitespace fixes.
89862 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
89864         [BZ #11883]
89865         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
89866         * posix/fnmatch_loop.c: Likewise.
89868 2010-07-17  Andi Kleen  <ak@linux.intel.com>
89870         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
89871         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
89872         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
89873         * Versions.def [GLIBC_2.13]: Add.
89875 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
89877         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89878         Also fail if tpwd after pwuid call is NULL.
89880 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89882         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
89883         when converting to ms.
89885 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89887         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
89888         EOPNOTSUPP errors with ENOTTY.
89889         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
89890         EOPNOTSUPP errors with ENOTTY.
89892 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
89894         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89895         Add strcasecmp_l-ssse3.
89896         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
89897         strcasecmp.
89898         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
89899         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
89900         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
89902 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
89904         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
89906         * string/Makefile (strop-tests): Add strcasecmp.
89907         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89908         strcasecmp_l-nonascii.
89909         (gen-as-const-headers): Add locale-defines.sym.
89910         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
89911         * sysdeps/x86_64/strcasecmp.S: New file.
89912         * sysdeps/x86_64/strcasecmp_l.S: New file.
89913         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
89914         * sysdeps/x86_64/locale-defines.sym: New file.
89915         * string/test-strcasecmp.c: New file.
89917         * string/test-strcasestr.c: Test both ends of the range of characters.
89918         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
89920 2010-07-29  Roland McGrath  <roland@redhat.com>
89922         [BZ #11856]
89923         * manual/locale.texi (Yes-or-No Questions): Fix example code.
89925 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
89927         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
89928         for ld.so.
89930 2010-07-27  Andreas Schwab  <schwab@redhat.com>
89932         * manual/memory.texi (Malloc Tunable Parameters): Document
89933         M_PERTURB.
89935 2010-07-26  Roland McGrath  <roland@redhat.com>
89937         [BZ #11840]
89938         * configure.in (-fgnu89-inline check): Set and substitute
89939         gnu89_inline, not libc_cv_gnu89_inline.
89940         * configure: Regenerated.
89941         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
89943 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
89945         * string/test-strnlen.c: New file.
89946         * string/Makefile (strop-tests): Add strnlen.
89947         * string/tester.c (test_strnlen): Add a few more test cases.
89948         * string/tst-strlen.c: Better error reporting.
89950         * sysdeps/x86_64/strnlen.S: New file.
89952 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
89954         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
89955         lower-latency instructions.
89957 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
89959         * string/test-strcasestr.c: New file.
89960         * string/test-strstr.c: New file.
89961         * string/Makefile (strop-tests): Add strstr and strcasestr.
89962         * string/str-two-way.h: Don't undefine MAX.
89963         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
89965 2010-07-21  Andreas Schwab  <schwab@redhat.com>
89967         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89968         strcasestr-nonascii.
89969         (CFLAGS-strcasestr-nonascii.c): Define.
89970         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
89971         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
89972         Remove unused attribute.
89974 2010-07-20  Roland McGrath  <roland@redhat.com>
89976         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
89977         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
89978         ld.so.cache was broken.  With it, there is no way to disable dsocaps
89979         like LD_HWCAP_MASK can disable hwcaps.
89981 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89983         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
89985 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
89987         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
89988         call in strcasestr.
89989         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
89990         __strcasestr_sse42_nonascii.
89991         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
89992         strcasestr-nonascii.c.
89993         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
89995 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
89997         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
89998         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
89999         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90000         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90002 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90004         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90005         fcntl.
90007 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90009         [BZ #11577]
90010         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90011         dl_signal_cerror.
90013 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90015         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90016         _PC_PIPE_BUF using F_GETPIPE_SZ.
90018 2010-07-05  Roland McGrath  <roland@redhat.com>
90020         * manual/arith.texi (Rounding Functions): Fix rint description
90021         implicit in round description.
90023 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90025         * elf/Makefile: Fix linking for a few tests to make recent linker
90026         happy.
90028 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90030         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90031         $(common-objpfx)libc_nonshared.a.
90033 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90035         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90036         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90037         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90038         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90039         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90040         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90041         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90042         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90057         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90058         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90059         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90060         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90061         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90062         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90063         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90064         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90065         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90066         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90067         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90068         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90084 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90086         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90087         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90088         * string/memmove.c (memmove): Renamed to ...
90089         (MEMMOVE): ...this.  Default to memmove.
90090         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90091         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90092         (END_CHK): Define.
90093         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90094         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90095         mempcpy-ssse3-back memmove-ssse3-back.
90096         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90097         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90098         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90099         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90100         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90101         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90102         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90103         * sysdeps/x86_64/multiarch/memmove.c: New file.
90104         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90105         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90106         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90107         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90108         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90109         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90110         Define.
90111         (index_Fast_Copy_Backward): Define.
90112         (HAS_ARCH_FEATURE): Define.
90113         (HAS_FAST_REP_STRING): Define.
90114         (HAS_FAST_COPY_BACKWARD): Define.
90116 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90118         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90119         Restore proper fallback handling.
90121 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90123         [BZ #11701]
90124         * posix/group_member.c (__group_member): Correct checking loop.
90126         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90127         OOM in getpwuid_r correctly.  Return error number when the caller
90128         should return, otherwise -1.
90129         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90130         call returning > 0 value.
90131         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90133 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90135         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90136         libc_nonshared.a from targets in modules-names.
90138 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90140         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90141         requires it.
90143 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90145         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90146         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90147         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90148         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90150 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90152         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90154 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90156         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90157         and F_GETPIPE_SZ.
90158         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90159         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90160         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90161         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90162         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90163         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90165 2010-06-14  Roland McGrath  <roland@redhat.com>
90167         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90169 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90171         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90172         __REDIRECT followed by __THROW.
90173         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90174         * posix/getopt.h (getopt): Likewise.
90176 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90178         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90179         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90180         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90181         in AT_FLAGS.
90182         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90183         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90185 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90187         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90189 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90191         [BZ #11640]
90192         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90193         Properly check family and model.
90195 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90197         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90199 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90201         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90203 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90205         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90206         symbol reference.
90208 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90210         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90211         symbol reference.
90213 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90215         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90216         and internal_recvmmsg.
90217         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90218         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90219         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90220         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90222         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90223         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90224         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90226 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90228         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90230 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90232         POWER7 optimizations.
90233         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90234         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90236 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90238         * version.h: Update for 2.13 development version.
90240 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90242         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90243         exceptions.  Return 0.
90245 2010-05-07  Roland McGrath  <roland@redhat.com>
90247         * elf/ldconfig.c (main): Add a const.
90249 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90251         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90252         (args_options): Add no-idn option.
90253         (ahosts_keys_int): Add idn_flags to ai_flags.
90254         (parse_option): Handle 'i' option to clear idn_flags.
90256         * malloc/malloc.c (_int_free): Possible race in the most recently
90257         added check.  Only act on the data if no current modification
90258         happened.
90260 See ChangeLog.17 for earlier changes.