S390: Optimize strchr and wcschr.
[glibc.git] / ChangeLog
blob04e8552e25759305dc30a8bbdb6ee026fa003653
1 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/multiarch/strchr-c.c: New File.
4         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
5         * sysdeps/s390/multiarch/strchr.c: Likewise.
6         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10         wcschr functions.
11         * sysdeps/s390/multiarch/ifunc-impl-list.c
12         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13         * string/strchr.c (STRCHR): Define and use macro.
14         * benchtests/bench-wcschr.c: New File.
15         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19         * sysdeps/s390/multiarch/strncmp-c.c: New File.
20         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21         * sysdeps/s390/multiarch/strncmp.c: Likewise.
22         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
25         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26         wcsncmp functions.
27         * sysdeps/s390/multiarch/ifunc-impl-list.c
28         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
29         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30         * benchtests/bench-strncmp.c: Add wcsncmp support.
31         * benchtests/bench-wcsncmp.c: New File.
32         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
34 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
37         * sysdeps/s390/multiarch/strcmp.c: Likewise.
38         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
39         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
40         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
41         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
42         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
43         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
44         wcscmp functions.
45         * sysdeps/s390/multiarch/ifunc-impl-list.c
46         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
47         * string/strcmp.c (STRCMP): Define and use macro.
48         * benchtests/bench-wcscmp.c: New File.
49         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
50         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
51         instead of _HAVE_STRING_ARCH_memchr.
53 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
55         * sysdeps/s390/multiarch/strncat-c.c: New File.
56         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
57         * sysdeps/s390/multiarch/strncat.c: Likewise.
58         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
59         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
60         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
61         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
62         wcsncat functions.
63         * sysdeps/s390/multiarch/ifunc-impl-list.c
64         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
65         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
66         * string/test-strncat.c: Add wcsncat support.
67         * wcsmbs/test-wcsncat.c: New File.
68         * wcsmbs/Makefile (strop-tests): Add wcsncat.
69         * benchtests/bench-strncat.c: Add wcsncat support.
70         * benchtests/bench-wcsncat.c: New File.
71         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
73 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
75         * sysdeps/s390/multiarch/strcat-c.c: New File.
76         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
77         * sysdeps/s390/multiarch/strcat.c: Likewise.
78         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
79         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
80         * sysdeps/s390/multiarch/wcscat.c: Likewise.
81         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
82         wcscat functions.
83         * sysdeps/s390/multiarch/ifunc-impl-list.c
84         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
85         * string/strcat.c (STRCAT): Define and use macro.
86         * wcsmbs/wcscat.c: Use WCSCAT if defined.
87         * string/test-strcat.c: Add wcscat support.
88         * wcsmbs/test-wcscat.c: New File.
89         * wcsmbs/Makefile (strop-tests): Add wcscat.
90         * benchtests/bench-strcat.c: Add wcscat support.
91         * benchtests/bench-wcscat.c: New File.
92         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
94 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
96         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
97         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
98         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
99         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
100         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
101         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
102         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
103         wcpncpy functions.
104         * sysdeps/s390/multiarch/ifunc-impl-list.c
105         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
106         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
107         * string/test-stpncpy.c: Add wcpncpy support.
108         * wcsmbs/test-wcpncpy.c: New File.
109         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
110         * benchtests/bench-stpncpy.c: Add wcpncpy support.
111         * benchtests/bench-wcpncpy.c: New File.
112         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
114 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
116         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
117         * sysdeps/s390/multiarch/strncpy.c: Likewise.
118         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
119         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
120         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
121         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
122         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
124         wcsncpy functions.
125         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
126         * sysdeps/s390/multiarch/ifunc-impl-list.c
127         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
128         * string/test-strncpy.c: Add wcsncpy support.
129         * wcsmbs/test-wcsncpy.c: New File.
130         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
131         * benchtests/bench-strncpy.c: Add wcsncpy support.
132         * benchtests/bench-wcsncpy.c: New File.
133         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
135 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
137         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
138         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
139         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
140         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
141         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
142         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
143         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
144         wcpcpy functions.
145         * string/stpcpy.c: Use STPCPY if defined.
146         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
147         * sysdeps/s390/multiarch/ifunc-impl-list.c
148         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
149         * string/test-stpcpy.c: Add wcpcpy support.
150         * wcsmbs/test-wcpcpy.c: New File.
151         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
152         * benchtests/bench-stpcpy.c: Add wcpcpy support.
153         * benchtests/bench-wcpcpy.c: New File.
154         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
156 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
158         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
159         * sysdeps/s390/multiarch/strcpy.c: Likewise.
160         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
161         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
162         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
163         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
164         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
165         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
166         wcscpy functions.
167         * sysdeps/s390/multiarch/ifunc-impl-list.c
168         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
169         * benchtests/bench-wcscpy.c: New File.
170         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
172 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
174         * sysdeps/s390/multiarch/strnlen-c.c: New File.
175         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
176         * sysdeps/s390/multiarch/strnlen.c: Likewise.
177         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
178         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
179         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
180         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
181         wcsnlen functions.
182         * sysdeps/s390/multiarch/ifunc-impl-list.c
183         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
184         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
185         * string/test-strnlen.c: Add wcsnlen support.
186         * wcsmbs/test-wcsnlen.c: New File.
187         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
188         * benchtests/bench-strnlen.c: Add wcsnlen support.
189         * benchtests/bench-wcsnlen.c: New File.
190         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
192 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
194         * sysdeps/s390/multiarch/Makefile: New File.
195         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
196         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
197         * sysdeps/s390/multiarch/strlen.c: Likewise.
198         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
199         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
200         * sysdeps/s390/multiarch/wcslen.c: Likewise.
201         * string/strlen.c (STRLEN): Define and use macro.
202         * sysdeps/s390/multiarch/ifunc-impl-list.c
203         (IFUNC_VX_IMPL): New macro function.
204         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
205         * benchtests/Makefile (wcsmbs-bench): New variable.
206         (string-bench-all): Added wcsmbs-bench.
207         * benchtests/bench-wcslen.c: New File.
209 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
211         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
212         s390_vx_libc_ifunc2): New macro function.
214 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
216         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
217         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
218         assembler support.
219         * sysdeps/s390/configure: Regenerated.
221 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
223         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
224         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
226 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
228         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
229         * sysdeps/s390/dl-procinfo.h: Add vector capability.
230         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
232 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
234         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
235         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
236         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
237         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
238         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
239         (memcmp, bcmp): Use __memcmp_default as alias source.
240         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
241         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
242         Rename to __memcmp_default.
243         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
244         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
245         (memcpy): Use __memcpy_default as alias source.
246         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
247         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
248         Rename to __memcpy_default.
249         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
250         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
251         (memset): Use __memset_default as alias source.
252         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
253         * sysdeps/s390/s390-32/memset.S (__memset_g5):
254         Rename to __memset_default.
255         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
256         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
257         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
258         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
259         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
260         (memcmp, bcmp): Use __memcmp_default as alias source.
261         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
262         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
263         Rename to __memcmp_default.
264         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
265         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
266         (memcpy): Use __memcpy_default as alias source.
267         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
268         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
269         Rename to __memcpy_default.
270         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
271         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
272         (memset): Use __memset_default as alias source.
273         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
274         * sysdeps/s390/s390-64/memset.S (__memset_z900):
275         Rename to __memset_default.
276         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
277         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
279 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
281         [BZ #18610]
282         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
283         __ieee_instruction_pointer to __unused.
284         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
285         __ieee_instruction_pointer.
286         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
287         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
288         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
289         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
290         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
291         Mark dxc-field as reserved.
293 2015-08-25  Roland McGrath  <roland@hack.frob.com>
295         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
296         if the weak reference is not null.
298 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
300         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
302 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
304         [BZ #11214]
305         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
307 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
309         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
310         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
311         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
312         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
313         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
314         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
315         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
316         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
317         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
318         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
319         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
320         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
321         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
322         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
323         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
324         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
325         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
326         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
328 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
330         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
331         register other than r0 for tabort, it has special meaning.
332         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
333         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
334         transaction before starting syscall.
336 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
338         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
340 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
342         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
344 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
346         * sysdeps/x86_64/rtld-memcmp.c: Removed.
347         * sysdeps/x86_64/rtld-memset.S: Likewise.
348         * sysdeps/x86_64/rtld-strchr.S: Likewise.
349         * sysdeps/x86_64/rtld-strlen.S: Likewise.
350         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
351         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
353 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
355         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
357 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
359         * debug/strcpy_chk.c: Improve performance.
360         * debug/stpcpy_chk.c: Likewise.
361         * sysdeps/x86_64/strcpy_chk.S: Remove.
362         * sysdeps/x86_64/stpcpy_chk.S: Remove.
364         [BZ #18240]
365         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
367 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
369         [BZ #15128]
370         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
371         ifuncmain8.
372         (modules-names): Add ifuncmod8.
373         ($(objpfx)ifuncmain8): New rule.
374         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
375         <cpuid.h>.
376         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
377         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
378         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
379         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
380         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
381         * sysdeps/x86_64/dl-trampoline.h: Likewise.
382         * sysdeps/x86_64/ifuncmain8.c: New file.
383         * sysdeps/x86_64/ifuncmod8.c: Likewise.
384         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
385         Removed.
386         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
387         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
388         Change rtld_savespace_sse to __glibc_unused2.
389         (RTLD_CHECK_FOREIGN_CALL): Removed.
390         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
391         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
392         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
394 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
396         * sysdeps/aarch64/bzero.S (__bzero): Remove.
398 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
400         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
401         Unconditionally set __fpcr to avoid uninialized warning.
402         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
404 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
406         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
407         is corrupt.
409         * malloc/arena.c (arena_get2): Drop unused argument.
410         (arena_lock): Adjust.
411         (arena_get_retry): Likewise.
413 2015-08-24  Andreas Schwab  <schwab@suse.de>
415         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
416         Don't define.
417         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
418         (__ASSUME_IPC64): Don't undef.
419         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
420         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
421         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
422         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
423         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
424         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
425         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
426         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
427         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
428         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
429         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
430         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
431         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
432         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
433         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
434         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
435         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
436         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
437         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
438         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
439         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
441 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
443         * manual/Makefile (install): Only build manual when perl is available.
445 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
447         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
448         '#undef memcpy' by '#undef memchr'.
450 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
452         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
453         memchr not point to the internal __GI_memchr implementation.
455 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
457         * timezone/Makefile (CFLAGS-zdump.c): Remove
458         -Wno-strict-prototypes.
459         (CFLAGS-zic.c): Likewise.
460         (CFLAGS-ialloc.c): Likewise.
461         (CFLAGS-scheck.c): Likewise.
463         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
464         -Wno-error=undef.
466 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
468         * i386/i686/multiarch/strcasestr-c.c: Removed.
469         * x86_64/multiarch/strcasestr.c: Likewise.
470         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
471         Remove strcasestr.
473 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
475         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
477         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
478         variables for high and low parts before possibly modifying them.
480 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
482         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
483         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
484         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
485         of "multiarch/init-arch.h".
486         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
487         * sysdeps/x86/init-arch.h: This.
489 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
491         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
492         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
494 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
496         [BZ #17787]
497         * manual/macros.texi: Add twoexp macro.
498         * manual/filesys.texi: Fix exponents.
499         * manual/llio.texi: Likewise.
500         * manual/stdio.texi: Likewise.
502 2015-08-20  Florian Weimer  <fweimer@redhat.com>
504         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
505         incorrect use.
507 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
509         [BZ #18370]
510         * math/s_csqrt.c (__csqrt): Force underflow exception for results
511         whose real or imaginary part has small absolute value.
512         * math/s_csqrtf.c (__csqrtf): Likewise.
513         * math/s_csqrtl.c (__csqrtl): Likewise.
514         * math/auto-libm-test-in: Add more tests of csqrt.
515         * math/auto-libm-test-out: Regenerated.
516         * sysdeps/i386/fpu/libm-test-ulps: Update.
518 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
520         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
521         __ppc_set_ppr_very_low): New functions.
522         * manual/platform.texi: Add documentation about
523         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
525 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
527         * string/stpncpy.c (stpncpy): Improve performance using
528         __strnlen/memcpy/memset.
530 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
532         [BZ #18796]
533         * scripts/test-installation.pl: Don't add -lmvec to build options if
534         libmvec wasn't built.
536 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
538         [BZ #14341]
539         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
540         case when there is a gap between DT_REL and DT_JMPREL sections.
541         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
542         (LDFLAGS-tst-split-dynreloc): New.
543         (tst-split-dynreloc-ENV): Likewise.
544         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
545         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
547 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
549         [BZ #18822]
550         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
551         attribute_hidden.
552         (__xstat64_conv): Likewise.
553         (__xstat32_conv): Likewise.
555 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
557         [BZ #18822]
558         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
559         Don't load %ebx when calling __setcontext.  Call __setcontext
560         with HIDDEN_JUMPTARGET.
561         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
562         libc_hidden_def.
564 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
566         * sysdeps/i386/i686/Makefile
567         [$(subdir) == string] (sysdep_routines): Moved to ...
568         * sysdeps/i386/Makefile: Here.
569         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
570         * sysdeps/i386/cacheinfo.c: Here.
571         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
572         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
573         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
574         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
576 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
578         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
579         __i586__ is defined.
580         (HAS_I686): Defined to 1 if __i686__ is defined.
582 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
584         * elf/Makefile [$(have-z-execstack) = yes]
585         (CPPFLAGS-tst-execstack.c): New variable.
587         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
588         conditional to [defined UTMPX || _HAVE_UT_TYPE].
589         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
590         UTMPX || _HAVE_UT_TV].
591         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
592         UTMPX || _HAVE_UT_TV - 0].
594 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
596         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
597         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
598         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
600 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
602         * sysdeps/powerpc/dl-procinfo.c:
603         (_dl_powerpc_cap_flags): Added missing strings for some
604         hwcap features.
605         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
607 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
609         Port the 0x7efe...feff pattern to GCC 6.
610         See Steve Ellcey's bug report in:
611         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
612         * string/memrchr.c (MEMRCHR):
613         * string/rawmemchr.c (RAWMEMCHR):
614         * string/strchr.c (strchr):
615         * string/strchrnul.c (STRCHRNUL):
616         Rewrite code to avoid issues with signed shift overflow.
618 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
620         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
621         whether cpuid is available only if HAS_CPUID is 0.
622         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
623         (HAS_I586): Likewise.
624         (HAS_I686): Likewise.
626 2015-08-18  Zack Weinberg  <zackw@panix.com>
628         * misc/Versions (libc): Add GLIBC_2.23.
630 2015-08-18  Alan Modra  <amodra@gmail.com>
632         [BZ #18421]
633         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
634         .Lp__global.
635         (_start): Load %dp via .Lp__global.
636         [!SHARED]: Use .section .rodata.
638 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
640         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
641         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
643 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
645         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
646         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
648 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
650         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
651         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
653 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
655         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
656         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
658 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
660         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
661         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
663 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
665         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
666         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
668 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
670         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
672 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
674         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
675         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
676         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
677         (__ASSUME_LWS_CAS): Delete.
679 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
681         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
682         * sysdeps/hppa/configure: Regenerated.
683         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
684         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
685         * sysdeps/hppa/nptl/tls.h: Likewise.
687 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
689         [BZ #18823]
690         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
691         for scaling up small arguments.
692         * math/s_csqrtf.c (__csqrtf): Likewise.
693         * math/s_csqrtl.c (__csqrtl): Likewise.
694         * math/auto-libm-test-in: Add more tests of csqrt.
695         * math/auto-libm-test-out: Regenerated.
697 2015-08-17  Andreas Schwab  <schwab@suse.de>
699         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
700         version set GLIBC_2.19.
702 2015-08-16  Zack Weinberg  <zackw@panix.com>
704         [BZ #18681]
705         * misc/regexp.h: This interface is no longer supported.
706         Remove all contents, leaving only an #error directive.
707         * misc/regexp.c (loc1, loc2, locs, step, advance):
708         Demote to compatibility symbols.
710 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
712         [BZ #18084]
713         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
714         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
715         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
716         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
717         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
718         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
719         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
720         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
721         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
723 2015-08-15  Zack Weinberg  <zackw@panix.com>
725         [BZ #18795]
726         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
727         buffer length is known to be too large, not if it's known to be
728         small enough.
729         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
730         overflow at runtime, involving a length parameter, twice: once
731         with a compile-time constant length parameter, once without.
733 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
735         [BZ #18824]
736         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
737         scaling x * y up instead of down.
738         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
739         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
740         * math/auto-libm-test-in: Add more tests of fma.
741         * math/auto-libm-test-out: Regenerated.
743 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
745         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
747 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
749         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
750         unnecessary movq.
751         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
752         Likewise.
754 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
756         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
757         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
758         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
759         and tgamma.
760         * math/auto-libm-test-out: Regenerated.
761         * sysdeps/i386/fpu/libm-test-ulps: Update.
762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
764         [BZ #16520]
765         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
766         (__tanh): Force underflow exception for arguments with small
767         absolute value.
768         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
769         (__tanhf): Force underflow exception for arguments with small
770         absolute value.
771         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
772         (__tanhl): Force underflow exception for arguments with small
773         absolute value.
774         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
775         (__tanhl): Force underflow exception for arguments with small
776         absolute value.
777         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
778         (__tanhl): Force underflow exception for arguments with small
779         absolute value.
780         * math/auto-libm-test-in: Add more tests of tanh.
781         * math/auto-libm-test-out: Regenerated.
782         * sysdeps/i386/fpu/libm-test-ulps: Update.
784 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
786         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
787         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
789 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
791         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
792         <cpuid.h>.
794 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
796         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
797         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
799 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
801         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
802         Remove $(objpfx)init-arch.o.
803         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
804         init-arch.
805         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
806         (INIT_ARCH_EXT): Defined as empty.
807         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
808         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
809         __init_cpu_features call.  Replace HAS_XXX with
810         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
811         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
812         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
813         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
814         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
815         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
816         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
817         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
818         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
819         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
820         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
821         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
822         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
823         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
824         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
825         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
826         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
827         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
828         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
829         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
830         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
831         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
832         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
833         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
834         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
835         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
836         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
837         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
838         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
839         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
840         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
841         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
842         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
843         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
844         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
845         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
847 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
849         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
850         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
851         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
852         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
853         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
854         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
855         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
856         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
857         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
858         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
859         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
860         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
861         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
862         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
863         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
864         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
865         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
866         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
867         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
868         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
869         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
870         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
871         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
872         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
873         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
874         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
875         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
876         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
877         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
878         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
879         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
880         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
881         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
882         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
883         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
884         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
885         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
886         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
887         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
888         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
889         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
890         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
891         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
893 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
895         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
896         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
897         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
898         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
899         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
900         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
901         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
902         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
903         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
904         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
905         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
906         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
907         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
908         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
909         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
910         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
911         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
912         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
913         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
914         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
916         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
917         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
918         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
919         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
920         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
921         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
922         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
923         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
924         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
925         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
926         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
927         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
928         * sysdeps/x86_64/multiarch/memset.S: Likewise.
929         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
930         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
931         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
932         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
933         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
934         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
935         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
936         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
937         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
939 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
941         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
942         (dl_platform_init): Call init_cpu_features.
943         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
944         * sysdeps/i386/i686/cacheinfo.c
945         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
946         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
947         * sysdeps/i386/i686/multiarch/Versions: Removed.
948         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
949         Removed.
950         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
951         * sysdeps/unix/sysv/linux/x86/Makefile
952         (libpthread-sysdep_routines): Remove init-arch.
953         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
954         <sysdeps/x86_64/dl-procinfo.c> instead of
955         sysdeps/generic/dl-procinfo.c>.
956         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
957         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
958         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
959         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
960         [$(subdir) == elf] (tests-static): Add
961         tst-get-cpu-features-static.
962         * sysdeps/x86/Versions: New file.
963         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
964         * sysdeps/x86/cpu-features.c: Likewise.
965         * sysdeps/x86/cpu-features.h: Likewise.
966         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
967         * sysdeps/x86/libc-start.c: Likewise.
968         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
969         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
970         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
971         * sysdeps/x86_64/dl-procinfo.c: Likewise.
972         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
973         Assume USE_MULTIARCH is defined and don't check it.
974         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
975         (is_amd): Likewise.
976         (max_cpuid): Likewise.
977         (intel_check_word): Likewise.
978         (__cache_sysconf): Don't call __init_cpu_features.
979         (__x86_preferred_memory_instruction): Removed.
980         (init_cacheinfo): Don't call __init_cpu_features. Replace
981         __cpu_features with GLRO(dl_x86_cpu_features).
982         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
983         (dl_platform_init): Call init_cpu_features.
984         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
985         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
986         * sysdeps/x86_64/multiarch/Versions: Removed.
987         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
988         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
989         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
990         Removed.
991         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
993 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
995         [BZ #18820]
996         * libio/Makefile (test-fmemopen-mem): New test.
997         * libio/test-fmemopen.c (do_bz18820): New test.
998         * libio/fmemopen.c (__fmemopen): Fix memory leak.
999         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1001 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1003         [BZ #16734]
1004         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1005         (FREE_BUF): Delete.
1006         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1007         * libio/genops.c (_IO_setb): Use malloc and free directly.
1008         (_IO_default_doallocate, _IO_default_finish): Likewise.
1009         ( _IO_unbuffer_all): Likewise.
1010         ( libc_freeres_fn): Likewise.
1011         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1012         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1013         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1014         (_IO_wdefault_doallocate): Likewise.
1016 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1018         [BZ #18086]
1019         * sysdeps/posix/nice.c (nice): Restore old errno.
1020         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1022 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1024         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1026 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1028         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1029         __bcopy and add a weak_alias to bcopy.
1030         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1031         for static build.
1033         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1034         cleanup macro usage.
1035         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1036         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1038         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1039         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1040         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1041         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1042         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1043         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1044         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1045         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1046         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1047         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1048         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1049         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1050         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1051         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1052         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1053         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1055         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1056         libc_hidden_def.
1057         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1059         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1060         (sysdep_routines): Add strstr-ppc64.
1061         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1063 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1065         [BZ #18778]
1066         * elf/Makefile (tests): Add Add tst-nodelete2.
1067         (modules-names): Add tst-nodelete2mod.
1068         (tst-nodelete2mod.so-no-z-defs): New.
1069         ($(objpfx)tst-nodelete2): Likewise.
1070         ($(objpfx)tst-nodelete2.out): Likewise.
1071         (LDFLAGS-tst-nodelete2): Likewise.
1072         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1073         out of loop through all loaded libraries.
1074         * elf/tst-nodelete2.c: New file.
1075         * elf/tst-nodelete2mod.c: Likewise.
1077 2015-08-11  Andreas Schwab  <schwab@suse.de>
1079         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1080         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1081         (__openat64_nocancel): Likewise.
1083 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1085         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1086         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1087         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1088         * math/auto-libm-test-out: Regenerated.
1089         * sysdeps/i386/fpu/libm-test-ulps: Update.
1090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1092 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1094         [BZ #18790]
1095         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1096         threshold for returning +/- 1.
1097         * math/auto-libm-test-in: Add more tests of tanh.
1098         * math/auto-libm-test-out: Regenerated.
1099         * sysdeps/i386/fpu/libm-test-ulps: Update.
1101 2015-08-10  Andreas Schwab  <schwab@suse.de>
1103         [BZ #18781]
1104         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1105         MORE_OFLAGS to oflag.
1106         * io/test-lfs.c (do_test): Test openat64.
1108 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1110         [BZ #18789]
1111         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1112         smaller threshold for returning the argument.
1113         * math/auto-libm-test-in: Add more tests of sinh.
1114         * math/auto-libm-test-out: Regenerated.
1115         * sysdeps/i386/fpu/libm-test-ulps: Update.
1117 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1119         [BZ #18674]
1120         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1121         break.
1123 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1125         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1126         (generated): Don't add $(addprefix z.,$(tzfiles)).
1128 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1130         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1131         * scripts/sysd-rules.awk: Likewise.
1133 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1135         * iconvdata/tst-tables.sh: Change echo -n to printf.
1136         * nss/db-Makefile: Likewise.
1137         * posix/tst-getconf.sh: Likewise.
1138         * stdio-common/tst-unbputc.sh: Likewise.
1140 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1142         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1143         MADV_*_PAGES defines behind this feature check.
1145 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1147         [BZ #18480]
1148         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1149         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1150         Define.
1151         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1152         LOAD_REGS_5, LOAD_REGS_6): Update.
1153         (INTERNAL_SYSCALL): Update using new LOAD defines.
1154         (INTERNAL_SYSCALL_NCS): Likewise.
1155         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1157 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1159         [BZ #16734]
1160         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1162 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1164         [BZ #17905]
1165         * catgets/Makefile (tst-catgets-mem): New test.
1166         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1167         * catgets/open_catalog.c (__open_catalog): Likewise.
1168         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1170 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1172         [BZ #18787]
1173         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1174         clobber registers.
1175         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1176         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1177         Cast return to __typeof (oldval).
1179 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1181         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1182         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1183         and delete sys/syscall.h include.
1185 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1187         [BZ #16517]
1188         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1189         (tan): Force underflow exception for arguments with small absolute
1190         value.
1191         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1192         (__kernel_tanf): Force underflow exception for arguments with
1193         small absolute value.
1194         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1195         (__kernel_tanl): Force underflow exception for arguments with
1196         small absolute value.
1197         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1198         (__kernel_tanl): Force underflow exception for arguments with
1199         small absolute value.
1200         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1201         (__kernel_tanl): Force underflow exception for arguments with
1202         small absolute value.
1203         * math/auto-libm-test-in: Add more tests of tan.
1204         * math/auto-libm-test-out: Regenerated.
1206 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1208         Fix sysdeps/i386/fpu/s_scalbn.S build
1210         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1212 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1214         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1216 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1218         Fix gcrt0.o compilation
1220         When static-start-installed-name is different from
1221         start-installed-name, we must not use the shared objects.
1223         * csu/Makefile
1224         (extra-objs): Add gmon-start.o when building shared library and
1225         $(static-start-installed-name) is different from
1226         $(start-installed-name).
1227         $(objpfx)g$(static-start-installed-name): When building shared
1228         library and $(static-start-installed-name) is different from
1229         $(static-start-installed-name), revert to non-shared rule,
1230         i.e. using $(objpfx)% and gmon-start.o.
1232 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1234         [BZ #16519]
1235         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1236         (__ieee754_sinh): Force underflow exception for arguments with
1237         small absolute value.
1238         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1239         (__ieee754_sinhf): Force underflow exception for arguments with
1240         small absolute value.
1241         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1242         (__ieee754_sinhl): Force underflow exception for arguments with
1243         small absolute value.
1244         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1245         (__ieee754_sinhl): Force underflow exception for arguments with
1246         small absolute value.
1247         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1248         (__ieee754_sinhl): Force underflow exception for arguments with
1249         small absolute value.
1250         * math/auto-libm-test-in: Add more tests of sinh.
1251         * math/auto-libm-test-out: Regenerated.
1252         * sysdeps/i386/fpu/libm-test-ulps: Update.
1254 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1256         * libio/oldfileops.c: Include unistd.h.
1258 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1260         * stdlib/isomac.c: Include ctype.h.
1262 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1264         * dirent/tst-seekdir.c (main): Converted to ...
1265         (do_test): ... this.
1266         (TEST_FUNCTION): New macro.
1267         Include test-skeleton.c.
1268         * elf/tst-dlmodcount.c (main): Converted to ...
1269         (do_test): ... this.
1270         (TEST_FUNCTION): New macro.
1271         Include test-skeleton.c.
1272         * elf/tst-order-main.c (main): Converted to ...
1273         (do_test): ... this.
1274         (TEST_FUNCTION): New macro.
1275         Include test-skeleton.c.
1276         * elf/tst-pie2.c (main): Converted to ...
1277         (do_test): ... this.
1278         (TEST_FUNCTION): New macro.
1279         Include test-skeleton.c.
1280         * inet/tst-ether_aton.c (main): Converted to ...
1281         (do_test): ... this.
1282         (TEST_FUNCTION): New macro.
1283         Include test-skeleton.c.
1284         * misc/tst-mntent.c (main): Converted to ...
1285         (do_test): ... this.
1286         (TEST_FUNCTION): New macro.
1287         Include test-skeleton.c.
1288         * misc/tst-tsearch.c (main): Converted to ...
1289         (do_test): ... this.
1290         (TEST_FUNCTION): New macro.
1291         Include test-skeleton.c.
1292         * posix/tst-regexloc.c (main): Converted to ...
1293         (do_test): ... this.
1294         (TEST_FUNCTION): New macro.
1295         Include test-skeleton.c.
1296         * resolv/tst-aton.c (main): Converted to ...
1297         (do_test): ... this.
1298         (TEST_FUNCTION): New macro.
1299         Include test-skeleton.c.
1300         * stdio-common/test-fwrite.c (main): Converted to ...
1301         (do_test): ... this.
1302         (TEST_FUNCTION): New macro.
1303         Include test-skeleton.c.
1304         * stdio-common/tst-ferror.c (main): Converted to ...
1305         (do_test): ... this.
1306         (TEST_FUNCTION): New macro.
1307         Include test-skeleton.c.
1308         * stdio-common/tst-printf.c (main): Converted to ...
1309         (do_test): ... this.
1310         (TEST_FUNCTION): New macro.
1311         Include test-skeleton.c.
1312         * stdio-common/tst-printfsz.c (main): Converted to ...
1313         (do_test): ... this.
1314         (TEST_FUNCTION): New macro.
1315         Include test-skeleton.c.
1316         * stdlib/tst-strtod.c (main): Converted to ...
1317         (do_test): ... this.
1318         (TEST_FUNCTION): New macro.
1319         Include test-skeleton.c.
1320         * string/tst-strlen.c (main): Converted to ...
1321         (do_test): ... this.
1322         (TEST_FUNCTION): New macro.
1323         Include test-skeleton.c.
1324         * string/tst-svc.c (main): Converted to ...
1325         (do_test): ... this.
1326         (TEST_FUNCTION): New macro.
1327         Include test-skeleton.c.
1328         * time/tst-strptime.c (main): Converted to ...
1329         (do_test): ... this.
1330         (TEST_FUNCTION): New macro.
1331         Include test-skeleton.c.
1332         * timezone/tst-timezone.c (main): Converted to ...
1333         (do_test): ... this.
1334         (TEST_FUNCTION): New macro.
1335         Include test-skeleton.c.
1337 2015-08-05  Zack Weinberg  <zackw@panix.com>
1339         * misc/regexp.h: Update comments.
1341 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1343         [BZ #18635]
1344         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1345         before return label.
1347 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1349         [BZ #18661]
1350         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1351         when calling __errno_location.
1352         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1353         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1355 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1357         [BZ #18661]
1358         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1359         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1360         __gettimeofday.
1362 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1364         [BZ #18661]
1365         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1366         (__start_context): Don't use pop to restore %rdi so that stack
1367         is aligned to 16 bytes when calling __setcontext.
1369 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1371         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1372         only for libc.
1373         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1375 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1377         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1378         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1379         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1381 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1383         * string/memccpy.c (memccpy):
1384         Improve performance by using memchr/memcpy/__mempcpy.
1386 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1388         * string/strncpy.c (strncpy):
1389         Improve performance by using __strnlen/memcpy.
1391 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1393         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1394         Optimize to avoid an unnecessary FPCR read.
1396 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1398         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1399         Optimize to reduce FPCR/FPSR accesses.
1401 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1403         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1404         dead->data[category] != NULL.
1406 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1408         [BZ #18647]
1409         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1410         and |x| close to 1, use absolute value of x when computing log.
1411         * math/auto-libm-test-in: Add more tests of pow.
1412         * math/auto-libm-test-out: Regenerated.
1414 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1416         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1417         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1418         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1420 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1422         [BZ #18525]
1423         * locales/km_KH: Remove timezone definition.
1424         * locales/lo_LA: Likewise.
1425         * locales/my_MM: Likewise.
1426         * locales/nan_TW@latin: Likewise.
1427         * locales/th_TH: Likewise.
1428         * locales/uk_UA: Likewise.
1430 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1432         [BZ #18265]
1433         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1434         (wcsncat): Likewise.
1435         (wcscmp): Likewise.
1436         (wcsncmp): Likewise.
1438 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1440         * test-skeleton.c (usage): New function.
1441         (main): Call usage when opt is '?'.
1443 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1445         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1446         before first use.
1448 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1450         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1451         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1452         in there too.
1454 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1456         * version.h (RELEASE): Set to "development".
1457         (VERSION): Set to "2.22.90"
1459         * version.h (RELEASE): Set to "stable".
1460         (VERSION): Set to "2.22"
1461         * include/features.h (__GLIBC_MINOR__): Set to 22.
1463 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1465         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1466         Restructure macro to avoid "value computed is not used" warning.
1467         (atomic_compare_and_exchange_val_acq): Likewise.
1469 2015-08-04  Andreas Schwab  <schwab@suse.de>
1471         [BZ #18635]
1472         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1473         ret.
1474         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1476 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1478         * po/pl.po: Updated translation.
1479         * po/uk.po: Likewise.
1480         * po/fi.po: Likewise.
1481         * po/ko.po: Likewise.
1482         * po/ru.po: Likewise.
1483         * po/vi.po: Likewise.
1485 2015-07-31  Zack Weinberg  <zackw@panix.com>
1487         [BZ #18681]
1488         * regexp.h: Add unconditional #warning stating that this header
1489         will be removed soon.  Revise banner comment to match.
1490         (compile): Consistently use ERROR instead of RETURN to report
1491         errors (partial fix for bz#18681).
1492         * regexp.c: Don't include regexp.h. Remove some unnecessary
1493         declarations.
1495 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1497         * po/libc.pot: Regenerated.
1499 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1501         [BZ #18740]
1502         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1503         float-vlen4-arch-ext-cflags): Removed.
1504         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1505         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1507 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1509         [BZ #14113]
1510         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1511         aligned to __aligned__.
1512         (pthread_cond_t, pthread_rwlock_t): Likewise.
1514 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1516         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1518 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1520         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1521         (struct sigaction): Change sa_flags from a long to an int, and add
1522         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1524 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1526         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1527         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1528         sysdeps/generic/sysdep.h include.
1529         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1530         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1531         sysdeps/hppa/sysdep.h.
1532         (ENTRY, PSEUDO): Undefine before defining.
1534 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1536         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1537         from scratch to use INTERNAL_SYSCALL.
1539 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1541         [BZ #18078]
1542         * scripts/check-localplt.awk: Support alternate relocations.
1543         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1544         sections.
1545         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1546         malloc entries with + REL R_386_GLOB_DAT.
1547         * sysdeps/x86_64/localplt.data: New file.
1549 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1551         [BZ #18731]
1552         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1553         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1554         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1556 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1558         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1560 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1562         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1563         directly in terms of __sync_fetch_and_add and delete (int) cast.
1565 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1567         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1568         the -D_ASM_IA64_CURRENT_H flag.
1570 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1572         [BZ #18641]
1573         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1575 2015-07-27  Andreas Schwab  <schwab@suse.de>
1577         * conform/conformtest.pl (checknamespace): Filter out string
1578         literals while tokenizing.
1580 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1582         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1583         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1584         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1586 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1588         * nptl/tst-join7mod.c: Add #include <string.h>.
1590 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1592         * sysdeps/nios2/libm-test-ulps: Update.
1594 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1596         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1597         Fix order of arguments to the rt_sigprocmask syscall.
1598         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1599         Likewise.
1601 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1603         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1605 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1607         [BZ #18457]
1608         * nptl/Makefile (tests): New test case tst-join7.
1609         (modules-names): New test case module tst-join7mod.
1610         * nptl/tst-join7.c: New file.
1611         * nptl/tst-join7mod.c: New file.
1612         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1613         all translation units in libc.so, libpthread.so and rtld.
1615 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1619 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1621         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1622         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1623         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1624         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1625         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1626         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1627         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1628         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1629         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1630         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1631         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1632         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1633         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1634         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1635         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1636         implementation.
1638 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1640         [BZ #17711]
1641         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1642         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1643         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1644         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1645         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1646         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1648 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1650         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1651         instead of just saying load lock in the comments.
1653 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1655         * sysdeps/unix/Subdirs: Moved ...
1656         * sysdeps/posix/Subdirs: ... here.
1657         * login/pty.h (struct termios, struct winsize): Add forward decls.
1658         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1659         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1660         * sysdeps/arm/nacl/libc.abilist: Updated.
1661         * sysdeps/nacl/libutil.abilist: New file.
1663         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1664         (SIGWINCH): New macro.
1666         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1667         * sysdeps/arm/nacl/libc.abilist: Add it.
1669 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1671         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1673 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1675         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1676         Swap __glibc_reserved0 and sa_flags order.
1678 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1680         [BZ #18657]
1681         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1682         are pending TLS destructor calls.
1683         * include/link.h (struct link_map): Add concurrency note for
1684         L_TLS_DTOR_COUNT.
1685         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1686         Don't touch the link map flag.  Atomically increment
1687         l_tls_dtor_count.
1688         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1689         Avoid taking the load lock and don't touch the link map flag.
1690         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1691         * stdlib/Makefile (tests): Use it.
1692         * stdlib/tst-tls-atexit.c (do_test): dlopen
1693         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1694         to allow tst-tls-atexit-nodelete test case to use it.
1696 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1698         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1699         to bits/types.h.
1700         (msgqnum_t): New typedef.
1701         (msglen_t): Likewise.
1702         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1703         and msg_qbytes type to msglen_t.
1705 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1707         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1708         pad0 to __glibc_reserved0.
1709         (struct stat64): Likewise.
1711 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1713         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1714         Change sa_flags from a long to an int and add __glibc_reserved0 before
1715         it for padding.
1717 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1719         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1720         anonymous by deleting "siginfo" name.
1722 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1724         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1725         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1726         rather than __nacl_irt_filename.
1727         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1729         * NEWS: New item for arm-nacl port.
1730         * sysdeps/arm/nacl/libc.abilist: New file.
1731         * sysdeps/nacl/ld.abilist: New file.
1732         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1733         * sysdeps/nacl/libanl.abilist: New file.
1734         * sysdeps/nacl/libcrypt.abilist: New file.
1735         * sysdeps/nacl/libdl.abilist: New file.
1736         * sysdeps/nacl/libm.abilist: New file.
1737         * sysdeps/nacl/libpthread.abilist: New file.
1738         * sysdeps/nacl/libresolv.abilist: New file.
1739         * sysdeps/nacl/librt.abilist: New file.
1741 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1743         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1744         __startcontext to initialize the new context.
1745         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1746         up CFI directive to forbid further backtracing.
1748 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1750         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1751         reference.
1752         * charmaps/ANSI_X3.4-1968: Likewise.
1753         * charmaps/BS_4730: Likewise.
1754         * charmaps/BS_VIEWDATA: Likewise.
1755         * charmaps/CP1250: Likewise.
1756         * charmaps/CP1251: Likewise.
1757         * charmaps/CP1252: Likewise.
1758         * charmaps/CP1253: Likewise.
1759         * charmaps/CP1254: Likewise.
1760         * charmaps/CP1255: Likewise.
1761         * charmaps/CP1256: Likewise.
1762         * charmaps/CSN_369103: Likewise.
1763         * charmaps/EBCDIC-DK-NO: Likewise.
1764         * charmaps/GB_1988-80: Likewise.
1765         * charmaps/GREEK-CCITT: Likewise.
1766         * charmaps/GREEK7: Likewise.
1767         * charmaps/INIS-8: Likewise.
1768         * charmaps/ISIRI-3342: Likewise.
1769         * charmaps/ISO_2033-1983: Likewise.
1770         * charmaps/ISO_5427-EXT: Likewise.
1771         * locales/POSIX: Likewise.
1772         * locales/ar_SA: Likewise.
1773         * locales/be_BY: Likewise.
1774         * locales/be_BY@latin: Likewise.
1775         * locales/ca_ES: Likewise.
1776         * locales/cs_CZ: Likewise.
1777         * locales/da_DK: Likewise.
1778         * locales/de_BE: Likewise.
1779         * locales/de_CH: Likewise.
1780         * locales/de_LU: Likewise.
1781         * locales/en_AU: Likewise.
1782         * locales/en_BW: Likewise.
1783         * locales/en_CA: Likewise.
1784         * locales/en_DK: Likewise.
1785         * locales/en_GB: Likewise.
1786         * locales/en_IE: Likewise.
1787         * locales/en_NZ: Likewise.
1788         * locales/en_ZA: Likewise.
1789         * locales/en_ZW: Likewise.
1790         * locales/es_AR: Likewise.
1791         * locales/es_BO: Likewise.
1792         * locales/es_CL: Likewise.
1793         * locales/es_CO: Likewise.
1794         * locales/es_DO: Likewise.
1795         * locales/es_EC: Likewise.
1796         * locales/es_ES: Likewise.
1797         * locales/es_HN: Likewise.
1798         * locales/es_MX: Likewise.
1799         * locales/es_PA: Likewise.
1800         * locales/es_PE: Likewise.
1801         * locales/es_PY: Likewise.
1802         * locales/es_SV: Likewise.
1803         * locales/es_US: Likewise.
1804         * locales/es_UY: Likewise.
1805         * locales/es_VE: Likewise.
1806         * locales/et_EE: Likewise.
1807         * locales/fa_IR: Likewise.
1808         * locales/fo_FO: Likewise.
1809         * locales/fr_CA: Likewise.
1810         * locales/fr_CH: Likewise.
1811         * locales/gv_GB: Likewise.
1812         * locales/he_IL: Likewise.
1813         * locales/hr_HR: Likewise.
1814         * locales/id_ID: Likewise.
1815         * locales/is_IS: Likewise.
1816         * locales/it_CH: Likewise.
1817         * locales/iw_IL: Likewise.
1818         * locales/kl_GL: Likewise.
1819         * locales/ko_KR: Likewise.
1820         * locales/kw_GB: Likewise.
1821         * locales/lg_UG: Likewise.
1822         * locales/lt_LT: Likewise.
1823         * locales/lv_LV: Likewise.
1824         * locales/mi_NZ: Likewise.
1825         * locales/nhn_MX: Likewise.
1826         * locales/nl_BE: Likewise.
1827         * locales/pl_PL: Likewise.
1828         * locales/sk_SK: Likewise.
1829         * locales/sl_SI: Likewise.
1830         * locales/sv_FI: Likewise.
1831         * locales/tl_PH: Likewise.
1832         * locales/tr_TR: Likewise.
1833         * locales/vi_VN: Likewise.
1835 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1837         [BZ #17475]
1838         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1839         of tu_IN and bh_IN.
1841 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1843         [BZ #18694]
1844         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1845         bits/wordsize.h.
1846         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1848 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1850         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1851         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1852         (spawn_thread): New function.
1853         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1854         (do_test): ... here.  Use IS_LOADED to test for its
1855         availability.
1857 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1859         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1861 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1863         [BZ #18696]
1864         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1865         si_addr_bnd.
1866         (si_lower): New.
1867         (si_upper): Likewise.
1869 2015-07-16  David S. Miller  <davem@davemloft.net>
1871         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1873 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1875         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1876         buffer.
1877         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1878         fail output information.
1880 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1883         and strstr-ppc64..
1884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1885         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1886         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1887         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1888         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1890 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1892         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1893         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1894         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1895         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1897 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1899         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1900         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1901         rtld_hidden_proto.
1902         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1904 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1906         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1907         the test can fail.
1909         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1911         [BZ #18676]
1912         * elf/tst-nodelete-opened.c: New test case.
1913         * elf/tst-nodelete-opened-lib.c: New test case module.
1914         * elf/Makefile (tests, modules-names): Use them.
1915         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1916         early.
1918 2015-07-15  David S. Miller  <davem@davemloft.net>
1920         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1921         futex-intenal.h
1922         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1923         * sysdeps/sparc/sparc64/Makefile: Likewise.
1924         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1925         Remove space from macro define.
1926         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1928 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1930         [BZ #17475]
1931         * locale/iso-639.def: Update Bhili and Tulu language codes as
1932         per iso639-3.
1934 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1936         * elf/tst-leaks1.c (main): Converted to ...
1937         (do_test): ... this.
1938         (TEST_FUNCTION): New macro.
1939         Include test-skeleton.c.
1940         * localedata/tst-langinfo.c (main): Converted to ...
1941         (do_test): ... this.
1942         (TEST_FUNCTION): New macro.
1943         Include test-skeleton.c.
1944         * math/test-fpucw.c (main): Converted to ...
1945         (do_test): ... this.
1946         (TEST_FUNCTION): New macro.
1947         Include test-skeleton.c.
1948         * math/test-tgmath.c (main): Converted to ...
1949         (do_test): ... this.
1950         (TEST_FUNCTION): New macro.
1951         Include test-skeleton.c.
1952         * math/test-tgmath2.c (main): Converted to ...
1953         (do_test): ... this.
1954         (TEST_FUNCTION): New macro.
1955         Include test-skeleton.c.
1956         * setjmp/tst-setjmp.c (main): Converted to ...
1957         (do_test): ... this.
1958         (TEST_FUNCTION): New macro.
1959         Include test-skeleton.c.
1960         * stdio-common/tst-sscanf.c (main): Converted to ...
1961         (do_test): ... this.
1962         (TEST_FUNCTION): New macro.
1963         Include test-skeleton.c.
1964         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1965         (do_test): ... this.
1966         (TEST_FUNCTION): New macro.
1967         Include test-skeleton.c.
1969         * elf/tst-audit9.c (main): Converted to ...
1970         (do_test): ... this.
1971         (TEST_FUNCTION): New macro.
1972         Include test-skeleton.c.
1974 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1976         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1978 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1980         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1981         New variable.
1983 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1985         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1987 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1989         * sysdeps/generic/dl-fileid.h: New file.
1990         * sysdeps/posix/dl-fileid.h: New file.
1991         * sysdeps/nacl/dl-fileid.h: New file.
1992         * include/link.h: Include <dl-fileid.h>.
1993         (struct link_map): Replace l_dev and l_ino with l_file_id.
1994         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1995         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1996         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1998 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2000         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2002 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2004         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2005         Add iff $CXX is set.
2006         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2007         Likewise.
2008         (tst-nodelete-zmodiff): Likewise.
2009         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2011 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2013         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2015 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2017         * sysdeps/aarch64/fpu/math_private.h
2018         (define math_opt_barrier): Add AArch64 version.
2019         (math_force_eval): Likewise.
2021 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2023         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2025 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2027         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2028         %ld with %jd and cast to intmax_t.
2029         (do_test_length_zero): Likewise.
2031 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2033         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2035 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2037         * sysdeps/tile/libm-test-ulps: Regenerated.
2039         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2040         Comment out the whole function, not just its body.
2042 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2044         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2045         locks.
2047         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2049 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2051         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2052         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2054 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2056         * sysdeps/nptl/futex-internal.h: New file.
2057         * sysdeps/nacl/futex-internal.h: New file.
2058         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2059         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2060         error checking.
2061         (setxid_unmark_thread): Likewise.
2062         (__nptl_setxid): Likewise.
2063         (__wait_lookup_done): Likewise.
2064         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2065         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2066         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2067         * nptl/pthread_once.c (clear_once_control): Likewise.
2068         (__pthread_once_slow): Likewise.
2069         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2070         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2071         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2072         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2073         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2074         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2075         Likewise.
2076         (__pthread_rwlock_rdlock): Likewise.
2077         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2078         Likewise.
2079         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2080         Likewise.
2081         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2082         Likewise.
2083         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2084         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2085         Likewise.
2086         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2087         __ASSUME_PRIVATE_FUTEX check.
2088         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2089         Check that shared futexes are supported.
2090         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2091         wrappers with error checking.
2092         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2093         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2094         * nptl/pthread_barrierattr_setpshared.c
2095         (pthread_barrierattr_setpshared): Check that shared futexes are
2096         supported.
2097         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2098         Likewise.
2099         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2100         Likewise.
2101         * nptl/sem_init.c (futex_private_if_supported): Remove.
2102         (__new_sem_init): Adapt and check that shared futexes are supported.
2103         * nptl/sem_open.c (sem_open): Likewise.
2104         * nptl/sem_post.c (futex_wake): Remove.
2105         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2106         (do_futex_wait): Use futex wrappers with error checking.
2107         * nptl/sem_wait.c: Include lowlevellock.h.
2108         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2109         Use futex_supports_pshared.
2110         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2111         Use futex wrappers with error checking.
2112         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2113         Likewise.
2114         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2115         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2116         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2117         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2118         (futex_wake): Likewise.
2119         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2120         (do_futex_wait): Use futex wrappers with error checking.
2121         (__new_sem_wait_slow): Update EINTR handling.
2122         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2124 2015-07-09  Martin Sebor  <msebor@redhat.com>
2126         [BZ #18435]
2127         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2128         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2129         * nptl/Makefile (test-xfail-tst-once5): Define.
2131 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2133         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2134         * elf/dl-minimal.c: For readability, reorder some definitions and
2135         introduce more page breaks.  Include <stdio.h>.
2136         (__libc_fatal): New function.
2138         * include/unistd.h: Add rtld_hidden_proto for _exit.
2139         * posix/_exit.c: Add rtld_hidden_def.
2140         * sysdeps/mach/hurd/_exit.c: Likewise.
2141         * sysdeps/nacl/_exit.c: Likewise.
2142         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2143         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2145 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2147         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2148         bndmov encoding with zero displacement.
2150 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2151             H.J. Lu  <hongjiu.lu@intel.com>
2153         [BZ #18134]
2154         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2155         * sysdeps/i386/configure: Regenerated.
2156         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2157         (_dl_runtime_profile): Save and restore Intel MPX return bound
2158         registers when calling _dl_call_pltexit.  Add
2159         PRESERVE_BND_REGS_PREFIX before return.
2160         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2161         (LRV_BND1_OFFSET): Likewise.
2162         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2163         lrv_bnd1.
2164         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2165         typo in bndmov encoding.
2166         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2167         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2168         branch instructions to preserve bounds.
2170 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2173         [GLIBC_2.22]: Add fmemopen.
2175 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2177         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2178         returns an error, also try to use host port from __mach_host_self for
2179         the __vm_wire call.
2180         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2182 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2184         [BZ #18400]
2185         [BZ #18648]
2186         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2187         Fix pr_uid and pr_gid members.
2188         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2189         definition to elf_greg_t.
2191 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2193         [BZ #18383]
2194         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2195         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2196         * sysdeps/arm/configure: Regenerated.
2197         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2198         (test-xfail-tst-tlsalign-static): Variable removed.
2200         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2201         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2202         rather than explicit 'ln -s'.
2204         * resolv/rpc/netdb.h: New file.
2205         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2207 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2209         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2210         length buffers.
2211         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2212         test-skeleton.c.
2214         [BZ #6544]
2215         [BZ #11216]
2216         [BZ #12836]
2217         [BZ #13151]
2218         [BZ #13152]
2219         [BZ #14292]
2220         * include/stdio.h (fmemopen): Remove hidden prototype.
2221         (__fmemopen): Add new hidden prototype.
2222         * libio/Makefile: Add oldfmemopen object.
2223         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2224         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2225         compliance.
2226         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2227         symbol compatibility.
2228         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2229         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2230         fmemopen.
2231         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2232         on append and read mode.
2233         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2234         fmemopen.
2235         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2236         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2237         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2238         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2239         Likewise.
2240         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2241         [GLIBC_2.22]: Likewise.
2242         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2243         Likewise.
2244         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2245         Likewise.
2246         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2247         [GLIBC_2.22]: Likewise.
2248         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2249         [GLIBC_2.22]: Likewise.
2250         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2251         [GLIBC_2.22]: Likewise.
2252         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2253         [GLIBC_2.22]: Likewise.
2254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2255         [GLIBC_2.22]: Likewise.
2256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2257         [GLIBC_2.22]: Likewise.
2258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2259         [GLIBC_2.22]: Likewise.
2260         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2261         Likewise.
2262         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2263         Likewise.
2264         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2265         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2266         [GLIBC_2.22]: Likewise.
2267         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2268         [GLIBC_2.22]: Likewise.
2269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2270         [GLIBC_2.22]: Likewise.
2271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2272         [GLIBC_2.22]: Likewise.
2273         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2274         Likewise.
2275         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2276         Likewise.
2277         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2278         Likewise.
2279         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2280         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2282 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2284         [BZ #18643]
2285         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2286         IPV6_PATHMTU, and IPV6_DONTFRAG.
2288 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2290         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2291         and _IO_UNBUFFERED.
2292         * libio/oldfileops.c: Likewise.
2293         * libio/wfileops.c: Likewise.
2295 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2297         * nscd/selinux.c: Delete selinux/flask.h include.
2299 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2301         [BZ #18641]
2302         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2303         (putpwent): Likewise.
2304         (getpwnam): Likewise.
2305         (getpwent_r): Likewise.
2306         (getpwuid_r): Likewise.
2307         (getpwnam_r): Likewise.
2308         (fgetpwent_r): Likewise.
2310 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2312         [BZ #18557]
2313         * inet/rcmd.c (__validuser2_sa): Check user first to
2314         short-circuit host check.
2316 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2317             Mikhail Ilin  <m.ilin@samsung.com>
2319         [BZ #17833]
2320         * elf/Makefile (tests): Add tst-nodelete.
2321         (modules-names): Add tst-nodelete-uniquemod.
2322         (tst-nodelete-uniquemod.so-no-z-defs): New.
2323         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2324         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2325         ($(objpfx)tst-nodelete): Likewise.
2326         ($(objpfx)tst-nodelete.out): Likewise.
2327         (LDFLAGS-tst-nodelete): Likewise.
2328         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2329         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2330         implement forced object deletion.
2331         (_dl_close): Pass false to _dl_close_worker.
2332         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2333         * elf/tst-nodelete.cc: New file.
2334         * elf/tst-nodeletelib.cc: Likewise.
2335         * elf/tst-znodeletelib.cc: Likewise.
2336         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2338 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2340         [BZ #18508]
2341         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2342         Depend on $(libdl).
2343         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2344         is not called infinitely times.
2345         (backtrace_helper): New function.
2346         (trace_arg): New struct.
2347         (st1): Enlarge stack size.
2348         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2349         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2350         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2351         Likewise.
2353 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2355         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2357 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2359         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2360         Include sys/types.h instead of bits/types.h.
2361         Remove inclusion of bits/wordsize.h.
2363 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2365         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2366         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2367         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2368         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2369         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2370         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2372 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2374         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2375         link-defines.sym.
2376         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2377         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2378         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2379         and LR_SIZE.
2380         * sysdeps/i386/link-defines.sym: New file.
2382 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2384         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2385         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2386         ($(objpfx)tst-audit3): New rule.
2387         ($(objpfx)tst-audit3.out): Likewise.
2388         * sysdeps/i386/tst-audit3.c: New file.
2389         * sysdeps/i386/tst-audit3.h: Likewise.
2390         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2391         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2393 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2395         [BZ #18633]
2396         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2397         pointer in C code.
2398         (__strcat_c): Likewise.
2399         (__strcat_g): Likewise.
2401 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2403         [BZ #18592]
2404         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2406 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2408         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2409         New function.  (__ieee754_sqrtf): New function.
2410         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2411         New function.
2412         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2413         New function.
2415 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2417         * sysdeps/ieee754/support.c: Remove unused file.
2419 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2421         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2422         registers instead of d ones so the layout is kernel abi compatible.
2423         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2424         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2425         Likewise.
2427 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2429         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2431 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2433         [BZ #18619]
2434         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2435         and return argument in case of subnormal argument.
2437 2015-07-01  Martin Sebor  <msebor@redhat.com>
2439         [BZ #18435]
2440         * nptl/Makefile: Add tst-once5.cc.
2441         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2442         Remove macro redefinitions.
2443         * nptl/tst-once5.cc: New test.
2445 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2447         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2449         * sysdeps/arm/libm-test-ulps: Regenerated.
2451         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2452         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2454 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2456         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2457         lll_lock_wait_private and lll_futex_wake probes.
2459         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2460         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2461         Likewise.
2462         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2463         atomic_spin_nop.
2464         * sysdeps/x86_64/bits/atomic.h: Likewise.
2465         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2466         to atomic_spin_nop and move ...
2467         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2468         ... here and ...
2469         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2470         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2471         atomic_spin_nop instead of BUSY_WAIT_NOP.
2472         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2473         Likewise.
2474         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2475         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2476         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2477         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2478         instead of atomic_delay.
2480 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2482         [BZ #18613]
2483         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2484         X_ADJ not X when adjusting exponent.
2485         (__ieee754_gamma_r): Do intermediate computations in
2486         round-to-nearest then adjust overflowing and underflowing results
2487         as needed.
2488         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2489         of X_ADJ not X when adjusting exponent.
2490         (__ieee754_gammaf_r): Do intermediate computations in
2491         round-to-nearest then adjust overflowing and underflowing results
2492         as needed.
2493         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2494         log of X_ADJ not X when adjusting exponent.
2495         (__ieee754_gammal_r): Do intermediate computations in
2496         round-to-nearest then adjust overflowing and underflowing results
2497         as needed.  Use 1.0L not 1.0f as numerator of division.
2498         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2499         log of X_ADJ not X when adjusting exponent.
2500         (__ieee754_gammal_r): Do intermediate computations in
2501         round-to-nearest then adjust overflowing and underflowing results
2502         as needed.  Use 1.0L not 1.0f as numerator of division.
2503         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2504         of X_ADJ not X when adjusting exponent.
2505         (__ieee754_gammal_r): Do intermediate computations in
2506         round-to-nearest then adjust overflowing and underflowing results
2507         as needed.  Use 1.0L not 1.0f as numerator of division.
2508         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2509         to auto-libm-test-in.
2510         (tgamma_test): Use ALL_RM_TEST.
2511         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2512         tests of tgamma with spurious-overflow.
2513         * math/auto-libm-test-out: Regenerated.
2514         * math/gen-libm-have-vector-test.sh: Do not check for START.
2515         * sysdeps/i386/fpu/libm-test-ulps: Update.
2516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2518         [BZ #18612]
2519         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2520         arguments, just return 0.5 times the argument, with underflow
2521         forced as needed.
2522         * math/auto-libm-test-in: Add more tests of j1.
2523         * math/auto-libm-test-out: Regenerated.
2525         [BZ #16559]
2526         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2527         (__ieee754_j1): Force underflow exception for small results.
2528         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2529         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2530         (__ieee754_j1f): Force underflow exception for small results.
2531         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2532         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2533         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2534         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2535         (__ieee754_j1l): Force underflow exception for small results.
2536         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2537         * math/auto-libm-test-in: Add more tests of j1 and jn.
2538         * math/auto-libm-test-out: Regenerated.
2540         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2541         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2542         (PF_MPLS): Likewise.
2543         (AF_IB): Likewise.
2544         (AF_MPLS): Likewise.
2545         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2546         value and macro.
2547         (MS_RMT_MASK): Include MS_LAZYTIME.
2549 2015-06-26  Mel Gorman  <mgorman@suse.de>
2551         [BZ #18502]
2552         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2553         already minimal.
2555 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2557         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2558         (DT_MIPS_NUM): Update.
2559         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2560         DT_MIPS_RLD_MAP_REL.
2562 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2564         [BZ #16559]
2565         [BZ #18602]
2566         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2567         round-to-nearest internally then recompute results that
2568         underflowed to zero in the original rounding mode.
2569         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2570         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2571         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2572         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2573         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2574         * sysdeps/i386/fpu/libm-test-ulps: Update.
2575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2577 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2579         * NEWS: Fixed description of link with vector math library.
2581 2015-06-25  Andreas Schwab  <schwab@suse.de>
2583         [BZ #18549]
2584         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2585         * libio/test-fmemopen.c (do_test): Add test for it.
2587 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2589         [BZ #17841]
2590         * Makeconfig (no-pie-ldflag): New.
2591         (+link): Set to $(+link-pie) if default to PIE.
2592         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2593         * config.make.in (build-pie-default): New.
2594         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2595         is default.  AC_SUBST.
2596         * configure: Regenerated.
2597         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2599 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2601         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2602         to 'unsigned int'.
2604         * resolv/gai_misc.h (struct waitlist): Change type of field
2605         counterp to 'volatile unsigned int *'.
2606         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2607         FUTEXADDR and OLDVAL.
2608         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2609         Give local variable TOTAL type 'volatile unsigned int'.
2610         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2611         * resolv/gai_suspend.c (gai_suspend):
2612         Give local variable CNTR type 'unsigned int'.
2614         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2615         counterp to 'volatile unsigned int *'.
2616         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2617         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2618         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2619         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2620         Give local variable TOTAL type 'volatile unsigned int'.
2621         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2623 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2625         [BZ #18383]
2626         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2627         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2628         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2629         comment for i386/x86-64.
2630         (test-xfail-tst-tlsalign-extern-static): Removed.
2632 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2634         * math/test-double.h: New file.
2635         * math/test-float.h: Likewise.
2636         * math/test-ldouble.h: Likewise.
2637         * math/test-math-inline.h: Likewise.
2638         * math/test-math-no-inline.h: Likewise.
2639         * math/test-math-scalar.h: Likewise.
2640         * math/test-math-vector.h: Likewise.
2641         * math/test-vec-loop.h: Remove file.  Contents moved into
2642         test-math-vector.h.
2643         * math/libm-test.inc (MATHCONST): Do not document macro.
2644         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2645         and test-math-scalar.h.
2646         (FUNC): Remove macro.
2647         (FUNC_TEST): Likewise.
2648         (FLOAT): Likewise.
2649         (MATHCONST): Likewise.
2650         (PRINTF_EXPR): Likewise.
2651         (PRINTF_XEXPR): Likewise.
2652         (PRINTF_NEXPR): Likewise.
2653         (TEST_DOUBLE): Likewise.
2654         (TEST_MATHVEC): Likewise.
2655         (__NO_MATH_INLINES): Likewise.
2656         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2657         and test-math-scalar.h.
2658         (FUNC): Remove macro.
2659         (FUNC_TEST): Likewise.
2660         (FLOAT): Likewise.
2661         (MATHCONST): Likewise.
2662         (PRINTF_EXPR): Likewise.
2663         (PRINTF_XEXPR): Likewise.
2664         (PRINTF_NEXPR): Likewise.
2665         (TEST_FLOAT): Likewise.
2666         (TEST_MATHVEC): Likewise.
2667         (__NO_MATH_INLINES): Likewise.
2668         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2669         and test-math-scalar.h.
2670         (FUNC): Remove macro.
2671         (FUNC_TEST): Likewise.
2672         (FLOAT): Likewise.
2673         (MATHCONST): Likewise.
2674         (PRINTF_EXPR): Likewise.
2675         (PRINTF_XEXPR): Likewise.
2676         (PRINTF_NEXPR): Likewise.
2677         (TEST_DOUBLE): Likewise.
2678         (TEST_MATHVEC): Likewise.
2679         (TEST_INLINE): Likewise.
2680         (__NO_MATH_INLINES): Likewise.
2681         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2682         test-math-scalar.h.
2683         (FUNC): Remove macro.
2684         (FUNC_TEST): Likewise.
2685         (FLOAT): Likewise.
2686         (MATHCONST): Likewise.
2687         (PRINTF_EXPR): Likewise.
2688         (PRINTF_XEXPR): Likewise.
2689         (PRINTF_NEXPR): Likewise.
2690         (TEST_FLOAT): Likewise.
2691         (TEST_MATHVEC): Likewise.
2692         (TEST_INLINE): Likewise.
2693         (__NO_MATH_INLINES): Likewise.
2694         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2695         and test-math-scalar.h.
2696         (FUNC): Remove macro.
2697         (FUNC_TEST): Likewise.
2698         (FLOAT): Likewise.
2699         (MATHCONST): Likewise.
2700         (PRINTF_EXPR): Likewise.
2701         (PRINTF_XEXPR): Likewise.
2702         (PRINTF_NEXPR): Likewise.
2703         (TEST_LDOUBLE): Likewise.
2704         (TEST_MATHVEC): Likewise.
2705         (TEST_INLINE): Likewise.
2706         (__NO_MATH_INLINES): Likewise.
2707         * math/test-ldouble.c: Include test-ldouble.h,
2708         test-math-no-inline.h and test-math-scalar.h.
2709         (FUNC): Remove macro.
2710         (FUNC_TEST): Likewise.
2711         (FLOAT): Likewise.
2712         (MATHCONST): Likewise.
2713         (PRINTF_EXPR): Likewise.
2714         (PRINTF_XEXPR): Likewise.
2715         (PRINTF_NEXPR): Likewise.
2716         (TEST_LDOUBLE): Likewise.
2717         (TEST_MATHVEC): Likewise.
2718         (__NO_MATH_INLINES): Likewise.
2719         * math/test-double-vlen2.h: Include test-double.h,
2720         test-math-no-inline.h and test-math-vector.h.
2721         (FLOAT): Remove macro.
2722         (FUNC): Likewise.
2723         (MATHCONST): Likewise.
2724         (PRINTF_EXPR): Likewise.
2725         (PRINTF_XEXPR): Likewise.
2726         (PRINTF_NEXPR): Likewise.
2727         (TEST_DOUBLE): Likewise.
2728         (TEST_MATHVEC): Likewise.
2729         (__NO_MATH_INLINES): Likewise.
2730         (CNCT): Likewise.
2731         (CONCAT): Likewise.
2732         (WRAPPER_NAME): Likewise.
2733         (WRAPPER_DECL): Likewise.
2734         (WRAPPER_DECL_ff): Likewise.
2735         (WRAPPER_DECL_fFF): Likewise.
2736         (VECTOR_WRAPPER): Likewise.
2737         (VECTOR_WRAPPER_ff): Likewise.
2738         (VECTOR_WRAPPER_fFF): Likewise.
2739         (VEC_LEN): New macro.
2740         * math/test-double-vlen4.h: Include test-double.h,
2741         test-math-no-inline.h and test-math-vector.h.
2742         (FLOAT): Remove macro.
2743         (FUNC): Likewise.
2744         (MATHCONST): Likewise.
2745         (PRINTF_EXPR): Likewise.
2746         (PRINTF_XEXPR): Likewise.
2747         (PRINTF_NEXPR): Likewise.
2748         (TEST_DOUBLE): Likewise.
2749         (TEST_MATHVEC): Likewise.
2750         (__NO_MATH_INLINES): Likewise.
2751         (CNCT): Likewise.
2752         (CONCAT): Likewise.
2753         (WRAPPER_NAME): Likewise.
2754         (WRAPPER_DECL): Likewise.
2755         (WRAPPER_DECL_ff): Likewise.
2756         (WRAPPER_DECL_fFF): Likewise.
2757         (VECTOR_WRAPPER): Likewise.
2758         (VECTOR_WRAPPER_ff): Likewise.
2759         (VECTOR_WRAPPER_fFF): Likewise.
2760         (VEC_LEN): New macro.
2761         * math/test-double-vlen8.h: Include test-double.h,
2762         test-math-no-inline.h and test-math-vector.h.
2763         (FLOAT): Remove macro.
2764         (FUNC): Likewise.
2765         (MATHCONST): Likewise.
2766         (PRINTF_EXPR): Likewise.
2767         (PRINTF_XEXPR): Likewise.
2768         (PRINTF_NEXPR): Likewise.
2769         (TEST_DOUBLE): Likewise.
2770         (TEST_MATHVEC): Likewise.
2771         (__NO_MATH_INLINES): Likewise.
2772         (CNCT): Likewise.
2773         (CONCAT): Likewise.
2774         (WRAPPER_NAME): Likewise.
2775         (WRAPPER_DECL): Likewise.
2776         (WRAPPER_DECL_ff): Likewise.
2777         (WRAPPER_DECL_fFF): Likewise.
2778         (VECTOR_WRAPPER): Likewise.
2779         (VECTOR_WRAPPER_ff): Likewise.
2780         (VECTOR_WRAPPER_fFF): Likewise.
2781         (VEC_LEN): New macro.
2782         * math/test-float-vlen4.h: Include test-float.h,
2783         test-math-no-inline.h and test-math-vector.h.
2784         (FLOAT): Remove macro.
2785         (FUNC): Likewise.
2786         (MATHCONST): Likewise.
2787         (PRINTF_EXPR): Likewise.
2788         (PRINTF_XEXPR): Likewise.
2789         (PRINTF_NEXPR): Likewise.
2790         (TEST_FLOAT): Likewise.
2791         (TEST_MATHVEC): Likewise.
2792         (__NO_MATH_INLINES): Likewise.
2793         (CNCT): Likewise.
2794         (CONCAT): Likewise.
2795         (WRAPPER_NAME): Likewise.
2796         (WRAPPER_DECL): Likewise.
2797         (WRAPPER_DECL_ff): Likewise.
2798         (WRAPPER_DECL_fFF): Likewise.
2799         (VECTOR_WRAPPER): Likewise.
2800         (VECTOR_WRAPPER_ff): Likewise.
2801         (VECTOR_WRAPPER_fFF): Likewise.
2802         (VEC_LEN): New macro.
2803         * math/test-float-vlen8.h: Include test-float.h,
2804         test-math-no-inline.h and test-math-vector.h.
2805         (FLOAT): Remove macro.
2806         (FUNC): Likewise.
2807         (MATHCONST): Likewise.
2808         (PRINTF_EXPR): Likewise.
2809         (PRINTF_XEXPR): Likewise.
2810         (PRINTF_NEXPR): Likewise.
2811         (TEST_FLOAT): Likewise.
2812         (TEST_MATHVEC): Likewise.
2813         (__NO_MATH_INLINES): Likewise.
2814         (CNCT): Likewise.
2815         (CONCAT): Likewise.
2816         (WRAPPER_NAME): Likewise.
2817         (WRAPPER_DECL): Likewise.
2818         (WRAPPER_DECL_ff): Likewise.
2819         (WRAPPER_DECL_fFF): Likewise.
2820         (VECTOR_WRAPPER): Likewise.
2821         (VECTOR_WRAPPER_ff): Likewise.
2822         (VECTOR_WRAPPER_fFF): Likewise.
2823         (VEC_LEN): New macro.
2824         * math/test-float-vlen16.h: Include test-float.h,
2825         test-math-no-inline.h and test-math-vector.h.
2826         (FLOAT): Remove macro.
2827         (FUNC): Likewise.
2828         (MATHCONST): Likewise.
2829         (PRINTF_EXPR): Likewise.
2830         (PRINTF_XEXPR): Likewise.
2831         (PRINTF_NEXPR): Likewise.
2832         (TEST_FLOAT): Likewise.
2833         (TEST_MATHVEC): Likewise.
2834         (__NO_MATH_INLINES): Likewise.
2835         (CNCT): Likewise.
2836         (CONCAT): Likewise.
2837         (WRAPPER_NAME): Likewise.
2838         (WRAPPER_DECL): Likewise.
2839         (WRAPPER_DECL_ff): Likewise.
2840         (WRAPPER_DECL_fFF): Likewise.
2841         (VECTOR_WRAPPER): Likewise.
2842         (VECTOR_WRAPPER_ff): Likewise.
2843         (VECTOR_WRAPPER_fFF): Likewise.
2844         (VEC_LEN): New macro.
2845         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2846         test-vec-loop.h.
2847         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2848         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2849         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2850         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2851         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2852         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2853         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2855 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2857         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2858         (__getlogin_r): ... this.
2860 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2862         [BZ #18594]
2863         * math/s_ccosh.c (__ccosh): Compare with least normal value
2864         instead of comparing class with FP_SUBNORMAL.
2865         * math/s_ccoshf.c (__ccoshf): Likewise.
2866         * math/s_ccoshl.c (__ccoshl): Likewise.
2867         * math/s_cexp.c (__cexp): Likewise.
2868         * math/s_cexpf.c (__cexpf): Likewise.
2869         * math/s_cexpl.c (__cexpl): Likewise.
2870         * math/s_csin.c (__csin): Likewise.
2871         * math/s_csinf.c (__csinf): Likewise.
2872         * math/s_csinh.c (__csinh): Likewise.
2873         * math/s_csinhf.c (__csinhf): Likewise.
2874         * math/s_csinhl.c (__csinhl): Likewise.
2875         * math/s_csinl.c (__csinl): Likewise.
2876         * math/s_ctan.c (__ctan): Likewise.
2877         * math/s_ctanf.c (__ctanf): Likewise.
2878         * math/s_ctanh.c (__ctanh): Likewise.
2879         * math/s_ctanhf.c (__ctanhf): Likewise.
2880         * math/s_ctanhl.c (__ctanhl): Likewise.
2881         * math/s_ctanl.c (__ctanl): Likewise.
2882         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2883         csin, csinh, ctan and ctanh.
2884         * math/auto-libm-test-out: Regenerated.
2885         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2886         * sysdeps/i386/fpu/libm-test-ulps: Update.
2887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2889 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2891         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2892         return value is wrong, print the expected value too.
2894 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2896         [BZ #18585]
2897         * elf/readlib.c (is_gdb_python_file): New.
2898         (process_file): Don't issue errors on filenames with -gdb.py
2899         suffix.
2901 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2903         * math/auto-libm-test-in: Add more tests of csin and csinh.
2904         * math/auto-libm-test-out: Regenerated.
2905         * math/libm-test.inc (csin_test_data): Remove tests moved to
2906         auto-libm-test-in.
2907         (csinh_test_data): Likewise.
2909         [BZ #18593]
2910         * math/s_csin.c (__csin): Negate before rather than after possibly
2911         overflowing multiplication.
2912         * math/s_csinf.c (__csinf): Likewise.
2913         * math/s_csinh.c (__csinh): Likewise.
2914         * math/s_csinhf.c (__csinhf): Likewise.
2915         * math/s_csinhl.c (__csinhl): Likewise.
2916         * math/s_csinl.c (__csinl): Likewise.
2917         * math/auto-libm-test-in: Add some tests of csin and csinh.
2918         * math/auto-libm-test-out: Regenerated.
2919         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2920         (csinh_test_data): Likewise.
2921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2923         [BZ #18586]
2924         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2925         underflow exception for small results.
2927 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2929         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2930         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2931         variable and included header.
2932         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2933         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2934         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2935         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2936         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2937         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2938         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2939         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2940         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2941         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2942         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2943         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2944         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2945         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2946         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2947         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2949 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2951         [BZ #16526]
2952         [BZ #16538]
2953         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2954         (__sin): Force underflow exception for arguments with small
2955         absolute value.
2956         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2957         (__kernel_sinf): Force underflow exception for arguments with
2958         small absolute value.
2959         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2960         (__kernel_sincosl): Force underflow exception for arguments with
2961         small absolute value.
2962         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2963         (__kernel_sinl): Force underflow exception for arguments with
2964         small absolute value.
2965         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2966         (__kernel_sincosl): Force underflow exception for arguments with
2967         small absolute value.
2968         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2969         (__kernel_sinl): Force underflow exception for arguments with
2970         small absolute value.
2971         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2972         (__kernel_sinl): Force underflow exception for arguments with
2973         small absolute value.
2974         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2975         (__kernel_sinf): Force underflow exception for arguments with
2976         small absolute value.
2977         * math/auto-libm-test-in: Add more tests of sin and sincos.
2978         * math/auto-libm-test-out: Regenerated.
2980         [BZ #18245]
2981         [BZ #18583]
2982         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2983         (__kernel_standard_l): Use feholdexcept and fesetenv around
2984         conversion to double instead of special-casing overflow and
2985         underflow.
2986         * math/libm-test.inc (fmod_test_data): Add more tests.
2987         (remainder_test_data): Likewise.
2988         (sqrt_test_data): Likewise.
2990 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2992         [BZ #17403]
2993         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2994         atomic_read_barrier, atomic_write_barrier): Define.
2995         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2996         atomic_read_barrier, atomic_write_barrier): Define.
2998 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3000         * math/Makefile [$(PERL) != no]
3001         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3002         dependency on libm-test.stmp below the inclusion of Rules.
3004 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3006         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3007         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3008         and included header.
3009         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3010         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3011         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3012         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3013         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3014         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3015         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3016         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3017         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3018         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3019         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3020         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3021         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3022         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3023         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3024         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3025         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3026         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3027         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3029 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3031         [BZ #18371]
3032         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3033         intermediate but not final result might underflow.
3034         * math/s_csqrtf.c (__csqrtf): Likewise.
3035         * math/s_csqrtl.c (__csqrtl): Likewise.
3036         * math/auto-libm-test-in: Add more tests of csqrt.
3037         * math/auto-libm-test-out: Regenerated.
3038         * sysdeps/i386/fpu/libm-test-ulps: Update.
3040         [BZ #18219]
3041         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3042         threshold on absolute value of exponent for which scaling is used.
3043         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3044         * math/auto-libm-test-in: Add more tests of exp2.
3045         * math/auto-libm-test-out: Regenerated.
3047 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3049         [BZ #17977]
3050         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3051         when initializing interface list, based on the bug analysis
3052         and the patch proposed by Eric Newton.
3053         * resolv/tst-res_hconf_reorder.c: New test.
3054         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3055         tst-res_hconf_reorder.
3056         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3057         and $(shared-thread-library).
3058         (tst-res_hconf_reorder-ENV): New variable.
3060         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3061         in comment.
3063 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3065         [BZ #16353]
3066         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3067         (__expm1): Force underflow exception for arguments with small
3068         absolute value.
3069         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3070         (__expm1f): Force underflow exception for arguments with small
3071         absolute value.
3072         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3073         (__expm1): Force underflow exception for arguments with small
3074         absolute value.
3075         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3076         (__expm1f): Force underflow exception for arguments with small
3077         absolute value.
3078         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3079         Check for small arguments before calling __expm1.
3080         * math/auto-libm-test-in: Do not mark underflow exceptions as
3081         possibly missing for bug 16353.
3082         * math/auto-libm-test-out: Regenerated.
3084 2015-06-22  Andreas Schwab  <schwab@suse.de>
3086         [BZ #18513]
3087         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3088         PTR queries.
3090 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3092         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3094         * string/strcoll_l.c: Remove unused struct element idxnow.
3096 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3098         [BZ #18569]
3099         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3100         underflow and return argument in case of subnormal argument.
3101         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3102         Likewise.
3103         * math/auto-libm-test-in: Add more tests of expm1.
3104         * math/auto-libm-test-out: Regenerated.
3106         [BZ #16361]
3107         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3108         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3109         tiny results.
3110         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3111         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3112         tiny results.
3113         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3114         mark underflow exceptions as possibly missing for bug 16361.
3115         * math/auto-libm-test-out: Regenerated.
3117 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3119         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3120         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3121         Remove variable.
3122         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3123         (test-xfail-XOPEN2K8/utmpx.h/conform).
3125         * conform/conformtest.pl ($xerrors): New variable.
3126         (note_error): New function.
3127         (compiletest): New argument $xfail.  Use not_error.
3128         (runtest): Likewise.
3129         (top level): Handle xfail- lines.  Update calls to compiletest and
3130         runtest.  Handle xfail- and optional- in headers listed with
3131         allow-header.
3132         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3133         (O_EXEC): Likewise.
3134         (O_SEARCH): Likewise.
3135         * conform/data/stropts.h-data (ioctl): Likewise.
3136         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3137         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3138         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3139         (msghdr.msg_controllen): Likewise.
3140         (cmsghdr.cmsg_len): Likewise.
3141         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3142         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3143         variable.
3144         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3145         (test-xfail-XPG4/stropts.h/conform): Likewise.
3146         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3147         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3148         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3149         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3150         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3151         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3152         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3153         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3154         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3155         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3156         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3157         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3158         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3159         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3160         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3161         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3162         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3163         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3164         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3166 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3168         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3169         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3170         definitions for proper unfolding of __MATHDECL_VEC.
3172 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3174         * benchtests/bench-strcoll.c:
3175         Include string.h.
3176         (main): Remove unused variable res.
3178 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3180         * timezone/Makefile (%/UTC %/Universal):
3181         Generate test-result files for UTC and Universal.
3183 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3185         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3187 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3189         [BZ #16350]
3190         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3191         for arguments with small absolute value.
3192         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3193         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3194         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3195         (__asinh): Force underflow exception for arguments with small
3196         absolute value.
3197         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3198         (__asinhf): Force underflow exception for arguments with small
3199         absolute value.
3200         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3201         (__asinhl): Force underflow exception for arguments with small
3202         absolute value.
3203         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3204         (__asinhl): Force underflow exception for arguments with small
3205         absolute value.
3206         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3207         (__asinhl): Force underflow exception for arguments with small
3208         absolute value.
3209         * math/auto-libm-test-in: Do not mark underflow exceptions as
3210         possibly missing for bug 16350.
3211         * math/auto-libm-test-out: Regenerated.
3213         * include/bits/ipc.h: Remove file.
3214         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3215         variable.
3216         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3217         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3218         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3219         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3220         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3221         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3222         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3223         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3224         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3226         * math/auto-libm-test-in: Remove spurious underflow allowance for
3227         tests of cexp.
3228         * math/auto-libm-test-out: Regenerated.
3230         [BZ #18558]
3231         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3232         unconditional definition.
3233         (MCAST_BLOCK_SOURCE): Likewise.
3234         (MCAST_UNBLOCK_SOURCE): Likewise.
3235         (MCAST_LEAVE_GROUP): Likewise.
3236         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3237         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3238         (MCAST_MSFILTER): Likewise.
3239         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3240         Remove variable.
3241         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3242         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3243         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3244         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3245         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3247 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3249         * NEWS: Mention addition of x86_64 vector sincosf.
3250         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3251         * math/test-float-vlen4.h: Likewise.
3252         * math/test-float-vlen8.h: Likewise.
3253         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3254         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3255         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3256         * sysdeps/x86_64/fpu/Versions: New versions added.
3257         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3258         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3259         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3260         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3261         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3262         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3263         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3264         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3266         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3267         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3268         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3269         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3270         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3271         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3272         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3273         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3274         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3275         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3276         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3277         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3278         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3279         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3280         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3282         * NEWS: Mention addition of x86_64 vector sincos.
3283         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3284         * math/math.h (__MATHDECL_VEC): New macro.
3285         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3286         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3287         declaration under condition.
3288         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3289         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3290         TEST_VEC_LOOP change.
3291         * math/test-double-vlen4.h: Likewise.
3292         * math/test-double-vlen8.h: Likewise.
3293         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3294         * math/test-float-vlen4.h: Likewise.
3295         * math/test-float-vlen8.h: Likewise.
3296         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3297         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3298         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3299         * sysdeps/x86_64/fpu/Versions: New versions added.
3300         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3301         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3302         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3303         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3304         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3305         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3306         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3308         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3309         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3310         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3311         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3312         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3313         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3314         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3315         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3316         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3317         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3318         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3319         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3320         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3321         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3322         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3323         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3325         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3326         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3327         redirections for powf.
3328         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3329         * sysdeps/x86_64/fpu/Versions: New versions added.
3330         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3331         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3332         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3333         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3334         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3335         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3336         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3337         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3338         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3339         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3340         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3341         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3342         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3343         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3344         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3345         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3346         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3347         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3348         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3349         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3350         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3351         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3352         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3353         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3354         * math/test-float-vlen16.h: Fixed 2 argument macro.
3355         * math/test-float-vlen4.h: Likewise.
3356         * math/test-float-vlen8.h: Likewise.
3357         * NEWS: Mention addition of x86_64 vector powf.
3359 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3361         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3362         and redefine.
3363         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3364         and redefine.
3365         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3366         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3367         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3369         [BZ #18553]
3370         * resource/getpriority.c (getpriority): Rename to __getpriority
3371         and define as weak alias of __getpriority.
3372         * resource/setpriority.c (setpriority): Rename to __setpriority
3373         and define as weak alias of __setpriority.
3374         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3375         __getpriority and define as weak alias of __getpriority.
3376         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3377         __setpriority and define as weak alias of __setpriority.
3378         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3379         strong name.
3380         (setpriority): Use __setpriority as strong name.
3381         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3382         __getpriority and define as weak alias of __getpriority.
3383         * include/sys/resource.h (__getpriority): Declare.  Use
3384         libc_hidden_proto.
3385         (__setpriority): Likewise.
3386         (getpriority): Don't use libc_hidden_proto.
3387         (setpriority): Likewise.
3388         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3389         getpriority.  Call __setpriority instead of setpriority.
3390         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3391         Remove variable.
3393         [BZ #18547]
3394         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3395         as weak alias of __getttynam.  Use prototype function definition.
3396         Call __setttyent, __getttyent and __endttyent instead of
3397         setttyent, getttyent and endttyent.
3398         (getttyent): Rename to __getttyent and define as weak alias of
3399         __getttyent.  Call __setttyent instead of setttyent.  Call
3400         __fgets_unlocked instead of fgets_unlocked.
3401         (setttyent): Rename to __setttyent and define as weak alias of
3402         __setttyent.
3403         (endttyent): Rename to __endttyent and define as weak alias of
3404         __endttyent.
3405         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3406         (__setttyent): Likewise.
3407         (__endttyent): Likewise.
3408         (getttyent): Don't use libc_hidden_proto.
3409         (setttyent): Likewise.
3410         (endttyent): Likewise.
3411         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3412         __endttyent instead of setttyent, getttyent and endttyent.
3413         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3414         Remove variable.
3416         [BZ #18546]
3417         * socket/recv.c (__recv): Use libc_hidden_def.
3418         * socket/socket.c (__socket): Likewise.
3419         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3420         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3421         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3422         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3423         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3424         libc_hidden_def.
3425         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3426         libc_hidden_weak.
3427         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3428         Use libc_hidden_proto.
3429         (__recv): Likewise.
3430         * socket/Versions (libc): Export __recv and __socket at version
3431         GLIBC_PRIVATE.
3432         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3433         instead of recv.
3434         (init_mq_netlink): Call __socket instead of socket.
3435         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3436         Remove variable.
3438         [BZ #18545]
3439         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3440         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3441         hidden_weak.
3442         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3443         define as alias of __mq_timedsend.  Use hidden_weak.
3444         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3445         __mq_timedsend as strong name.
3446         (mq_timedreceive): Use __mq_timedreceive as strong name.
3447         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3448         (__mq_timedreceive): Likewise.
3449         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3450         __mq_timedreceive instead of mq_timedreceive.
3451         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3452         instead of mq_timedsend.
3453         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3454         Remove variable.
3456         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3457         hidden_def and hidden_weak instead of libc_hidden_def and
3458         libc_hidden_weak.
3459         (top level): Refer to hidden_def in comment.
3460         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3461         macro.  Use it instead of libc_hidden_def.
3462         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3463         specify __GI_* name explicitly.
3464         (mq_timedreceive): Likewise.
3465         (mq_setattr): Likewise.
3467         [BZ #18544]
3468         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3469         __pthread_barrier_init and define as weak alias of
3470         __pthread_barrier_init.
3471         * sysdeps/sparc/nptl/pthread_barrier_init.c
3472         (pthread_barrier_init): Likewise.
3473         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3474         __pthread_barrier_wait and define as weak alias of
3475         __pthread_barrier_wait.
3476         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3477         (pthread_barrier_wait): Likewise.
3478         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3479         (pthread_barrier_wait): Likewise.
3480         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3481         (pthread_barrier_wait): Likewise.
3482         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3483         (pthread_barrier_wait): Likewise.
3484         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3485         __pthread_barrier_wait at version GLIBC_PRIVATE.
3486         * include/pthread.h (__pthread_barrier_init): Declare.
3487         (__pthread_barrier_wait): Likewise.
3488         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3489         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3490         (helper_thread): Likewise.
3491         (init_mq_netlink): Call __pthread_barrier_init instead of
3492         pthread_barrier_init.
3494         [BZ #18542]
3495         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3496         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3497         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3498         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3499         vswscanf.
3500         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3501         Remove variable.
3503         [BZ #18540]
3504         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3505         strong alias of _IO_fflush.  Use libc_hidden_def.
3506         * libio/iofflush_u.c (fflush_unlocked): Rename to
3507         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3508         Use libc_hidden_weak.
3509         * include/stdio.h (__fflush_unlocked): Declare.  Use
3510         libc_hidden_proto.
3511         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3512         fflush_unlocked.
3513         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3514         Remove variable.
3516         [BZ #18539]
3517         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3518         define as weak alias of __addseverity.
3519         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3520         Remove variable.
3521         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3522         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3523         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3525         [BZ #18536]
3526         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3527         (__tfind): Likewise.
3528         (__tdelete): Likewise.
3529         (__twalk): Likewise.
3530         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3531         __twalk to GLIBC_PRIVATE.
3532         * include/search.h (__tsearch): Use libc_hidden_proto.
3533         (__tfind): Likewise.
3534         (__tdelete): Likewise.
3535         (__twalk): Likewise.
3536         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3537         Call __tdelete instead of tdelete.
3538         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3539         tfind.  Call __tsearch instead of tsearch.
3540         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3541         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3542         Remove variable.
3543         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3545         [BZ #18534]
3546         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3547         (dprintf): Define as a weak alias of __dprintf, not a strong
3548         alias.
3549         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3550         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3551         dprintf.
3552         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3553         Remove variable.
3554         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3555         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3557         [BZ #18533]
3558         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3559         not a strong alias.
3560         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3561         Remove variable.
3563         [BZ #18532]
3564         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3565         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3566         (in6addr_loopback): Rename to __in6addr_loopback and define as
3567         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3568         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3569         libc_hidden_proto.
3570         (__in6addr_any): Likewise.
3571         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3572         in6addr_any.
3573         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3574         variable.
3575         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3577 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3579         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3580         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3581         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3582         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3583         redirections for pow.
3584         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3585         * sysdeps/x86_64/fpu/Versions: New versions added.
3586         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3587         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3588         build of SSE, AVX2 and AVX512 IFUNC versions.
3589         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3590         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3591         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3592         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3593         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3594         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3595         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3596         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3597         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3598         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3599         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3600         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3601         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3602         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3603         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3604         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3605         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3606         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3607         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3608         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3609         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3610         * NEWS: Mention addition of x86_64 vector pow.
3612         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3613         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3614         redirections for expf.
3615         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3616         * sysdeps/x86_64/fpu/Versions: New versions added.
3617         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3618         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3619         build of SSE, AVX2 and AVX512 IFUNC versions.
3620         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3621         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3622         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3623         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3624         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3625         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3626         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3627         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3628         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3629         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3630         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3631         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3632         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3633         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3634         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3635         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3636         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3637         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3638         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3639         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3640         * NEWS: Mention addition of x86_64 vector expf.
3642         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3643         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3644         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3645         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3646         redirections for exp.
3647         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3648         * sysdeps/x86_64/fpu/Versions: New versions added.
3649         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3650         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3651         build of SSE, AVX2 and AVX512 IFUNC versions.
3652         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3653         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3654         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3655         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3656         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3657         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3658         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3659         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3660         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3661         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3662         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3663         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3664         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3665         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3666         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3667         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3668         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3669         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3670         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3671         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3672         * NEWS: Mention addition of x86_64 vector exp.
3674         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3675         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3676         redirections for logf.
3677         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3678         * sysdeps/x86_64/fpu/Versions: New versions added.
3679         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3680         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3681         build of SSE, AVX2 and AVX512 IFUNC versions.
3682         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3683         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3684         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3685         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3686         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3687         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3688         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3689         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3690         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3691         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3692         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3693         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3694         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3695         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3696         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3697         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3698         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3699         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3700         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3701         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3702         * NEWS: Mention addition of x86_64 vector logf.
3704         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3705         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3706         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3707         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3708         redirections for log.
3709         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3710         * sysdeps/x86_64/fpu/Versions: New versions added.
3711         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3712         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3713         build of SSE, AVX2 and AVX512 IFUNC versions.
3714         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3715         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3716         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3717         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3718         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3719         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3720         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3721         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3722         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3723         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3724         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3725         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3726         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3727         test.
3728         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3729         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3730         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3731         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3732         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3733         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3734         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3735         * NEWS: Mention addition of x86_64 vector log.
3737 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3739         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3740         cfi_adjust_cfa_offset argument.
3741         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3742         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3744         [BZ #18034]
3745         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3746         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3747         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3748         ordering using ldar.
3749         (_dl_tlsdesc_dynamic): Likewise.
3750         (_dl_tlsdesc_return_lazy): Likewise.
3751         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3752         relaxed atomics instead of volatile and synchronize with release store.
3753         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3754         volatile.
3755         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3757 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3759         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3760         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3761         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3762         * sysdeps/x86_64/fpu/Versions: New versions added.
3763         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3764         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3765         build of SSE, AVX2 and AVX512 IFUNC versions.
3766         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3767         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3768         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3769         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3770         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3771         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3772         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3773         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3774         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3775         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3776         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3777         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3778         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3779         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3780         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3781         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3782         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3783         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3784         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3785         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3786         * NEWS: Mention addition of x86_64 vector sinf.
3788 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3790         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3791         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3792         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3793         Remove variable.
3794         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3795         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3797 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3799         [BZ #18530]
3800         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3801         strong alias of _IO_fputs.  Use libc_hidden_def.
3802         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3803         and define as weak alias of __fputs_unlocked.  Use
3804         libc_hidden_weak.
3805         * include/stdio.h (__fputs_unlocked): Declare.  Use
3806         libc_hidden_proto.
3807         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3808         fputs_unlocked.
3810         [BZ #18529]
3811         * resolv/netdb.h [__USE_POSIX]: Change condition to
3812         [__USE_XOPEN2K].
3813         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3814         not expect.
3815         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3816         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3817         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3818         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3819         [XPG4 || UNIX98] (AI_ALL): Likewise.
3820         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3821         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3822         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3823         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3824         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3825         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3826         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3827         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3828         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3829         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3830         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3831         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3832         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3833         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3834         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3835         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3836         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3837         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3838         [XPG4 || UNIX98] (gai_strerror): Likewise.
3839         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3840         [XPG4 || UNIX98] (getnameinfo): Likewise.
3842         [BZ #18528]
3843         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3844         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3845         __USE_XOPEN2K8].
3846         (getgrent): Likewise.
3847         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3848         expect.
3849         [XPG3 || POSIX2008] (endgrent): Likewise.
3850         [XPG3] (setgrent): Likewise.
3851         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3852         variable.
3853         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3855         [BZ #18527]
3856         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3857         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3858         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3859         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3860         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3861         * include/unistd.h (__getlogin_r): Declare.  Use
3862         libc_hidden_proto.
3863         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3864         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3865         variable.
3866         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3867         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3868         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3870 2015-06-12  Martin Sebor  <msebor@redhat.com>
3872         [BZ #18512]
3873         * Makerules (check-install-supported): New target.
3874         (install): Add check-install-supported as a dependency.
3875         * manual/install.texi (Installing the C Library): Document
3876         that overriding prefix and exec_prefix is not supported.
3877         Mention DESTDIR.
3878         * INSTALL: Regenerate from the above.
3880 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3882         [BZ #18519]
3883         * posix/Versions (libc): Export __libc_pread at version
3884         GLIBC_PRIVATE.
3885         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3886         instead of pread.
3887         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3888         variable.
3890         [BZ #18522]
3891         * misc/efgcvt_r.c
3892         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3893         (cvt_symbol): Use weak_alias instead of strong_alias.
3894         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3895         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3896         Remove variable.
3897         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3898         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3900         [BZ #18520]
3901         * inet/herrno.c (h_errno): Rename to __h_errno.
3902         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3903         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3904         to __h_errno instead of h_errno.
3905         * nptl/herrno.c (h_errno): Rename to __h_errno.
3906         (__h_errno_location): Refer to __h_errno not h_errno.
3907         * resolv/Versions (h_errno): Rename to __h_errno.
3908         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3909         Remove variable.
3910         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3912 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3914         * configure.ac: More strict check for AVX512 assembler support.
3915         * configure: Regenerated.
3917         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3918         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3919         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3920         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3921         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3922         * sysdeps/x86_64/fpu/Versions: New versions added.
3923         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3924         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3925         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3926         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3927         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3928         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3929         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3930         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3931         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3932         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3933         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3934         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3935         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3936         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3937         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3938         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3939         test.
3940         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3941         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3942         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3943         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3944         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3945         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3946         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3947         * NEWS: Mention addition of x86_64 vector sin.
3949 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3951         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3952         comment.
3954 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3956         [BZ #18479]
3957         * nptl/pt-interp.c: New file.
3958         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3959         Add pt-interp.
3960         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3961         $(common-objpfx)runtime-linker.h.
3963 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3965         * Makeconfig (+interp): Remove unused variable.
3966         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3967         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3968         $(elf-objpfx)runtime-linker.h.
3969         ($(elf-objpfx)runtime-linker.h): Rename to
3970         $(common-objpfx)runtime-linker.h and move ...
3971         * Makerules [$(build-shared) = yes]: ... here.
3972         * elf/interp.c: Include <runtime-linker.h> instead of
3973         <elf/runtime-linker.h>.
3975 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3977         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3978         (__gettimeofday_syscall): Remove vsyscall fallback.
3979         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3980         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3981         Add syscall fallback function.
3982         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3983         if vDSO is not present.
3984         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3985         fallback function.
3986         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3987         present.
3988         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3989         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3991 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3993         [BZ #18497]
3994         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3995         of wcscmp.
3996         (wcscmp): Define as weak alias of WCSCMP.
3997         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3998         wcscoll.
3999         (USE_HIDDEN_DEF): Define.
4000         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4001         __wcscoll.  Don't use libc_hidden_weak.
4002         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4003         wcscmp.
4004         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4005         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4006         __GI_wcscmp.
4007         (weak_alias): Undefine and redefine.
4008         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4009         __wcscmp and define as weak alias of __wcscmp.
4010         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4011         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4012         (__wcscoll): Likewise.
4013         (wcscmp): Don't use libc_hidden_proto.
4014         (wcscoll): Likewise.
4015         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4016         wcscoll.
4017         * posix/regexec.c (check_node_accept_bytes): Likewise.
4018         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4019         variable.
4020         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4021         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4023         [BZ #18507]
4024         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4025         __fstatvfs and define as weak alias of __fstatvfs.  Use
4026         libc_hidden_weak.
4027         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4028         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4029         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4030         Define as alias of __fstatvfs, not fstatvfs.
4031         (fstatvfs64): Likewise.
4032         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4033         Define as alias of __statvfs, not statvfs.
4034         (statvfs64): Likewise.
4035         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4036         Remove variable.
4038 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4041         (HAVE_GETCPU_VSYSCALL): Define.
4042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4043         (HAVE_GETCPU_VSYSCALL): Likewise.
4044         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4045         * sysdeps/unix/sysv/linux/sched_getcpu.c
4046         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4047         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4048         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4049         prototype.
4050         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4051         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4052         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4054         Define.
4055         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4056         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4057         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4058         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4060 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4062         * sysdeps/x86_64/fpu/Makefile: New file.
4063         * sysdeps/x86_64/fpu/Versions: New file.
4064         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4065         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4066         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4067         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4068         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4069         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4070         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4071         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4072         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4073         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4074         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4075         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4076         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4077         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4078         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4079         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4080         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4081         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4082         * sysdeps/x86_64/configure: Regenerated.
4083         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4084         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4085         * manual/install.texi (Configuring and compiling): Document
4086         --disable-mathvec.
4087         * INSTALL: Regenerated.
4088         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4090         * math/Makefile: Added rules for vector tests.
4091         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4092         declaration under condition.
4093         * math/test-double-vlen2.h: New file.
4094         * math/test-double-vlen4.h: New file.
4095         * math/test-double-vlen8.h: New file.
4096         * math/test-vec-loop.h: Added initialization macro.
4097         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4098         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4099         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4100         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4101         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4102         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4103         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4104         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4105         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4106         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4107         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4109         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4110         * sysdeps/x86_64/fpu/Versions: New versions added.
4111         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4112         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4114         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4115         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4116         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4117         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4118         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4119         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4120         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4121         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4122         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4123         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4124         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4125         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4126         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4127         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4128         * NEWS: Mention addition of x86_64 vector cosf.
4130         * math/Makefile: Added CFLAGS for new tests.
4131         * math/test-float-vlen16.h: New file.
4132         * math/test-float-vlen4.h: New file.
4133         * math/test-float-vlen8.h: New file.
4134         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4135         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4136         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4137         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4138         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4139         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4140         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4141         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4142         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4143         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4144         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4146 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4148         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4149         * locale/programs/ld-ctype.c: Likewise.
4151 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4153         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4154         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4155         bit_ZMM16_31_state): New macro.
4156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4157         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4159 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4161         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4163 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4165         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4167 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4169         [BZ #18498]
4170         * libio/memstream.c (open_memstream): Rename to __open_memstream
4171         and define as weak alias of __open_memstream.
4172         * include/stdio.h (__open_memstream): Declare.  Use
4173         libc_hidden_proto.
4174         (open_memstream): Don't use libc_hidden_proto.
4175         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4176         open_memstream.
4177         * posix/getopt.c (_getopt_internal_r): Likewise.
4178         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4179         variable.
4180         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4181         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4182         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4184         [BZ #18496]
4185         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4186         instead of wcrtomb.
4188         [BZ #18483]
4189         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4190         [__USE_XOPEN2K8].  Remove redundant #endif.
4191         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4192         Remove redundant #if.
4193         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4194         Remove variable.
4195         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4196         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4198         [BZ #18495]
4199         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4200         (__iswlower): Likewise.
4201         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4202         (__iswlower): Likewise.
4203         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4204         instead of towlower.
4205         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4206         instead of iswlower.  Call __towupper instead of towupper.
4207         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4208         instead of iswalnum.
4210 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4212         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4213         errors to stderr.
4215 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4217         [BZ #15661]
4218         [BZ #17322]
4219         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4220         Check for overflow properly.  Check for O_APPEND.  Ignore large
4221         file system block sizes.  Add comments about problems.
4222         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4223         * manual/filesys.texi (Storage Allocation): New node.
4225 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4227         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4228         cancellable syscalls.
4229         (SYS_ify): Add guard to no redefine it.
4230         (INLINE_SYSCALL): Likewise.
4231         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4232         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4233         SYSCALL_CANCEL instead.
4234         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4235         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4236         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4237         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4238         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4239         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4240         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4241         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4242         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4243         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4244         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4245         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4246         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4247         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4248         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4249         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4250         Likewise.
4251         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4252         (__libc_pread64): Likewise.
4253         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4254         (__libc_preadv): Likewise.
4255         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4256         (__libc_readv64): Likewise.
4257         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4258         (__libc_pwrite): Likewise.
4259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4260         (__libc_pwrite64): Likewise.
4261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4262         (__libc_pwritev): Likewise.
4263         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4264         (__libc_pwritev64): Likewise.
4265         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4266         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4267         (sync_file_range): Likewise.
4268         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4269         Likewise.
4270         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4271         Likewise.
4272         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4273         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4274         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4275         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4276         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4277         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4278         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4279         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4281         Likewise.
4282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4283         (__libc_read64): Likewise.
4284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4285         Likewise.
4286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4287         Likewise.
4288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4289         Likewise.
4290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4291         Likewise.
4292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4293         (__libc_pread64): Likewise.
4294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4295         Likewise.
4296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4297         (__libc_pwrite64): Likewise.
4298         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4299         (sync_file_range): Likewise.
4300         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4301         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4302         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4303         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4304         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4305         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4306         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4307         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4308         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4309         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4310         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4311         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4312         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4313         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4314         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4315         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4316         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4317         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4318         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4319         Likewise.
4320         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4321         Likewise.
4322         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4323         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4324         Likewise.
4325         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4326         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4327         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4328         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4329         Likewise.
4330         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4331         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4332         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4333         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4334         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4336 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4338         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4339         Include dl-vdso.
4340         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4341         Use VDSO routines for gettimeofday, clock_gettime if
4342         available.
4343         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4344         Declare VDSO symbols.
4345         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4346         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4347         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4348         * sysdeps/unix/sysv/linux/arm/Versions: Add
4349         __vdso_clock_gettime.
4351 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4353         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4354         be an inline implementation regardless of library is built within.
4355         (open_not_cancel_2): Likewise.
4356         (__read_nocancel): Likewise.
4357         (__write_nocancel): Likewise.
4358         (openat_not_cancel): Likewise.
4359         (openat_not_cancel_3): Likewise.
4360         (openat64_not_cancel): Likewise.
4361         (openat64_not_cancel_3): Likewise.
4362         (__close_nocancel): Likewise.
4363         (pause_not_cancel): Likewise.
4364         (nanosleep_not_cancel): Likewise.
4365         (sigsuspend_not_cancel): Likewise.
4367 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4369         [BZ #14958]
4370         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4371         wake-up.
4372         (__pthread_rwlock_rdlock_slow): Likewise.
4373         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4374         Likewise.
4375         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4376         Likewise.
4377         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4378         * nptl/tst-rwlock16.c: New file.
4379         * nptl/Makefile (tests): Add new test.
4381 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4383         [BZ #18324]
4384         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4385         missing wake-up of readers.
4386         * nptl/tst-rwlock15.c: New file.
4387         * nptl/Makefile (tests): Add new test.
4389 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4391         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4392         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4393         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4394         and __nacl_supply_interface_rtld.
4395         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4396         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4397         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4398         Add __nacl_supply_interface_rtld.
4399         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4401 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4403         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4404         isfinite.
4405         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4406         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4408 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4410         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4411         __signbit* with standard C99 macros.
4412         * math/e_exp10l.c: Likewise.
4413         * math/e_exp2l.c: Likewise.
4414         * math/e_scalb.c: Likewise.
4415         * math/e_scalbf.c: Likewise.
4416         * math/e_scalbl.c: Likewise.
4417         * math/s_ldexp.c: Likewise.
4418         * math/s_ldexpf.c: Likewise.
4419         * math/s_ldexpl.c: Likewise.
4420         * math/w_atan2.c: Likewise.
4421         * math/w_atan2f.c: Likewise.
4422         * math/w_atan2l.c: Likewise.
4423         * math/w_cosh.c: Likewise.
4424         * math/w_coshf.c: Likewise.
4425         * math/w_coshl.c: Likewise.
4426         * math/w_exp10.c: Likewise.
4427         * math/w_exp10f.c: Likewise.
4428         * math/w_exp10l.c: Likewise.
4429         * math/w_exp2.c: Likewise.
4430         * math/w_exp2f.c: Likewise.
4431         * math/w_exp2l.c: Likewise.
4432         * math/w_fmod.c: Likewise.
4433         * math/w_fmodf.c: Likewise.
4434         * math/w_fmodl.c: Likewise.
4435         * math/w_hypot.c: Likewise.
4436         * math/w_hypotf.c: Likewise.
4437         * math/w_hypotl.c: Likewise.
4438         * math/w_jnl.c: Likewise.
4439         * math/w_lgamma.c: Likewise.
4440         * math/w_lgamma_r.c: Likewise.
4441         * math/w_lgammaf.c: Likewise.
4442         * math/w_lgammaf_r.c: Likewise.
4443         * math/w_lgammal.c: Likewise.
4444         * math/w_lgammal_r.c: Likewise.
4445         * math/w_pow.c: Likewise.
4446         * math/w_powf.c: Likewise.
4447         * math/w_powl.c: Likewise.
4448         * math/w_remainder.c: Likewise.
4449         * math/w_remainderf.c: Likewise.
4450         * math/w_remainderl.c: Likewise.
4451         * math/w_scalb.c: Likewise.
4452         * math/w_scalbf.c: Likewise.
4453         * math/w_scalbl.c: Likewise.
4454         * math/w_scalbln.c: Likewise.
4455         * math/w_scalblnf.c: Likewise.
4456         * math/w_scalblnl.c: Likewise.
4457         * math/w_sinh.c: Likewise.
4458         * math/w_sinhf.c: Likewise.
4459         * math/w_sinhl.c: Likewise.
4460         * math/w_tgamma.c: Likewise.
4461         * math/w_tgammaf.c: Likewise.
4462         * math/w_tgammal.c: Likewise.
4463         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4464         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4465         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4466         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4467         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4468         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4469         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4470         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4471         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4472         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4473         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4474         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4475         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4476         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4477         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4478         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4479         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4480         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4481         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4482         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4483         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4484         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4485         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4486         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4487         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4488         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4489         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4490         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4491         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4492         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4493         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4494         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4495         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4496         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4497         * stdio-common/printf_fp.c: Likewise.
4498         * stdio-common/printf_fphex.c: Likewise.
4499         * stdio-common/printf_size.c: Likewise.
4501 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4503         [BZ #18470]
4504         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4505         strnlen.
4506         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4507         Remove variable.
4508         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4509         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4510         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4511         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4512         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4513         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4514         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4515         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4516         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4517         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4519         [BZ #18468]
4520         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4521         weak alias of __wmemchr.  Use libc_hidden_weak.
4522         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4523         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4524         instead of wmemchr.
4526 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4528         [BZ #18383]
4529         * elf/tst-tlsalign-extern.c: New file.
4530         * elf/tst-tlsalign-extern-static.c: New file.
4531         * elf/tst-tlsalign-vars.c: New file.
4532         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4533         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4534         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4535         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4536         (test-xfail-tst-tlsalign-extern-static): New variable.
4538 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4540         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4541         Use variable name _sc_err instead of err.
4542         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4543         instead of ret.
4544         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4545         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4546         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4547         (INLINE_SYSCALL): Likewise.
4549         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4550         * include/string.h (__strnlen): Use libc_hidden_proto.
4551         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4552         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4553         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4554         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4555         (libc_hidden_def): Undefine and redefine.
4556         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4557         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4558         __GI_strnlen.
4559         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4560         libc_hidden_def.
4561         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4563         [BZ #18469]
4564         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4565         weak alias of __towlower.  Use libc_hidden_weak.
4566         (towupper): Rename to __towupper and define as weak alias of
4567         __towupper.  Use libc_hidden_weak.
4568         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4569         (__towupper): Likewise.
4570         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4571         __towlower instead of towlower.
4573 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4575         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4576         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4578 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4580         * sysdeps/aarch64/libm-test-ulps: Update.
4582 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4584         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4585         Define.
4586         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4588         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4589         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4590         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4591         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4592         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4594 2015-06-01  Martin Sebor  <msebor@redhat.com>
4596         [BZ #18116]
4597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4598         (__setcontext): Use extended four-operand version of mtsf whenever
4599         possible.
4600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4601         (__novec_swapcontext): Likewise.
4603 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4605         * benchtests/scripts/compare_bench.py: New file.
4606         * benchtests/scripts/import_bench.py (mean): New function.
4607         (split_list): Likewise.
4608         (do_for_all_timings): Likewise.
4609         (compress_timings): Likewise.
4611         * benchtests/scripts/import_bench.py: New file.
4612         * benchtests/scripts/validate_benchout.py: Import import_bench
4613         instead of jsonschema.
4614         (validate_bench): Remove function.
4615         (main): Use import_bench.
4617 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4619         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4620         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4622 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4626 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4628         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4629         set THREAD_SELF->tid to a magic value and futex-wake it.
4630         Pass its address to the thread_exit system call.
4631         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4632         bit is clear.
4633         * sysdeps/nacl/lowlevellock.h: New file.
4634         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4636         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4637         Add TIMEOUT to current time, don't subtract it.
4639 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4641         [BZ #2981]
4642         [BZ #18422]
4643         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4644         ($(objpfx)tst-audit2.out): Also depend on
4645         $(objpfx)tst-auditmod9b.so.
4646         * elf/tst-audit2.c: Include <dlfcn.h>.
4647         (calloc_called): New.
4648         (calloc): Allow to be called more than once.
4649         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4651 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4653         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4654         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4656 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4658         * stdlib/monetary.h: Fix comment.
4660 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4662         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4663         Avoid using variables in #defines that might cause shadowing.
4664         (INTERNAL_VSYSCALL_CALL): Likewise.
4666 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4668         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4670         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4671         * nptl/lll_timedlock_wait.c: ... to this new file.
4672         * nptl/Makefile (libpthread-routines): Add it.
4673         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4674         * nptl/lll_timedwait_tid.c: ... to this new file.
4675         * nptl/Makefile (libpthread-routines): Add it.
4676         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4677         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4678         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4679         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4680         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4681         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4682         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4683         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4684         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4685         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4687 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4689         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4690         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4691         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4692         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4693         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4695         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4696         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4697         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4698         * sysdeps/unix/sysv/linux/tile/sysdep.h
4699         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4700         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4701         using vDSO syscall macro.
4703 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4705         [BZ #17293]
4706         * uk_UA: Fix sorting order for Ukrainian locale
4708 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4710         * stdlib/monetary.h: Fix comment.
4712 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4714         [BZ #18234]
4715         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4716         st_mtim and st_ctim members.
4717         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4718         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4719         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4720         (struct stat64): Likewise.
4721         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4722         (struct stat64): Likewise.
4723         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4724         (struct stat64): Likewise.
4726 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4728         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4729         Define and include sysdep-vdso.h.
4730         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4731         Likewise.
4732         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4733         Likewise.
4734         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4735         Define with VDSO_SYMBOL and use PTR_MANGLE.
4736         (__vdso_clock_gettime): Likewise.
4737         (__vdso_clock_getres): Likewise.
4738         (_libc_vdso_platform_setup): Likewise.
4739         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4740         Likewise.
4741         (_libc_vdso_platform_setup): Likewise.
4742         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4743         Likewise.
4744         (__vdso_clock_gettime): Likewise.
4745         (__vdso_clock_getres): Likewise.
4746         (__vdso_get_tbfreq): Likewise.
4747         (__vdso_getcpu): Likewise.
4748         (__vdso_time): Likewise.
4749         (__vdso_sigtramp_rt64): Likewise.
4750         (__vdso_signtramp32): Likewise.
4751         (__vdso_sigtramp_rt32): Likewise.
4752         (_libc_vdso_platform_setup): Likewise.
4753         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4754         Likewise.
4755         (__vdso_clock_gettime): Likewise.
4756         (__vdso_clock_getres): Likewise.
4757         (_libc_vdso_platform_setup): Likewise.
4758         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4759         Likewise.
4760         (__vdso_clock_gettime): Likewise.
4761         (_libc_vdso_platform_setup): Likewise.
4762         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4763         Likewise.
4764         (__vdso_getcpu): Likewise.
4765         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4766         Use VDSO_SYMBOL macro to define.
4767         (__vdso_clock_gettime): Likewise.
4768         (__vdso_clock_getres): Likewise.
4769         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4770         Likewise.
4771         (__vdso_clock_gettime): Likewise.
4772         (__vdso_clock_getres): Likewise.
4773         (__vdso_get_tbfreq): Likewise.
4774         (__vdso_getcpu): Likewise.
4775         (__vdso_time): Likewise.
4776         (__vdso_sigtramp_rt64): Likewise.
4777         (__vdso_signtramp32): Likewise.
4778         (__vdso_sigtramp_rt32): Likewise.
4779         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4780         Likewise.
4781         (__vdso_clock_gettime): Likewise.
4782         (__vdso_clock_getres): Likewise.
4783         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4784         Likewise.
4785         (__vdso_clock_gettime): Likewise.
4786         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4787         Likewise.
4788         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4789         macro.
4790         (INTERNAL_VSYSCALL): Likewise.
4791         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4792         Remove macro.
4793         (INTERNAL_VSYSCALL): Likewise.
4794         (INTERNAL_VSYSCALL_NCS): Likewise.
4795         (INTERNAL_VSYSCALL_CALL): New macro.
4796         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4797         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4798         Likewise.
4799         (INTERNAL_VSYSCALL): Likewise.
4800         (INTERNAL_VSYSCALL_NCS): Likewise.
4801         (INTERNAL_VSYSCALL_CALL): New macro.
4802         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4804         (INLINE_VSYSCALL): Remove macro.
4805         (INTERNAL_VSYSCALL): Remove macro.
4806         (INTERNAL_VSYSCALL_NCS): Remove macro.
4807         (INTERNAL_VSYSCALL_CALL): New macro.
4808         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4809         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4810         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4811         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4812         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4814         (INLINE_VSYSCALL): Remove macro.
4815         (INTERNAL_VSYSCALL): Likewise.
4816         (INTERNAL_VSYSCALL_NCS): Likewise.
4817         (INTERNAL_VSYSCALL_CALL): New macro.
4818         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4819         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4820         PTR_DEMANGLE on vDSO pointer.
4821         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4822         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4823         macro.
4824         (INTERNAL_SYSCALL): Likewise.
4825         (INTERNAL_VSYSCALL_NCS): Remove macro.
4826         (INTERNAL_VSYSCALL_CALL): New macro.
4827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4828         Remove macro.
4829         (INTERNAL_VSYSCALL): Likewise.
4830         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4831         sysdep-vdso.h instead of libc-vdso.h.
4832         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4833         definition.
4834         (INLINE_VSYSCALL): Likewise.
4835         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4836         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4837         definition.
4838         (INLINE_VSYSCALL): Likewise.
4839         (INTERNAL_VSYSCALL): Likewise.
4840         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4841         * sysdeps/unix/sysv/linux/timespec_get.c
4842         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4843         (timespec_get): Use ANSI prototype.
4844         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4845         and definition for Linux.
4847 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4849         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4850         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4852 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4854         [BZ #2981]
4855         [BZ #18410]
4856         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4857         for missing DT_PLTRELSZ.
4859 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4861         Remove obsolete aliases that broke 'locale -a'
4862         [BZ #18412]
4863         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4864         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4865         breaking some applications that use 'locale -a' output.
4866         Change the encoding of this file from Latin-1 to ASCII to avoid
4867         other potential problems with people grepping this file.
4869 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4871         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4872         -fasynchronous-unwind-tables.
4873         (CFLAGS-sendto.c): Likewise.
4874         (CFLAGS-sendmsg.c): Likewise.
4875         (CFLAGS-connect.c): Likewise.
4876         (CFLAGS-recvmsg.c): Likewise.
4877         (CFLAGS-recvfrom.c): Likewise.
4878         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4879         (SOCKETCALL): New macro: non-cancellable socketcall.
4880         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4881         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4882         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4883         * sysdeps/unix/sysv/linux/accept.c: New file.
4884         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4885         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4886         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4887         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4888         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4889         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4890         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4891         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4892         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4893         * sysdeps/unix/sysv/linux/send.c: Likewise.
4894         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4895         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4896         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4897         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4898         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4899         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4900         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4901         prototype.
4902         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4903         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4904         instead of __internal_xxx function.
4905         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4906         prototype.
4907         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4908         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4909         instead of __internal_xxx function.
4910         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4911         prototype.
4912         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4913         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4914         instead of __internal_xxx function.
4915         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4916         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4917         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4918         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4919         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4920         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4921         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4922         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4923         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4924         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4925         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4926         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4927         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4928         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4929         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4930         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4931         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4932         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4933         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4934         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4937         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4938         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4939         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4940         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4941         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4942         * sysdeps/unix/sysv/linux/send.S: Likewise.
4943         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4944         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4945         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4946         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4947         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4948         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4949         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4950         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4951         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4952         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4953         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4954         socketcall is implemented in GLIBC.
4956 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4958         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4959         (__fma): Ignore uninitialized warnings around packing.
4960         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4961         (__fmaf): Ignore uninitialized warnings around packing.
4962         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4963         (__fmal): Ignore uninitialized warnings around packing.
4965         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4966         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4967         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4968         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4970         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4971         switch statement into default case.
4972         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4974         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4975         a conditional in forcing "inexact".
4976         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4977         Likewise.
4979 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4981         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4982         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4983         for each INTERNAL_SYSCALL use.
4985 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4987         [BZ #438]
4988         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4989         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4990         variable.
4992         [BZ #18444]
4993         * string/basename.c (basename): Rename to __basename and define as
4994         weak alias of __basename.  Use libc_hidden_weak.
4995         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4996         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4997         __basename instead of basename.
4998         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4999         Remove variable.
5000         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5002 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5004         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5005         (_IO_JUMPS_FILE_plus): New.
5006         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5007         _IO_CAST_FIELD_ACCESS.
5008         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5009         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5010         * libio/freopen.c (freopen): Likewise.
5011         * libio/freopen64.c (freopen64): Likewise.
5012         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5013         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5014         * libio/iofwide.c (_IO_fwide): Likewise.
5015         * libio/memstream.c (open_memstream): Likewise.
5016         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5017         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5018         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5020 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5022         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5023         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5024         NADJ.
5025         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5026         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5027         NADJ.
5028         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5029         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5030         NADJ.
5032         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5033         (p == 4) case.
5035         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5036         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5037         Remove variable.
5038         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5039         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5040         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5042 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5044         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5045         Adjust jump table label generation macros.
5047 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5049         * stdio-common/vfprintf.c (vfprintf): Move local variables
5050         args_malloced, specs, specs_malloced, and the code after
5051         do_positional to the printf_positional function.
5052         (printf_positional): New function.
5054 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5056         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5057         function.
5058         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5059         STEP4_TABLE, process_arg): Move macro definitions
5060         out of the vfprintf function.  (Cosmetic change only.)
5062 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5064         * benchtests/Makefile (stdio-common-bench): Define.
5065         (benchset): Add stdio-common-bench.
5066         * sprintf-inputs: New file.
5067         * sprintf-source.c: New file.
5069 2015-05-21  Andreas Schwab  <schwab@suse.de>
5071         [BZ #13028]
5072         [BZ #17053]
5073         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5074         of struct __res_state.
5075         * resolv/res_send.c (__libc_res_nsend): Likewise.
5076         (get_nsaddr): New function.
5077         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5078         statp directly.
5080 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5082         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5083         -D_POSIX_C_SOURCE=199506L.
5085         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5087         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5088         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5089         Do not mention otherwise.
5090         [POSIX] (_XOPEN_VERSION): Do not expect.
5091         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5092         [POSIX] (_POSIX2_C_BIND): Likewise.
5093         [POSIX] (_POSIX2_VERSION): Likewise.
5094         [POSIX] (_XOPEN_XPG2): Likewise.
5095         [POSIX] (_XOPEN_XPG3): Likewise.
5096         [POSIX] (_XOPEN_XPG4): Likewise.
5097         [POSIX] (_XOPEN_UNIX): Likewise.
5098         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5099         [POSIX] (_POSIX_BARRIERS): Likewise.
5100         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5101         [POSIX] (_POSIX_CPUTIME): Likewise.
5102         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5103         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5104         [POSIX] (_POSIX_SHELL): Likewise.
5105         [POSIX] (_POSIX_SPAWN): Likewise.
5106         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5107         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5108         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5109         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5110         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5111         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5112         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5113         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5114         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5115         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5116         [POSIX] (_POSIX2_PBS): Likewise.
5117         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5118         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5119         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5120         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5121         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5122         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5123         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5124         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5125         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5126         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5127         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5128         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5129         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5130         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5131         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5132         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5133         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5134         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5135         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5136         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5137         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5138         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5139         [POSIX] (_SC_2_C_BIND): Likewise.
5140         [POSIX] (_SC_2_C_VERSION): Likewise.
5141         [POSIX] (_SC_2_PBS): Likewise.
5142         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5143         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5144         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5145         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5146         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5147         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5148         [POSIX] (_SC_BARRIERS): Likewise.
5149         [POSIX] (_SC_BASE): Likewise.
5150         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5151         [POSIX] (_SC_DEVICE_IO): Likewise.
5152         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5153         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5154         [POSIX] (_SC_FD_MGMT): Likewise.
5155         [POSIX] (_SC_FIFO): Likewise.
5156         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5157         [POSIX] (_SC_FILE_LOCKING): Likewise.
5158         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5159         [POSIX] (_SC_IOV_MAX): Likewise.
5160         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5161         [POSIX] (_SC_NETWORKING): Likewise.
5162         [POSIX] (_SC_PAGE_SIZE): Likewise.
5163         [POSIX] (_SC_PASS_MAX): Likewise.
5164         [POSIX] (_SC_PIPE): Likewise.
5165         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5166         [POSIX] (_SC_REGEXP): Likewise.
5167         [POSIX] (_SC_SHELL): Likewise.
5168         [POSIX] (_SC_SIGNALS): Likewise.
5169         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5170         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5171         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5172         [POSIX] (_SC_USER_GROUPS): Likewise.
5173         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5174         [POSIX] (_SC_STREAMS): Likewise.
5175         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5176         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5177         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5178         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5179         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5180         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5181         [POSIX] (_PC_FILESIZEBITS): Likewise.
5182         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5183         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5184         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5185         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5186         [POSIX] (uid_t): Likewise.
5187         [POSIX] (gid_t): Likewise.
5188         [POSIX] (off_t): Likewise.
5189         [POSIX] (pid_t): Likewise.
5190         [POSIX] (cuserid): Allow.
5191         (_SC_2_CHAR_TERM): Require constant.
5192         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5193         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5194         variable.
5196 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5198         * sysdeps/nacl/pthread-pids.h: New file.
5199         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5200         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5202         * nptl/pthread-pids.h: New file.
5203         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5204         * nptl/nptl-init.c: Include <pthread-pids.h>.
5205         (__pthread_initialize_minimal_internal):
5206         Call __pthread_initialize_pids instead of set_tid_address syscall.
5208         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5209         * sysdeps/posix/usleep.c: ... here.
5211 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5213         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5214         call_pselect6 object.
5215         [$(subdir) = io]: Remove call_sync_file_range object.
5216         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5217         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5218         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5219         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5221 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5223         * math/s_cproj.c: Add include "math_private.h".
5224         * math/s_cprojf.c: Likewise.
5225         * math/s_cprojl.c: Likewise.
5227 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5229         [BZ #18244]
5230         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5231         high mantissa bit when testing whether P is a NaN.
5232         * math/libm-test.inc (remainder_test_data): Add more tests.
5233         (remquo_test_data): Likewise.
5235         [BZ #18049]
5236         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5237         below -32, return the argument, with underflow if subnormal.
5238         * math/auto-libm-test-in: Add more tests of atanh.
5239         * math/auto-libm-test-out: Regenerated.
5241 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5243         [BZ #18434]
5244         * nptl/tst-sem15.c: New file.
5245         * nptl/Makefile (tests): Add it.
5246         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5247         s/<</>>/ to fix typo in EOVERFLOW check.
5248         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5250 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5252         * manual/strings.texi (envz_remove): Fix typo in safety
5253         annotations.
5255 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5256             Steve Ellcey  <sellcey@imgtec.com>
5258         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5259         in order to avoid strict alias warnings.
5260         (iruserok_af): Ditto for ra.
5262 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5264         [BZ #17581]
5265         * malloc/hooks.c
5266         (magicbyte): Convert to a function and avoid returning 0x01.
5267         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5268         (mem2chunk_check): Fix unsigned comparisons to zero.
5269         Hoist defs of sz and magic.
5271 2015-05-19  Richard Henderson  <rth@redhat.com>
5273         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5275         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5277 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5279         [BZ #16159]
5280         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5281         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5282         (reused_arena): Find a non-corrupt arena.
5283         (heap_trim): Pass arena to unlink.
5284         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5285         malloc_printerr.
5286         (top_check): Likewise.
5287         (free_check): Likewise.
5288         (realloc_check): Likewise.
5289         * malloc/malloc.c (malloc_printerr): Add arena argument.
5290         (unlink): Likewise.
5291         (munmap_chunk): Adjust.
5292         (ARENA_CORRUPTION_BIT): New macro.
5293         (arena_is_corrupt): Likewise.
5294         (set_arena_corrupt): Likewise.
5295         (sysmalloc): Use mmap if there are no usable arenas.
5296         (_int_malloc): Likewise.
5297         (__libc_malloc): Don't fail if arena_get returns NULL.
5298         (_mid_memalign): Likewise.
5299         (__libc_calloc): Likewise.
5300         (__libc_realloc): Adjust for additional argument to
5301         malloc_printerr.
5302         (_int_free): Likewise.
5303         (malloc_consolidate): Likewise.
5304         (_int_realloc): Likewise.
5305         (_int_memalign): Don't touch corrupt arenas.
5306         * malloc/tst-malloc-backtrace.c: New test case.
5308         * Makefile (summarize-tests): Fix return value on success.
5310         * manual/string.texi (Envz Functions): Add envz_remove.
5312 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5314         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5315         (invalid_name): New function, broken out of ...
5316         (__opendirat): ... here.  Call it.
5317         (need_isdir_precheck): New function, broken out of ...
5318         (__opendirat): ... here.  Call it.
5319         Use __fxstatat64, not __xstatat64.
5320         (opendir_oflags): New function, broken out of ...
5321         (__opendirat): ... here.  Call it.
5322         (opendir_tail): New function, broken out of ...
5323         (__opendirat): ... here.  Call it.
5324         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5325         opendir_tail, rather than punting to __opendirat.
5326         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5328 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5330         * .gitignore: Ignore generated *.pyc.
5332 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5334         * include/stdio.h: Define __need_wint_t.
5335         * test-skeleton.c: Avoid `for' loop initial declaration.
5336         * nptl/tst-initializers1.c: Use test-skeleton.c.
5338 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5340         [BZ #18418]
5341         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5343 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5345         [BZ #16352]
5346         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5347         (__ieee754_atanh): Force underflow exception for results with
5348         small absolute value.
5349         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5350         (__ieee754_atanhf): Force underflow exception for results with
5351         small absolute value.
5352         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5353         (__ieee754_atanh): Force underflow exception for results with
5354         small absolute value.
5355         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5356         (__ieee754_atanhf): Force underflow exception for results with
5357         small absolute value.
5358         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5359         (__ieee754_atanhl): Force underflow exception for results with
5360         small absolute value.
5361         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5362         (__ieee754_atanhl): Force underflow exception for results with
5363         small absolute value.
5364         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5365         (__ieee754_atanhl): Force underflow exception for results with
5366         small absolute value.
5367         * math/auto-libm-test-in: Do not allow missing underflow
5368         exceptions from atanh.
5369         * math/auto-libm-test-out: Regenerated.
5371         [BZ #18221]
5372         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5373         2**-28 as threshold for returning x or +/- 1/x.
5374         * math/auto-libm-test-in: Add more tests of tan.
5375         * math/auto-libm-test-out: Regenerated.
5377         [BZ #18220]
5378         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5379         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5380         * math/auto-libm-test-in: Add another test of lgamma.
5381         * math/auto-libm-test-out: Regenerated.
5383 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5385         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5386         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5387         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5388         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5389         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5390         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5391         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5392         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5393         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5394         (log1): Use fabs.  (my_log2): Use fabs.
5395         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5396         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5397         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5398         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5399         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5400         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5401         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5402         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5403         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5404         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5405         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5407 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5409         [BZ #18217]
5410         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5411         as threshold for returning 1 - x.
5412         * math/auto-libm-test-in: Add more tests of erfc.
5413         * math/auto-libm-test-out: Regenerated.
5415 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5417         [BZ #18196]
5418         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5419         threshold for large arguments.
5420         * math/auto-libm-test-in: Add another test of atan.
5421         * math/auto-libm-test-out: Regenerated.
5423         [BZ #16339]
5424         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5425         (__log1p): Force underflow exception for results with small
5426         absolute value.
5427         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5428         (__log1pf): Force underflow exception for results with small
5429         absolute value.
5430         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5431         (__log1p): Force underflow exception for results with small
5432         absolute value.
5433         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5434         (__log1pf): Force underflow exception for results with small
5435         absolute value.
5436         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5437         (__log1pl): Force underflow exception for results with small
5438         absolute value.
5439         * math/auto-libm-test-in: Do not allow missing underflow
5440         exceptions from log1p.
5441         * math/auto-libm-test-out: Regenerated.
5443 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5444             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5446         [BZ #16704]
5447         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5449 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5451         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5452         (libmvec): New variable.
5453         * configure.ac: Added option for mathvec build.
5454         * configure: Regenerated.
5455         * mathvec/Depend: New file.
5456         * mathvec/Makefile: New file.
5457         * shlib-versions: Added libmvec.
5458         * math/Makefile: Added rule for libm.so installation.
5460         * bits/math-vector.h: New file.
5461         * bits/libm-simd-decl-stubs.h: New header.
5462         * math/Makefile (headers): Added new header
5463         libm-simd-decl-stubs.h.
5464         * math/math.h (__MATHCALL_VEC): New macro.
5466         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5467         for conditions in testing functions.
5468         * math/Makefile: Added call of libm-have-vector-test.sh.
5469         * math/libm-test.inc (HAVE_VECTOR): New macros.
5471         * math/libm-test.inc: START refactored.
5472         * math/test-double.c (TEST_MATHVEC): Add define.
5473         * math/test-float.c: Likewise.
5474         * math/test-idouble.c: Likewise.
5475         * math/test-ifloat.c: Likewise.
5476         * math/test-ildoubl.c: Likewise.
5477         * math/test-ldouble.c: Likewise.
5478         * sysdeps/generic/math-tests-arch.h
5479         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5480         architecture check.
5482         * math/test-double.c (FUNC_TEST): New macro.
5483         * math/test-float.c: Likewise.
5484         * math/test-idouble.c: Likewise.
5485         * math/test-ifloat.c: Likewise.
5486         * math/test-ildoubl.c: Likewise.
5487         * math/test-ldouble.c: Likewise.
5488         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5490 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5492         * sysdeps/nacl/fdopendir.c: New file.
5494         * dirent/scandir-tail.c: New file.
5495         * dirent/scandir64-tail.c: New file.
5496         * dirent/Makefile (routines): Add them.
5497         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5498         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5499         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5500         [!SCANDIR] (SCANDIR_TAIL): New macro.
5501         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5502         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5503         (SCANDIRAT): Macro removed.
5504         (SCANDIR_TAIL): New macro.
5505         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5506         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5507         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5508         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5509         (READDIR): Macro removed.
5510         (SCANDIR_TAIL): New macro.
5511         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5512         (SCANDIR_TAIL): New macro.
5514         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5515         * dirent/scandir-cancel.c: ... to this new file.
5516         * dirent/Makefile (routines): Add it.
5517         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5518         * sysdeps/unix/sysv/linux/i386/scandir64.c
5519         (SKIP_SCANDIR_CANCEL): Macro removed.
5520         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5522         * dirent/tst-scandir.c: New file.
5523         * dirent/tst-scandir64.c: New file.
5524         * dirent/Makefile (tests): Add them.
5526 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5528         [BZ #18409]
5529         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5531 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5533         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5534         list.
5536 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5538         * benchtests/bench-strcoll.c: New benchmark.
5539         * benchtests/Makefile: Generate locales and run benchmark.
5540         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5541         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5542         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5543         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5544         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5545         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5546         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5547         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5548         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5549         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5550         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5551         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5552         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5553         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5554         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5555         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5556         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5557         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5558         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5559         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5560         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5561         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5562         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5563         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5565 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5567         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5568         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5570 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5572         * posix/uname-values.h: New file.
5573         * posix/uname.c: Include that instead of <config-name.h>.
5574         * sysdeps/nacl/uname-values.h: New file.
5575         * sysdeps/arm/nacl/uname-values.h: New file.
5577 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5579         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5580         splitting into fields.
5582 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5584         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5585         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5586         * locale/localeinfo.h: Add enum collation_encoding_type.
5587         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5588         * programs/ld-collate.c (collate_output): Add encoding type info.
5589         * string/strcoll_l.c (STRDIFF): New function.
5590         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5591         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5593 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5595         [BZ #18397]
5596         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5597         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5598         <fpu_control.h> instead of <math/fpu_control.c>.
5599         * sysdeps/mips/mips32/fpu/Makefile: New file.
5601 2015-05-11  Andreas Schwab  <schwab@suse.de>
5603         [BZ #18007]
5604         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5605         nss_endgrent.
5606         (_nss_compat_endgrent): Call nss_endgrent.
5607         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5608         nss_endpwent.
5609         (_nss_compat_endpwent): Call nss_endpwent.
5610         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5611         needent, call nss_setspent only if non-zero.
5612         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5613         (internal_endspent): Don't call nss_endspent.
5614         (_nss_compat_endspent): Call nss_endspent.
5615         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5616         Remove.  All uses removed.
5617         (internal_setent): Remove parameter stayopen, add parameter
5618         stream.  Use it instead of global variable.
5619         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5620         (internal_endent, internal_getent): Add parameter stream.  Use it
5621         instead of global variable.
5622         (CONCAT(_nss_files_end,ENTNAME))
5623         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5624         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5625         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5626         uses removed.
5627         (internal_setent, internal_endent): Add parameter stream.  Use it
5628         instead of global variable.
5629         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5630         stream.
5631         (get_next_alias): Add parameter stream.
5632         (_nss_files_getaliasent_r): Pass global stream.
5633         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5634         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5635         (_nss_files_gethostbyname4_r): Pass local stream to
5636         internal_setent, internal_getent and internal_endent.  Remove
5637         locking.
5639 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5641         * tst-strfmon1.c (tests): Update expected currency symbol.
5643 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5645         * sysdeps/nacl/gethostname.c: New file.
5647 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5649         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5650         and sinh.
5651         * math/auto-libm-test-out: Regenerated.
5652         * sysdeps/i386/fpu/libm-test-ulps: Update.
5653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5655 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5657         [BZ #18125]
5658         * stdlib/tst-setcontext3.c: New file.
5659         * stdlib/tst-setcontext3.sh: New file.
5660         * stdlib/Makefile (tests): Add tst-setcontext3.
5661         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5662         to verify test program created output file.
5663         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5664         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5665         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5666         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5668 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5670         [BZ #18383]
5671         * elf/tst-tlsalign.c: New file.
5672         * elf/tst-tlsalign-static.c: New file.
5673         * elf/tst-tlsalign-lib.c: New file.
5674         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5675         (tests-static): Add tst-tlsalign-static.
5676         (modules-names): Add tst-tlsalign-lib.
5677         (test-xfail-tst-tlsalign): New variable.
5678         (test-xfail-tst-tlsalign-static): New variable.
5680         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5681         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5683 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5685         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5686         csqrt, erfc, sin and sincos.
5687         * math/auto-libm-test-out: Regenerated.
5688         * sysdeps/i386/fpu/libm-test-ulps: Update.
5689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5691 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5693         * sysdeps/aarch64/libm-test-ulps: Update.
5695 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5697         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5698         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5699         * math/auto-libm-test-out: Regenerated.
5700         * sysdeps/i386/fpu/libm-test-ulps: Update.
5701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5703 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5705         [BZ #18265]
5706         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5707         (wcsncpy): Likewise.
5709 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5711         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5712         Assume __ASSUME_FALLOCATE is always true.
5713         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5714         (__posix_fallocate64_l64): Likweise.
5715         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5716         (posix_fallocate): Likewise.
5717         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5718         (__posix_fallocate64_l64): Likewise.
5719         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5720         [!__ASSUME_FALLOCATE]: Add comment.
5722 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5724         * sysdeps/unix/sysv/linux/i386/Makefile
5725         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5726         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5727         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5728         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5729         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5730         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5731         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5733 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5735         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5736         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5737         tgamma.
5738         * math/auto-libm-test-out: Regenerated.
5739         * sysdeps/i386/fpu/libm-test-ulps: Update.
5740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5742 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5744         * math/auto-libm-test-in: Add more tests of tgamma.
5745         * math/auto-libm-test-out: Regenerated.
5746         * sysdeps/i386/fpu/libm-test-ulps: Update.
5747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5749         * math/auto-libm-test-in: Add more tests of tanh.
5750         * math/auto-libm-test-out: Regenerated.
5751         * sysdeps/i386/fpu/libm-test-ulps: Update.
5752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5754         * math/auto-libm-test-in: Add more tests of tan.
5755         * math/auto-libm-test-out: Regenerated.
5756         * sysdeps/i386/fpu/libm-test-ulps: Update.
5757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5759         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5760         * math/auto-libm-test-out: Regenerated.
5761         * sysdeps/i386/fpu/libm-test-ulps: Update.
5762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5764         * math/auto-libm-test-in: Add another test of pow.
5765         * math/auto-libm-test-out: Regenerated.
5766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5768         * math/auto-libm-test-in: Add more tests of lgamma.
5769         * math/auto-libm-test-out: Regenerated.
5770         * sysdeps/i386/fpu/libm-test-ulps: Update.
5771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5773         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5774         log1p.
5775         * math/auto-libm-test-out: Regenerated.
5776         * sysdeps/i386/fpu/libm-test-ulps: Update.
5777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5779 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5781         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5782         Elf64_Chdr structs and ELFCOMPRESS constants.
5784 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5786         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5787         expm1.
5788         * math/auto-libm-test-out: Regenerated.
5789         * sysdeps/i386/fpu/libm-test-ulps: Update.
5790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5792         * math/auto-libm-test-in: Add more tests of erf and erfc.
5793         * math/auto-libm-test-out: Regenerated.
5794         * sysdeps/i386/fpu/libm-test-ulps: Update.
5795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5797 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5799         * config.h.in (HAVE_AARCH64_BE): Add.
5801 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5803         * math/auto-libm-test-in: Add more tests of csqrt.
5804         * math/auto-libm-test-out: Regenerated.
5805         * sysdeps/i386/fpu/libm-test-ulps: Update.
5806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5808         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5809         * math/auto-libm-test-out: Regenerated.
5810         * sysdeps/i386/fpu/libm-test-ulps: Update.
5811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5813         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5815 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5817         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5818         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5820         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5821         (euidaccess, eaccess): Define as weak aliases.
5823         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5824         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5825         but __suseconds_t is often 'long int' so some sources assume that
5826         type is being used (e.g. they use %ld to print tv_usec).
5828 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5830         [BZ #18007]
5831         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5832         (CVE-2014-8121)
5833         * nss/tst-nss-getpwent.c: New file.
5834         * nss/Makefile (tests): Add new test.
5836 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5838         [BZ #18346]
5839         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5840         exponents less than 48 as cases where high part of mantissa needs
5841         examining to determine whether argument is integral.
5842         * math/libm-test.inc (round_test_data): Add more tests.
5844 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5846         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5848 2015-04-27  David S. Miller  <davem@davemloft.net>
5850         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5851         __tls_get_addr.
5852         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5854 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5856         [BZ#18333]
5857         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5859 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5861         [BZ#18333]
5862         * time/tzset.c (parse_tzname): Return error on memory allocation
5863         failure.
5864         * test-skeleton.c (struct temp_name_list): Change type of name
5865         member to non-const.
5866         (add_temp_file): Create a copy of the file name.
5867         (delete_temp_files): Deallocate memory.
5868         (create_temp_file): Add comment.
5870 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5872         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5873         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5875 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5877         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5878         * sysdeps/arm/configure: Regenerated.
5880 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5882         [BZ #17715]
5883         * time/tzfile.c (__tzfile_read): Check for large values of
5884         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5885         * time/tzset.c (__tzstring_len): New function, based on the old
5886         __tzstring function.
5887         (__tzstring): Call __tzstring_len.
5888         (parse_tzname): New helper function extracted from
5889         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5890         the input string.
5891         (parse_offset): New helper function extracted from
5892         __tzset_parse_tz.  Replace switch with fallthrough with
5893         initialization before sscanf.
5894         (parse_rule): Likewise.
5895         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5896         new-style function definition.
5897         * timezone/Makefile (tests): Add tst-tzset.
5898         (tst-tzset.out): Dependencies on time zone files.
5899         (tst-tzset-ENV): Set TZDIR.
5900         (testdata/XT%): Copy crafted time zone files.
5901         * timezone/README: Mention crafted time zone files.
5902         * timezone/testdata/XT1, timezone/testdata/XT2,
5903         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5904         files.
5905         * timezone/tst-tzset.c: New test.
5907 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5909         * Makeconfig (+gccwarn): Remove -Winline.
5911 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5913         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5915 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5917         * NEWS: Mention sysconf() cache information support for s390.
5918         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5920 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5922         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5923         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5924         (__nearbyint): Likewise.
5925         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5926         (copysignl): Likewise.
5928 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5930         [BZ #18287]
5931         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5932         based on padding.  (CVE-2015-1781)
5934 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5936         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5937         libc-vdso.h.
5938         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5939         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5940         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5941         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5942         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5943         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5944         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5945         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5946         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5947         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5948         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5949         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5950         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5951         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5952         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5953         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5954         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5955         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5956         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5957         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5958         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5959         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5960         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5962 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5964         * stdlib/setenv.c (__add_to_environ):
5965         Dump core quickly if setenv (..., NULL, ...) is called.
5966         This time, do it the right way, and pacify GCC with a pragma.
5968 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5970         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5971         IMAP->l_prev cannot be null, and #if out the code for the contrary
5972         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5973         believe that NS (&_dl_ns[NSID]) could point outside the array.
5975         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5976         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5977         before using NSID as an index.
5979 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5981         [BZ #17825]
5982         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5983         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5984         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5986 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5988         Add preliminary port to Google Native Client on ARM.
5989         * abi-tags (.*-.*-nacl.*): New entry.
5990         * sysdeps/arm/nacl: New directory.
5991         * sysdeps/nacl: New directory.
5993 2015-04-16  David S. Miller  <davem@davemloft.net>
5995         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5996         lowlevellock-futex.h
5998 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6000         * sysdeps/tile/configure.ac: New file.
6001         * sysdeps/tile/configure: Regenerated.
6003 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6005         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6006         conditionals for weak_alias and libc_hidden_weak.
6007         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6008         libc_hidden_weak and weak_alias.
6009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6010         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6011         and weak_alias for static one.
6013 2015-04-15  David S. Miller  <davem@davemloft.net>
6015         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6017 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6019         [BZ #18206]
6020         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6021           Use signed comparision instead of substraction to avoid
6022           overflow bug.
6023         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6024           Take the sign of ret.
6025         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6026           Do not expect precise return values. Only the sign matters.
6027         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6028         * wcsmbs/test-wcsncmp.c: New File.
6029         * string/test-strncmp.c: Add wcsncmp support.
6031 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6033         [BZ #6792]
6034         * math/w_log1p.c: New file.
6035         * math/w_log1pf.c: Likewise.
6036         * math/w_log1pl.c: Likewise.
6037         * math/Makefile (libm-calls): Add w_log1p.
6038         * math/s_log1pl.c (log1pl): Remove weak_alias.
6039         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6040         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6041         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6042         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6043         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6044         [NO_LONG_DOUBLE] (log1pl): Likewise.
6045         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6046         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6047         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6048         (log1p): Remove long_double_symbol.
6049         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6050         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6051         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6052         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6053         remove weak_alias for corresponding log1p function.
6054         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6055         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6056         * sysdeps/ia64/fpu/w_log1p.c: New file.
6057         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6058         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6059         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6061 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6063         [BZ #18247]
6064         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6065         decimal exponent by 1.
6066         * stdlib/tst-strtod-round-data: Add more tests.
6067         * stdlib/tst-strtod-round.c (tests): Regenerated.
6069 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6071         * math/auto-libm-test-in: Add more tests of clog and clog10.
6072         * math/auto-libm-test-out: Regenerated.
6073         * sysdeps/i386/fpu/libm-test-ulps: Update.
6074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6076 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6078         * Makeconfig (module-cppflags): Exclude all .v.i files.
6079         (skip-module-cppflags): Variable removed.
6081         * configure.ac (libc_config_ok): Initialize before reading
6082         preconfigure scripts, not after.
6083         * configure: Regenerated.
6085         * test-skeleton.c (TIMEOUT): Move #define to top level.
6086         (main): Grok environment variable TEST_DIRECT.  If set, print
6087         test expectation details into that file and then behave as if
6088         given --direct.
6090 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6092         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6093         warning on 32-bit.
6095 2015-04-08  David S. Miller  <davem@davemloft.net>
6097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6099 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6101         * math/auto-libm-test-in: Add more tests of atanh.
6102         * math/auto-libm-test-out: Regenerated.
6103         * sysdeps/i386/fpu/libm-test-ulps: Update.
6104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6106         * math/auto-libm-test-in: Add more tests of atan.
6107         * math/auto-libm-test-out: Regenerated.
6108         * sysdeps/i386/fpu/libm-test-ulps: Update.
6109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6111 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6113         * elf/pldd.c (main): Rewrite to use struct
6114         scratch_buffer instead of extend_alloca.
6115         * elf/pldd-xx.c (find_maps): Likewise.
6116         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6117         <alloca.h>.
6118         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6119         scratch_buffer instead of extend_alloca.
6120         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6121         grp/compat-initgroups.c.
6122         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6123         Rewrite to use struct scratch_buffer instead of extend_alloca.
6124         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6125         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6127 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6129         * math/auto-libm-test-in: Add more tests of cbrt.
6130         * math/auto-libm-test-out: Regenerated.
6131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6133         * math/auto-libm-test-in: Add more tests of cabs.
6134         * math/auto-libm-test-out: Regenerated.
6135         * sysdeps/i386/fpu/libm-test-ulps: Update.
6136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6138         [BZ #18210]
6139         [BZ #18211]
6140         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6141         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6142         computations.
6143         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6144         clog10.
6145         * math/auto-libm-test-out: Regenerated.
6146         * sysdeps/i386/fpu/libm-test-ulps: Update.
6147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6149         [BZ #18197]
6150         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6151         (atan): Set FE_TONEAREST mode for internal computations.
6152         * math/auto-libm-test-in: Add more tests of atan.
6153         * math/auto-libm-test-out: Regenerated.
6155 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6157         [BZ #17930]
6158         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6160 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6162         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6164 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6166         * include/scratch_buffer.h: New file.
6167         * malloc/scratch_buffer_grow.c: Likewise.
6168         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6169         * malloc/scratch_buffer_set_array_size.c: Likewise.
6170         * malloc/tst-scratch_buffer.c: Likewise.
6171         * malloc/Makefile (routines): Add scratch_buffer_grow.
6172         (tests): Add test case.
6173         * malloc/Versions (GLIBC_PRIVATE): Export
6174         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6175         __libc_scratch_buffer_set_array_size.
6177 2015-04-06  Richard Henderson  <rth@redhat.com>
6179         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6180         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6182         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6183         unsigned int before printing.
6185 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6187         [BZ #17596]
6188         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6189         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6191 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6193         * include/libc-internal.h (libc_max_align_t): Define.
6195 2015-04-02  Andreas Schwab  <schwab@suse.de>
6197         [BZ #16850]
6198         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6200 2015-04-02  Mel Gorman  <mgorman@suse.de>
6202         [BZ #17195]
6203         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6204         as well as the main arena.
6206 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6208         [BZ #18185]
6209         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6210         sharing L2 cache to 2 for Silvermont/Knights Landing.
6212 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6214         [BZ #17711]
6215         * config.make.in (have-protected-data): New.
6216         * configure.ac: Check linker support for protected data symbol.
6217         * configure: Regenerated.
6218         * elf/Makefile (modules-names): Add tst-protected1moda and
6219         tst-protected1modb if $(have-protected-data) is yes.
6220         (tests): Add tst-protected1a and tst-protected1b if
6221         $(have-protected-data) is yes.
6222         ($(objpfx)tst-protected1a): New.
6223         ($(objpfx)tst-protected1b): Likewise.
6224         (tst-protected1modb.so-no-z-defs): Likewise.
6225         * elf/tst-protected1a.c: New file.
6226         * elf/tst-protected1b.c: Likewise.
6227         * elf/tst-protected1mod.h: Likewise.
6228         * elf/tst-protected1moda.c: Likewise.
6229         * elf/tst-protected1modb.c: Likewise.
6231 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6233         [BZ #17711]
6234         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6235         indicates it is called from do_lookup_x on relocation against
6236         protected data, skip the data definion in the executable from
6237         copy reloc.
6238         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6239         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6240         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6241         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6242         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6243         otherwise to 0.
6244         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6245         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6246         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6247         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6248         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6249         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6251 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6253         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6254         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6256 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6258         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6259         THREAD_SETMEM_NC.
6260         * sysdeps/x86_64/nptl/tls.h: Ditto.
6262 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6264         * dlfcn/tststatic.c (main): Converted to ...
6265         (do_test): ... this.
6266         (TEST_FUNCTION): New macro.
6267         Include test-skeleton.c.
6269 2015-03-26  Alan Modra  <amodra@gmail.com>
6271         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6272         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6273         zero for undefined weak.
6274         (elf_machine_plt_conflict): Similarly.
6276 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6278         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6279         atanh.
6280         * math/auto-libm-test-out: Regenerated.
6281         * sysdeps/i386/fpu/libm-test-ulps: Update.
6282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6284         * math/auto-libm-test-in: Add another test of asin.
6285         * math/auto-libm-test-out: Regenerated.
6286         * sysdeps/i386/fpu/libm-test-ulps: Update.
6287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6289         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6290         Remove macro.
6291         (LLL_EBX_REG): Likewise.
6292         (LLL_ENTER_KERNEL): Likewise.
6294         * math/auto-libm-test-in: Add more tests of asin.
6295         * math/auto-libm-test-out: Regenerated.
6296         * sysdeps/i386/fpu/libm-test-ulps: Update.
6297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6299         [BZ #18138]
6300         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6301         libc_do_syscall_args): New structure.
6302         (INTERNAL_SYSCALL_MAIN_0): New macro.
6303         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6304         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6305         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6306         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6307         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6308         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6309         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6310         Replace conditional definitions by conditional definitions of ....
6311         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6312         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6313         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6314         (libpthread-sysdep_routines): Add libc-do-syscall.
6315         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6316         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6317         to __NR_futex not 240.
6319 2015-03-25  Alan Modra  <amodra@gmail.com>
6321         * NEWS: Advertise TLS optimization.
6322         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6323         (DT_PPC_NUM): Increment.
6324         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6325         (CHECK_STATIC_TLS): Use here.
6326         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6327         TLS descriptors.
6328         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6329         * sysdeps/powerpc/dl-tls.c: New file.
6330         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6331         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6332         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6333         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6338 2015-03-25  Alan Modra  <amodra@gmail.com>
6340         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6341         for overlapping .opd entries" to "support...".
6342         * sysdeps/powerpc/powerpc64/configure: Regenerate
6344 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6346         * math/auto-libm-test-in: Add more tests of acos.
6347         * math/auto-libm-test-out: Regenerated.
6348         * sysdeps/i386/fpu/libm-test-ulps: Update.
6349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6351         * math/auto-libm-test-in: Add more tests of expm1.
6352         * math/auto-libm-test-out: Regenerated.
6353         * sysdeps/i386/fpu/libm-test-ulps: Update.
6354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6356 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6358         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6359         * math/auto-libm-test-out: Regenerated.
6360         * sysdeps/i386/fpu/libm-test-ulps: Update.
6361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6363         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6366         * math/auto-libm-test-in: Add more tests of log2.
6367         * math/auto-libm-test-out: Regenerated.
6368         * sysdeps/i386/fpu/libm-test-ulps: Update.
6369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6371 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6373         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6374         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6375         _IO_IS_APPENDING bit in READ_WRITE instead.
6377 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6379         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6380         (__determine_cpumask_size): Replace extend_alloca with a
6381         variable-length array.  Do not treat res == 0 as an error.
6383 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6385         [BZ #18100]
6386         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6387         and integer overflow.
6388         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6389         (main): Add integer overflow tests.
6390         * manual/pattern.texi (Calling Wordexp): Document additional use
6391         for WRDE_SYNTAX.
6393 2015-03-23  Alan Modra  <amodra@gmail.com>
6395         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6396         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6397         and false branch of conditional.
6398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6399         Likewise.
6401 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6403         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6404         libc-modules.h
6405         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6406         unused declaration of _hurd_intr_rpc_msg_in_trap.
6407         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6408         defined instead of whether it is non-zero.
6409         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6410         input constraint instead of both input and output constraint.  Use ecx
6411         clobber instead of %ecx.
6412         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6413         mutex_unlock): Use a statement expression instead of an expression list.
6414         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6415         type to vm_size_t instead of vm_address_t.
6416         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6417         defined instead of whether it is non-zero.
6418         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6419         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6420         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6421         comparisons with mapaddr.
6422         * nscd/nscd-client.h: Include <time.h>.
6423         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6424         9th parameter to __vm_region instead of int.
6425         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6426         * scripts/check-local-headers.sh (exclude): Add device/,
6427         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6428         cthreads.h.
6430 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6432         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6433         to account for alignment padding.
6434         * sysdeps/arm/memmove.S: Likewise.
6436 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6438         * sysdeps/unix/sysv/linux/generic/README: New file.
6440 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6442         [BZ #18138]
6443         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6444         (futex_abstimed_wait)
6445         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6446         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6447         of lll_futex_timed_wait.
6449 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6451         [BZ #17542]
6452         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6454 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6456         [BZ #17090]
6457         [BZ #17620]
6458         [BZ #17621]
6459         [BZ #17628]
6460         * NEWS: Update.
6461         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6462         entries with Static TLS too.  Skip entries past the end of the
6463         allocated DTV, from Alan Modra.
6464         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6465         Static TLS DTV entry set up from...
6466         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6467         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6468         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6469         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6470         for Static TLS.
6471         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6472         that the slot we find is associated with the given map before
6473         using its generation count.
6474         * nptl_db/db_info.c: Include ldsodefs.h.
6475         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6476         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6477         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6478         (link_map::l_tls_offset): New struct field.
6479         (dtv_t::counter): Likewise.
6480         (rtld_global): New struct.
6481         (_rtld_global): New rtld variable.
6482         (dl_tls_dtv_slotinfo_list): New rtld global field.
6483         (dtv_slotinfo_list): New struct.
6484         (dtv_slotinfo): Likewise.
6485         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6486         (td_lookup): Rename to...
6487         (td_mod_lookup): ... this.  Use new mod parameter instead of
6488         LIBPTHREAD_SO.
6489         * nptl_db/td_thr_tlsbase.c: Include link.h.
6490         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6491         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6492         addresses even if the DTV is out of date or missing them.
6493         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6494         index zero-length arrays.
6495         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6496         (td_lookup): Make it a macro implemented in terms of...
6497         (td_mod_lookup): ... this declaration.
6498         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6499         (DB_MAIN_VARIABLE): Likewise.
6501 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6503         [BZ #18134]
6504         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6506 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6508         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6510 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6512         [BZ #18128]
6513         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6514         (atomic_add, atomic_increment_and_test)
6515         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6517 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6519         * stdlib/setenv.c (__add_to_environ):
6520         Dump core quickly if setenv (..., NULL, ...) is called.
6522 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6524         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6525         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6526         all the necessary asm magic in one place.
6527         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6528         using those.
6530 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6532         [BZ #14906]
6533         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6534         traced file mtime. Use consistent log message.
6535         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6536         (register_traced_file): Call install_watches. Always set mtime.
6537         (invalidate_cache): Iterate over all trace files. Call install_watches.
6538         (inotify_check_files): Don't inline. Handle watching parent
6539         directories and configuration file movement in and out.
6540         (handle_inotify_events): New function.
6541         (main_loop_poll): Call handle_inotify_events.
6542         (main_loop_epoll): Likewise.
6543         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6544         (struct traced_file): Use array of inotify fds. Add parent directory,
6545         and basename.
6546         (struct database_dyn): Remove unused file_mtime.
6547         (init_traced_file): New inline function.
6548         (define_traced_file): New macro.
6549         * nss/nss_db/db-init.c: Use define_traced_file.
6550         (_nss_db_init): Use init_traced_file.
6551         * nss/nss_files/files-init.c: Use define_traced_file.
6552         (_nss_files_init): Use init_traced_file.
6554 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6556         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6557         [_LIBC]: Do not include <stdlib.h>.
6558         [!_LIBC] (abort): Remove declaration.
6559         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6560         _FP_STATIC_ASSERT instead of conditionally calling abort.
6561         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6562         (_FP_EXTEND_CNAN): Likewise.
6563         (FP_TRUNC): Likewise.
6564         (__FP_CLZ): Likewise.
6565         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6567 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6569         * manual/string.texi (XPG basename): Fix prototype.
6571 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6573         [BZ #18080]
6574         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6575         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6576         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6577         (__setcontext): Likewise.
6578         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6579         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6580         Call rt_sigprocmask syscall one time to set new signal mask
6581         and retrieve the current signal mask instead of two calls.
6582         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6583         (__swapcontext): Likewise.
6584         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6585         * stdlib/tst-setcontext2.c: New file.
6587 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6589         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6591 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6593         [BZ #18093]
6594         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6595         the wrong size.
6597 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6599         [BZ #18043]
6600         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6602 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6604         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6605         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6606         Remove define.
6607         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6608         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6609         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6610         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6611         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6612         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6613         define.
6614         * nptl_db/td_symbol_list.c (td_lookup): Remove
6615         HAVE_ASM_GLOBAL_DOT_NAME code.
6616         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6617         HAVE_ASM_GLOBAL_DOT_NAME check.
6618         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6619         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6620         (DOT_LABEL): Remove define.
6621         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6622         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6623         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6624         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6625         (__TLS_GET_ADDR): Likewise.
6626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6627         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6629 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6631         [BZ #18111]
6632         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6633         (_FPU_SETCW): Initialize cw from fpsr before storing.
6634         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6635         (fesetexceptflag): Rewrite using fpu_control.h.
6636         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6638 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6640         [BZ #18110]
6641         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6642         asms.
6643         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6645 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6647         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6648         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6649         abort.
6650         (_FP_FMA): Likewise.
6651         (_FP_DIV): Likewise.
6653 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6655         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6656         with 0 in that case.
6657         * Makefile (summarize-tests): New canned sequence, factored out of
6658         commands for targets tests and xtests.  Display summary lines that
6659         don't start with PASS: or XFAIL: rather than ones that do start with
6660         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6661         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6662         do start with ERROR: or FAIL:.
6663         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6664         (except for [$(build-shared) = yes]).
6665         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6666         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6667         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6668         * nptl/Makefile: Revert 2015-03-04 changes.
6669         [$(CXX) empty] (tests-unsupported): New variable.
6670         * debug/Makefile: Likewise.
6672         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6673         gnulib file.  Replace __attribute with __attribute__ throughout.
6675 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6677         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6679 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6681         [BZ #18104]
6682         * math/auto-libm-test-in: Add another test of pow.
6683         * math/auto-libm-test-out: Regenerated.
6685 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6687         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6688         $(config-cflags-nofma).
6690 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6692         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6693         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6694         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6695         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6696         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6697         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6698         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6699         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6700         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6701         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6702         Add comment on closing #endif.
6704 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6706         * posix/wordexp.c (CHAR_IN_SET): New macro.
6707         (parse_param): Use it.
6709 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6711         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6713 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6715         [BZ #18043]
6716         * posix/wordexp.c (parse_param): Fix buffer overflow.
6717         * posix/wordexp-test.c (test_case): Add test case.
6719 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6721         [BZ #18042]
6722         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6723         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6725 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6727         [BZ #18043]
6728         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6729         (do_bz18043): Delete.
6730         (at_page_end): New.
6731         (testit): Refactor to have words at the edge of unreadable page.
6733 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6735         [BZ #16734]
6736         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6737         Cleanup read-only streams as well.
6738         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6740 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6742         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6743         <bits/libc-lockP.h>
6745 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6747         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6748         on [__KERNEL__].
6749         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6750         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6751         * soft-fp/op-common.h (_FP_DECL): Likewise.
6753 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6755         * elf/ifuncdep2.c (global): Replace
6756         __attribute__((visibility("protected"))) with
6757         asm (".protected global").
6758         * elf/ifuncmod1.c (global): Likewise.
6759         * elf/ifuncmod5.c (global): Likewise.
6761 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6763         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6764         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6766 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6768         * manual/install.texi (Configuring and compiling):
6769         Document test-wrapper-env-only.
6770         * INSTALL: Regenerated.
6772 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6774         [BZ #18043]
6775         * posix/wordexp.c (parse_param): Fix buffer overflow.
6776         * posix/wordexp-test.c (do_bz18043): Add test case.
6778 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6780         * time/tst-strptime2.c (do_test): Ensure failing tests are
6781         reported correctly.
6782         * time/tst-strptime3.c (do_test): Likewise.
6784 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6786         Fix aio_error thread-safety.
6787         * sysdeps/pthread/aio_error.c: New file
6788         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6789         synchronization.
6791 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6793         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6794         (group_number, vfprintf): Use it.
6795         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6796         (JUMP, REF): Use it.
6797         (WORK_BUFFER_SIZE): New enum constant.
6798         (process_arg, vfprintf): Use it.
6800 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6802         * manual/errno.texi (Error Messages): Complete example function
6803         by adding missing #define.
6804         (program_invocation_name): Add statement indicating GNU
6805         extension and reference which header file declares the variable.
6806         (program_invocation_short_name): Likewise.
6808 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6810         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6811         compatibility note.
6813 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6815         * Makeconfig (test-wrapper-env-only): New variable.
6816         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6817         then use that with $(test-wrapper-env-only) rather than using
6818         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6820 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6822         [BZ #18082]
6823         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6824         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6825         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6826         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6827         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6828         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6829         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6830         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6831         Likewise.
6832         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6833         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6834         Likewise.
6835         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6836         Likewise.
6837         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6838         Likewise.
6839         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6840         Likewise.
6841         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6842         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6843         Likewise.
6844         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6845         Likewise.
6846         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6847         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6849 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6851         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6852         (ETH_ALEN): New macro.
6853         (struct ether_addr): Use it for length of ether_addr_octet.
6855         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6856         (setdb): Don't call __nss_configure_lookup for "rpc".
6857         (do_test): Don't call test_rpc.
6858         (output_rpcent, test_rpc): Functions moved ...
6859         * sunrpc/test-rpcent.c: ... to this new file.
6860         * sunrpc/Makefile (tests): Add it.
6862         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6863         __xpg_sigpause.
6864         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6865         * nptl/tst-signal6.c: Likewise.
6866         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6867         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6869         * configure.ac (libc_cv_cxx_link_ok): New check.
6870         Reset CXX to empty if it fails to link.
6871         * configure: Regenerated.
6872         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6873         bug-atexit3-lib only if $(CXX) is nonempty.
6874         * nptl/Makefile (tests): Likewise for tst-cancel24.
6875         (tests, tests-static): Likewise for tst-cancel24-static.
6876         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6877         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6878         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6879         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6881 2015-03-04  Andreas Schwab  <schwab@suse.de>
6883         [BZ #17631]
6884         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6885         for non-GCC compilers.
6886         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6887         Likewise.
6889 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6891         [BZ #17776]
6892         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6893         integer before bitwise and assembly operations.
6894         (feclearexcept): Likewise.
6895         * math/test-fenvinline.c: New file.
6896         * math/Makefile: Add test-fenvinline test.
6898 2015-03-03  Alan Modra  <amodra@gmail.com>
6900         [BZ #16512]
6901         * scripts/localplt.awk: Strip off symbol version.
6902         * NEWS: Mention bug fix.
6904 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6906         * sysdeps/pthread/timer_routines.c
6907         (timer_free_list, thread_free_list, thread_active_list): Make static.
6909 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6911         [BZ #17779]
6912         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6913         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6914         Undefine.
6915         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6916         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6917         Likewise.
6918         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6919         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6920         Likewise.
6922 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6924         [BZ #18036]
6925         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6926         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6928 2015-03-02  Andreas Schwab  <schwab@suse.de>
6930         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6931         variable name.
6933 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6935         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6936         Return error status.
6938 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6940         [BZ #15969]
6941         * locale/findlocale.c (_nl_find_locale): Introduce const
6942         version of loc_name and drop unsafe type casts.
6944 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6946         * dlfcn/tststatic2.c (main): Converted to ...
6947         (do_test): ... this.
6948         (TEST_FUNCTION): New macro.
6949         Include test-skeleton.c.
6951 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6953         [BZ #17711]
6954         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6955         (tests-pie): Add vismain.
6956         (CFLAGS-vismain.c): New.
6957         * elf/vismain.c: Add comments for PIE requirement.
6959 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6961         [BZ #18046]
6962         [BZ #18047]
6963         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6964         0x1p-56L as threshold for just returning the argument.
6965         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6966         0x1p-32L as threshold for just returning the argument.
6967         * math/auto-libm-test-in: Add more tests of atanh.
6968         * math/auto-libm-test-out: Regenerated.
6969         * sysdeps/i386/fpu/libm-test-ulps: Update.
6970         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6972 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6974         * string/bcopy.c (bcopy): Call memmove for performance.
6976 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6978         * string/bzero.c (__bzero): Call memset for performance.
6980 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6982         [BZ #18068]
6983         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6984         to 00100000.
6986 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6988         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6990 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6992         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6993         (__kernel_standard): Use CSTR macro when setting exc.name.
6994         * sysdeps/ieee754/Makefile [$(subdir) = math]
6995         (CFLAGS-k_standard.c): Remove variable.
6997         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6998         setting p and q from "else if" to "else".
6999         (qzero): Likewise.
7000         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7001         (qone): Likewise.
7002         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7003         (qzerof): Likewise.
7004         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7005         (qonef): Likewise.
7006         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7007         (qzero): Likewise.
7008         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7009         (qone): Likewise.
7011         [BZ #18038]
7012         [BZ #18039]
7013         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7014         return pi/2 for arguments below 0x1p-113L.
7015         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7016         return pi/2 for arguments below 0x1p-106L.
7017         * math/auto-libm-test-in: Add more tests of acos.
7018         * math/auto-libm-test-out: Regenerated.
7020         [BZ #16351]
7021         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7022         (MO): New macro.
7023         (__ieee754_asin): Force underflow exception for results with small
7024         absolute value.
7025         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7026         (MO): New macro.
7027         (__ieee754_asinf): Force underflow exception for results with
7028         small absolute value.
7029         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7030         (__ieee754_asin): Force underflow exception for results with small
7031         absolute value.
7032         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7033         (__ieee754_asinf): Force underflow exception for results with
7034         small absolute value.
7035         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7036         (__ieee754_asinl): Force underflow exception for results with
7037         small absolute value.
7038         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7039         (__ieee754_asinl): Force underflow exception for results with
7040         small absolute value.
7041         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7042         (__ieee754_asinl): Force underflow exception for results with
7043         small absolute value.
7044         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7045         Include <math.h>.
7046         * math/auto-libm-test-in: Do not mark underflow exceptions as
7047         possibly missing for bug 16351.
7048         * math/auto-libm-test-out: Regenerated.
7050         [BZ #18030]
7051         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7052         of power of 2 down when low part has opposite sign.
7053         * math/libm-test.inc (logb_test_data): Add more tests.
7055 2015-02-26  Andreas Schwab  <schwab@suse.de>
7057         [BZ #18032]
7058         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7059         over collating symbol inside a bracket expression.  Minor cleanup.
7060         * posix/tst-fnmatch3.c (do_test): Add test case.
7062 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7064         [BZ #18029]
7065         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7066         Adjust exponent of power of 2 down when low part has opposite
7067         sign.
7068         * math/libm-test.inc (ilogb_test_data): Add more tests.
7070 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7072         [BZ #15969]
7073         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7074         the previous change.
7076         [BZ #15969]
7077         * locale/findlocale.c (_nl_find_locale): Retry archive search
7078         after alias expansion.
7080 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7082         * iconv/tst-iconv3.c (main): Converted to ...
7083         (do_test): ... this.
7084         (TEST_FUNCTION): New macro.
7085         Include test-skeleton.c.
7087         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7088         (convert): Make function static.
7089         (test_unalign): Likewise.  Add const to argument pointee types.
7090         (main): Replace with static function do_test.
7091         Print "Succeeded." only if RET is zero.
7092         (TEST_FUNCTION): New macro.
7093         Include test-skeleton.c.
7095         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7096         returns a null pointer.
7098 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7100         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7101         to __memcpy_ppc only for static builds.
7103 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7105         [BZ #18020]
7106         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7107         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7108         * math/auto-libm-test-in: Add more tests of asinh.
7109         * math/auto-libm-test-out: Regenerated.
7110         * sysdeps/i386/fpu/libm-test-ulps: Update.
7111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7113 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7115         [BZ #15850]
7116         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7117         and ip6_mtuinfo definitions here.
7118         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7119         in this define too.  Update comment.
7121 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7123         * elf/sprof.c (load_shobj): Tweak error message to match others.
7125 2015-02-24  Kevin Easton  <kevin@guarana.org>
7127         [BZ #16145] (partial fix)
7128         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7129         to reduce lock contention.
7131 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7133         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7134         (struct timex): Update time comment.
7135         (ADJ_SETOFFSET): Define.
7137 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7139         [BZ #18019]
7140         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7141         2**56 not 2**28 as threshold for log (2x) formula.
7142         * math/auto-libm-test-in: Add more tests of acosh.
7143         * math/auto-libm-test-out: Regenerated.
7144         * sysdeps/i386/fpu/libm-test-ulps: Update.
7145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7147 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7149         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7150         parenthesis around the buf assignment.
7151         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7153 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7155         [BZ #16783]
7156         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7157         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7158         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7159         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7160         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7161         * math/libm-test.inc (scalb_test_data): Add more tests.
7163 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7165         [BZ #17916]
7166         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7167         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7169 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7171         [BZ #17523]
7172         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7173         * io/bits/fcntl2.h (open): Use it.
7174         (openat): Likewise.
7175         * io/open.c (__libc_open): Likewise.
7176         * io/open64.c (__libc_open64): Likewise.
7177         * io/open64_2.c (__open64_2): Likewise.
7178         * io/open_2.c (__open_2): Likewise.
7179         * io/openat.c (__openat): Likewise.
7180         * io/openat64.c (__openat64): Likewise.
7181         * io/openat64_2.c (__openat64_2): Likewise.
7182         * io/openat_2.c (__openat_2): Likewise.
7183         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7184         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7185         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7186         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7187         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7188         (__open_nocancel): Likewise.
7189         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7190         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7191         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7193 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7195         [BZ #14841]
7196         * resolv/gethnamaddr.c (getanswer): Skip logging if
7197         RES_USE_DNSSEC is set.
7198         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7200 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7202         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7204 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7206         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7207         201304L, for Unicode 7.
7209 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7211         [BZ #17836]
7212         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7213         shared library.  Add gmon-start.os otherwise.
7214         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7215         $(objpfx)gmon-start.os if builing shared library.
7216         ($(objpfx)g$(static-start-installed-name)): Likewise.
7218 2015-02-23  Andreas Schwab  <schwab@suse.de>
7220         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7222 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7224         [BZ #17269]
7225         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7226         (enlarge_userbuf): Likewise.
7228 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7230         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7231         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7232         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7233         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7235 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7237         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7238         expression inside statement expression.
7240 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7242         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7243         <sysdeps/nptl/lowlevellock.h> and remove macros and
7244         functions that are now defined there.
7245         (SYS_futex): Remove.
7246         (lll_compare_and_swap): Remove.
7247         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7249 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7251         [BZ #17999]
7252         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7253         instead of scandirat.
7254         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7255         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7256         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7257         __scandirat.
7258         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7259         (__scandirat): Declare.  Use libc_hidden_proto.
7260         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7261         Remove variable.
7262         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7264 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7266         [BZ #15319]
7267         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7268         (MO): New macro.
7269         (__ieee754_atan2): For results with small absolute value, force
7270         underflow exception and remove excess range and precision from
7271         return value.
7272         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7273         (MO): New macro.
7274         (__ieee754_atan2f): For results with small absolute value, force
7275         underflow exception and remove excess range and precision from
7276         return value.
7277         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7278         (MO): New macro.
7279         (__atan): For results with small absolute value, force underflow
7280         exception and remove excess range and precision from return value.
7281         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7282         (MO): New macro.
7283         (__atanf): For results with small absolute value, force underflow
7284         exception and remove excess range and precision from return value.
7285         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7286         <math.h>.
7287         (__ieee754_atan2): Force underflow exception for results with
7288         small absolute value.
7289         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7290         <math_private.h>.
7291         (atan): Force underflow exception for results with small absolute
7292         value.
7293         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7294         (__atanf): Force underflow exception for results with small
7295         absolute value.
7296         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7297         <math.h>.
7298         (__atanl): Force underflow exception for results with small
7299         absolute value.
7300         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7301         (__atanl): Force underflow exception for results with small
7302         absolute value.
7303         * sysdeps/x86/fpu/bits/mathinline.h
7304         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7305         (__ieee754_atan2): Only define inline for long double.
7306         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7307         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7308         * math/auto-libm-test-in: Do not mark underflow exceptions as
7309         possibly missing for bug 15319.  Add more tests of atan2.
7310         * math/auto-libm-test-out: Regenerated.
7311         * math/libm-test.inc (casin_test_data): Do not mark underflow
7312         exceptions as possibly missing for bug 15319.
7313         (casinh_test_data): Likewise.
7314         * sysdeps/i386/fpu/libm-test-ulps: Update.
7316 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7318         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7319         * sysdeps/mips/bits/endian.h: Fix comments.
7321 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7323         [BZ #17996]
7324         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7325         (hdestroy_r): Likewise.
7326         (hsearch_r): Likewise.
7327         (__hcreate_r): Declare and use libc_hidden_proto.
7328         (__hdestroy_r): Likewise.
7329         (__hsearch_r): Likewise.
7330         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7331         (hcreate): Call __hcreate_r instead of hcreate_r.
7332         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7333         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7334         as weak alias of __hcreate_r.
7335         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7336         __hdestroy_r.
7337         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7338         __hsearch_r.
7339         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7340         Remove variable.
7341         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7342         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7343         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7344         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7346 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7348         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7349         arena_lock into a single arena_get.
7351 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7353         * dl-reloc.c: Inlucde libc-internal.h.
7354         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7355         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7356         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7357         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7358         (grow_heap): Likewise.
7359         * malloc/malloc.c: Include libc-internal.h.
7360         (do_check_malloc): Call powerof2.
7361         (sysmalloc): Use pagesize. Call ALIGN_UP.
7362         (systrim): Use pagesize.
7363         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7364         (__libc_valloc): Use pagesize.
7365         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7367 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7369         [BZ #17991]
7370         * include/sys/resource.h (__getrlimit64): Declare.  Use
7371         libc_hidden_proto.
7372         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7373         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7374         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7375         getrlimit64.
7376         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7377         __getrlimit64.
7378         [!getrlimit64] (getrlimit64): Define as weak alias of
7379         __getrlimit64.  Use libc_hidden_weak.
7380         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7381         using __getrlimit64 not __new_getrlimit64.
7382         (__GI_getrlimit64): Likewise.
7383         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7384         Likewise.
7385         (__GI_getrlimit64): Likewise.
7386         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7388         (getrlimit): Add __getrlimit64 alias.
7389         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7390         Likewise.
7391         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7392         Remove variable.
7393         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7394         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7396 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7398         * libio/fileops.c: Add missing sys/mman.h
7399         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7401 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7403         * manual/math.texi (Errors in Math Functions): Clarify goals
7404         regarding inexact and underflow exceptions.
7406 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7408         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7409         * sysdeps/mips/memset.S: Ditto.
7411 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7413         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7415 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7417         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7418         (__v1longjmp): Remove versioned symbol.
7419         (__v1siglongjmp): Remove alias and versioned symbol.
7420         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7421         (__v2siglongjmp): Likewise.
7423 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7425         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7427 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7429         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7431 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7433         [BZ #17987]
7434         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7435         zero result does not depend on the sign resulting from
7436         subtraction.
7437         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7438         Likewise.
7439         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7440         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7441         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7442         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7443         * math/libm-test.inc (remquo_test_data): Add more tests.
7445 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7447         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7448         Problem reported by J William Piggott.
7450 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7452         [BZ #17978]
7453         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7454         products 4 * y and 2 * y where those would overflow.
7455         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7456         Likewise.
7457         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7458         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7459         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7460         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7461         * math/libm-test.inc (remquo_test_data): Add more tests.
7463         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7465         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7466         [defined _COMPILING_NEWLIB].
7467         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7468         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7470         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7471         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7473 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7475         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7476         acquired.
7478 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7480         [BZ #17792]
7481         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7482         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7483         HOST_STACK_END_ADDR): Likewise.
7485 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7487         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7488         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7489         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7491 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7493         * sysdeps/generic/c++-types.data: New file.
7494         * sysdeps/generic/ld.abilist: New file.
7495         * sysdeps/generic/libBrokenLocale.abilist: New file.
7496         * sysdeps/generic/libanl.abilist: New file.
7497         * sysdeps/generic/libc.abilist: New file.
7498         * sysdeps/generic/libcrypt.abilist: New file.
7499         * sysdeps/generic/libdl.abilist: New file.
7500         * sysdeps/generic/libm.abilist: New file.
7501         * sysdeps/generic/libpthread.abilist: New file.
7502         * sysdeps/generic/libresolv.abilist: New file.
7503         * sysdeps/generic/librt.abilist: New file.
7505 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7507         [BZ #17569]
7508         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7509         Compute absolute value of x as modified by fmod, not original
7510         value of x.
7511         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7512         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7513         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7514         RUN_TEST_ffI_f1_mod8.
7515         (remquo_test_data): Add more tests.
7517 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7519         * sysdeps/init_array/pt-crti.S: New file.
7521 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7523         [BZ #17967]
7524         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7525         __builtin_fmaf instead of relying on contraction of a * b + c.
7527 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7529         [BZ #17969]
7530         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7531         node.
7533 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7535         [BZ #17964]
7536         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7537         __builtin_fma instead of relying on contraction of a * b + c.
7539 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7541         * Makeconfig (ASFLAGS): Add -Werror=undef.
7542         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7543         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7544         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7546         * Makeconfig (after-link): New variable.
7547         (+link-pie, +link-pie-tests): Use it.
7548         (+link-static, +link-static-tests): Likewise.
7549         (+link, +link-tests): Likewise.
7550         * Makerules (build-module, build-module-asneeded): Likewise.
7551         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7552         Likewise.
7553         * elf/Makefile ($(objpfx)ld.so): Likewise.
7555 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7557         [BZ #17965]
7558         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7559         both struct timeval and struct timespec.
7561 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7563         [BZ #16560]
7564         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7565         and redefine.
7566         (__ieee754_exp2l): Do not multiply small fractional parts by
7567         M_LN2l.
7568         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7569         small argument.
7570         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7571         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7572         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7573         * math/auto-libm-test-in: Add more tests of exp2.
7574         * math/auto-libm-test-out: Regenerated.
7576 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7578         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7579         unaligned path.
7581 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7583         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7584         little endian.
7586 2015-02-12  Andreas Schwab  <schwab@suse.de>
7588         [BZ #15790]
7589         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7590         Filter out elision flags from value returned in kind.
7591         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7592         * nptl/tst-pthread-mutexattr.c: New file.
7594 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7596         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7597         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7598         into gnu-gnu, and update comment to refer to abi-tags.
7600 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7602         [BZ #15467]
7603         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7604         (__sincos): Set errno to EDOM for infinite argument.
7605         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7606         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7607         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7608         (__sincosl): Set errno to EDOM for infinite argument.
7609         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7610         (__sincosl): Set errno to EDOM for infinite argument.
7611         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7612         (__sincosl): Set errno to EDOM for infinite argument.
7613         * math/libm-test.inc (sincos_test_data): Test errno setting.
7615 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7617         * string/strxfrm_l.c: Remove #define STRCMP.
7618         * string/strcoll_l.c: Remove #define STRLEN.
7619         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7620         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7622 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7624         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7625         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7626         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7627         * sysdeps/mips/mips64/Makefile: ... here.
7628         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7629         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7630         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7631         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7632         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7633         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7634         * sysdeps/mips/mips64/n64/Implies: Likewise.
7636 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7638         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7639         <sys/time.h>, <string.h>, and <errno.h>.
7640         (dest_offset, dest_address, value, zero): Remove unused variables.
7641         (ldouble): Remove typedef.
7642         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7643         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7644         1).  Fix code style.
7645         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7646         (check): Function removed.
7647         (CHECK): New macro.
7648         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7649         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7650         Don't call set_sigaction_FP and remove_sigaction_FP here.
7651         (ldouble_test): Just use 'long double' as macro argument, no need for
7652         the 'ldouble' typedef.
7653         (do_test): Set up SIGFPE handler at start, using plain signal rather
7654         than sigaction.  Fix code style.
7656 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7658         [BZ #17949]
7659         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7660         jump label.
7662 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7664         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7665         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7667         * sysdeps/powerpc/configure.ac: Remove file.
7668         * sysdeps/powerpc/configure: Likewise.
7670         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7671         [sysdep_routines]: Remove wordcopy-power6 object.
7672         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7673         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7674         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7675         (__memmove_ppc32): Likewise.
7676         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7677         file.
7678         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7679         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7680         Remove preprocessor.
7682         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7683         [sysdep_routines]: Remove wide chars objects.
7684         [wcsmbs]: New rule for wide char objects.
7686         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7687         Remove wordcopy-power6 obejct.
7688         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7689         Use local call for wordcopy and memcpy symbols.
7690         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7691         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7692         implementation for loader.
7693         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7695         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7696         Remove wordcopy-power7 object.
7697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7699         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7700         (_wordcopy_fwd_dest_aligned): Likewise.
7701         (_wordcopy_bwd_aligned): Likewise.
7702         (_wordcopy_bwd_dest_aligned): Likewise.
7704         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7705         Rewrite to call __memmove_ppc instead of include default
7706         implementation.
7708         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7709         Remove wide chars objects.
7710         [wcsmbs]: New rule for wide char objects.
7712 2015-02-09  Andreas Schwab  <schwab@suse.de>
7714         [BZ #17912]
7715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7716         in terms of __O_DIRECTORY.
7718 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7720         * time/getdate.c: Include <stdbool.h>.
7721         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7722         call PTR_MANGLE.
7723         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7724         PTR_DEMANGLE.
7726 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7728         Add ersatz _Static_assert on older C hosts
7729         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7730         pre-C11 C platform that is not known to support _Static_assert.
7732 2015-02-07  Richard Braun  <rbraun@sceen.net>
7734         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7735         sigstate.
7736         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7738 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7740         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7741         priority against unexistent AIO_PRIO_DELTA_MAX.
7742         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7743         instead of int.
7744         * misc/fchflags.c (fchflags): Likewise.
7745         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7746         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7747         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7748         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7749         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7750         Declare macros.
7751         [__USE_MISC] (chflags, fchflags): Declare functions.
7752         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7753         EINVAL when nfds is greater than FD_SETSIZE.
7754         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7755         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7756         45.
7757         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7758         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7759         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7760         MACH_RCV_TIMED_OUT.
7761         * hurd/hurd/signal.h (_hurd_self_sigstate,
7762         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7763         Explicit casts from void *.
7764         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7765         * abi-tags: Rename gnu-gnu os into gnu.
7767         [BZ #4719]
7768         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7769         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7770         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7771         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7772         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7773         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7775         [BZ #17944]
7776         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7777         duplicates ADDR->sun_path with sockaddr LEN limitation.
7778         * sysdeps/mach/hurd/connect.c: Include <string.h>
7779         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7780         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7781         * sysdeps/mach/hurd/sendto.c: Likewise.
7782         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7783         implementing it by hand.
7785 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7787         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7788         Use sfi_breg on ldr.
7789         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7790         Likewise.
7792         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7793         it's defined.
7794         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7795         Test SIGSETXID only if it's defined.
7797         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7799         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7800         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7802         * nptl/tst-align2.c: Moved ...
7803         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7804         * nptl/Makefile (tests): Remove tst-align2.
7805         * sysdeps/unix/sysv/linux/Makefile
7806         [$(subdir) = nptl] (tests): Add tst-align-clone.
7807         * nptl/tst-getpid1.c: Moved ...
7808         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7809         * nptl/tst-getpid2.c: Moved ...
7810         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7811         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7812         * sysdeps/unix/sysv/linux/Makefile
7813         [$(subdir) = nptl] (tests): ... here.
7814         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7815         * sysdeps/unix/sysv/linux/Makefile
7816         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7818         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7819         Drop trailing \n from perror argument.  Use return rather than exit.
7821         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7822         on [SA_SIGINFO].
7823         * nptl/tst-cancel21.c (do_test): Likewise.
7824         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7825         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7826         [!SA_SIGINFO]: Make it a stub test.
7828         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7829         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7831         * posix/tst-getlogin.c: Move to ...
7832         * login/tst-getlogin.c: ... here.
7833         * posix/Makefile (tests): Move tst-getlogin to ...
7834         * login/Makefile (tests): ... here.
7836         * libio/tst-atime.c (do_test): Move local variables SV and E
7837         inside [ST_NOATIME] conditional.
7839         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7841         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7843         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7844         (wait_code): New function replaces macro.
7845         Call nanosleep rather than syscall.
7847         * nptl/pt-system.c: Rewritten.  Put everything under
7848         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7849         Use IFUNC to redirect when possible.
7851         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7852         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7853         Use IFUNC to redirect when possible.
7855         * nptl/pt-fork.c: Rewritten.  Put everything under
7856         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7857         Use IFUNC to redirect when possible.
7858         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7860         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7861         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7862         unconditionally nowadays.  This included the only reference to
7863         __vdso_clock_gettime that appears outside libc proper.
7864         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7865         Remove version set (containing only __vdso_clock_gettime).
7866         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7867         Add attribute_hidden.
7868         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7869         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7870         libc_hidden_data_def.
7871         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7872         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7874         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7875         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7876         setrpcent, and getrpcport to ...
7877         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7878         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7879         getrpcbynumber_r, and getrpcent_r to ...
7880         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7881         * inet/getrpcbyname.c: Moved ...
7882         * sunrpc/getrpcbyname.c: ... here.
7883         * inet/getrpcbyname_r.c: Moved ...
7884         * sunrpc/getrpcbyname_r.c: ... here.
7885         * inet/getrpcbynumber.c: Moved ...
7886         * sunrpc/getrpcbynumber.c: ... here.
7887         * inet/getrpcbynumber_r.c: Moved ...
7888         * sunrpc/getrpcbynumber_r.c: ... here.
7889         * inet/getrpcent.c: Moved ...
7890         * sunrpc/getrpcent.c: ... here.
7891         * inet/getrpcent_r.c: Moved ...
7892         * sunrpc/getrpcent_r.c: ... here.
7893         * inet/Makefile (routines): Move those to ...
7894         * sunrpc/Makefile (routines): ... here.
7895         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7896         the $(subdirs) list.
7897         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7898         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7899         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7900         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7902         * elf/Makefile (routines): Include $(all-dl-routines), not just
7903         $(dl-routines).
7904         (rtld-routines): Likewise.  Use = rather than :=.
7905         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7906         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7907         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7908         * sysdeps/arm/Makefile: Likewise.
7909         * sysdeps/i386/Makefile: Likewise.
7910         * sysdeps/x86_64/Makefile: Likewise.
7911         * sysdeps/hppa/Makefile [$(subdir) = elf]
7912         (sysdep_routines, sysdep-rtld-routines): Don't add
7913         $(sysdep-dl-routines) to these.
7914         * sysdeps/ia64/Makefile: Likewise.
7915         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7916         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7917         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7918         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7919         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7920         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7921         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7922         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7923         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7924         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7925         these; sysdep-dl-routines alone is enough.
7927 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7929         [BZ #17932]
7930         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7931         where multiplication results in zero and third argument is finite
7932         and nonzero.
7933         * math/auto-libm-test-in: Add more tests of fma.
7934         * math/auto-libm-test-out: Regenerated.
7936         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7937         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7938         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7939         (_FP_CMP_EQ): Likewise.
7940         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7942         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7943         extra argument CHECK_NAN.  Redefine as wrapper around
7944         _FP_EXTEND_CNAN.
7946 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7948         * version.h (RELEASE): Set to "stable".
7949         (VERSION): Set to "2.21"
7950         * include/features.h (__GLIBC_MINOR__): Set to 21.
7952         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7954 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7955             Paul Eggert  <eggert@cs.ucla.edu>
7957         [BZ #16618]
7958         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7959         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7960         size in bytes. Store needed elements in wpmax. Use needed size
7961         in bytes for extend_alloca.
7963 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7965         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7966         binutls 2.25, and texinfo 5.2.
7967         * INSTALL: Regenerate.
7968         * sysdeps/nios2/configure: Regenerate.
7969         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7970         * manual/contrib.texi: Update.
7971         * po/be.po: Update.
7972         * po/bg.po: Update.
7973         * po/ca.po: Update.
7974         * po/cs.po: Update.
7975         * po/da.po: Update.
7976         * po/de.po: Update.
7977         * po/el.po: Update.
7978         * po/eo.po: Update.
7979         * po/es.po: Update.
7980         * po/fi.po: Update.
7981         * po/fr.po: Update.
7982         * po/gl.po: Update.
7983         * po/hr.po: Update.
7984         * po/hu.po: Update.
7985         * po/ia.po: Update.
7986         * po/id.po: Update.
7987         * po/it.po: Update.
7988         * po/ja.po: Update.
7989         * po/ko.po: Update.
7990         * po/lt.po: Update.
7991         * po/nb.po: Update.
7992         * po/nl.po: Update.
7993         * po/pl.po: Update.
7994         * po/pt_BR.po: Update.
7995         * po/ru.po: Update.
7996         * po/rw.po: Update.
7997         * po/sk.po: Update.
7998         * po/sl.po: Update.
7999         * po/sv.po: Update.
8000         * po/tr.po: Update.
8001         * po/uk.po: Update.
8002         * po/vi.po: Update.
8003         * po/zh_CN.po: Update.
8004         * po/zh_TW.po: Update.
8006         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8007         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8008         * sysdeps/hppa/dl-irel.h: Remove #warning.
8009         * sysdeps/hppa/entry.h: Provide prototype for
8010         __canonicalize_funcptr_for_compare and cast argument.
8011         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8012         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8013         * sysdeps/hppa/sotruss-lib.c: New file.
8014         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8015         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8016         (atomic_compare_and_exchange_bool_acq): Likewise.
8017         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8018         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8020         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8021         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8022         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8024 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8026         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8027         called function in non-PIC case.
8029 2015-01-31  David S. Miller  <davem@davemloft.net>
8031         * sysdeps/sparc/sparc32/bits/atomic.h
8032         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8033         unlock not after it.
8034         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8035         volatile register usage warnings from the compiler.
8037         * sysdeps/sparc/nptl/sem_init.c: Delete.
8038         * sysdeps/sparc/nptl/sem_post.c: Delete.
8039         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8040         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8041         * sysdeps/sparc/sparc32/sem_init.c: New file.
8042         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8043         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8044         padding explicitly initialized.
8045         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8046         padding for in-semaphore spinlock.
8047         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8048         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8049         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8050         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8051         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8052         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8053         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8054         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8055         version.
8056         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8057         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8059 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8061         [BZ #17801]
8062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8063         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8064         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8065         New.
8066         (index_AVX_Fast_Unaligned_Load): Likewise.
8067         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8068         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8069         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8070         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8071         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8072         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8073         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8074         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8075         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8077 2015-01-29  Andreas Schwab  <schwab@suse.de>
8079         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8081 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8083         [BZ #17892]
8084         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8086 2015-01-28  Martin Sebor  <msebor@redhat.com>
8088         * math/README.libm-test: Clarify. Add "How to read the test output."
8090 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8092         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8093         Define to 0.
8095 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8097         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8098         (__HAVE_64B_ATOMICS): Define to 0.
8100 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8102         [BZ #17885]
8103         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8104         value to set as new flag.
8106         [BZ #16576]
8107         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8108         and use _ARCH_PPCSQ instead.
8109         (__ieee754_sqrt): Likewise.
8110         (__ieee754_sqrtf): Likewise.
8111         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8112         _ARCH_PPCSQ is defined.
8113         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8114         fsqrt instruction.
8115         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8116         _ARCH_PPCSQ is defined.
8117         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8118         fsqrts instruction.
8119         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8121 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8123         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8124         bug (GCC BZ #64739).
8126 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8128         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8129         Mark _retval as used.
8130         (lll_futex_wake_unlock): Likewise.
8131         (lll_futex_timed_wait_requeue_pi): Likewise.
8133         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8134         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8135         register variables.
8137         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8138         libm_hidden_def.
8140         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8141         (__bswap_64): Mark as __always_inline.
8143 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8145         [BZ #15378]
8146         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8147         when none of the search directories exist.
8149 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8151         [BZ #17869]
8152         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8153         power8 in .machine directive.
8155         [BZ #17868]
8156         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8157         set dependency from opd value.
8159 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8162         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8163         architecture.
8165 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8167         [BZ #17870]
8168         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8169         with uint64_t.
8170         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8171         (uint64_t) 1.
8172         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8173         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8174         Replace 1UL with (uint64_t) 1.
8175         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8176         int with uint64_t.
8178 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8180         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8181         (if_freenameindex): Likewise.
8183         * resource/getrlimit64.c: Add missing libc_hidden_def.
8185 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8187         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8188         __label__.
8189         (_FP_FMA): Likewise.
8190         (_FP_TO_INT_ROUND): Likewise.
8191         (_FP_FROM_INT): Likewise.
8193 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8195         [BZ #16418]
8196         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8197         Make code racy and cancel safe.
8199 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8201         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8202         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8203         attribution.
8205         * pwd/tst-getpw.c: Rewrite.
8207         [BZ #17702]
8208         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8209         (modules-names): Add moddummy1 and moddummy2.
8210         ($(objpfx)tst-rec-dlopen): Define.
8211         * dlfcn/moddummy1.c: New file.
8212         * dlfcn/moddummy2.c: New file.
8213         * dlfcn/tst-rec-dlopen.c: New file.
8214         * elf/dl-cache.c (_dl_load_cache_lookup):
8215         Return char*. Copy result with alloca/strcpy/strdup.
8216         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8217         returns char*. Free cached. If not saving realname
8218         free cached.
8219         * elf/dl-open.c (dl_open_worker): Do not assert that
8220         _r_debug->r_state is RT_CONSISTENT.
8221         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8222         returns char*.
8224 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8225             Carlos O'Donell  <carlos@redhat.com>
8227         [BZ #12674]
8228         * nptl/sem_waitcommon.c: New file.
8229         * nptl/sem_wait.c: Include sem_waitcommon.c.
8230         (__sem_wait_cleanup, do_futex_wait): Remove.
8231         (__new_sem_wait): Adapt.
8232         (__new_sem_trywait): New function.
8233         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8234         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8235         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8236         (sem_timedwait): Adapt.
8237         * nptl/sem_post.c (__new_sem_post): Adapt.
8238         (futex_wake): New function.
8239         (__old_sem_post): Add release MO fence.
8240         * nptl/sem_open.c (sem_open): Adapt.
8241         * nptl/sem_init.c (__new_sem_init): Adapt.
8242         (futex_private_if_supported): New function.
8243         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8244         (__old_sem_getvalue): Add using previous code.
8245         * sysdeps/nptl/internaltypes.h: Adapt.
8246         * nptl/tst-sem13.c (do_test): Adapt.
8247         * nptl/tst-sem11.c (main): Adapt.
8248         * nptl/sem_trywait.c: Remove.
8249         * nptl/DESIGN-sem.txt: Remove.
8250         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8251         (gen-as-const-headers): Remove structsem.sym.
8252         * nptl/structsem.sym: Remove.
8253         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8254         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8255         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8256         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8257         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8258         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8259         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8260         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8261         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8262         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8263         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8264         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8265         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8266         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8267         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8268         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8269         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8270         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8271         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8272         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8273         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8274         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8276 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8278         * INSTALL: Regenerated.
8280         * po/libc.pot: Regenerated.
8282 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8283             Sandra Loosemore  <sandra@codesourcery.com>
8284             Andrew Jenner  <andrew@codesourcery.com>
8285             Joseph Myers  <joseph@codesourcery.com>
8286             Nathan Sidwell  <nathan@codesourcery.com>
8288         * NEWS: Mention new Nios II port.
8289         * sysdeps/nios2/Implies: New file.
8290         * sysdeps/nios2/Makefile: New file.
8291         * sysdeps/nios2/Subdirs: New file.
8292         * sysdeps/nios2/Versions: New file.
8293         * sysdeps/nios2/__longjmp.S: New file.
8294         * sysdeps/nios2/abort-instr.h: New file.
8295         * sysdeps/nios2/backtrace.c: New file.
8296         * sysdeps/nios2/bits/endian.h: New file.
8297         * sysdeps/nios2/bits/fenv.h: New file.
8298         * sysdeps/nios2/bits/link.h: New file.
8299         * sysdeps/nios2/bits/setjmp.h: New file.
8300         * sysdeps/nios2/bsd-_setjmp.S: New file.
8301         * sysdeps/nios2/bsd-setjmp.S: New file.
8302         * sysdeps/nios2/configure: New generated file.
8303         * sysdeps/nios2/configure.ac: New file.
8304         * sysdeps/nios2/crti.S: New file.
8305         * sysdeps/nios2/crtn.S: New file.
8306         * sysdeps/nios2/dl-init.c: New file.
8307         * sysdeps/nios2/dl-machine.h: New file.
8308         * sysdeps/nios2/dl-sysdep.h: New file.
8309         * sysdeps/nios2/dl-tls.h: New file.
8310         * sysdeps/nios2/dl-trampoline.S: New file.
8311         * sysdeps/nios2/gccframe.h: New file.
8312         * sysdeps/nios2/gmp-mparam.h: New file.
8313         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8314         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8315         * sysdeps/nios2/ldsodefs.h: New file.
8316         * sysdeps/nios2/libc-tls.c: New file.
8317         * sysdeps/nios2/libm-test-ulps: New file.
8318         * sysdeps/nios2/machine-gmon.h: New file.
8319         * sysdeps/nios2/math-tests.h: New file.
8320         * sysdeps/nios2/math_private.h: New file.
8321         * sysdeps/nios2/memusage.h: New file.
8322         * sysdeps/nios2/nptl/Makefile: New file.
8323         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8324         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8325         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8326         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8327         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8328         * sysdeps/nios2/nptl/tls.h: New file.
8329         * sysdeps/nios2/preconfigure: New file.
8330         * sysdeps/nios2/s_fma.c: New file.
8331         * sysdeps/nios2/s_fmaf.c: New file.
8332         * sysdeps/nios2/setjmp.S: New file.
8333         * sysdeps/nios2/sfp-machine.h: New file.
8334         * sysdeps/nios2/sotruss-lib.c: New file.
8335         * sysdeps/nios2/stackguard-macros.h: New file.
8336         * sysdeps/nios2/stackinfo.h: New file.
8337         * sysdeps/nios2/start.S: New file.
8338         * sysdeps/nios2/sysdep.h: New file.
8339         * sysdeps/nios2/tls-macros.h: New file.
8340         * sysdeps/nios2/tst-audit.h: New file.
8341         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8342         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8343         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8344         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8345         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8346         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8347         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8348         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8349         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8350         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8351         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8352         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8353         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8354         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8355         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8356         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8357         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8358         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8359         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8360         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8361         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8362         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8363         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8364         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8365         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8366         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8367         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8368         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8369         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8370         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8371         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8372         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8373         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8374         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8375         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8376         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8377         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8378         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8379         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8380         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8381         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8382         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8383         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8384         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8386 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8388         [BZ #17844]
8389         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8390         (getutent): Use weak_alias in non SHARED case
8391         and default_symbol_version in SHARED case.
8392         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8393         (getutent_r, pututline): Likewise.
8394         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8395         (getutid): Likewise.
8396         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8397         (getutid_r): Likewise.
8398         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8399         (getutline): Likewise.
8400         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8401         (getutline_r): Likewise.
8402         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8403         (updwtmp): Likewise.
8405 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8407         [BZ #17848]
8408         * sysdeps/s390/s390-32/memcmp.S
8409         (memcmp_g5): Rename to __memcmp_g5.
8410         * sysdeps/s390/s390-32/memcpy.S
8411         (memcpy_g5): Rename to __memcpy_g5.
8412         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8413         (memcpy_mvcle) Rename to __memcpy_mvcle.
8414         * sysdeps/s390/s390-32/memset.S
8415         (memset_g5): Rename to __memset_g5.
8416         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8417         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8418         and use prefixed functions.
8419         * sysdeps/s390/s390-32/multiarch/memcmp.S
8420         (memcmp_z196): Rename to __memcmp_z196.
8421         (memcmp_z10): Rename to __memcmp_z10.
8422         (memcmp): Set alias to __memcmp_g5.
8423         (bcmp): Set alias to __memcmp_g5.
8424         * sysdeps/s390/s390-32/multiarch/memcpy.S
8425         (memcpy_z196): Rename to __memcpy_z196.
8426         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8427         (memcpy_z10): Rename to __memcpy_z10.
8428         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8429         (memcpy): Set alias to __memcpy_g5.
8430         * sysdeps/s390/s390-32/multiarch/memset.S
8431         (memset_z196): Rename to __memset_z196.
8432         Jump to __memset_mvcle instead of memset_mvcle.
8433         (memset_z10): Rename to __memset_z10.
8434         Jump to __memset_mvcle instead of memset_mvcle.
8435         (memset_mvcle) Rename to __memset_mvcle.
8436         (memset): Set alias to __memset_g5.
8437         * sysdeps/s390/s390-64/memcmp.S
8438         (memcmp_z900): Rename to __memcmp_z900.
8439         * sysdeps/s390/s390-64/memcpy.S
8440         (memcpy_z900): Rename to __memcpy_z900.
8441         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8442         (memcpy_mvcle) Rename to __memcpy_mvcle.
8443         * sysdeps/s390/s390-64/memset.S
8444         (memset_z900): Rename to __memset_z900.
8445         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8446         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8447         and use prefixed functions.
8448         * sysdeps/s390/s390-64/multiarch/memcmp.S
8449         (memcmp_z196): Rename to __memcmp_z196.
8450         (memcmp_z10): Rename to __memcmp_z10.
8451         (memcmp): Set alias to __memcmp_z900.
8452         (bcmp): Set alias to __memcmp_z900.
8453         * sysdeps/s390/s390-64/multiarch/memcpy.S
8454         (memcpy_z196): Rename to __memcpy_z196.
8455         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8456         (memcpy_z10): Rename to __memcpy_z10.
8457         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8458         (memcpy): Set alias to __memcpy_z900.
8459         * sysdeps/s390/s390-64/multiarch/memset.S
8460         (memset_z196): Rename to __memset_z196.
8461         Jump to __memset_mvcle instead of memset_mvcle.
8462         (memset_z10): Rename to __memset_z10.
8463         Jump to __memset_mvcle instead of memset_mvcle.
8464         (memset_mvcle) Rename to __memset_mvcle.
8465         (memset): Set alias to __memset_z900.
8467 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8469         [BZ #17748]
8470         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8471         __fesetenv instead of fesetenv.
8473 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8475         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8476         macro.
8478 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8480         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8481         regression on LE.
8483         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8484         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8485         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8486         strncmp-power8 object.
8487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8488         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8489         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8490         * NEWS: Update.
8492 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8493             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8495         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8496         trailing byte check.
8498 2015-01-13  David S. Miller  <davem@davemloft.net>
8500         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8502 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8504         * login/logout.c (logout): Use memset rather than bzero.
8505         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8506         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8507         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8508         (_gethtbyaddr): Likewise.
8509         * locale/programs/simple-hash.c (bcopy): Macro removed.
8511 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8513         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8514         Add strcmp-power8 object.
8515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8516         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8517         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8518         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8519         __strcmp_power8 implementation.
8520         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8521         * NEWS: Update.
8523         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8524         Add strncpy-power8 and stpncpy-power8 objects.
8525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8526         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8527         implementations.
8528         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8529         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8530         __stpncpy_power8 implementation.
8531         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8532         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8533         __strncpy_power8 implementation.
8534         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8535         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8536         * NEWS: Update.
8538         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8539         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8540         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8542         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8543         strncat-power8 object.
8544         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8545         __strcat_power8 implementation.
8546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8547         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8548         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8549         optimized strcat for power8.
8551         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8552         strcpy-power8 and stpcpy-power8 objects.
8553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8554         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8555         implementations.
8556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8557         multiarch stpcpy implementation for POWER8.
8558         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8559         multiarch strcpy implementation for POWER8.
8560         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8561         __strcpy_power8 function.
8562         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8563         stpcpy for POWER8.
8564         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8565         strcpy for POWER8.
8566         * NEWS: Update.
8568 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8570         [BZ #16009]
8571         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8572         weights and rules. Use do_xfrm_cached if data fits in cache,
8573         do_xfrm otherwise.  Moved former main loop to...
8574         * (do_xfrm_cached): New function.
8575         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8576         find_idx, find_position and stack_push.
8577         * (find_idx): New function.
8578         * (find_position): Likewise.
8579         * localedata/sort-test.sh: Added test run for do_xfrm.
8580         * localedata/xfrm-test.c (main): Added command line option
8581         -nocache to run the test with strings that are too large for
8582         the STRXFRM cache.
8584 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8586         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8587         variable to lll_futex_wake call, not the value itself.
8589 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8591         [BZ #17803]
8592         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8593         twom64.  Adjust value to 0x1p-64L.
8594         (__scalblnl): Only return standard underflowing result for K <=
8595         -64 not K <= -63; adjust exponent for underflowing result by 64
8596         not 63.
8597         * math/libm-test.inc (scalbn_test_data): Add more tests.
8598         (scalbln_test_data): Likewise.
8600         [BZ #17834]
8601         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8602         0x1p63L.
8603         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8604         not HX.
8605         * math/libm-test.inc (scalbn_test_data): Add more tests.
8606         (scalbln_test_data): Likewise.
8608 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8609             Stefani Seibold  <stefani@seibold.net>
8611         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8612         (sysdep_routines): Add dl-vdso here, ...
8613         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8614         (sysdep_routines): ... not here.
8615         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8616         fallback when vDSO is not presented.
8617         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8618         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8619         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8620         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8621         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8622         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8623         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8624         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8625         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8626         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8627         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8628         fallback configurable symbol when vDSO is not available.
8629         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8630         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8631         be able to redefine fallback symbol when vDSO is not available.
8632         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8633         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8635 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8637         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8638         (TLS_INIT_TP): Add tm_capable initialization.
8639         (TLS_DEFINE_INIT_TP): Likewise.
8640         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8641         TCB.
8642         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8643         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8644         calculation.
8645         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8646         transactoion is lock elision is built and TCB tm_capable is set.
8647         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8649         (INTERNAL_SYSCALL_NCS): Likewise.
8650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8651         (INTERNAL_SYSCALL_NCS): Likewise.
8652         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8654         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8655         for powerpc.
8656         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8657         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8658         and remove it for 32 bits case.
8659         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8660         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8661         initialization.
8662         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8663         Disable lock elision with rdlocks if elision is not available.
8665         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8666         (sysdep_routines): Add lock elision objects.
8667         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8668         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8669         [pthread_mutex_t] (__elision): Add field.
8670         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8671         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8672         elision definitions for powerpc.
8673         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8674         implementation of lock elision for powerpc.
8675         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8676         implementation of timed lock elision for powerpc.
8677         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8678         implementation of trylock with lock elision for powerpc.
8679         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8680         implementaion of unlock for lock elision for powerpc.
8681         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8682         automatic enable lock elision for mutexes.
8683         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8684         transaction execution definitions for powerpc.
8685         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8686         definitions.
8687         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8688         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8689         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8690         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8691         * NEWS: Update.
8693 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8695         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8696         for #include of <shm-directory.h>.
8698 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8700         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8701         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8703 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8705         [BZ #17791]
8706         * NEWS: Mention bug fix.
8707         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8708         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8709         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8711 2015-01-09  Torvald Riegel <triegel@redhat.com>
8713         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8715 2015-01-09  Torvald Riegel <triegel@redhat.com>
8717         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8719 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8721         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8722         pointer and cast to uintptr_t.
8724 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8726         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8727         removed.
8728         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8730 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8732         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8733         of 0.
8735 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8737         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8738         <nptl/pthreadP.h> instead.
8739         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8741         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8742         already defined.
8743         [__SIGRTMIN] (init): Function removed.
8744         [__SIGRTMIN] (initialized): Variable removed.
8745         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8746         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8747         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8748         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8749         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8750         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8751         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8752         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8753         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8754         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8755         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8756         * sysdeps/nptl/allocrtsig.c: New file.
8757         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8758         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8759         * sysdeps/generic/testrtsig.h: File removed.
8761         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8762         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8764         * nptl/nptl-init.c (pthread_functions): Conditionalize
8765         .ptr__nptl_setxid initialization on [SIGSETXID].
8767         * sysdeps/nptl/sys/procfs.h: New file.
8768         * nptl_db/Makefile (headers): Add it.
8769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8771         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8772         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8773         * nptl/pthread_attr_setaffinity.c: Include it.
8774         * nptl/pthread_setattr_default_np.c: Likewise.
8775         * nptl/check-cpuset.h: New file.
8777 2015-01-08  Richard Henderson  <rth@redhat.com>
8779         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8780         (CFLAGS-tst-execstack-prog.c): Likewise.
8781         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8783 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8784             Sandra Loosemore  <sandra@codesourcery.com>
8785             Andrew Jenner  <andrew@codesourcery.com>
8786             Joseph Myers  <joseph@codesourcery.com>
8787             Nathan Sidwell  <nathan@codesourcery.com>
8789         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8790         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8791         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8792         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8793         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8794         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8795         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8796         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8797         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8798         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8799         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8800         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8801         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8802         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8803         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8804         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8805         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8807 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8809         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8810         timespec struct member in syscall macro.
8811         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8812         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8813         first timeval struct member in syscall macro.
8814         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8816 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8818         [BZ #17748]
8819         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8820         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8821         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8822         __feupdateenv and define as weak alias of __feupdateenv.  Use
8823         libm_hidden_weak.
8824         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8825         libm_hidden_def.
8826         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8827         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8828         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8829         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8830         libm_hidden_def.
8831         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8832         __feupdateenv and define as weak alias of __feupdateenv.  Use
8833         libm_hidden_weak.
8834         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8835         libm_hidden_def.
8836         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8837         __feupdateenv and define as weak alias of __feupdateenv.  Use
8838         libm_hidden_weak.
8839         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8840         libm_hidden_def.
8841         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8842         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8843         (__feupdateenv): Likewise.
8844         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8845         __feupdateenv and define as weak alias of __feupdateenv.  Use
8846         libm_hidden_weak.
8847         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8848         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8849         libm_hidden_def.
8850         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8851         function.
8852         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8853         libm_hidden_def.
8854         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8855         __feupdateenv instead of feupdateenv.
8856         (default_libc_feupdateenv_test): Likewise.
8857         (libc_feresetround_ctx): Likewise.
8859 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8861         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8862         prototype.
8864 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8866         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8867         COLL_SYM in a couple of places to avoid uninitialized variable
8868         wanings on tilegx gcc 4.8.2.
8870 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8872         * sysdeps/aarch64/strcpy.S: New file.
8873         * sysdeps/aarch64/stpcpy.S: New file.
8874         * NEWS: Updated.
8876 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8878         * sysdeps/aarch64/strrchr.S: New file.
8879         * NEWS: Updated.
8881 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8883         [BZ #17658]
8884         * stdlib/setenv.c: Fix memory leak when setting large,
8885         duplicate string.
8887 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8889         [BZ #17273]
8890         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8891         and tabs from buffer before parsing fstab entry.
8892         * misc/tst-mntent.c (main): Add test for mount entry with
8893         trailing spaces and tabs.
8895 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8897         [BZ #17748]
8898         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8899         * math/fesetround.c (fesetround): Rename to __fesetround and
8900         define as weak alias of __fesetround.  Use libm_hidden_weak.
8901         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8902         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8903         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8904         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8905         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8906         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8907         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8908         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8909         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8910         __fesetround_inline.
8911         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8912         __fesetround_inline instead of __fesetround.
8913         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8914         __fesetround and define as weak alias of __fesetround.  Use
8915         libm_hidden_weak.  Call __fesetround_inline instead of
8916         __fesetround.
8917         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8918         __fesetround and define as weak alias of __fesetround.  Use
8919         libm_hidden_weak.
8920         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8921         Likewise.
8922         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8923         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8924         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8925         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8926         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8927         __fesetround and define as weak alias of __fesetround.  Use
8928         libm_hidden_weak.
8929         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8930         __fesetround instead of fesetround.
8931         (default_libc_feholdexcept_setround): Likewise.
8932         (libc_feholdsetround_ctx): Likewise.
8933         (libc_feholdsetround_noex_ctx): Likewise.
8935         [BZ #17748]
8936         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8937         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8938         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8939         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8940         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8941         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8942         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8943         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8944         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8945         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8946         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8947         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8948         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8949         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8950         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8951         libm_hidden_def.
8952         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8953         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8954         Likewise.
8955         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8956         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8957         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8958         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8959         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8960         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8961         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8962         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8963         __fesetenv instead of fesetenv.
8964         (libc_feresetround_noex_ctx): Likewise.
8965         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8966         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8967         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8968         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8969         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8970         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8971         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8972         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8973         (__feupdateenv): Likewise.
8974         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8975         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8976         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8977         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8979 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8981         [BZ #17806]
8982         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8983         addresses have been freed.
8985 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8987         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8988         and nservall.
8990 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8992         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8993         Clean up check_pf allocation pattern. addresses
8995 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8997         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8998         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8999         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9000         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9001         * nptl/pthread_join.c (pthread_join): Likewise.
9002         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9003         * sysdeps/posix/waitid.c (__waitid): Likewise.
9004         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9005         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9006         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9007         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9008         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9009         Likewise.
9010         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9011         (__libc_pread64): Likewise.
9012         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9013         (__libc_pwrite): Likewise.
9014         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9015         (__libc_pwrite64): Likewsie.
9016         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9017         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9018         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9019         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9020         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9021         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9022         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9024         Likewise.
9025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9026         (__libc_pread64): Likewise.
9027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9028         Likewise.
9029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9030         (__libc_pwrite64): Likewise.
9031         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9032         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9033         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9034         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9035         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9036         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9037         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9038         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9039         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9040         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9041         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9042         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9043         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9044         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9045         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9046         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9047         Likewise.
9049 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9051         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9052         (CFLAGS-test-double.c): Likewise.
9053         (CFLAGS-test-ldouble.c): Likewise.
9054         (CPPFLAGS-test-ifloat.c): Likewise.
9055         (CPPFLAGS-test-idouble.c): Likewise.
9056         (CPPFLAGS-test-ildoubl.c): Likewise.
9057         (CFLAGS-test-test-fenv.c): Remove variable.
9058         (CFLAGS-test-misc.c): Likewise.
9060 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9062         [BZ #17797]
9063         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9064         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9065         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9066         CLOCKS_PER_SEC == 1000000.
9067         * time/clocktest.c (main): Replace %ld with %jd and cast to
9068         intmax_t.
9070 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9072         * sysdeps/generic/unwind-resume.h: New file.
9073         * sysdeps/gnu/unwind-resume.c: Include it.
9074         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9075         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9076         argument list.
9077         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9078         global rather than static.
9079         (_Unwind_Resume): Update user.
9080         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9081         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9082         rather than static.  Add __attribute__ ((cold)).
9083         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9084         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9085         * sysdeps/arm/arm-unwind-resume.S: New file.
9086         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9087         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9088         * sysdeps/arm/Makefile [$(subdir) = csu]
9089         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9090         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9091         Add rt-arm-unwind-resume.
9092         [$(subdir) = nptl]
9093         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9094         Add pt-arm-unwind-resume.
9095         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9096         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9098 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9100         [BZ #17748]
9101         * include/fenv.h (__feholdexcept): Declare.  Use
9102         libm_hidden_proto.
9103         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9104         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9105         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9106         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9107         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9108         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9109         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9110         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9111         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9112         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9113         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9114         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9115         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9116         (feholdexcept): Likewise.
9117         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9118         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9119         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9120         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9121         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9122         __feholdexcept instead of feholdexcept.
9123         (default_libc_feholdexcept_setround): Likewise.
9125 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9127         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9128         to avoid using stl/str to align destination.
9130 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9132         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9134 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9136         [BZ #17796]
9137         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9138         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9139         Define as weak alias not strong alias.
9141 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9143         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9144         bltzal with addiupc.
9145         (RTLD_START): Ditto.
9147 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9149         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9150         for __vdso_* functions in declarations.
9151         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9152         definitions.
9153         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9154         INTERNAL_VSYSCALL): Use struct return types to check for error.
9156         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9157         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9158         function with cast from llround().
9159         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9160         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9161         Define.
9163 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9165         [BZ #17793]
9166         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9167         Define as weak alias not strong alias.
9169         [BZ #17635]
9170         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9171         ...
9172         * ctype/ctype-extn.c: ... here.
9173         (__isblank_l): Move to ...
9174         * ctype/ctype-c99_l.c: ... here.  New file.
9175         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9176         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9177         Remove variable.
9178         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9179         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9180         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9181         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9182         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9184         [BZ #17777]
9185         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9186         (posix_fadvise64): Define as weak alias not strong alias.
9187         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9188         (posix_fallocate64): Likewise.
9189         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9190         Remove variable.
9191         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9192         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9193         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9194         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9195         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9197 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9199         [BZ #16191]
9200         * NEWS: Mention bug fix.
9201         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9202         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9203         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9204         (HOST_STACK_END_ADDR): Likewise.
9206 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9208         [BZ #17748]
9209         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9210         * math/fegetround.c (fegetround): Rename to __fegetround and
9211         define as weak alias of __fegetround.  Use libm_hidden_weak.
9212         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9213         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9214         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9215         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9216         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9217         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9218         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9219         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9220         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9221         Undefine after rather than before function definition; use
9222         parentheses around function name in definition.
9223         (__fegetround): Also undefine macro after function definition.
9224         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9225         __fegetround and define as weak alias of __fegetround.  Use
9226         libm_hidden_weak.  Do not undefine as macro.
9227         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9228         Likewise.
9229         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9230         __fegetround and define as weak alias of __fegetround.  Use
9231         libm_hidden_weak.
9232         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9233         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9234         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9235         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9236         __fegetround and define as weak alias of __fegetround.  Use
9237         libm_hidden_weak.
9238         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9239         __fegetround instead of fegetround.
9241         [BZ #17782]
9242         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9243         Condition macro definition on [__USE_MISC].
9245         [BZ #17781]
9246         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9247         (struct sigaction): Change type of sa_flags field to int.
9249         [BZ #17780]
9250         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9251         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9252         __glibc_reserved0.
9254         * nptl/version.c (banner): Use single year in copyright notice.
9256         * NEWS: Update copyright dates.
9257         * catgets/gencat.c (print_version): Likewise.
9258         * csu/version.c (banner): Likewise.
9259         * debug/catchsegv.sh: Likewise.
9260         * debug/pcprofiledump.c (print_version): Likewise.
9261         * debug/xtrace.sh (do_version): Likewise.
9262         * elf/ldconfig.c (print_version): Likewise.
9263         * elf/ldd.bash.in: Likewise.
9264         * elf/pldd.c (print_version): Likewise.
9265         * elf/sotruss.sh: Likewise.
9266         * elf/sprof.c (print_version): Likewise.
9267         * iconv/iconv_prog.c (print_version): Likewise.
9268         * iconv/iconvconfig.c (print_version): Likewise.
9269         * locale/programs/locale.c (print_version): Likewise.
9270         * locale/programs/localedef.c (print_version): Likewise.
9271         * login/programs/pt_chown.c (print_version): Likewise.
9272         * malloc/memusage.sh (do_version): Likewise.
9273         * malloc/memusagestat.c (print_version): Likewise.
9274         * malloc/mtrace.pl: Likewise.
9275         * manual/libc.texinfo: Likewise.
9276         * nptl/version.c (banner): Likewise.
9277         * nscd/nscd.c (print_version): Likewise.
9278         * nss/getent.c (print_version): Likewise.
9279         * nss/makedb.c (print_version): Likewise.
9280         * posix/getconf.c (main): Likewise.
9281         * scripts/test-installation.pl: Likewise.
9282         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9284 2015-01-02  Will Newton  <will.newton@linaro.org>
9286         * sysdeps/arm/armv7/configure: Removed.
9287         * sysdeps/arm/armv7/configure.ac: Likewise.
9289 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9291         * All files with FSF copyright notices: Update copyright dates
9292         using scripts/update-copyrights.
9293         * intl/plural.c: Regenerated.
9294         * locale/programs/charmap-kw.h: Likewise.
9295         * locale/programs/locfile-kw.h: Likewise.
9297 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9299         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9301 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9303         [BZ #17748]
9304         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9305         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9306         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9307         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9308         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9309         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9310         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9311         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9312         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9313         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9314         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9315         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9316         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9317         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9318         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9319         libm_hidden_def.
9320         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9321         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9322         Likewise.
9323         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9324         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9325         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9326         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9327         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9328         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9329         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9330         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9331         __fegetenv instead of fegetenv.
9332         (libc_feholdsetround_noex_ctx): Likewise.
9334 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9336         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9337         (Elf_MIPS_ABIFlags_v0): New structure.
9338         (EF_MIPS_FP64): Define.
9339         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9340         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9341         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9342         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9343         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9344         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9345         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9346         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9347         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9348         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9349         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9350         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9351         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9352         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9353         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9354         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9355         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9356         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9357         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9358         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9359         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9360         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9361         field.
9362         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9363         EF_MIPS_FP64.
9364         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9365         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9366         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9367         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9368         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9369         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9370         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9371         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9372         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9373         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9374         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9375         record the current FP ABI extension.
9376         (mips-mode-switch): Define to show if kernel headers support mode
9377         switching.
9378         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9379         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9380         supported SYSV ABI version to 3.
9381         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9382         feature.
9384 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9385             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9387         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9388         path.
9389         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9391 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9393         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9394         __fegetround and redefine to call __fegetround.  Remove condition
9395         on [!__NO_MATH_INLINES].
9396         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9397         function.
9398         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9399         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9400         Remove macro.
9401         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9402         instead of <fenv_libc.h>.
9403         (__llrintl): Call fegetround instead of __fegetround.
9404         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9405         instead of <fenv_libc.h>.
9406         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9407         (__lrintl): Call fegetround instead of __fegetround.
9408         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9409         instead of <fenv_libc.h>.
9410         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9411         (__rintl): Call fegetround instead of __fegetround.
9413 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9415         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9416         arrays.
9418 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9420         [BZ #17775]
9421         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9422         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9423         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9425 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9427         * sysdeps/i386/tls-macros.h: Include <features.h>.
9428         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9429         (TLS_IE): Likewise.
9430         (TLS_LD): Likewise.
9431         (TLS_GD): Likewise.
9432         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9433         define for GCC >= 5.0.
9435 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9437         * math/test-fenv.c (test_single_exception, set_single_exc,
9438         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9439         feexcp_mask_test, feenable_test, fe_single_test): Add
9440         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9441         case where they are not used.
9442         * math/libm-test.inc: Likewise.
9443         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9444         unused in the absence of FP rounding/exception support.
9445         * stdio-common/tst-printf-round.c: Likewise.
9446         * stdlib/tst-strtod-round.c: Likewise.
9447         * stdlib/tst-strtod-underflow.c: Likewise.
9449 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9451         [BZ #17723]
9452         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9453         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9454         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9455         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9456         libm_hidden_weak.
9457         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9458         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9459         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9460         libm_hidden_def.
9461         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9462         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9463         libm_hidden_weak.
9464         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9465         Likewise.
9466         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9467         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9468         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9469         libm_hidden_weak.
9470         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9471         libm_hidden_def.
9472         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9473         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9474         (__feraiseexcept): Likewise.
9475         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9476         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9477         libm_hidden_weak.
9478         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9479         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9480         libm_hidden_def.
9481         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9482         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9483         Use libm_hidden_def.
9484         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9485         libm_hidden_def.
9486         (feraiseexcept): Define as weak not strong alias.  Use
9487         libm_hidden_weak.
9488         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9489         New inline function.  Factored out of ...
9490         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9491         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9492         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9493         feraiseexcept.
9494         * math/w_acos.c (__acos): Likewise.
9495         * math/w_asin.c (__asin): Likewise.
9496         * math/w_ilogb.c (__ilogb): Likewise.
9497         * math/w_j0.c (y0): Likewise.
9498         * math/w_j1.c (y1): Likewise.
9499         * math/w_jn.c (yn): Likewise.
9500         * math/w_log.c (__log): Likewise.
9501         * math/w_log10.c (__log10): Likewise.
9502         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9503         * sysdeps/aarch64/fpu/math_private.h
9504         (libc_feupdateenv_test_aarch64): Likewise.
9505         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9506         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9507         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9508         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9509         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9510         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9511         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9512         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9513         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9514         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9516 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9518         [BZ #17732]
9519         * io/test-utime.c (main): Replace %ld with %jd and cast to
9520         intmax_t.
9521         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9522         * nptl/tst-mutex5.c: Include <stdint.h>.
9523         (do_test): Replace %ld with %jd and cast to intmax_t.
9524         * posix/tst-regex.c (run_test): Likewise.
9525         (run_test_backwards): Likewise.
9526         * rt/tst-clock.c: Include <stdint.h>.
9527         (clock_test): Replace %ld with %jd and cast to intmax_t.
9528         * rt/tst-cpuclock1.c: Include <stdint.h>.
9529         (do_test): Replace %lu with %ju and cast to uintmax_t.
9530         * rt/tst-cpuclock2.c: Include <stdint.h>.
9531         (do_test): Replace %lu with %ju and cast to uintmax_t.
9532         * rt/tst-mqueue1.c: Include <stdint.h>.
9533         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9534         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9535         intmax_t.
9536         * rt/tst-mqueue4.c (do_test): Likewise.
9537         * rt/tst-timer4.c: Include <stdint.h>.
9538         (check_ts): Replace %ld with %jd and cast to intmax_t.
9539         (do_test): Likewise.
9540         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9541         and cast to intmax_t.
9542         * sysdeps/pthread/tst-timer.c (main): Likewise.
9543         * time/clocktest.c (main): Likewise.
9544         * time/tst-posixtz.c (do_test): Likewise.
9545         * timezone/tst-timezone.c (main): Likewise.
9547 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9548             H.J. Lu  <hongjiu.lu@intel.com>
9550         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9551         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9552         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9553         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9554         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9555         version if bit_Fast_Unaligned_Load is set.
9556         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9557         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9558         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9559         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9560         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9561         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9562         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9563         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9564         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9565         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9566         to 4.
9567         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9568         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9569         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9570         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9572 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9574         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9575         instead of #if to avoid a Wundef warning.
9576         * stdlib/tst-limits.c (do_test): Likewise.
9578         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9579         parallel other exception macros.
9580         (fegetenv): Convert from macro to extern inline so that it applies
9581         retroactively to inline functions already seen by the compiler.
9582         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9584         * posix/Makefile (before-compile): Use $(objpfx) for
9585         posix-conf-vars-def.h.
9587 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9589         * posix/getconf.c (main): Use size_t for type of I.
9590         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9591         NSPEC.
9593         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9594         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9595         * posix/posix-envs.def: Likewise.
9596         * sysdeps/posix/sysconf.c: Likewise.
9597         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9598         (specs): Remove array.
9599         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9600         array.
9602         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9603         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9604         (__sysconf): Use CONF_IS_* macros.
9606         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9607         ($(objpfx)posix-conf-vars-def.h): New target.
9608         * posix/posix-conf-vars.list: New file.
9609         * posix/posix-conf-vars.h: New file.
9610         * posix/confstr.c: Include posix-conf-vars.h.
9611         (confstr): Use CONF_IS_* macros.
9612         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9613         CONF_IS_* macros.
9614         * scripts/gen-posix-conf-vars.awk: New file.
9616 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9618         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9619         fegetround): Add no-op macros to avoid linknamespace issues.
9621         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9622         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9624         * sysdeps/unix/sysv/linux/tile/sysdep.h
9625         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9626         assembly-specific section to avoid a redefinition warning.
9628         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9629         long before casting to pointer to avoid a cast warning.
9631 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9633         * sysdeps/tile/tilegx/Implies: New file.
9635 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9637         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9639 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9641         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9643 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9645         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9646         not define.
9647         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9648         <kernel-features.h>.
9649         (__utimes) [__NR_utimes]: Make code unconditional.
9650         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9651         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9652         (__ASSUME_UTIMES): Do not undefine.
9653         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9654         (__ASSUME_UTIMES): Likewise.
9655         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9656         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9657         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9658         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9660 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9662         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9664 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9666         [BZ #17747]
9667         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9668         alias to weak alias for j0l, y0l.
9669         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9670         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9672         [BZ #17746]
9673         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9674         conversion.
9676 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9678         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9679         to zero if not already defined.
9681 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9683         [BZ #17724]
9684         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9685         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9686         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9687         (char *) casts added.
9688         * sysdeps/ieee754/k_standardf.c: New file.
9689         * sysdeps/ieee754/k_standardl.c: Likewise.
9690         * math/Makefile (libm-support): Remove k_standard.
9691         (libm-calls): Add k_standard.
9693 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9695         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9696         Optimize to avoid an unnecessary FPCR read.
9698 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9700         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9701         Optimize to reduce FPCR/FPSR accesses.
9703 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9705         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9706         Call libc_fetestexcept_aarch64.
9708 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9710         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9711         Call libc_fesetround_aarch64.
9713 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9715         [BZ #17733]
9716         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9717         (__bind): Do not define as weak alias.
9718         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9719         define.
9720         (__getsockname): Do not define as weak alias.
9722 2014-12-22  Will Newton  <will.newton@linaro.org>
9724         * manual/install.texi: Document that we require bison 2.7
9725         or above.
9726         * INSTALL: Regenerate.
9727         * configure.ac: Use AC_CHECK_PROG_VER instead of
9728         AC_PATH_PROG when checking for bison and check for
9729         version 2.7 or above.
9730         * configure: Regenerate.
9732 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9734         [BZ #17745]
9735         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9736         * sysdeps/tile/ffsll.c (ffsll): To here.
9738         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9740 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9742         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9743         if not defined.
9744         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9745         definition.
9746         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9747         hidden ___tls_get_addr.
9748         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9749         hidden __tls_get_addr.
9750         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9751         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9752         Likewise.
9754 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9756         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9757         _dl_init call.
9759 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9761         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9762         from "call _dl_init@PLT".
9763         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9765 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9767         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9768         guarantees.
9770 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9772         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9774 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9776         [BZ #17744]
9777         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9778         strnlen.
9780 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9782         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9783         of multu on MIPSr6.
9784         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9785         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9786         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9787         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9788         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9790 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9792         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9793         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9794         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9795         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9796         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9797         mips32r6/mips64r6.
9798         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9800 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9802         * string/strncat.c (STRNCAT): Simplify implementation.
9804 2014-12-19  David S. Miller  <davem@davemloft.net>
9806         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9807         access the quad as both a long double and as a series of 4 words.
9809         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9810         link_map->l_info array access.
9812 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9814         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9816         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9817         * math/atest-exp2.c (TIMEOUT): Likewise.
9818         * math/atest-sincos.c (TIMEOUT): Likewise.
9820 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9822         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9823         -Wno-error with -fno-builtin-lround.
9825 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9827         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9828         Contains futex constants and functions moved over from ...
9829         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9830         <lowlevellock-futex.h>.
9831         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9832         (lll_timedwait_tid): Add comments and parentheses around macro
9833         arguments.
9835 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9837         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9838         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9839         (__lll_private_flag): Remove.
9840         (lll_futex_wait): Likewise.
9841         (lll_futex_timed_wait): Likewise.
9842         (lll_futex_wake): Likewise.
9843         (lll_futex_requeue): Likewise.
9844         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9845         (__lll_timedwait_tid): Spell out argument names.
9846         (lll_timedwait_tid): Add comments and parentheses around macro
9847         arguments.
9848         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9849         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9851 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9853         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9854         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9855         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9856         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9857         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9858         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9859         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9860         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9861         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9862         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9863         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9864         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9865         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9866         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9867         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9868         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9869         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9870         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9871         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9873 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9875         * sysdeps/x86_64/x32/Makefile: New file.
9877 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9879         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9880         1L with (mp_limb_t) 1.
9882 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9884         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9885         * nptl/libc_pthread_init.c: ... here.
9886         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9887         * nptl/register-atfork.c: ... here.
9889         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9890         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9891         Use assert_perror to check its return value.
9892         (__gai_create_helper_thread): Likewise.
9894         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9896         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9898 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9900         [BZ #17725]
9901         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9902         __profil_counter.
9903         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9904         Likewise.
9905         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9906         Likewise.
9907         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9908         Likewise.
9909         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9910         (profil_counter): Likewise.
9911         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9912         (profil_counter): Likewise.
9913         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9914         Likewise.
9915         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9916         Likewise.
9917         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9918         (profil_counter): Likewise.
9919         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9920         Likewise.
9921         [!__profil_counter] (profil_counter): Define as weak alias of
9922         __profil_counter.
9923         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9924         (profil_counter): Rename to __profil_counter.
9925         [!__profil_counter] (profil_counter): Define as weak alias of
9926         __profil_counter.
9927         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9928         (profil_counter): Rename to __profil_counter.
9929         [!__profil_counter] (profil_counter): Define as weak alias of
9930         __profil_counter.
9931         * sysdeps/posix/profil.c: Update comment referring to
9932         profil_counter.
9933         (__profil): Use __profil_counter instead of profil_counter.
9934         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9935         __profil_counter.  Use __profil_counter_ushort and
9936         __profil_counter_uint in definitions.
9937         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9938         instead of profil_counter_uint and profil_counter_ushort.
9940         [BZ #17722]
9941         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9942         define as weak alias of __inet_makeaddr.
9943         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9944         as weak alias of __inet_addr.
9945         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9946         as weak alias of __inet_pton.  Use libc_hidden_weak.
9947         * include/arpa/inet.h (__inet_pton): Declare.  Use
9948         libc_hidden_proto.
9949         (inet_makeaddr): Don't use libc_hidden_proto.
9950         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9951         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9952         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9953         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9954         Remove variable.
9955         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9956         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9958 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9960         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9962 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9964         * stdio-common/bug-vfprintf-nargs.c (do_test):
9965         Cast value to intptr_t to avoid format warning
9966         for usage with PRIdPTR printing macro.
9968 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9970         * libio/tst-widetext.c (do_test):
9971         Use format type %td instead of %Zd for ptrdiff_t
9972         in order to avoid format warning.
9974 2014-12-17  Andreas Schwab  <schwab@suse.de>
9976         * nscd/mem.c (gc): Add size_t cast to match printf format.
9978 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9980         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9981         (init): Apply PTR_MANGLE to pointers before storing them.
9982         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9983         before using them.
9985 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9987         [BZ #17719]
9988         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9989         define as weak alias of __memrchr.
9990         (__memrchr): Do not define as strong alias of memrchr.
9991         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9992         Remove variable.
9993         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9994         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9995         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9997         [BZ #17717]
9998         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9999         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10000         (if_indextoname): Rename to __if_indextoname and define as weak
10001         alias of __if_indextoname.  Use libc_hidden_weak.
10002         (if_freenameindex): Rename to __if_freenameindex and define as
10003         weak alias of __if_freenameindex.
10004         (if_nameindex): Rename to __if_nameindex and define as weak alias
10005         of __if_nameindex.
10006         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10007         __if_nametoindex and define as weak alias of __if_nametoindex.
10008         Use libc_hidden_weak.
10009         (if_freenameindex): Rename to __if_freenameindex and define as
10010         weak alias of __if_freenameindex.
10011         (if_nameindex): Rename to __if_nameindex and define as weak alias
10012         of __if_nameindex.
10013         (if_indextoname): Rename to __if_indextoname and define as weak
10014         alias of __if_indextoname.  Use libc_hidden_weak.
10015         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10016         __if_nametoindex and define as weak alias of __if_nametoindex.
10017         Use libc_hidden_weak.
10018         (if_freenameindex): Rename to __if_freenameindex and define as
10019         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10020         (if_nameindex_netlink): Use __if_freenameindex instead of
10021         if_freenameindex.
10022         (if_nameindex): Rename to __if_nameindex and define as weak alias
10023         of __if_nameindex.  Use libc_hidden_weak.
10024         (if_indextoname): Rename to __if_indextoname and define as weak
10025         alias of __if_indextoname.  Use libc_hidden_weak.
10026         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10027         libc_hidden_proto.
10028         [!_ISOMAC] (__if_freenameindex): Likewise.
10029         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10030         if_nametoindex.
10031         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10032         variable.
10033         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10034         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10035         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10036         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10037         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10038         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10039         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10041         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10042         Remove variable.
10043         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10044         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10046 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10048         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10049         subscript above bounds'
10051         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10052         bounds.
10054 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10056         * libio/tst-fopenloc.c: Use test-skeleton.c.
10058         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10059         (entry): Rename to ITEM.
10060         (do_test, comp): Adjust.
10062         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10064 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10066         * string/tester.c: Include <libc-internal.h>.
10067         (test_memset): Ignore -Wmemset-transposed-args.
10069 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10071         * misc/tst-mntent2.c (do_test): Fix warning.
10073 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10075         * elf/tst-unique4lib.cc(a): Mark as used.
10077 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10079         [BZ #17630]
10080         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10081         names.
10083 2014-12-16  Allan McRae  <allan@archlinux.org>
10085         * stdio-common/Makefile (tests): Re-add bug26.
10087 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10089         [BZ #17657]
10090         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10091         static array.
10093 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10095         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10096         (__lll_lock_wait): Likewise.
10097         (__lll_timedlock_wait): Likewise.
10098         (__lll_timedwait_tid): Likewise.
10099         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10100         (__lll_robust_timedlock_wait): Likewise.
10101         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10102         (lll_cond_trylock): Likewise.
10103         (__lll_lock): Likewise.
10104         (__lll_robust_lock): Likewise.
10105         (__lll_cond_lock): Likewise.
10106         (lll_robust_cond_lock): Likewise.
10107         (__lll_timedlock): Likewise.
10108         (__lll_robust_timedlock): Likewise.
10109         (__lll_unlock): Likewise.
10110         (__lll_robust_unlock): Likewise.
10111         (lll_wait_tid): Likewise.
10112         (lll_timedwait_tid): Likewise.
10114 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10116         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10118 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10120         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10122 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10124         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10125         * stdio-common/tst-sprintf.c: Likewise.
10127 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10129         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10131 2014-12-15  Jeff Law  <law@redhat.com>
10133         [BZ #16617]
10134         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10135         on the heap.  (CVE-2012-3406)
10136         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10137         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10138         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10140 2014-12-15  Will Newton  <will.newton@linaro.org>
10142         * manual/install.texi: Bump required version of texinfo
10143         to 4.7 from 4.5.
10144         * INSTALL: Regenerated.
10145         * configure.ac: Check for makeinfo version 4.7 and above.
10146         * configure: Regenerated.
10148 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10150         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10151         PREFIX, string constant to insert between directory and name.
10152         * sysdeps/posix/shm_open.c: Update caller.
10153         * sysdeps/posix/shm_unlink.c: Likewise.
10154         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10155         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10156         (SEM_SHM_PREFIX): New macro.
10157         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10158         [$(have-thread-library) = no].
10159         * nptl/Makefile (libpthread-routines): Add shm-directory.
10160         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10161         * sysdeps/nptl/shm-directory.h: New file.
10162         * sysdeps/posix/shm-directory.c
10163         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10164         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10165         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10166         INTERNAL_SYSCALL.
10167         (__where_is_shmfs): Function removed.
10168         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10169         Variables removed.
10170         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10171         Use SHM_GET_NAME.
10172         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10174         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10175         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10176         unconditional for use inside libpthread.
10177         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10179 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10181         * nptl/pthread_getaffinity.c: New file.
10182         * nptl/pthread_setaffinity.c: New file.
10183         * nptl/pthread_getname.c: New file.
10184         * nptl/pthread_setname.c: New file.
10186         * nptl/pthread_create.c (START_THREAD_DEFN)
10187         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10189 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10190             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10192         * resolv/res_send.c (send_vc): Disable warning resplen may
10193         be used uninitialized.
10195 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10197         * nptl/tst-mutex6.c
10198         (ATTR_NULL): New define checks ATTR against NULL.
10199         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10200         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10202 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10204         [BZ #17581]
10205         * malloc/hooks.c
10206         (mem2mem_check): Revert my previous change.
10207         (malloc_check_get_size): Revert my previous change.
10208         (mem2chunk_check): Revert my previous change.
10210 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10212         * sysdeps/posix/shm-directory.c: New file.
10213         * sysdeps/posix/shm-directory.h: New file.
10214         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10215         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10216         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10217         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10218         Transmute EPERM to EACCES.
10219         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10220         from ...
10221         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10222         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10224 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10226         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10227         pointer and cast to uintptr_t.
10228         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10229         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10230         Add cast to avoid warning.
10231         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10233 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10235         * nptl/semaphore.h: Move to ...
10236         * sysdeps/pthread/semaphore.h: ... here.
10237         * Makefile (installed-headers): Change nptl/semaphore.h to
10238         sysdeps/pthread/semaphore.h.
10240 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10242         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10243         generated error format strings.
10245         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10246         -Wformat-extra-args warnings for scanf formats.
10247         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10248         test of zero-length format (duh).
10249         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10250         corner-case scanf format test.
10251         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10252         generated fprintf format string.
10253         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10254         corner-case sprintf format tests.
10255         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10256         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10257         -Wformat-extra-args warnings throughout.
10258         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10259         (CFLAGS-scanf4.c): Likewise.
10260         (CFLAGS-scanf7.c): Likewise.
10261         (CFLAGS-tst-sprintf.c): Likewise.
10262         (CFLAGS-tst-printf.c): Likewise.
10263         (CFLAGS-tst-printfsz.c): Likewise.
10265 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10267         * include/cpio.h: New file.
10268         * include/fmtmsg.h: Likewise.
10270         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10271         corresponding format argument to size_t.
10272         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10273         arguments.
10274         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10275         corresponding format argument to size_t.
10276         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10277         arguments.
10278         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10279         corresponding format argument to size_t.
10280         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10281         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10282         (CFLAGS-tst-mbswcs2.c): Likewise.
10283         (CFLAGS-tst-mbswcs3.c): Likewise.
10284         (CFLAGS-tst-mbswcs4.c): Likewise.
10285         (CFLAGS-tst-mbswcs5.c): Likewise.
10286         (CFLAGS-tst-trans.c): Likewise
10288 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10290         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10291         rather than assuming they won't contain any '%'s.
10293 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10295         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10296         inhibit_loop_to_libcall to avoid recursive calls.
10297         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10298         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10300 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10302         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10303         prototype.
10305 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10307         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10308         integer value instead of boolean.
10310 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10312         * malloc/malloc.c: Fix powerof2 check.
10314 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10316         * locale/programs/locfile.h (maybe_swap_uint32):
10317         Remove inline and add unused attribute.
10319 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10321         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10322         Truncating assembler expression to a .long expression.
10324 2014-12-11  Andreas Schwab  <schwab@suse.de>
10326         * elf/rtld.c (struct map_args): Constify str member.
10327         (do_preload): Constify fname argument.
10329 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10331         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10332         constants definition.
10334 2014-12-11  Andreas Schwab  <schwab@suse.de>
10336         [BZ #16657]
10337         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10338         FORCE_ELISION instead of DO_ELISION.
10339         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10340         Remove.
10341         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10342         Likewise.
10344         * iconvdata/gconv-modules: Remove duplicate entry.
10346 2014-12-11  Will Newton  <will.newton@linaro.org>
10348         Merge gettext 0.19.3 into intl/.
10350         This involves a number of cosmetic changes to comments
10351         and ANSI function definitions and prototypes throughout
10352         all the files. The gettext copyright header is used but
10353         with the date ranges taken from the glibc copy.
10355         * NEWS: Add gettext merge to 2.21.
10356         * intl/bindtextdom.c: Switch to gettext copyright.
10357         Use ANSI definitions and prototypes.
10358         Use gl_* locking primitives rather than __libc_* ones.
10359         Use __builtin_expect rather than __glibc_likely/unlikely.
10360         * intl/dcgettext.c: Switch to gettext copyright.
10361         Use ANSI definitions and prototypes.
10362         * intl/dcigettext.c: Switch to gettext copyright.
10363         Use ANSI definitions and prototypes.
10364         (INTDIV0_RAISES_SIGFPE): New define.
10365         Use gl_* locking primitives rather than __libc_* ones.
10366         Include eval-plural.h instead of plural-eval.c.
10367         Use __builtin_expect rather than __glibc_likely/unlikely.
10368         * intl/dcngettext.c: Switch to gettext copyright.
10369         Use ANSI definitions and prototypes.
10370         * intl/dgettext.c: Likewise.
10371         * intl/dngettext.c: Likewise.
10372         * intl/plural-eval.c: Renamed to...
10373         * intl/eval-plural.h: ...this.
10374         * intl/explodename.c: Switch to gettext copyright.
10375         Use ANSI definitions and prototypes.
10376         (_nl_explode_name): Use strchr instead of __rawmemchr.
10377         * intl/finddomain.c: Switch to gettext copyright.
10378         Use ANSI definitions and prototypes.
10379         Use gl_* locking primitives rather than __libc_* ones.
10380         (_nl_find_domain): Use malloc rather than alloca for
10381         allocation of temporary locale name.
10382         * intl/gettext.c: Switch to gettext copyright.
10383         Use ANSI definitions and prototypes.
10384         * intl/gettextP.h: Switch to gettext copyright.
10385         Use ANSI definitions and prototypes.
10386         Use gl_* locking primitives rather than __libc_* ones.
10387         * intl/gmo.h: Switch to gettext copyright.
10388         (struct sysdep_string): Move struct segment_pair outside of
10389         struct definition.
10390         * intl/hash-string.c: Use ANSI definitions and prototypes.
10391         * intl/hash-string.h: Switch to gettext copyright.
10392         Use ANSI definitions and prototypes.
10393         * intl/l10nflist.c: Switch to gettext copyright.
10394         Use ANSI definitions and prototypes.
10395         (_nl_normalize_codeset): Avoid integer overflow.
10396         * intl/loadinfo.h: Switch to gettext copyright.
10397         Use ANSI definitions and prototypes.
10398         (LIBINTL_DLL_EXPORTED): New define.
10399         (PATH_SEPARATOR): New define.
10400         * intl/loadmsgcat.c: Switch to gettext copyright.
10401         * intl/localealias.c: Switch to gettext copyright.
10402         Use ANSI definitions and prototypes.
10403         (_nl_expand_alias): Use PATH_SEPARATOR.
10404         * intl/ngettext.c: Switch to gettext copyright.
10405         Use ANSI definitions and prototypes.
10406         * intl/plural-exp.c: Likewise.
10407         * intl/plural-exp.h: Switch to gettext copyright.
10408         Use ANSI definitions and prototypes.
10409         (struct expression): Move definition of enum operator outside
10410         of struct definition.
10411         * intl/plural.c: Regenerate.
10412         * intl/plural.y: Switch to gettext copyright.
10413         Use ANSI definitions and prototypes.
10414         Port to bison 3.0.
10415         * intl/textdomain.c: Switch to gettext copyright.
10416         Use ANSI definitions and prototypes.
10417         Use gl_* locking primitives rather than __libc_* ones.
10419 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10421         * debug/warning-nop.c: Add used atrribute.
10423 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10425         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10427         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10428         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10429         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10431 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10432             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10434         [BZ #17634]
10435         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10436         Undefine after defining function.  Define as weak alias of
10437         __wcschr.  Use libc_hidden_weak.
10438         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10439         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10440         (libc_hidden_def): Also define __GI___wcschr alias.
10441         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10442         __wcschr and define as weak alias of __wcschr.
10443         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10444         __wcschr.
10445         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10446         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10447         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10448         libc_hidden_weak.  Do not use libc_hidden_def.
10449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10450         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10451         __GI___wcschr alias.
10452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10453         [IS_IN (libc)] (wcschr): Define as macro expanding to
10454         __redirect_wcschr.
10455         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10456         [IS_IN (libc)] (__wcschr_power6): Likewise.
10457         [IS_IN (libc)] (__wcschr_power7): Likewise.
10458         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10459         instead of wcschr.
10460         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10461         __libc_wcschr.
10462         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10463         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10464         __wcschr and define as weak alias of __wcschr.  Use
10465         libc_hidden_builtin_def.
10466         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10467         as weak alias of __wcschr.  Use libc_hidden_weak.
10468         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10469         wcschr.
10470         * time/era.c (_nl_init_era_entries): Likewise.
10471         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10472         variable.
10473         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10474         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10476 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10478         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10479         format for long int variable.
10481 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10483         [BZ #10672]
10484         * manual/search.texi: (Array Sort Function): Remove claim how to make
10485         qsort stable.
10487 2014-12-10  Andreas Schwab  <schwab@suse.de>
10489         [BZ #12847]
10490         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10491         user-controlled locks.
10493 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10495         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10496         register.
10498 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10500         * configure.ac (--disable-werror): New configure option.
10501         (enable_werror): New AC_SUBST.
10502         * configure: Regenerated.
10503         * config.make.in (enable-werror): New variable.
10504         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10505         -Wno-error=undef.
10506         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10507         * manual/install.texi (Configuring and compiling): Document
10508         --disable-werror.
10509         * INSTALL: Regenerated.
10510         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10511         (CFLAGS-tst-chk2.c): Likewise.
10512         (CFLAGS-tst-chk3.c): Likewise.
10513         (CFLAGS-tst-chk4.cc): Likewise.
10514         (CFLAGS-tst-chk5.cc): Likewise.
10515         (CFLAGS-tst-chk6.cc): Likewise.
10516         (CFLAGS-tst-lfschk1.c): Likewise.
10517         (CFLAGS-tst-lfschk2.c): Likewise.
10518         (CFLAGS-tst-lfschk3.c): Likewise.
10519         (CFLAGS-tst-lfschk4.cc): Likewise.
10520         (CFLAGS-tst-lfschk5.cc): Likewise.
10521         (CFLAGS-tst-lfschk6.cc): Likewise.
10523         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10524         (main): Disable -Wdeprecated-declarations around calls to
10525         register_printf_function.
10527         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10528         (do_test): Disable -Wdiv-by-zero around some calls to
10529         fwrite_unlocked and fread_unlocked.
10531         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10532         (DIAG_POP_NEEDS_COMMENT): Likewise.
10533         (_DIAG_STR1): Likewise.
10534         (_DIAG_STR): Likewise.
10535         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10536         * stdio-common/bug21.c: Include <libc-internal.h>.
10537         (do_test): Disable -Wformat around call to sscanf.
10538         * stdio-common/scanf14.c: Include <libc-internal.h>.
10539         (main): Disable -Wformat around some calls to scanf functions.
10541 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10543         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10545 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10547         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10548         stack variable alignment.
10550 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10552         [BZ #17682]
10553         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10554         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10555         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10556         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10557         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10558         __getrlimit instead of getrlimit.
10559         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10560         __gettimeofday instead of gettimeofday.
10561         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10562         Likewise.
10563         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10564         Likewise.
10565         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10566         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10567         Remove variable.
10568         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10569         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10571 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10573         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10574         for wide-character tests.
10576 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10578         * io/openat64.c: #include <libc-internal.h>
10579         (__openat64): Prototypify.  Use ignore_value on MODE.
10580         * io/openat.c: Likewise.
10581         * misc/reboot.c: #include <libc-internal.h>
10582         (reboot): Prototypify.  Use ignore_value on HOWTO.
10583         * misc/ptrace.c: #include <libc-internal.h>
10584         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10586 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10588         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10589         XPG4, UNIX98 and XOPEN2K.
10590         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10591         Remove variable.
10592         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10594 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10596         * libio/fileops.c: Use ISO C style for function definitions.
10597         * libio/iofopen.c: Likewise.
10598         * libio/wfileops.c: Likewise.
10600         [BZ #17653]
10601         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10602         offset on EOF.
10603         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10604         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10605         (fgets_func): Function pointer to fgets and fgetws.
10606         (do_ftell_test): Add test to verify ftell value after read
10607         EOF.
10608         (do_test): Set fgets_func.
10610         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10611         O_TRUNC flag for w and w+ modes.
10612         (do_rewind_test): Likewise.
10613         (do_ftell_test): Likewise.
10614         (do_write_test): Likewise.
10616         [BZ #17647]
10617         * libio/fileops.c (do_ftell): Seek only when there are
10618         unflushed writes.
10619         * libio/wfileops.c (do_ftell_wide): Likewise.
10620         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10621         test case.
10622         (do_one_test): Call it.
10624 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10626         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10627         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10628         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10629         Remove variable.
10630         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10631         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10632         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10634 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10636         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10637         Remove variable.
10638         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10640         [BZ #17668]
10641         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10642         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10643         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10644         __freeifaddrs.  Use libc_hidden_weak.
10645         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10646         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10647         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10648         __freeifaddrs.  Use libc_hidden_weak.
10649         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10650         __getifaddrs and define as weak alias of __getifaddrs.  Use
10651         libc_hidden_weak.
10652         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10653         __freeifaddrs.  Use libc_hidden_weak.
10654         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10655         Remove variable.
10656         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10657         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10659 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10661         [BZ #17601]
10662         * sysdeps/mips/start.S (__start): Use indirect jump to call
10663         __libc_start_main.
10665 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10667         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10669         * nptl/tst-mutex1.c: Include <stdbool.h>.
10670         [!ATTR] (ATTR_NULL): New macro.
10671         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10672         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10673         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10675         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10676         to char *.
10678         [BZ #17665]
10679         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10680         Change conditional to [__USE_MISC].
10682         [BZ #17664]
10683         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10684         fgets_unlocked.
10685         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10686         __fgets_unlocked.
10687         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10688         fgets_unlocked.
10689         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10690         Remove variable.
10691         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10692         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10693         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10694         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10695         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10696         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10697         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10698         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10699         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10701         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10703 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10705         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10706         Remove strpbrk objects.
10707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10708         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10709         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10710         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10711         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10712         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10714         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10715         Remove strcspn objects.
10716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10717         (__libc_ifunc_impl_list): Remove strcspn implementation.
10718         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10719         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10720         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10721         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10723         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10724         Remove strspn objetcs.
10725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10726         (__libc_ifunc_impl_list): Remove strspn implementation.
10727         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10728         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10729         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10730         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10732 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10734         [BZ #17581]
10735         * malloc/hooks.c
10736         (mem2mem_check): Add a terminator to the chain of checking blocks.
10737         (malloc_check_get_size): Use it here.
10738         (mem2chunk_check): Ditto.
10740 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10742         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10743         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10745 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10747         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10749         * nptl/nptl-init.c: Include libc-internal.h.
10750         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10752         * elf/ldconfig.c (search_dir): Expand comment.
10754 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10756         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10757         variable.
10758         (linknamespace-symlist-stdlibs-tests): Likewise.
10759         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10760         instead of $(objpfx)symlist-stdlibs.
10761         (linknamespace-libs-isoc): New variable.
10762         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10763         (linknamespace-libs-ISO): New variable.
10764         (linknamespace-libs-ISO99): Likewise.
10765         (linknamespace-libs-ISO11): Likewise.
10766         (linknamespace-libs-XPG3): Likewise.
10767         (linknamespace-libs-XPG4): Likewise.
10768         (linknamespace-libs-POSIX): Likewise.
10769         (linknamespace-libs-UNIX98): Likewise.
10770         (linknamespace-libs-XOPEN2K): Likewise.
10771         (linknamespace-libs-POSIX2008): Likewise.
10772         (linknamespace-libs-XOPEN2K8): Likewise.
10773         ($(objpfx)symlist-stdlibs): Replace by
10774         $(linknamespace-symlist-stdlibs-tests).  Use
10775         $(linknamespace-libs-$*) as set of libraries.
10776         ($(linknamespace-header-tests)): Update dependencies.  Use
10777         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10778         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10779         * conform/linknamespace.pl: Remove comment about considering
10780         definitions of symbols from irrelevant libraries.
10782 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10784         [BZ #13862]
10785         * elf/dl-tls.c: Include <atomic.h>.
10786         (oom): Remove #ifdef SHARED/#endif.
10787         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10788         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10789         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10790         big enough.
10791         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10792         * nptl/Makefile (tests): Add tst-stack4.
10793         (modules-names): Add tst-stack4mod.
10794         ($(objpfx)tst-stack4): New.
10795         (tst-stack4mod.sos): Likewise.
10796         ($(objpfx)tst-stack4.out): Likewise.
10797         ($(tst-stack4mod.sos)): Likewise.
10798         (clean): Likewise.
10799         * nptl/tst-stack4.c: New file.
10800         * nptl/tst-stack4mod.c: Likewise.
10802 2014-11-27  J. Brown  <jb999@gmx.de>
10804         * sysdeps/x86/bits/string.h: Add recent CPUs.
10806 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10808         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10809         sigblock.
10811         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10812         feof.
10814         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10815         variable.
10817 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10819         * nscd/connections.c: Include libc-internal.h because of macro
10820         usage ignore_value.
10822 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10824         * string/bits/string3.h (__warn_memset_zero_len): Don't
10825         declare for gcc newer than 5.0.
10826         (memset): Don't test for zero-length __LEN for gcc newer than
10827         5.0.
10829 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10831         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10832         size_t for %zu format.
10834         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10835         difference, not %ju.
10837 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10839         * include/libc-internal.h (ignore_value): New macro.
10840         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10841         with ignore_value.
10843         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10844         definition.
10846         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10847         pthread_cleanup_push to void *.
10849         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10850         Undefine.
10852         [BZ #16619]
10853         [BZ #16740]
10854         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10855         instead of 1L << 52.
10857         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10858         * libio/bug-rewind2.c (do_test): Likewise.
10860         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10861         * debug/test-strcpy_chk-ifunc.c: Likewise.
10862         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10863         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10864         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10865         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10866         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10867         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10868         * Rules [$(multi-arch) = no] (tests): Do not filter out
10869         $(tests-ifunc).
10870         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10871         * debug/Makefile (tests-ifunc): Remove variable.
10872         (tests): Do not add $(tests-ifunc).
10873         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10874         (tests): Do not add $(tests-ifunc).
10875         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10876         [TEST_IFUNC]: Remove conditionals.
10877         * string/test-string.h (TEST_IFUNC): Remove macro.
10878         [TEST_IFUNC]: Remove conditionals.
10880         * string/test-strchr.c [!WIDE] (L): New macro.
10881         [WIDE] (L): Likewise.
10882         (check1): Use CHAR instead of char.  Use L on string and character
10883         constants.
10885 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10887         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10888         tests.
10889         * sysdeps/powerpc/bits/atomic.h
10890         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10891         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10892         (atomic_exchange_and_add_acq): Likewise.
10893         (atomic_exchange_and_add_rel): Likewise.
10894         * sysdeps/powerpc/powerpc32/bits/atomic.h
10895         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10896         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10897         * sysdeps/powerpc/powerpc64/bits/atomic.h
10898         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10899         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10901 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10903         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10904         Change synchronization of __sched_fifo_min_prio and
10905         __sched_fifo_max_prio.
10906         * nptl/pthread_mutexattr_getprioceiling.c
10907         (pthread_mutexattr_getprioceiling): Likewise.
10908         * nptl/pthread_mutexattr_setprioceiling.c
10909         (pthread_mutexattr_setprioceiling): Likewise.
10910         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10911         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10912         Likewise.
10914 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10916         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10917         void.
10919 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10921         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10922         third argument const.
10924 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10926         fnmatch: work around GCC compiler warning bug with uninit var
10927         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10928         This works around a bug with x86-64 GCC 4.9.2 and earlier
10929         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10930         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10931         used uninitialized in this function [-Wmaybe-uninitialized]".
10933 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10935         * posix/bug-regex31.c (main): Return RES not 0.
10937 2014-11-25  Anton Blanchard <anton@samba.org>
10939         * sysdeps/powerpc/bits/atomic.h
10940         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10942 2014-11-24  Sterling Augustine  <saugustine@google.com>
10944         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10946 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10948         [BZ #17608]
10949         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10951 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10953         [BZ #17633]
10954         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10955         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10956         variable.
10957         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10958         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10960 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10962         * string/strncpy.c (strncpy): Improve performance by using memset.
10964 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10966         * string/strcpy.c (strcpy):
10967         Improve performance by using strlen and memcpy.
10969 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10971         * string/strcoll_l.c (get_next_seq): __always_inline.
10972         * string/strcoll_l.c (do_compare): __always_inline.
10974 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10976         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10977         defined.
10978         * include/mqueue.h: Likewise.
10979         * include/stdlib.h: Likewise.
10981         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10982         (get_null_defines): Adjust.
10983         * sunrpc/Makefile: Adjust comment.
10984         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10985         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10986         (CFLAGS-interp.c): Likewise.
10987         (CFLAGS-ldconfig.c): Likewise.
10988         (CPPFLAGS-.os): Likewise.
10989         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10990         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10991         * extra-modules.mk (extra-modules.mk): Likewise.
10992         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10993         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10994         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10995         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10996         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10997         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10998         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10999         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11000         * iconvdata/Makefile (CPPFLAGS): Likewise.
11001         (cpp-srcs-left): Add libof for all iconvdata routines.
11002         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11003         * include/assert.h: Likewise.
11004         * include/ctype.h: Likewise.
11005         * include/errno.h: Likewise.
11006         * include/libc-symbols.h: Likewise.
11007         * include/math.h: Likewise.
11008         * include/netdb.h: Likewise.
11009         * include/resolv.h: Likewise.
11010         * include/stdio.h: Likewise.
11011         * include/stdlib.h: Likewise.
11012         * include/string.h: Likewise.
11013         * include/sys/stat.h: Likewise.
11014         * include/wctype.h: Likewise.
11015         * intl/l10nflist.c: Likewise.
11016         * libidn/idn-stub.c: Likewise.
11017         * libio/libioP.h: Likewise.
11018         * nptl/libc_multiple_threads.c: Likewise.
11019         * nptl/pthreadP.h: Likewise.
11020         * posix/regex_internal.h: Likewise.
11021         * resolv/res_hconf.c: Likewise.
11022         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11023         * sysdeps/arm/memmove.S: Likewise.
11024         * sysdeps/arm/sysdep.h: Likewise.
11025         * sysdeps/generic/_itoa.h: Likewise.
11026         * sysdeps/generic/symbol-hacks.h: Likewise.
11027         * sysdeps/gnu/errlist.awk: Likewise.
11028         * sysdeps/gnu/errlist.c: Likewise.
11029         * sysdeps/i386/i586/memcpy.S: Likewise.
11030         * sysdeps/i386/i586/memset.S: Likewise.
11031         * sysdeps/i386/i686/memcpy.S: Likewise.
11032         * sysdeps/i386/i686/memmove.S: Likewise.
11033         * sysdeps/i386/i686/mempcpy.S: Likewise.
11034         * sysdeps/i386/i686/memset.S: Likewise.
11035         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11036         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11037         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11038         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11039         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11040         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11041         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11042         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11043         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11044         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11045         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11046         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11047         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11048         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11049         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11050         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11051         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11052         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11053         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11054         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11055         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11056         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11057         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11058         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11059         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11060         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11061         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11062         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11063         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11064         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11065         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11066         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11067         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11068         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11069         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11070         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11071         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11072         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11073         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11074         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11075         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11076         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11077         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11078         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11079         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11080         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11081         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11082         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11083         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11084         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11085         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11086         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11087         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11088         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11089         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11090         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11091         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11092         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11093         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11094         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11095         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11096         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11097         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11098         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11099         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11100         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11101         * sysdeps/posix/closedir.c: Likewise.
11102         * sysdeps/posix/opendir.c: Likewise.
11103         * sysdeps/posix/readdir.c: Likewise.
11104         * sysdeps/posix/rewinddir.c: Likewise.
11105         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11106         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11107         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11108         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11109         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11110         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11111         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11112         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11113         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11114         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11115         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11116         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11117         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11118         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11119         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11120         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11121         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11122         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11123         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11124         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11125         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11126         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11127         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11128         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11129         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11130         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11131         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11132         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11133         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11136         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11138         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11140         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11141         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11142         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11143         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11144         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11145         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11146         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11147         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11148         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11149         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11150         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11151         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11152         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11153         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11154         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11155         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11156         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11157         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11158         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11159         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11160         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11161         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11162         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11163         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11164         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11165         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11166         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11167         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11168         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11169         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11170         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11171         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11172         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11173         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11174         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11175         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11176         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11177         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11178         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11179         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11180         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11181         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11182         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11183         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11184         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11185         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11186         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11187         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11188         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11189         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11190         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11191         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11192         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11193         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11194         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11195         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11196         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11197         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11198         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11199         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11200         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11201         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11202         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11203         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11204         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11205         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11206         * sysdeps/unix/alpha/sysdep.S: Likewise.
11207         * sysdeps/unix/alpha/sysdep.h: Likewise.
11208         * sysdeps/unix/make-syscalls.sh: Likewise.
11209         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11210         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11211         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11212         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11213         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11214         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11215         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11216         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11217         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11218         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11219         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11220         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11221         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11222         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11223         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11224         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11225         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11226         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11227         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11228         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11229         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11230         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11231         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11232         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11233         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11234         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11235         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11238         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11239         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11240         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11241         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11243         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11244         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11247         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11248         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11249         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11250         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11251         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11252         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11253         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11254         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11255         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11256         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11257         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11258         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11259         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11260         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11261         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11262         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11263         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11264         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11265         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11267         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11268         * sysdeps/x86_64/memcpy.S: Likewise.
11269         * sysdeps/x86_64/memmove.c: Likewise.
11270         * sysdeps/x86_64/memset.S: Likewise.
11271         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11272         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11273         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11274         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11275         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11276         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11277         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11278         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11279         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11280         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11281         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11282         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11283         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11284         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11285         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11286         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11287         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11288         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11289         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11290         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11291         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11292         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11293         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11294         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11295         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11296         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11297         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11298         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11299         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11300         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11301         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11302         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11303         * sysdeps/x86_64/strcmp.S: Likewise.
11305         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11307         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11308         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11309         * elf/rtld-Rules: Likewise.
11310         * elf/setup-vdso.h: Likewise.
11311         * include/assert.h: Likewise.
11312         * include/bits/stdlib-float.h: Likewise.
11313         * include/errno.h: Likewise.
11314         * include/sys/stat.h: Likewise.
11315         * include/unistd.h: Likewise.
11316         * sysdeps/aarch64/setjmp.S: Likewise.
11317         * sysdeps/alpha/setjmp.S: Likewise.
11318         * sysdeps/arm/__longjmp.S: Likewise.
11319         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11320         * sysdeps/arm/setjmp.S: Likewise.
11321         * sysdeps/arm/sysdep.h: Likewise.
11322         * sysdeps/generic/_itoa.h: Likewise.
11323         * sysdeps/generic/dl-sysdep.h: Likewise.
11324         * sysdeps/generic/ldsodefs.h: Likewise.
11325         * sysdeps/i386/dl-tls.h: Likewise.
11326         * sysdeps/i386/setjmp.S: Likewise.
11327         * sysdeps/m68k/setjmp.c: Likewise.
11328         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11329         * sysdeps/mach/hurd/opendir.c: Likewise.
11330         * sysdeps/posix/getcwd.c: Likewise.
11331         * sysdeps/posix/opendir.c: Likewise.
11332         * sysdeps/posix/profil.c: Likewise.
11333         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11334         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11335         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11336         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11337         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11338         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11339         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11340         * sysdeps/s390/dl-tls.h: Likewise.
11341         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11342         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11343         * sysdeps/sh/sh3/setjmp.S: Likewise.
11344         * sysdeps/sh/sh4/setjmp.S: Likewise.
11345         * sysdeps/unix/alpha/sysdep.h: Likewise.
11346         * sysdeps/unix/arm/sysdep.S: Likewise.
11347         * sysdeps/unix/i386/sysdep.S: Likewise.
11348         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11349         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11350         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11351         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11352         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11353         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11354         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11355         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11356         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11357         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11358         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11359         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11360         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11363         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11364         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11365         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11366         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11367         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11368         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11370         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11371         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11372         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11373         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11375         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11376         * sysdeps/x86_64/setjmp.S: Likewise.
11378         * include/math.h: Use IS_IN instead of IS_IN_libm.
11379         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11380         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11381         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11382         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11383         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11384         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11385         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11386         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11387         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11388         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11389         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11390         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11391         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11392         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11393         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11394         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11395         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11396         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11397         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11398         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11399         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11400         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11401         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11402         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11403         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11404         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11405         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11406         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11407         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11408         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11409         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11410         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11411         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11413         Likewise.
11414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11415         Likewise.
11416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11417         Likewise.
11418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11419         Likewise.
11420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11421         Likewise.
11422         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11423         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11424         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11425         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11426         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11427         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11433         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11434         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11435         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11436         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11437         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11438         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11439         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11440         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11441         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11442         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11443         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11444         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11445         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11446         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11448         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11450         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11451         * nptl/pthreadP.h: Likewise.
11452         * nptl_db/structs.def: Likewise.
11453         * sysdeps/arm/sysdep.h: Likewise.
11454         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11455         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11456         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11457         * sysdeps/unix/alpha/sysdep.h: Likewise.
11458         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11459         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11460         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11461         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11462         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11463         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11464         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11465         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11466         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11467         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11468         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11469         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11470         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11471         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11474         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11475         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11476         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11477         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11479         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11480         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11481         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11482         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11483         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11485         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11486         * nptl/pthreadP.h: Likewise.
11487         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11488         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11489         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11490         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11491         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11492         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11493         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11494         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11495         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11496         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11497         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11498         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11500         Likewise.
11501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11502         Likewise.
11503         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11504         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11505         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11507         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11508         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11509         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11510         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11512         * dlfcn/dladdr.c: Use IS_IN.
11513         * dlfcn/dladdr1.c: Likewise.
11514         * dlfcn/dlclose.c: Likewise.
11515         * dlfcn/dlerror.c: Likewise.
11516         * dlfcn/dlinfo.c: Likewise.
11517         * dlfcn/dlmopen.c: Likewise.
11518         * dlfcn/dlopen.c: Likewise.
11519         * dlfcn/dlsym.c: Likewise.
11520         * dlfcn/dlvsym.c: Likewise.
11522         * include/ifaddrs.h: Use IS_IN.
11523         * inet/check_pf.c: Likewise.
11524         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11525         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11527         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11528         IS_IN_ldconfig.
11529         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11530         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11532         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11533         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11534         IS_IN (libc).
11536         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11538         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11539         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11540         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11541         * include/libc-symbols.h (IS_IN_LIB): New macro.
11542         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11543         * include/netdb.h: Likewise.
11544         * include/stap-probe.h: Remove all uses of IN_LIB.
11546         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11547         instead of IN_MODULE.
11548         * include/libc-symbols.h (IN_MODULE): Define using
11549         MODULE_NAME.
11550         (PASTE_NAME, PASTE_NAME1): New macros.
11551         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11552         of IN_LIB.
11553         (STAP_PROBE_ASM): Likewise.
11555 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11557         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11558         __mach_init in dlopened libc.
11560 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11562         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11563         * sysdeps/arm/preconfigure: Regenerate.
11565 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11567         * nptl/pthread_create.c (__pthread_create_2_1): Set
11568         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11569         when copying values from IATTR into PD.
11571 2014-11-21  Will Newton  <will.newton@linaro.org>
11572             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11574         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11575         Refactor inline-asm.  Also add comment.
11577         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11578         ElfW macro instead of hardcoded Elf64 types.
11579         (la_aarch64_gnu_pltenter): Likewise.
11580         * sysdeps/aarch64/dl-machine.h
11581         (elf_machine_runtime_setup): Use ElfW(Addr).
11583         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11584         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11585         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11586         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11587         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11588         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11589         (R_AARCH64_TLS_DTPMOD): This.
11590         (R_AARCH64_TLS_DTPREL64): Rename to ...
11591         (R_AARCH64_TLS_DTPREL): This.
11592         (R_AARCH64_TLS_TPREL64): Rename to ...
11593         (R_AARCH64_TLS_TPREL): This.
11594         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11595         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11596         R_AARCH64_TLS_TPREL64.
11597         (elf_machine_rela): Likewise.
11599 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11601         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11602         by setting it to 0.  64b atomics are not supported currently.
11604 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11606         [BZ #16469]
11607         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11608         search domain names.
11610 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11612         [BZ #16469]
11613         * NEWS: Update.
11614         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11615         trailing dot.
11616         * posix/tst-getaddrinfo5.c: New.
11617         * posix/Makefile (tests): Add it.
11619 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11621         [BZ #14498]
11622         * NEWS: Fixed.
11623         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11624         after parsing line but before break_if_match.
11625         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11626         if there is a protocol mismatch.
11628 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11630         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11631         because the potential race is on the user-supplied stream.
11633 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11635         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11636         string literal if not passed a buffer.
11637         * manual/job.texi (ctermid): Update reasoning, note deviation
11638         from posix, suggest mtasurace when not passed a buffer, for
11639         future non-preliminary safety notes.
11641 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11643         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11644         of not passing it a buffer.
11645         Reported by Peng Haitao.
11647 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11649         * manual/Makefile ($(objpfx)stamp-summary): Require
11650         check-safety.sh to pass.
11651         * manual/check-safety.sh: Wish for verification that every
11652         @deftypefn and @deftypefun is followed by a @safety remark.
11654 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11656         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11658         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11659         PTHREAD_CANCEL_ASYNCHRONOUS.
11660         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11661         send SIGCANCEL.
11663         * nptl/default-sched.h: New file.
11664         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11665         * nptl/pthread_create.c: Include it.
11666         (__pthread_create_2_1): Use collect_default_sched instead of making
11667         Linux syscalls here directly.
11669 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11671         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11672         __pthread_once): Use C11 atomics.
11674 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11676         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11678 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11680         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11681         atomic_thread_fence_acquire, atomic_thread_fence_release,
11682         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11683         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11684         atomic_compare_exchange_weak_relaxed,
11685         atomic_compare_exchange_weak_acquire,
11686         atomic_compare_exchange_weak_release,
11687         atomic_exchange_acquire, atomic_exchange_release,
11688         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11689         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11690         atomic_fetch_and_acquire,
11691         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11693 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11695         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11696         USE_ATOMIC_COMPILER_BUILTINS): Define.
11697         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11698         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11699         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11700         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11701         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11702         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11703         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11704         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11705         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11707         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11709         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11710         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11711         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11713         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11715         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11717         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11719         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11721         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11723         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11725         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11727         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11729         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11731         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11732         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11733         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11735         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11736         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11738 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11740         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11741         the sched_priority value here.  It was already checked when the user
11742         called pthread_attr_setschedparam.
11744         * nptl/tst-bad-schedattr.c: New file.
11745         * nptl/Makefile (tests): Add it.
11747 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11748             Florian Weimer  <fweimer@redhat.com>
11749             Joseph Myers  <joseph@codesourcery.com>
11750             Adam Conrad  <adconrad@0c3.net>
11751             Andreas Schwab  <schwab@suse.de>
11752             Brooks  <bmoses@google.com>
11754         [BZ #17625]
11755         * wordexp-test.c (__dso_handle): Add prototype.
11756         (__register_atfork): Likewise.
11757         (__app_register_atfork): New function.
11758         (registered_forks): New global.
11759         (register_fork): New function.
11760         (test_case): Add 3 new tests for WRDE_CMDSUB.
11761         (main): Call __app_register_atfork.
11762         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11763         fork count is non-zero fail the test.
11764         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11765         is set.
11766         (parse_dollars): Remove check for WRDE_NOCMD.
11767         (parse_dquote): Likewise.
11769 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11771         * Makeconfig (built-modules): List non-library modules to be
11772         built.
11773         (module-cppflags): Include libc-modules.h for
11774         everything except shlib-versions.v.i.
11775         (CPPFLAGS): Use it.
11776         (before-compile): Add libc-modules.h.
11777         ($(common-objpfx)libc-modules.h,
11778         $(common-objpfx)libc-modules.stmp): New targets.
11779         (common-generated): Add libc-modules.h and libc-modules.stmp.
11780         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11781         * include/libc-symbols.h: Don't include libc-modules.h.
11782         * include/libc-modules.h: Remove file.
11783         * scripts/gen-libc-modules.awk: New script to generate
11784         libc-modules.h.
11785         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11786         Depend on libc-modules.stmp.
11788         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11790         * Makeconfig (in-module): Get value of libof set for the
11791         translation unit.
11792         (CPPFLAGS): Use $(in-module).
11793         * Makerules: Don't suffix routine names for nonlib.
11794         * include/libc-modules.h: New file.
11795         * include/libc-symbols.h: Include libc-modules.h
11796         (IS_IN): New macro to replace IS_IN_* macros.
11797         * elf/Makefile: Set libof-* for each routine.
11798         * elf/rtld-Rules: Likewise.
11799         * extra-modules.mk: Likewise.
11800         * iconv/Makefile: Likewise.
11801         * iconvdata/Makefile: Likewise.
11802         * locale/Makefile: Likewise.
11803         * malloc/Makefile: Likewise.
11804         * nss/Makefile: Likewise.
11805         * sysdeps/gnu/Makefile: Likewise.
11806         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11807         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11808         * sysdeps/s390/s390-64/Makefile: Likewise.
11809         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11810         CPPFLAGS for nscd instead of nonlib.
11812 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11814         * nptl/createthread.c: New file.
11816         * nptl/createthread.c: Moved ...
11817         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11819         * nptl/createthread.c: Add proper top-line comment.
11820         (do_clone): Folded into ...
11821         (create_thread): ... here.  Take new arguments STOPPED_START and
11822         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11823         increment __nptl_threads, do event-reporting logic, do
11824         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11825         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11826         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11827         just send SIGCANCEL.
11828         * nptl/pthread_create.c: Forward-declare create_thread before
11829         including createthread.c.
11830         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11831         declaration, and new macro START_THREAD_SELF to replace argument.
11832         Remove return statement.
11833         (report_thread_creation): New function.
11834         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11835         synchronization logic, and __nptl_nthreads increment here, around
11836         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11837         PD->parent_cancelhandling here, before create_thread.  When
11838         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11839         __deallocate_stack, and ENOMEM translation here.
11841 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11843         [BZ #17616]
11844         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11845         (mptwo): Rename to __mptwo.
11846         (__inv): Use __mptwo instead of mptwo.
11847         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11848         (mptwo): Rename to __mptwo.
11849         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11850         of mpone and __mptwo instead of mptwo.
11851         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11852         instead of mpone.
11853         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11854         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11855         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11856         of mpone and __mptwo instead of mptwo.
11857         (__mpranred): Use __mpone instead of mpone.
11858         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11859         variable.
11860         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11861         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11862         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11863         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11864         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11865         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11866         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11867         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11868         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11869         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11870         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11871         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11872         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11873         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11874         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11875         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11876         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11877         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11878         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11880 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11882         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11883         replace BSD Handler xref with BSD Signal Handling.
11885 2014-11-17  Richard Henderson  <rth@redhat.com>
11887         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11888         (_FP_PACK_RAW_2): Remove.
11889         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11890         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11891         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11892         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11893         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11894         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11895         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11896         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11897         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11898         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11899         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11900         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11901         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11902         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11903         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11904         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11906 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11908         * signal/signal.h [__USE_MISC]
11909         (struct sigvec): Remove type.
11910         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11911         (sigvec): Remove declaration.
11912         * sysdeps/posix/sigvec.c: Moved ...
11913         * signal/sigvec.c: ... here, replacing old file.
11914         (struct sigvec): New type, copied from old signal.h definition.
11915         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11916         (__sigvec): Convert definition to prototype.
11917         (sigvec): Replace weak_alias with compat_symbol.
11918         * signal/Versions (libc: GLIBC_2.21): New version set.
11919         * include/signal.h: Remove __sigvec declaration.
11920         * sysdeps/unix/bsd/sigvec.c: Remove file.
11921         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11922         * manual/signal.texi (BSD Handler): Remove subsection.
11923         Move siginterrupt up to ...
11924         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11925         (Blocking in BSD): Fold subsection into its parent.
11926         * NEWS: Mention sigvec removal.
11928 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11930         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11931         (DLA_FMS): Make definition conditional only on [__FMA4__].
11932         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11933         definition.
11935         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11936         Make definition conditional only on [PROF].
11937         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11938         definition.
11939         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11940         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11942         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11943         !__GNUC__].
11944         * include/signal.h (__sigpause): Move declaration above call to
11945         libc_hidden_proto.
11946         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11947         variable.
11948         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11949         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11951 2014-11-14  David S. Miller  <davem@davemloft.net>
11953         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11954         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11956 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11958         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11959         * configure: Regenerated.
11960         * manual/install.texi (Tools for Compilation): Document a
11961         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11962         compiler verified to work.
11963         * INSTALL: Regenerated.
11965         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11966         redeclare with asm name.
11967         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11968         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11969         including <string.h>.
11970         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11971         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11972         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11973         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11974         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11975         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11976         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11978 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11980         * stdlib/strtol.c (__strtol): Use prototype definition.
11982         [BZ #17594]
11983         * stdlib/strtol.c (SYM__): New macro.
11984         (SYM__1): Likewise.
11985         (__strtol): Likewise.
11986         (strtol): Rename to __strtol and define as weak alias of
11987         __strtol.  Use libc_hidden_weak.
11989 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11991         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11992         Use numbered labels in inline assembly.
11994 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11996         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11997         Add setjmp LIBC_PROBE.
11998         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11999         Likewise.
12000         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12001         Add longjmp, longjmp_target LIBC_PROBE.
12002         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12003         Likewise.
12005 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12007         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12008         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12009         to get rid of unused variable warning.
12011 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12013         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12014         Check for unwind_backtrace ==  NULL only in SHARED case.
12015         (__backchain_backtrace): Compile only in SHARED case.
12016         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12017         Likewise.
12018         (__backchain_backtrace): Declare as static.
12020 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12022         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12023         (__libc_multiple_threads_ptr): Variable moved ...
12024         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12026 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12028         * conform/GlibcConform.pm: New file.
12029         * conform/conformtest.pl: Use GlibcConform module.
12030         * conform/linknamespace.pl: New file.
12031         * conform/list-header-symbols.pl: Likewise.
12032         * conform/Makefile (linknamespace-symlists-base): New variable.
12033         (linknamespace-symlists-tests): Likewise.
12034         (linknamespace-header-base): Likewise.
12035         (linknamespace-header-tests): Likewise.
12036         (tests-special): Add new tests.
12037         ($(linknamespace-symlists-tests)): New rule.
12038         (linknamespace-libs): New variable.
12039         ($(objpfx)symlist-stdlibs): New rule.
12040         ($(linknamespace-header-tests)): Likewise.
12041         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12042         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12043         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12044         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12045         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12046         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12047         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12048         (test-xfail-ISO/math.h/linknamespace): Likewise.
12049         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12050         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12051         (test-xfail-ISO/time.h/linknamespace): Likewise.
12052         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12053         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12054         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12055         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12056         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12057         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12058         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12059         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12060         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12061         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12062         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12063         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12064         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12065         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12066         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12067         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12068         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12069         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12070         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12071         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12072         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12073         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12074         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12075         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12076         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12077         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12078         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12079         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12080         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12081         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12082         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12083         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12084         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12085         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12086         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12087         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12088         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12089         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12090         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12091         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12092         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12093         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12094         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12095         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12096         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12097         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12098         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12099         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12100         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12101         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12102         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12103         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12104         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12105         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12106         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12107         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12108         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12109         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12110         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12111         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12112         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12113         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12114         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12115         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12116         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12117         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12118         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12119         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12120         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12121         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12122         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12123         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12124         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12125         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12126         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12127         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12128         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12129         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12130         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12131         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12132         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12133         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12134         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12135         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12136         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12137         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12138         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12139         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12140         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12141         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12142         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12143         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12144         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12145         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12146         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12147         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12148         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12149         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12150         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12151         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12152         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12153         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12154         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12155         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12156         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12157         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12158         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12159         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12160         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12161         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12162         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12163         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12164         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12165         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12166         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12167         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12168         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12169         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12170         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12171         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12172         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12173         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12174         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12175         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12176         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12177         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12178         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12179         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12180         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12181         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12182         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12183         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12184         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12185         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12186         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12187         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12188         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12189         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12190         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12191         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12192         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12193         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12194         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12195         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12196         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12197         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12198         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12199         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12200         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12201         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12203         [BZ #17589]
12204         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12205         of fgets_unlocked.
12207         [BZ #17585]
12208         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12209         (memmem): Rename to __memmem and define as weak alias of
12210         __memmem.  Use libc_hidden_weak.
12211         (__memmem): Use libc_hidden_def.
12212         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12213         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12214         memmem.
12216         [BZ #17582]
12217         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12218         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12219         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12220         and define as weak alias of __fgets_unlocked.  Use
12221         libc_hidden_weak.
12222         (__fgets_unlocked): Use libc_hidden_def.
12223         * include/stdio.h (__fgets_unlocked): Declare.  Use
12224         libc_hidden_proto.
12225         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12226         __fgets_unlocked instead of fgets_unlocked.
12227         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12228         (GET_NPROCS_CONF_PARSER): Likewise.
12229         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12230         (GET_NPROCS_CONF_PARSER): Likewise.
12232         [BZ #17574]
12233         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12234         weak alias of __wmemset.  Use libc_hidden_weak.
12235         (__wmemset): Use libc_hidden_def.
12236         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12237         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12238         of wmemset.
12240         [BZ #17573]
12241         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12242         with asm name __mempcpy.
12243         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12245         [BZ #17572]
12246         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12247         and define as weak alias of __rawmemchr.
12248         (__rawmemchr): Do not define as strong alias of rawmemchr.
12250         [BZ #17571]
12251         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12252         alias of __qsort_r.
12253         (qsort): Call __qsort_r instead of qsort_r.
12254         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12255         (__qsort_r): Declare.  Call libc_hidden_proto.
12256         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12257         instead of qsort_r.
12258         * nscd/gai.c (__qsort_r): Define to qsort_r.
12259         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12260         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12261         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12263         [BZ #17570]
12264         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12265         define as weak alias of __malloc_info.
12267         [BZ #17584]
12268         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12269         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12270         (__rewinddir): Use libc_hidden_def.
12271         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12272         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12273         (__rewinddir): Use libc_hidden_def.
12274         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12275         weak alias of __rewinddir.  Don't use libc_hidden_def.
12276         (__rewinddir): Use libc_hidden_def.
12277         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12278         (__rewinddir): Use libc_hidden_proto.
12279         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12280         rewinddir.
12281         (__getcwd): Use __rewinddir instead of rewinddir.
12283         [BZ #17583]
12284         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12285         alias of __fileno.  Use libc_hidden_weak.
12286         (__fileno): Use libc_hidden_def.
12287         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12288         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12289         alias of __ftello.
12290         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12291         __ftello.
12292         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12293         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12294         libc_hidden_def.
12295         (fread_unlocked): Don't use libc_hidden_ver.
12296         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12297         and define as weak alias of __fread_unlocked.  Don't use
12298         libc_hidden_def.
12299         (__fread_unlocked): Use libc_hidden_def.
12300         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12301         (ftello): Don't use libc_hidden_proto.
12302         (__ftello): Declare.  Use libc_hidden_proto.
12303         (fread_unlocked): Don't use libc_hidden_proto.
12304         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12305         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12306         and __ftello instead of fileno, fread_unlocked and ftello.
12308 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12310         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12311         GOT12.
12312         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12313         Likewise.
12314         (_dl_start_user): Likewise.
12315         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12317 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12318             Siddhesh Poyarekar  <siddhesh@redhat.com>
12320         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12321         Move argv and envp down instead of moving argc up.
12322         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12324 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12326         [BZ #17506]
12327         * test-skeleton.c (main): Return successful if one of
12328         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12329         * string/tst-strcoll-overflow.c: Define expected status.
12331 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12333         [BZ #17475]
12334         * locale/iso-639.def: Define Bhili and Tulu language codes.
12336 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12338         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12340 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12342         [BZ #17555]
12343         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12345 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12347         * configure.ac: Updated check of minimal required version to
12348         2.22.
12349         * manual/install.texi (Tools for Compilation): Updated version
12350         number.
12351         * configure: Regenerated.
12352         * INSTALL: Likewise.
12354 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12356         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12357         __tls_get_addr.
12359 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12361         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12362         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12363         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12364         libc_hidden_weak.
12365         (waitpid): Define as alias of __waitpid.
12366         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12367         __waitpid.
12368         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12369         libc_hidden_weak.
12370         (waitpid): Define as alias of __waitpid.
12371         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12372         __libc_waitpid alias.
12373         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12374         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12375         Likewise.
12376         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12377         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12378         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12379         alias.
12380         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12381         __waitpid.
12382         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12383         libc_hidden_weak.
12384         (waitpid): Define as alias of __waitpid.
12386 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12388         * manual/llio.texi: Add comment that write safety has been
12389         fixed in Linux.
12391         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12392         (localplt-build-dso): Add elf/ld.so.
12393         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12394         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12395         and free for ld.so.
12396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12397         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12399         Likewise.
12400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12401         Likewise.
12402         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12403         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12404         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12405         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12406         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12407         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12408         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12409         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12410         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12411         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12412         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12414 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12416         [BZ #14132]
12417         * include/libc-symbols.h (INTUSE): Remove macro.
12418         (INTDEF): Likewise.
12419         (INTVARDEF): Likewise.
12420         (_INTVARDEF): Likewise.
12421         (INTDEF2): Likewise.
12422         (INTVARDEF2): Likewise.
12423         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12424         rtld_hidden_def instead of INTVARDEF.
12425         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12426         (_dl_starting_up_internal): Remove declaration.
12427         (_dl_starting_up): Use rtld_hidden_proto.
12428         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12429         declaration.
12430         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12431         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12432         _dl_starting_up.
12433         * elf/dl-writev.h (_dl_writev): Likewise.
12434         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12435         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12436         _dl_starting_up_internal.
12438 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12440         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12441         test-skeleton.c.
12443 2014-11-05  Will Newton  <will.newton@linaro.org>
12445         * benchtests/Makefile: (bench-malloc): Add malloc thread
12446         scalability benchmark.
12447         * benchtests/bench-malloc-threads.c: New file.
12449 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12451         * sysdeps/aarch64/strchrnul.S: New file.
12453 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12455         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12456         definition.
12457         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12458         Likwise.
12459         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12460         Likewise.
12461         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12462         Likewise.
12463         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12464         Likewise.
12465         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12466         Likewise.
12468 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12470         * catgets/test-gencat.c: Use test-skeleton.c.
12471         * catgets/tst-catgets.c: Likewise.
12472         * csu/tst-empty.c: Likewise.
12473         * elf/tst-audit2.c: Likewise.
12474         * elf/tst-global1.c: Likewise.
12475         * elf/tst-pathopt.c: Likewise.
12476         * elf/tst-piemod1.c: Likewise.
12477         * elf/tst-tls10.c: Likewise.
12478         * elf/tst-tls11.c: Likewise.
12479         * elf/tst-tls12.c: Likewise.
12480         * gnulib/tst-gcc.c: Likewise.
12481         * iconvdata/tst-e2big.c: Likewise.
12482         * iconvdata/tst-loading.c: Likewise.
12483         * iconv/tst-iconv1.c: Likewise.
12484         * iconv/tst-iconv2.c: Likewise.
12485         * inet/test-inet6_opt.c: Likewise.
12486         * inet/tst-gethnm.c: Likewise.
12487         * inet/tst-network.c: Likewise.
12488         * inet/tst-ntoa.c: Likewise.
12489         * intl/tst-codeset.c: Likewise.
12490         * intl/tst-gettext2.c: Likewise.
12491         * intl/tst-gettext3.c: Likewise.
12492         * intl/tst-ngettext.c: Likewise.
12493         * intl/tst-translit.c: Likewise.
12494         * io/test-stat.c: Likewise.
12495         * libio/test-fmemopen.c: Likewise.
12496         * libio/tst-freopen.c: Likewise.
12497         * libio/tst-sscanf.c: Likewise.
12498         * libio/tst-ungetwc1.c: Likewise.
12499         * libio/tst-ungetwc2.c: Likewise.
12500         * libio/tst-widetext.c: Likewise.
12501         * localedata/tst-ctype.c: Likewise.
12502         * localedata/tst-digits.c: Likewise.
12503         * localedata/tst-leaks.c: Likewise.
12504         * localedata/tst-mbswcs1.c: Likewise.
12505         * localedata/tst-mbswcs2.c: Likewise.
12506         * localedata/tst-mbswcs3.c: Likewise.
12507         * localedata/tst-mbswcs4.c: Likewise.
12508         * localedata/tst-mbswcs5.c: Likewise.
12509         * localedata/tst-setlocale.c: Likewise.
12510         * localedata/tst-trans.c: Likewise.
12511         * localedata/tst-wctype.c: Likewise.
12512         * localedata/tst-xlocale1.c: Likewise.
12513         * login/tst-grantpt.c: Likewise.
12514         * malloc/tst-calloc.c: Likewise.
12515         * malloc/tst-malloc.c: Likewise.
12516         * malloc/tst-mallocstate.c: Likewise.
12517         * malloc/tst-mcheck.c: Likewise.
12518         * malloc/tst-mtrace.c: Likewise.
12519         * malloc/tst-obstack.c: Likewise.
12520         * math/atest-exp2.c: Likewise.
12521         * math/atest-exp.c: Likewise.
12522         * math/atest-sincos.c: Likewise.
12523         * math/test-matherr.c: Likewise.
12524         * math/test-misc.c: Likewise.
12525         * math/test-powl.c: Likewise.
12526         * math/tst-definitions.c: Likewise.
12527         * misc/tst-dirname.c: Likewise.
12528         * misc/tst-efgcvt.c: Likewise.
12529         * misc/tst-fdset.c: Likewise.
12530         * misc/tst-hsearch.c: Likewise.
12531         * misc/tst-mntent2.c: Likewise.
12532         * nptl/tst-sem7.c: Likewise.
12533         * nptl/tst-sem8.c: Likewise.
12534         * nptl/tst-sem9.c: Likewise.
12535         * nss/test-netdb.c: Likewise.
12536         * posix/tst-fnmatch.c: Likewise.
12537         * posix/tst-getlogin.c: Likewise.
12538         * posix/tst-gnuglob.c: Likewise.
12539         * posix/tst-mmap.c: Likewise.
12540         * pwd/tst-getpw.c: Likewise.
12541         * resolv/tst-inet_ntop.c: Likewise.
12542         * rt/tst-timer.c: Likewise.
12543         * stdio-common/test-fseek.c: Likewise.
12544         * stdio-common/test-popen.c: Likewise.
12545         * stdio-common/test-vfprintf.c: Likewise.
12546         * stdio-common/tst-cookie.c: Likewise.
12547         * stdio-common/tst-fileno.c: Likewise.
12548         * stdio-common/tst-gets.c: Likewise.
12549         * stdio-common/tst-obprintf.c: Likewise.
12550         * stdio-common/tst-perror.c: Likewise.
12551         * stdio-common/tst-sprintf2.c: Likewise.
12552         * stdio-common/tst-sprintf3.c: Likewise.
12553         * stdio-common/tst-sprintf.c: Likewise.
12554         * stdio-common/tst-swprintf.c: Likewise.
12555         * stdio-common/tst-tmpnam.c: Likewise.
12556         * stdio-common/tst-unbputc.c: Likewise.
12557         * stdio-common/tst-wc-printf.c: Likewise.
12558         * stdlib/tst-environ.c: Likewise.
12559         * stdlib/tst-fmtmsg.c: Likewise.
12560         * stdlib/tst-limits.c: Likewise.
12561         * stdlib/tst-rand48-2.c: Likewise.
12562         * stdlib/tst-rand48.c: Likewise.
12563         * stdlib/tst-random2.c: Likewise.
12564         * stdlib/tst-random.c: Likewise.
12565         * stdlib/tst-strtol.c: Likewise.
12566         * stdlib/tst-strtoll.c: Likewise.
12567         * stdlib/tst-tls-atexit.c: Likewise.
12568         * stdlib/tst-xpg-basename.c: Likewise.
12569         * string/test-ffs.c: Likewise.
12570         * string/tst-bswap.c: Likewise.
12571         * string/tst-inlcall.c: Likewise.
12572         * string/tst-strtok.c: Likewise.
12573         * string/tst-strxfrm.c: Likewise.
12574         * sysdeps/x86_64/tst-audit10.c: Likewise.
12575         * sysdeps/x86_64/tst-audit3.c: Likewise.
12576         * sysdeps/x86_64/tst-audit4.c: Likewise.
12577         * sysdeps/x86_64/tst-audit5.c: Likewise.
12578         * time/tst-ftime_l.c: Likewise.
12579         * time/tst-getdate.c: Likewise.
12580         * time/tst-mktime3.c: Likewise.
12581         * time/tst-mktime.c: Likewise.
12582         * time/tst-posixtz.c: Likewise.
12583         * time/tst-strptime2.c: Likewise.
12584         * time/tst-strptime3.c: Likewise.
12585         * wcsmbs/tst-btowc.c: Likewise.
12586         * wcsmbs/tst-mbrtowc.c: Likewise.
12587         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12588         * wcsmbs/tst-wchar-h.c: Likewise.
12589         * wcsmbs/tst-wcpncpy.c: Likewise.
12590         * wcsmbs/tst-wcrtomb.c: Likewise.
12591         * wcsmbs/tst-wcsnlen.c: Likewise.
12592         * wcsmbs/tst-wcstof.c: Likewise.
12594 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12596         [BZ #14132]
12597         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12598         INTDEF.
12599         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12600         declaration.
12601         (_dl_mcount): Use rtld_hidden_proto.
12602         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12603         _dl_mcount.
12604         * elf/rtld.c (_rtld_global_ro): Likewise.
12606         [BZ #14132]
12607         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12608         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12609         of _dl_init_internal.
12610         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12611         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12612         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12613         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12614         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12615         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12616         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12617         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12618         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12619         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12620         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12621         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12622         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12623         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12624         * sysdeps/tile/dl-start.S (_start): Likewise.
12625         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12626         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12628         [BZ #14132]
12629         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12630         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12631         (rtld_progname): Make macro definition unconditional.
12632         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12633         INTDEF.
12634         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12635         (dl_main): Likewise.
12636         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12637         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12638         instead of _dl_argv_internal.
12639         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12640         __GI__dl_argv instead of INTUSE(_dl_argv).
12641         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12642         __GI__dl_argv instead of _dl_argv_internal.
12644         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12645         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12646         macro.
12647         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12648         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12649         New macro.
12650         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12651         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12652         macro.
12653         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12654         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12656 2014-11-04  Andreas Schwab  <schwab@suse.de>
12658         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12660 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12662         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12663         mtvsrd instruction in binary form.
12665 2014-11-03  Andreas Schwab  <schwab@suse.de>
12667         [BZ #17522]
12668         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12669         for less than MB_LEN_MAX use a local buffer of that size.
12670         * libio/tst-fputws.c: New file.
12671         * libio/Makefile (tests): Add tst-fputws.
12673 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12675         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12676         the size of the fpu_fr.fpu_dregs[] array.
12678 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12680         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12681         (__nanosleep): Do not define as alias.
12682         (nanosleep): Define as alias of __nanosleep.
12683         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12684         __libc_nanosleep name.
12686 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12688         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12689         install.texi in comment.
12691 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12693         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12694         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12695         ... add here and use lwsync or sync ...
12696         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12697         ... and add here using lwsync.
12699 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12701         * elf/dl-machine-reject-phdr.h: New file.
12702         * elf/dl-load.c: #include that.
12703         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12704         if that returned true.
12706 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12708         [BZ #17496]
12709         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12710         gen-as-const-headers chunk.  Add a big scare comment after the last
12711         safe place to touch before-compile.
12713 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12715         * manual/install.texi (Tools for Compilation): Update autoconf
12716         version requirements.
12717         * INSTALL: Regenerated.
12719         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12720         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12721         (__libc_pselect): Likewise.
12723         [BZ #14138]
12724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12729 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12731         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12732         correct barrier instruction.
12733         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12734         Likewise.
12735         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12736         Likewise.
12738 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12740         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12741         after defining inlines.  Instead, just use parens to defeat macro
12742         expansion of __isctype in its declaration.
12744 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12746         * include/sys/uio.h (__libc_readv): Remove declaration.
12747         (__libc_writev): Likewise.
12748         * misc/readv.c (__libc_readv): Rename to __readv.
12749         (__readv): Do not define as alias.
12750         (readv): Define as alias of __readv.
12751         * misc/writev.c (__libc_writev): Rename to __writev.
12752         (__writev): Do not define as alias.
12753         (writev): Define as alias of __writev.
12754         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12755         (__readv): Do not define as alias.
12756         (readv): Define unconditionally as alias of __readv.
12757         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12758         (__writev): Do not define as alias.
12759         (writev): Define unconditionally as alias of __writev.
12760         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12761         name.
12762         (writev): Do not define __libc_writev name.
12764 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12766         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12767         (convert_charseq): New function, broken out of ...
12768         (use_from_charmap): ... here.  Call it.
12769         (use_to_charmap): Use convert_charseq and free instead of duplicating
12770         its code with a variable-length stack struct.
12772 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12774         * include/fcntl.h (__libc_creat): Remove declaration.
12775         * io/creat.c (__libc_creat): Rename to creat.
12776         (creat): Do not define as alias.
12777         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12778         of creat instead of __libc_creat.
12779         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12780         to creat.
12781         (creat): Do not define as alias.
12782         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12783         __libc_creat.
12784         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12785         __libc_creat name.
12786         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12787         Likewise.
12789 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12791         * manual/llio.texi: Add comments discussing why write() may be
12792         considered MT-unsafe on Linux.
12794 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12796         * dl-load.c (local_strdup): Remove.
12797         (expand_dynamic_string_token): Use __strdup.
12798         (decompose_rpath): Likewise.
12799         (_dl_map_object): Likewise.
12801 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12803         [BZ #14132]
12804         * sysdeps/generic/unwind-dw2-fde.c
12805         (__register_frame_info_bases_internal): Do not declare.
12806         (__register_frame_info_table_bases_internal): Likewise.
12807         (__deregister_frame_info_bases_internal): Likewise.
12808         (__register_frame_info_bases): Declare and use hidden_proto before
12809         definition.  Use hidden_def instead of INTDEF.
12810         (__register_frame_info_table_bases): Likewise.
12811         (__deregister_frame_info_bases): Likewise.
12812         (__register_frame_info): Do not use INTUSE.
12813         (__register_frame): Likewise.
12814         (__register_frame_info_table): Likewise.
12815         (__register_frame_table): Likewise.
12816         (__deregister_frame_info): Likewise.
12817         (__deregister_frame): Likewise.
12819 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12821         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12822         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12823         not undefine.
12824         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12825         Likewise.
12826         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12827         Likewise.
12829 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12831         [BZ #14138]
12832         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12833         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12834         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12835         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12836         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12837         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12838         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12839         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12840         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12841         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12842         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12843         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12844         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12845         syscall.
12846         (setfsuid): Likewise.
12847         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12848         (setfsuid): Likewise.
12849         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12850         (setfsuid): Likewise.
12851         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12852         Likewise.
12853         (setfsuid): Likewise.
12854         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12855         (setfsuid): Likewise.
12856         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12857         Likewise.
12858         (setfsuid): Likewise.
12860 2014-10-27  Andreas Schwab  <schwab@suse.de>
12862         [BZ #17501]
12863         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12864         check for Slow_SSE4_2 feature bit.
12865         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12866         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12867         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12868         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12870 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12872         * configure.ac: Validate compiler version with a empirical test of
12873         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12874         $CC -v output.
12875         * configure: Regenerated.
12877         * inet/htons.c (htons): Prototypify.
12878         * inet/htonl.c (htonl): Likewise.
12880 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12882         * string/strncat.c (strncat): Improve performance by using strlen.
12884 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12886         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12888 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12890         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12891         Call libc_fetestexcept_aarch64.
12893 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12895         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12896         Call libc_feholdexcept_aarch64.
12898 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12900         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12901         Call get_rounding_mode.
12903 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12905         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12906         Simplify logic.
12908 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12910         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12911         Simplify logic.
12913 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12915         [BZ #14138]
12916         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12917         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12918         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12919         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12920         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12921         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12922         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12923         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12924         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12925         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12926         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12927         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12928         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12929         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12930         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12931         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12932         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12933         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12934         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12935         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12936         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12937         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12938         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12939         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12940         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12941         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12942         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12943         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12944         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12945         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12946         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12947         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12948         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12949         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12950         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12951         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12952         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12953         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12954         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12955         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12956         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12957         syscall.
12958         (geteuid): Likewise.
12959         (getgid): Likewise.
12960         (getuid): Likewise.
12961         (getresgid): Likewise.
12962         (getresuid): Likewise.
12963         (getgroups): Likewise.
12964         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12965         (geteuid): Likewise.
12966         (getgid): Likewise.
12967         (getuid): Likewise.
12968         (getresgid): Likewise.
12969         (getresuid): Likewise.
12970         (getgroups): Likewise.
12971         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12972         (geteuid): Likewise.
12973         (getgid): Likewise.
12974         (getuid): Likewise.
12975         (getresgid): Likewise.
12976         (getresuid): Likewise.
12977         (getgroups): Likewise.
12978         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12979         Likewise.
12980         (geteuid): Likewise.
12981         (getgid): Likewise.
12982         (getuid): Likewise.
12983         (getresgid): Likewise.
12984         (getresuid): Likewise.
12985         (getgroups): Likewise.
12986         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12987         (geteuid): Likewise.
12988         (getgid): Likewise.
12989         (getuid): Likewise.
12990         (getresgid): Likewise.
12991         (getresuid): Likewise.
12992         (getgroups): Likewise.
12993         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12994         Likewise.
12995         (geteuid): Likewise.
12996         (getgid): Likewise.
12997         (getuid): Likewise.
12998         (getgroups): Likewise.
13000         [BZ #14138]
13001         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13002         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13003         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13004         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13005         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13006         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13007         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13008         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13009         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13010         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13011         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13012         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13013         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13014         __chown.
13015         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13016         (lchown): Likewise.
13017         (fchown): Likewise.
13018         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13019         Likewise.
13020         (lchown): Likewise.
13021         (fchown): Likewise.
13022         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13023         (lchown): Likewise.
13024         (fchown): Likewise.
13025         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13026         Likewise.
13027         (lchown): Likewise.
13028         (fchown): Likewise.
13030 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13032         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13033         Simplify logic.
13035 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13037         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13038         Cleanup logic.
13040 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13042         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13043         Remove unused include.
13045 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13047         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13048         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13049         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13050         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13052 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13053             Helge Deller <deller@gmx.de>
13055         [BZ #17508]
13056         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13057         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13058         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13060 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13062         [BZ #14132]
13063         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13064         Remove macro definition.
13065         (__ashrdi3_v_glibc20): Likewise.
13066         (__lshrdi3_v_glibc20): Likewise.
13067         (__cmpdi2_v_glibc20): Likewise.
13068         (__ucmpdi2_v_glibc20): Likewise.
13069         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13070         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13071         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13072         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13073         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13074         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13076 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13078         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13079         old GNU extension [0] syntax.
13080         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13081         alloca rather than an array member with variable length.
13082         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13083         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13084         (parse_opt): ... here.  Likewise use alloca there.
13085         Validate the -i argument before checking for rootness.
13086         (send_shutdown): New function, broken out of ...
13087         (parse_opt): ... here.
13089 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13091         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13092         macro to get at the _rt_local_ro field.
13093         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13094         ([PIC] case) or _dl_hwcap ([!PIC] case).
13095         * sysdeps/arm/setjmp.S: Likewise.
13097         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13098         * sysdeps/arm/configure.ac: New check to define it.
13099         * sysdeps/arm/configure: Regenerated.
13100         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13101         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13102         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13103         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13104         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13105         Use move/movt pair instead of a load.
13106         (LDST_GLOBAL): Macro removed.
13107         (LDR_GLOBAL): New macro replaces it.
13108         (LDR_HIDDEN): New macro.
13109         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13110         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13112         * setjmp/tst-setjmp-static.c: New file.
13113         * setjmp/Makefile (tests): Add it.
13114         (tests-static): New variable.
13116 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13118         [BZ #17485]
13119         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13121 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13123         [BZ #14132]
13124         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13126 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13128         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13130 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13132         * io/fts.c (dirent_not_directory): New function.
13133         (fts_build): Call it.
13135 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13137         * nptl/version.c (__nptl_main): Use normal __write rather than
13138         INTERNAL_SYSCALL.
13139         (banner): Update copyright years.
13141         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13142         gettimeofday.
13143         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13144         * nptl/pthread_cond_timedwait.c: Likewise.
13145         * nptl/pthread_mutex_timedlock.c: Likewise.
13146         * nptl/sem_timedwait.c: Likewise.
13148         * sysdeps/nptl/bits/libc-lock.h
13149         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13150         (__libc_lock_init_recursive): Return void, not 0.
13151         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13152         (__libc_rwlock_init): Likewise.
13153         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13155 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13157         [BZ #15215]
13158         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13159         (__pthread_once_slow): ... here.
13160         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13161         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13163 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13165         [BZ #15215]
13166         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13167         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13168         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13169         * nptl/pthread_once.c (__pthread_once): Likewise.
13170         Update comments.
13172 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13174         [BZ #14138]
13175         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13176         name.
13177         (writev): Use __libc_writev as strong name.
13178         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13179         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13181 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13183         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13185         * sysdeps/i386/nptl/tls.h
13186         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13187         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13188         New macros.
13189         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13190         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13191         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13192         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13193         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13194         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13196         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13197         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13198         on [__NR_futex].
13199         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13200         broken out of ...
13201         (__pthread_mutex_init): ... here.  Call it.
13202         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13203         Conditionalize PI cases on [__NR_futex].
13204         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13205         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13206         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13208         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13209         conditional on [SIGSETXID].
13210         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13211         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13212         is defined.  Likewise for SIGSETXID.
13213         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13214         Conditionalize definitions on [SIGSETXID].
13215         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13216         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13217         unblocking on [SIGCANCEL].
13219         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13220         [__NR_set_robust_list].
13222 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13224         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13225         (do_compare): Likewise.
13227 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13229         [BZ #15884]
13230         * string/strcoll_l.c: Don't include stdio.h.
13231         (coll_seq): Remove members idxarr and rulearr.
13232         (get_next_seq_cached): Remove function.
13233         (get_next_seq): Likewise.
13234         (get_next_seq_nocache): Rename to get_next_seq.
13235         (do_compare): Remove function.
13236         (do_compare_nocache): Rename to do_compare.
13237         (STRCOLL): Remove weight and rules cache.
13239 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13241         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13242         * sysdeps/arm/sfp-machine.h: ... to here.
13243         * sysdeps/arm/Implies: Remove arm/soft-fp.
13245 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13247         * conform/data/sys/utsname.h-data (*_t): Allow.
13248         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13249         [POSIX] (WEXITED): Do not expect constant.
13250         [POSIX] (WSTOPPED): Likewise.
13251         [POSIX] (WNOHANG): Likewise.
13252         [POSIX] (WNOWAIT): Likewise.
13253         [POSIX] (siginfo_t): Do not expect type or elements.
13254         [POSIX] (pid_t): Do not expect type.
13255         [POSIX] (signal.h): Do not allow header.
13256         [POSIX] (sys/resource.h): Likewise.
13257         [POSIX] (si_*): Do not allow pattern.
13258         [POSIX] (W*): Likewise.
13259         [POSIX] (P_*): Likewise.
13260         [POSIX] (BUS_*): Likewise.
13261         [POSIX] (CLD_*): Likewise.
13262         [POSIX] (FPE_*): Likewise.
13263         [POSIX] (ILL_*): Likewise.
13264         [POSIX] (POLL_*): Likewise.
13265         [POSIX] (SEGV_*): Likewise.
13266         [POSIX] (SI_*): Likewise.
13267         [POSIX] (TRAP_*): Likewise.
13268         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13269         variable.
13271 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13273         [BZ #12926]
13274         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13275         infinite loop when __recvmsg returns 0.
13277 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13279         * CANCEL-FCT-WAIVE: Remove file.
13280         * CANCEL-FILE-WAIVE: Likewise.
13282         [BZ #14132]
13283         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13284         instead of INTVARDEF.
13285         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13286         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13287         rtld_hidden_data_def instead of INTVARDEF.
13288         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13289         * elf/dl-deps.c (expand_dst): Likewise.
13290         * elf/dl-load.c (_dl_dst_count): Likewise.
13291         (_dl_dst_substitute): Likewise.
13292         (decompose_rpath): Likewise.
13293         (_dl_init_paths): Likewise.
13294         (open_path): Likewise.
13295         (_dl_map_object): Likewise.
13296         * elf/rtld.c (dl_main): Likewise.
13297         (process_dl_audit): Likewise.
13298         (process_envvars): Likewise.
13299         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13300         Remove declaration.
13301         (__libc_enable_secure): Use rtld_hidden_proto.
13303 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13305         * elf/dl-load.c
13306         (add_path): New function broken out of _dl_rtld_di_serinfo.
13307         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13309 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13311         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13312         parentheses around macro arguments.
13313         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13314         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13315         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13316         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13317         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13318         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13319         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13321         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13322         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13323         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13324         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13325         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13326         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13327         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13328         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13329         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13330         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13331         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13332         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13333         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13334         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13335         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13337         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13339         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13340         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13341         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13342         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13343         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13344         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13345         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13346         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13347         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13348         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13349         Likewise.
13350         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13351         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13355         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13356         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13357         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13358         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13359         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13360         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13361         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13362         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13365         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13366         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13368         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13369         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13370         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13371         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13372         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13373         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13374         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13375         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13376         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13377         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13378         (_FP_FRAC_SRS_1): Likewise.
13379         (_FP_FRAC_CLZ_1): Likewise.
13380         (_FP_MUL_MEAT_1_imm): Likewise.
13381         (_FP_MUL_MEAT_1_wide): Likewise.
13382         (_FP_MUL_MEAT_1_hard): Likewise.
13383         (_FP_SQRT_MEAT_1): Likewise.
13384         (_FP_FRAC_ASSEMBLE_1): Likewise.
13385         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13386         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13387         (__FP_CLZ_2): Likewise.
13388         (_FP_MUL_MEAT_2_wide): Likewise.
13389         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13390         (_FP_MUL_MEAT_2_gmp): Likewise.
13391         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13392         (_FP_SQRT_MEAT_2): Likewise.
13393         (_FP_FRAC_ASSEMBLE_2): Likewise.
13394         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13395         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13396         (_FP_FRAC_CLZ_4): Likewise.
13397         (_FP_MUL_MEAT_4_wide): Likewise.
13398         (_FP_MUL_MEAT_4_gmp): Likewise.
13399         (_FP_SQRT_MEAT_4): Likewise.
13400         (_FP_FRAC_ASSEMBLE_4): Likewise.
13401         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13402         * soft-fp/op-common.h (_FP_CMP): Likewise.
13403         (_FP_CMP_EQ): Likewise.
13404         (_FP_CMP_UNORD): Likewise.
13405         (_FP_TO_INT): Likewise.
13406         (_FP_FROM_INT): Likewise.
13407         [!__FP_CLZ] (__FP_CLZ): Likewise.
13408         (_FP_DIV_HELP_imm): Likewise.
13409         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13410         Likewise.
13411         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13413         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13414         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13415         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13416         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13417         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13419         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13420         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13421         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13422         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13423         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13424         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13425         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13426         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13427         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13428         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13429         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13431         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13432         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13435         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13437         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13438         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13439         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13440         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13441         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13442         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13443         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13444         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13445         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13446         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13447         (FP_UNPACK_RAW_SP): Likewise.
13448         (FP_PACK_RAW_S): Likewise.
13449         (FP_PACK_RAW_SP): Likewise.
13450         (FP_UNPACK_S): Likewise.
13451         (FP_UNPACK_SP): Likewise.
13452         (FP_UNPACK_SEMIRAW_S): Likewise.
13453         (FP_UNPACK_SEMIRAW_SP): Likewise.
13454         (FP_PACK_S): Likewise.
13455         (FP_PACK_SP): Likewise.
13456         (FP_PACK_SEMIRAW_S): Likewise.
13457         (FP_PACK_SEMIRAW_SP): Likewise.
13458         (_FP_SQRT_MEAT_S): Likewise.
13459         (FP_CMP_S): Likewise.
13460         (FP_CMP_EQ_S): Likewise.
13461         (FP_CMP_UNORD_S): Likewise.
13462         (FP_TO_INT_S): Likewise.
13463         (FP_FROM_INT_S): Likewise.
13465         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13467         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13468         (FP_EX_INVALID_IMZ): Likewise.
13469         (FP_EX_INVALID_IMZ_FMA): Likewise.
13470         (FP_EX_INVALID_ISI): Likewise.
13471         (FP_EX_INVALID_ZDZ): Likewise.
13472         (FP_EX_INVALID_IDI): Likewise.
13473         (FP_EX_INVALID_SQRT): Likewise.
13474         (FP_EX_INVALID_CVI): Likewise.
13475         (FP_EX_INVALID_VC): Likewise.
13476         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13477         "invalid" exceptions.
13478         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13479         (_FP_ADD_INTERNAL): Likewise.
13480         (_FP_MUL): Likewise.
13481         (_FP_FMA): Likewise.
13482         (_FP_DIV): Likewise.
13483         (_FP_CMP_CHECK_NAN): Likewise.
13484         (_FP_SQRT): Likewise.
13485         (_FP_TO_INT): Likewise.
13486         (FP_EXTEND): Likewise.
13488 2014-10-09  Allan McRae  <allan@archlinux.org>
13490         * po/fr.po: Update French translation from translation project.
13492 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13494         [BZ #14132]
13495         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13496         of INTDEF.
13497         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13498         (__cxa_atexit): Use libc_hidden_proto.
13499         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13501         [BZ #14132]
13502         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13503         declaration.
13504         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13505         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13506         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13507         [!_ISOMAC] (__iswctype_internal): Likewise.
13508         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13509         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13510         alias.
13511         (fcntl): Remove __fcntl_internal alias.
13512         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13513         __connect_internal alias.
13514         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13515         Likewise.
13517         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13518         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13519         FP_DENORM_ZERO.
13520         (_FP_CHECK_FLUSH_ZERO): New macro.
13521         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13522         (_FP_CMP): Likewise.
13523         (_FP_CMP_EQ): Likewise.
13524         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13525         FP_DENORM_ZERO.
13526         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13527         (FP_TRUNC): Likewise.
13529         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13530         treated as invalid conversion, not as normal exponent.
13532         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13533         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13534         (_FP_CMP_EQ): Likewise.
13535         (_FP_CMP_UNORD): Likewise.
13536         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13537         (FP_CMP_EQ_D): Likewise.
13538         (FP_CMP_UNORD_D): Likewise.
13539         * soft-fp/extended.h (FP_CMP_E): Likewise.
13540         (FP_CMP_EQ_E): Likewise.
13541         (FP_CMP_UNORD_E): Likewise.
13542         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13543         (FP_CMP_EQ_Q): Likewise.
13544         (FP_CMP_UNORD_Q): Likewise.
13545         * soft-fp/single.h (FP_CMP_S): Likewise.
13546         (FP_CMP_EQ_S): Likewise.
13547         (FP_CMP_UNORD_S): Likewise.
13548         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13549         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13550         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13551         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13552         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13553         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13554         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13555         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13556         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13557         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13558         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13559         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13560         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13561         to FP_CMP_Q.
13562         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13563         FP_CMP_Q.
13564         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13565         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13566         FP_CMP_EQ_Q.
13567         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13568         FP_CMP_Q.
13569         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13570         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13571         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13572         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13573         FP_CMP_EQ_Q.
13574         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13575         FP_CMP_Q.
13576         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13577         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13578         FP_CMP_EQ_Q.
13579         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13580         FP_CMP_Q.
13581         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13582         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13583         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13584         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13585         FP_CMP_EQ_Q.
13587         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13588         a subnormal result, set the underflow exception if trapping on
13589         underflow is enabled.
13590         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13591         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13592         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13593         redefine to 0.
13594         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13595         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13596         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13597         * soft-fp/extendxftf2.c (__extendxftf2): Use
13598         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13600         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13601         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13602         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13603         FP_HANDLE_EXCEPTIONS.
13604         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13605         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13606         FP_HANDLE_EXCEPTIONS.
13607         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13608         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13609         FP_HANDLE_EXCEPTIONS.
13610         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13611         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13612         FP_HANDLE_EXCEPTIONS.
13614 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13616         [BZ #14132]
13617         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13618         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13619         use INTUSE.
13620         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13621         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13622         Remove alias.
13623         (__adjtimex): Define using libc_hidden_ver.
13624         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13625         Remove declaration.
13626         (ntp_gettime): Call __adjtimex directly.
13627         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13628         Remove declaration.
13629         (ntp_gettimex): Call __adjtimex directly.
13630         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13631         __adjtimex_internal alias.
13633 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13635         [BZ #17460]
13636         * nscd/nscd.c (more_help): Rewrite list of tables collection
13637         using xstrdup and asprintf.
13639         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13641 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13642             Roland McGrath  <roland@hack.frob.com>
13644         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13645         (do_lookup_unique): ... local function 'enter' here; update callers.
13647 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13649         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13650         compat_symbol calls on [SHARED].
13651         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13652         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13653         Remove.
13654         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13655         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13656         (oldsetrlimit): Remove.
13657         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13659         (lchown): New syscall entry.
13660         (oldsetrlimit): Remove.
13661         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13662         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13663         (oldsetrlimit): Remove.
13664         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13666         [BZ #14138]
13667         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13668         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13669         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13670         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13671         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13672         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13673         (fchown): Likewise.
13674         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13675         (fchown): Likewise.
13676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13677         Likewise.
13679 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13681         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13682         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13683         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13684         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13685         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13686         Likewise.
13687         (__old_sem_post): Likewise.
13689 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13691         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13692         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13693         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13694         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13695         Use INLINE_VSYSCALL macro.
13696         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13697         __vdso_clock_gettime.
13698         * sysdeps/unix/sysv/linux/tile/init-first.c
13699         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13700         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13701         __vdso_clock_gettime.
13703         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13704         to set up frame more cleanly.
13706         * sysdeps/tile/memcmp.c: New file.
13708         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13710         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13711         * sysdeps/tile/tilegx/strcasestr.c: New file.
13712         * sysdeps/tile/tilegx/strnlen.c: New file.
13713         * sysdeps/tile/tilegx/strstr.c: New file.
13715         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13717 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13719         * nptl/tst-setuid3.c: Write errors to stdout.
13721 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13723         * elf/dl-deps.c
13724         (preload): New functions broken out of _dl_map_object_deps.
13725         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13727 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13729         [BZ #14138]
13730         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13731         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13733 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13735         * sysdeps/mips/strcmp.S: New.
13737 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13739         [BZ #14138]
13740         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13741         (linkat): Likewise.
13742         (mkdirat): Likewise.
13743         (readlinkat): Likewise.
13744         (renameat): Likewise.
13745         (symlinkat): Likewise.
13746         (unlinkat): Likewise.
13747         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13748         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13749         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13750         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13751         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13752         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13753         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13755 2014-09-30  Will Newton  <will.newton@linaro.org>
13757         * math/math.h: Define long double math functions if
13758         _LIBC_TEST is defined.
13759         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13761         * localedata/Makefile: Move assignment to tests-special
13762         into an ifdef testing run-built-tests.
13763         * timezone/Makefile: Likewise.
13765 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13767         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13768         with $(BASH) not $(SHELL).
13770 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13771             Matthew LeGendre  <legendre1@llnl.gov>
13773         [BZ #17411]
13774         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13775         l_reloc_result.
13777 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13779         * stdio-common/printf_fp.c
13780         (hack_digit): New function, broken out of ...
13781         (__printf_fp): ... local function here.  Update call sites.
13782         hack_digit now takes an additional parameter that is a pointer
13783         to a struct of the referenced locals.  Those locals moved inside
13784         the struct and references updated.
13786 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13788         * aclocal.m4: Require autoconf 2.69.
13789         * configure: Regenerated.
13790         * sysdeps/aarch64/configure: Likewise.
13791         * sysdeps/alpha/configure: Likewise.
13792         * sysdeps/arm/armv7/configure: Likewise.
13793         * sysdeps/arm/configure: Likewise.
13794         * sysdeps/ia64/configure: Likewise.
13795         * sysdeps/mach/configure: Likewise.
13796         * sysdeps/mips/configure: Likewise.
13797         * sysdeps/s390/configure: Likewise.
13798         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13801         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13802         file.
13803         * sysdeps/ia64/configure.ac: Likewise.
13805 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13808         specify symbol version for ld.so.  Do not include entry for
13809         libpthread.
13810         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13811         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13812         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13814         [BZ #14171]
13815         * Makeconfig [$(build-shared) = yes]
13816         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13817         makefiles.
13818         [$(build-shared) = yes && $(soversions.mk-done) = t]
13819         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13820         [$(build-shared) = yes && $(soversions.mk-done) = t]
13821         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13822         to Makerules.
13823         [$(build-shared) = yes && $(soversions.mk-done) = t]
13824         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13825         here.
13826         [$(build-shared) = yes && $(soversions.mk-done) = t]
13827         (common-generated): Don't append gnu/lib-names.h and
13828         gnu/lib-names.stmp here.
13829         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13830         (lib-names-h-abi): New variable.
13831         [$(build-shared) = yes && $(soversions.mk-done) = t]
13832         (lib-names-stmp-abi): Likewise.
13833         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13834         abi-variants] (before-compile): Append
13835         $(common-objpfx)$(lib-names-h-abi).
13836         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13837         abi-variants] (common-generated): Append gnu/lib-names.h.
13838         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13839         abi-variants] (install-others-nosubdir): Depend on
13840         $(inst_includedir)/$(lib-names-h-abi).
13841         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13842         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13843         [$(build-shared) = yes && $(soversions.mk-done) = t]
13844         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13845         [$(build-shared) = yes && $(soversions.mk-done) = t]
13846         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13847         [$(build-shared) = yes && $(soversions.mk-done) = t]
13848         (common-generated): Append $(lib-names-h-abi) and
13849         $(lib-names-stmp-abi).
13850         * scripts/lib-names.awk: Do not handle multi being set.
13851         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13852         Remove variable.
13853         (abi-lp64_be-ld-soname): Likewise.
13854         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13855         Likewise.
13856         (abi-hard-ld-soname): Likewise.
13857         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13858         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13859         Remove variable.
13860         (abi-o32_hard-ld-soname): Likewise.
13861         (abi-o32_soft_2008-ld-soname): Likewise.
13862         (abi-o32_hard_2008-ld-soname): Likewise.
13863         (abi-n32_soft-ld-soname): Likewise.
13864         (abi-n32_hard-ld-soname): Likewise.
13865         (abi-n32_soft_2008-ld-soname): Likewise.
13866         (abi-n32_hard_2008-ld-soname): Likewise.
13867         (abi-n64_soft-ld-soname): Likewise.
13868         (abi-n64_hard-ld-soname): Likewise.
13869         (abi-n64_soft_2008-ld-soname): Likewise.
13870         (abi-n64_hard_2008-ld-soname): Likewise.
13871         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13872         Likewise.
13873         (abi-64-v2-ld-soname): Likewise.
13874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13875         ld.so entries.
13876         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13877         variable.
13878         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13879         entry.
13880         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13881         variable.
13882         (abi-64-ld-soname): Likewise.
13883         (abi-x32-ld-soname): Likewise.
13884         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13885         entry.
13886         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13888 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13890         [BZ #14138]
13891         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13892         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13893         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13894         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13895         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13896         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13897         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13898         syscall entry for GLIBC_2.2 symbol version.
13899         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13900         Likewise.
13901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13902         (setrlimit): Likewise.
13903         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13904         Likewise.
13906 2014-09-23  Will Newton  <will.newton@linaro.org>
13908         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13909         _LINUX_ARM_SYSDEP_H include guard too.
13910         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13911         define.
13913 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13915         * sysdeps/unix/sysv/linux/eventfd.c:
13916         Make first argument unsigned.
13917         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13918         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13920 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13922         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13923         * socket/sys/socket.h: Likewise
13924         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13926 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13928         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13930 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13932         * time/tst-ftime.c: New test.
13933         * time/Makefile (tests): Add tst-ftime.
13935 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13937         * soft-fp/extended.h: Fix comment formatting.
13938         * soft-fp/op-1.h: Likewise.
13939         * soft-fp/op-2.h: Likewise.
13940         * soft-fp/op-4.h: Likewise.
13941         * soft-fp/op-8.h: Likewise.
13942         * soft-fp/op-common.h: Likewise.
13943         * soft-fp/soft-fp.h: Likewise.
13945         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13947 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13949         [BZ #6652]
13950         * Makeconfig (soversions-default-setname): Remove variable.
13951         ($(common-objpfx)soversions.i): Don't pass default_setname to
13952         soversions.awk.
13953         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13954         oldest_abi to abi-versions.awk.
13955         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13956         * config.make.in (oldest-abi): Remove variable.
13957         * configure.ac (--enable-oldest-abi): Remove configure option.
13958         * configure: Regenerated.
13959         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13960         text.
13961         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13962         * scripts/soversions.awk: Do not handle default_setname variable.
13963         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13964         variable.
13965         * sysdeps/mach/hurd/configure: Regenerated.
13966         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13967         variable.
13968         * sysdeps/unix/sysv/linux/configure: Regenerated.
13970 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13972         * elf/Makefile (CFLAGS-interp.c): Remove.
13973         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13974         path string.
13975         * elf/interp.c: Include generated runtime-linker.h
13977         * Makerules (lib%.so): Don't include $(+interp) in
13978         prerequisites.
13979         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13980         * dlfcn/eval.c: Remove file.
13982         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13983         macros.
13985         [BZ #17266]
13986         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13987         4.2 and newer.
13989         [BZ #17370]
13990         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13992 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13993             Jakub Jelinek  <jakub@redhat.com>
13995         [BZ #17266]
13996         * libio/stdio.h: Check definition of __fortify_function
13997         instead of __extern_always_inline to include bits/stdio2.h.
13998         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13999         check if __extern_always_inline is defined.
14000         [__USE_MISC || __USE_XOPEN]: Likewise.
14001         [__USE_ISOC99] Likewise.
14002         * misc/sys/cdefs.h (__fortify_function): Define only if
14003         __extern_always_inline is defined.
14004         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14005         __extern_always_inline and __extern_inline only for g++-4.3
14006         and newer or a compatible gcc.
14008 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14010         [BZ #17371]
14011         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14012         last change to handle zero prefix length.
14014 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14016         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14017         _SC_REGEX_VERSION.
14019         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14020         _POSIX_RAW_SOCKETS.
14022 2014-09-13  Allan McRae  <allan@archlinux.org>
14024         * po/ru.po: Update Russian translation from translation project.
14026 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14028         * locale/programs/locale.c (show_locale_vars): Inline local function
14029         into its sole call site.  Clean up some style nits.
14030         (print_item): New function, broken out of ...
14031         (show_info): ... local function here.  Clean up style nits.
14033         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14034         out of ...
14035         (set_class_defaults): ... local function set_default here.
14036         Define set_default as a macro locally to pass constant parameters.
14037         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14038         rather than a shared local.
14040         * stdlib/rpmatch.c (try): New function, broken out of ...
14041         (rpmatch): ... local function here.  Also, prototypify definition.
14043 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14045         * scripts/soversions.awk: Do not handle configuration names.
14046         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14047         vendor and os variables to soversions.awk.
14048         * configure.ac: Do not modify gnu-* host_os.
14049         * configure: Regenerated
14050         * shlib-versions: Remove first column with configuration names.
14051         * nptl/shlib-versions: Likewise.
14052         * nptl_db/shlib-versions: Likewise.
14053         * sysdeps/hppa/shlib-versions: Likewise.
14054         * sysdeps/m68k/shlib-versions: Likewise.
14055         * sysdeps/mach/hurd/shlib-versions: Likewise.
14056         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14057         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14058         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14059         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14060         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14061         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14062         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14063         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14065         Likewise.
14066         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14067         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14068         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14069         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14070         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14071         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14072         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14073         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14076         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14078         Regenerated.
14079         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14081         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14083         * shlib-versions: Remove OS-specific entries.  Moved to files in
14084         sysdeps.
14085         * sysdeps/mach/hurd/shlib-versions: New file.
14086         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14088         * nptl/shlib-versions: Remove architecture-specific entries.
14089         Moved to files in sysdeps.
14090         * shlib-versions: Likewise.
14091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14092         file.
14093         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14094         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14095         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14096         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14098         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14099         (UDP_NO_CHECK6_RX): Likewise.
14101 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14103         * sysdeps/posix/sysconf.c (__sysconf): Spell
14104         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14106 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14108         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14109         loading.
14110         * iconv/Versions (__gconv_transliterate): Export for use from
14111         gconv modules.
14112         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14113         (struct __gconv_trans_data, __gconv_trans_fct,
14114         __gconv_trans_context_fct, __gconv_trans_query_fct,
14115         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14116         definitions.
14117         (struct __gconv_step_data): Remove __trans member.
14118         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14119         longer hidden.  Remove unused trans_data argument.
14120         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14121         (__gconv_translit_find): Remove declaration.
14122         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14123         prototype.
14124         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14125         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14126         trans_data argument.  Add hidden definition.
14127         (__gconv_translit_find): Remove.
14128         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14129         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14130         * iconv/skeleton.c: Remove transliteration initialization.
14131         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14132         __gconv_step_data initialization.
14133         * libio/iofwide.c (__libio_translit_): Remove.
14134         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14135         * wcsmbs/btowc.c (__btowc): Likewise.
14136         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14137         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14138         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14139         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14140         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14141         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14142         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14143         * wcsmbs/wctob.c (wctob): Likewise.
14145 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14147         [BZ #16194]
14148         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14149         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14150         register usage.
14151         * sysdeps/x86/Makefile: Adjust.
14153 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14154             Roland McGrath  <roland@hack.frob.com>
14156         * locale/weight.h: Add include guard.
14157         (findidx): Make static rather than auto; take new parameters
14158         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14159         * locale/weightwc.h: Likewise.
14160         * posix/fnmatch_loop.c
14161         (FCT): Change type of EXTRA from int32_t to wint_t.
14162         Don't include either header inside the function.
14163         Call FINDIDX rather than findidx, and pass new arguments.
14164         #undef FINDIDX at the end of the file.
14165         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14166         FINDIDX before including fnmatch_loop.c for the non-wide version.
14167         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14168         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14169         for the wide version.
14170         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14171         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14172         Pass new arguments to findidx.
14173         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14174         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14175         Don't #include it inside the function.  Pass new arguments to findidx.
14176         * posix/regex_internal.h
14177         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14178         (re_string_elem_size_at): Don't #include it inside the function.
14179         Pass new arguments to findidx.
14180         * string/strcoll_l.c: #include WEIGHT_H at top level.
14181         (get_next_seq): Don't #include it inside the function.
14182         Pass new arguments to findidx.
14183         (get_next_seq_nocache): Likewise.
14184         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14185         (STRXFRM): Don't #include it inside the function.
14186         Pass new arguments to findidx.
14188 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14190         [BZ #17344]
14191         * malloc/malloc.c (unlink): Turn asserts into a call to
14192         malloc_printerr.
14194 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14196         [BZ #17370]
14197         * libio/wfileops (do_ftell_wide): Free OUT.
14199 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14201         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14203 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14205         [BZ #17363]
14206         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14207         group if the current group is empty.
14209 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14211         * benchtests/bench-memset.c (test_main): Add more test from size
14212         from 32 to 512 bytes.
14213         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14214         Add POWER8 memset object.
14215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14216         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14217         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14218         implementation.
14219         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14220         Likewise.
14221         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14222         multiarch POWER8 memset optimization.
14223         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14224         POWER8 memset optimization.
14226         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14227         Remove bzero multiarch objects.
14228         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14229         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14230         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14231         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14232         Remove define.
14233         [__bzero]: Redefine to specific name.
14234         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14235         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14236         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14237         define.
14238         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14239         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14241 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14243         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14244         warnings into errors.
14246         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14247         __cxa_thread_atexit_impl prototype.
14249 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14251         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14252         Fix capitalization of error message.
14254 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14256         * sysdeps/mips/preconfigure: Modify ABI tests.
14258 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14260         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14262 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14263             Carlos O'Donell  <carlos@systemhalted.org>
14265         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14266         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14267         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14268         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14269         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14270         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14271         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14272         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14273         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14274         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14275         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14276         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14277         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14278         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14279         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14280         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14281         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14282         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14283         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14284         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14286         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14287         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14288         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14289         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14290         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14291         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14292         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14293         Deconditionalize the code that was previously under [RESET_PID].
14294         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14295         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14296         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14297         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14298         include sysdep.h.
14300 2014-09-08  Allan McRae  <allan@archlinux.org>
14302         * version.h (RELEASE): Set to "development".
14303         (VERSION): Set to "2.20.90"
14305 2014-09-07  Allan McRae  <allan@archlinux.org
14307         * version.h (RELEASE): Set to "stable".
14308         (VERSION): Set to "2.20"
14309         * include/features.h (__GLIBC_MINOR__): Set to 20.
14311         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14312         Liebler.
14314         * po/ko.po: Update Korean translation from translation project.
14316 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14318         [BZ #17354]
14319         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14320         macro for handling signed relocations.
14322 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14324         [BZ #17325]
14325         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14326         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14327         assert.
14328         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14329         * iconvdata/ibm935.c (BODY): Likewise.
14330         * iconvdata/ibm937.c (BODY): Likewise.
14331         * iconvdata/ibm939.c (BODY): Likewise.
14332         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14333         assert.
14334         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14335         script.
14336         * iconvdata/run-iconv-test.sh: New test loop for checking for
14337         decoder crashers.
14339 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14341         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14342         libm_hidden_ver.
14344 2014-09-01  Allan McRae  <allan@archlinux.org>
14346         * po/eo.po: Update Esperanto translation from translation project.
14348         * po/ca.po: Update Catalan translation from translation project.
14350 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14352         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14353         __proc_dostop call.
14355 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14357         [BZ #17319]
14358         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14359         to call set_thread_area instead of hand written asm.
14360         (__NR_set_thread_area): Removed define.
14361         (TLS_FLAG_WRITABLE): Likewise.
14362         (__ASSUME_SET_THREAD_AREA): Remove check.
14363         (TLS_EBX_ARG): Remove define.
14364         (TLS_LOAD_EBX): Likewise.
14366 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14368         Simplify atomicity of socket creation in bind.
14370         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14371         looking up the name after linking the file.
14373 2014-08-27  Allan McRae  <allan@archlinux.org>
14375         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14377 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14379         [BZ #17187]
14380         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14381         trans_compare, open_translit, __gconv_translit_find):
14382         Remove module loading code.
14384 2014-08-26  Allan McRae  <allan@archlinux.org>
14386         * po/vi.po: Update Vietnamese translation from translation project.
14388         * po/uk.po: Update Ukrainian translation from translation project.
14390         * po/fr.po: Update French translation from translation project.
14392         * po/ru.po: Update Russian translation from translation project.
14394         * po/pl.po: Update Polish translation from translation project.
14396         * po/cs.po: Update Czech translation from translation project.
14398         * po/de.po: Update German translation from translation project.
14400         * po/bg.po: Update Bulgarian translation from translation project.
14402         * po/sv.po: Update Sweedish translation from translation project.
14404         * po/nl.po: Update Dutch translation from translation project.
14406         * po/es.po: Update Spanish translation from translation project.
14408 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14410         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14412         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14413         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14414         (CPPFLAGS-iconvconfig): Likewise.
14415         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14417         * include/libc-symbols.h: Remove unnecessary check for
14418         NOT_IN_libc.
14419         * nptl/pthreadP.h: Likewise.
14420         * sysdeps/aarch64/setjmp.S: Likewise.
14421         * sysdeps/alpha/setjmp.S: Likewise.
14422         * sysdeps/arm/sysdep.h: Likewise.
14423         * sysdeps/i386/setjmp.S: Likewise.
14424         * sysdeps/m68k/setjmp.c: Likewise.
14425         * sysdeps/posix/getcwd.c: Likewise.
14426         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14427         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14428         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14429         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14430         * sysdeps/sh/sh3/setjmp.S: Likewise.
14431         * sysdeps/sh/sh4/setjmp.S: Likewise.
14432         * sysdeps/unix/alpha/sysdep.h: Likewise.
14433         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14434         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14435         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14436         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14441         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14444         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14446         * sysdeps/x86_64/setjmp.S: Likewise.
14448 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14450         [BZ #17263]
14451         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14452         <stdint.h>.
14453         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14454         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14456 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14458         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14460         [BZ #17262]
14461         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14462         and __x86_64__ when disabling x87 inline functions.
14464 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14466         [BZ #17259]
14467         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14468         asm statement with __cpuid_count.
14470 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14472         * configure.ac: Change __ehdr_start code to dereference the struct.
14473         Run readelf on the output to look for relocations.
14474         * configure: Regenerated.
14476 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14478         [BZ #17261]
14479         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14480         value to 0.
14481         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14483 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14485         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14487 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14489         [BZ #16892]
14490         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14491         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14493 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14495         * malloc/malloc.c: Fix typo in comment.
14497 2014-08-09  Allan McRae  <allan@archlinux.org>
14499         * Regenerate libc.po.
14501 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14503         * intl/tst-gettext2.sh: Check every lang file for creation.
14505 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14507         * sysdeps/aarch64/fpu/math_private.h
14508         (libc_feholdsetround_noex_aarch64_ctx): New function.
14510 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14512         * sysdeps/arm/armv6/strcpy.S (strcpy):
14513         Fix performance issue in misaligned cases.
14515 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14517         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14518         Move definition from termios.h.
14519         (struct termio): Likewise.
14520         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14521         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14522         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14523         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14524         Likewise.
14525         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14526         Move definition to ioctl-types.h
14527         (struct termio): Likewise.
14528         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14529         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14530         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14531         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14532         Likewise.
14534 2014-08-05  Richard Henderson  <rth@redhat.com>
14536         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14537         exceptions.
14538         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14539         Add fraiseexcpt.
14540         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14541         Use __feraiseexcept.
14542         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14543         Protect libm symbols with IS_IN_libm.
14545         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14547 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14549         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14551 2014-08-04  Will Newton  <will.newton@linaro.org>
14553         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14554         file.
14556 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14558         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14559         variants for each function.
14561 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14563         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14564         appended ...
14565         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14566         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14567         appended ...
14568         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14569         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14570         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14571         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14572         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14573         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14574         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14575         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14576         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14577         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14578         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14579         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14580         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14581         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14582         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14583         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14584         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14585         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14586         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14587         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14588         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14589         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14590         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14591         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14592         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14593         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14594         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14595         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14596         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14597         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14598         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14599         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14600         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14601         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14602         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14603         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14604         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14605         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14606         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14607         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14608         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14609         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14610         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14611         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14612         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14613         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14614         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14615         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14616         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14617         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14618         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14619         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14620         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14621         Update #include.
14622         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14623         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14625 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14627         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14628         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14629         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14630         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14631         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14632         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14634 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14636         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14637         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14638         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14639         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14641 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14643         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14644         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14645         (__libc_vfork): Define function under this name.
14646         (__vfork): Define as an alias.
14647         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14648         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14650 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14652         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14653         that was previously under [RESET_PID].
14654         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14656 2014-08-04  Andreas Schwab  <schwab@suse.de>
14658         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14660 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14662         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14663         (main): Likewise.
14665 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14667         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14669 2014-08-01  Richard Henderon  <rth@redhat.com>
14671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14672         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14673         typo in exact zero test.
14674         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14675         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14676         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14678 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14680         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14681         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14682         * sysdeps/arm/sysdep.h: ... here.
14683         [!__ASSEMBLER__]: Include <stdint.h>.
14685 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14687         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14688         (HAVE_WCTYPE_H): Likewise.
14689         (HAVE_ISWCTYPE): Likewise.
14690         (ENABLE_NLS): Likewise.
14691         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14692         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14694         * posix/regex_internal.c: Check if DEBUG is defined and is
14695         set.
14697         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14698         (HAVE_MBSRTOWCS): Likewise.
14699         * posix/fnmatch.c: Include string.h unconditionally.
14701 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14703         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14704         reversal.
14706 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14708         * sysdeps/generic/safe-fatal.h: New file.
14709         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14710         * nptl/forward.c: Include it.
14711         (__pthread_unwind): Use __safe_fatal as default action, rather
14712         than a bogus use of INTERNAL_SYSCALL that could never work.
14714         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14715         * configure.ac (libc_cv_builtin_trap): New test.
14716         * configure: Regenerated.
14717         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14718         (ABORT_INSTRUCTION): Define using __builtin_trap.
14720         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14721         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14722         * sysdeps/nptl/nptl-signals.h: New file.
14723         * nptl/pthreadP.h: Include <nptl-signals.h>.
14725 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14727         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14728         (ONE_DIRECTION): Define.
14729         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14730         (ONE_DIRECTION): Define.
14731         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14732         (ONE_DIRECTION): Define.
14734 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14736         * sysdeps/s390/Makefile: Delete file.
14737         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14738         * sysdeps/s390/__longjmp.c: Delete file.
14739         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14740         Remove fields __flags and __reserved.
14741         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14742         and add versioning.
14743         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14744         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14745         * sysdeps/s390/rtld-setjmp.S: Likewise.
14746         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14747         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14748         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14749         * sysdeps/s390/s390-32/setjmp.S: ... here.
14750         Add versioning.
14751         (__sigsetjmp): Remove setting __flags field.
14752         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14753         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14754         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14755         * sysdeps/s390/s390-64/setjmp.S: ... here.
14756         Add versioning.
14757         (__sigsetjmp): Remove setting __flags field.
14758         * sysdeps/s390/setjmp.S: Delete file.
14759         * sysdeps/s390/sigjmp.c: Likewise.
14760         * sysdeps/s390/v1-longjmp.c: Likewise.
14761         * sysdeps/s390/v1-setjmp.h: Likewise.
14762         * sysdeps/s390/v1-sigjmp.c: Likewise.
14763         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14764         Remove v1-longjmp_chk.
14765         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14766         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14767         Include debug/longjmp_chk.c and add versioning.
14768         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14769         Include nptl/pt-longjmp.c and add versioning.
14770         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14771         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14772         Include __longjmp.c.
14773         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14774         Move to ...
14775         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14776         (__getcontext): Remove setting __flags field.
14777         Add versioning.
14778         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14779         Don't restore upper high grps.
14780         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14781         Likewise.
14782         (__swapcontext): Remove setting uc_flags field.
14783         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14784         Delete file.
14785         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14786         Include __longjmp.c.
14787         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14788         Move to ...
14789         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14790         (__getcontext): Remove setting __flags field.
14791         Add versioning.
14792         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14793         (__swapcontext): Remove setting uc_flags field.
14794         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14795         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14796         Remove fields uc_high_gprs and __reserved.
14797         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14798         New file with reverted content.
14799         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14800         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14801         Regenerated.
14802         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14803         Regenerated.
14805 2014-07-31  Andreas Schwab  <schwab@suse.de>
14807         * config.h.in (HAVE_IFUNC): Define to 0.
14808         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14809         definedness.
14811 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14814         memmove-avx-unaligned, memcpy-avx-unaligned and
14815         mempcpy-avx-unaligned.
14816         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14817         Add tests for AVX memcpy functions.
14818         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14819         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14820         memcpy_chk.
14821         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14822         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14823         memmove_chk.
14824         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14825         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14826         mempcpy_chk.
14827         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14828         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14829         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14831 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14833         [BZ #17213]
14834         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14835         powerpc64le.
14837 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14839         [BZ #16839]
14840         * manual/llio.texi: Add section about open file description locks.
14841         * manual/examples/ofdlocks.c: Example of open file description
14842         lock usage.
14843         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14844         F_OFD_SETLK, and F_OFD_SETLKW.
14846 2014-07-23  Allan McRae  <allan@archlinux.org>
14848         * po/es.po: Update Spanish translation from translation project.
14850 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14852         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14854 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14856         [BZ #17078]
14857         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14858         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14859         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14861 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14863         [BZ #17088]
14864         * math/fesetenv.c (__fesetenv)
14865         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14866         * math/feupdateenv.c (__feupdateenv)
14867         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14869         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14870         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14871         (__ASSUME_SOCKETCALL): Do not define.
14873         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14874         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14875         (__ASSUME_SOCKETCALL): Do not define.
14876         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14877         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14878         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14879         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14880         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14881         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14882         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14883         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14885         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14886         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14887         (__ASSUME_SOCKETCALL): Do not define.
14888         (__ASSUME_IPC64): Define unconditionally.
14889         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14890         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14891         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14893         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14894         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14895         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14896         Likewise.
14898         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14899         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14900         (__ASSUME_SOCKETCALL): Do not define.
14901         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14902         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14903         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14904         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14905         (__ASSUME_REQUEUE_PI): Define unconditionally.
14906         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14907         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14908         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14909         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14910         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14911         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14913         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14914         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14915         (__ASSUME_SOCKETCALL): Do not define.
14916         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14917         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14918         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14919         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14920         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14921         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14923         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14924         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14925         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14926         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14927         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14928         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14929         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14930         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14931         (__ASSUME_GETCPU_SYSCALL): Likewise.
14933         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14934         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14935         cases for individual architectures.
14936         * sysdeps/gnu/configure: Regenerated.
14937         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14938         LIBC_SLIBDIR_RTLDDIR.
14939         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14940         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14941         LIBC_SLIBDIR_RTLDDIR.
14942         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14944         LIBC_SLIBDIR_RTLDDIR.
14945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14946         Regenerated.
14947         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14948         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14949         file.
14950         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14951         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14952         file.
14953         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14954         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14955         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14956         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14958         * sysdeps/aarch64/shlib-versions: Move to ...
14959         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14960         * sysdeps/alpha/shlib-versions: Move to ...
14961         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14962         * sysdeps/arm/shlib-versions: Move to ...
14963         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14964         * sysdeps/hppa/shlib-versions: Move all contents except for
14965         libgcc_s entry to ...
14966         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14967         entry from ...
14968         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14969         * sysdeps/ia64/shlib-versions: Move to ...
14970         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14971         entry from ...
14972         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14973         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14974         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14975         * sysdeps/microblaze/shlib-versions: Move to ...
14976         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14977         * sysdeps/mips/shlib-versions: Move to ...
14978         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14979         entry from ...
14980         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14981         * sysdeps/tile/shlib-versions: Move to ...
14982         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14983         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14984         from ...
14985         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14986         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14987         entry from ...
14988         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14990 2014-07-17  Will Newton  <will.newton@linaro.org>
14992         * sysdeps/arm/bits/atomic.h
14993         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14994         (__arch_compare_and_exchange_bool_16_int): Likewise.
14995         (__arch_compare_and_exchange_bool_64_int): Likewise.
14997         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14998         into an #else block.
15000 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15002         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15003         just Linux configurations.  Test empirically that the compiler sets
15004         __ARM_EABI__, rather than using the tuple to decide.
15005         * sysdeps/arm/preconfigure: Regenerated.
15006         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15007         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15008         contents appended ...
15009         * sysdeps/arm/configure.ac: ... here.
15010         * sysdeps/arm/configure: Regenerated.
15012 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15014         * nptl/pthread_kill.c: New file.
15015         * nptl/pthread_sigmask.c: New file.
15016         * nptl/pthread_sigqueue.c: New file.
15018         * sysdeps/nptl/lowlevellock.h: New file.
15019         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15020         * sysdeps/nptl/lowlevellock-futex.h: New file.
15022         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15023         Remove dead declarations.
15025 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15027         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15028         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15029         config-cflags-avx2.
15030         * sysdeps/x86_64/configure.ac: Likewise.
15031         * sysdeps/i386/configure: Regenerated.
15032         * sysdeps/x86_64/configure: Likewise.
15033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15034         memset-avx2 only if config-cflags-avx2 is yes.
15035         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15036         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15037         defined.
15038         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15039         only if HAVE_AVX2_SUPPORT is defined.
15040         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15042 2014-07-14  Alan Modra  <amodra@gmail.com>
15044         [BZ #17153]
15045         * elf/elf.h (DT_PPC64_NUM): Correct value.
15046         * NEWS: Add to fixed bug list.
15048 2014-07-13  Jim Meyering  <meyering@fb.com>
15050         [BZ 17150]
15051         regex: don't deref NULL upon heap allocation failure
15052         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15053         failure in one more place.
15054         To trigger the segfault, configure grep -with-included-regex,
15055         build it, and run these commands:
15056         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15058 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15060         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15062 2014-07-11  Richard Henderson  <rth@redhat.com>
15064         * sysdeps/aarch64/libm-test-ulps: Update.
15066 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15068         [BZ #17135]
15069         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15070         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15071         (__nptl_setxid): Initialize error member.  Call
15072         __nptl_setxid_error.
15073         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15074         * nptl/descr.h (struct xid_command): Add error member.
15075         * nptl/tst-setuid3.c: New file.
15076         * nptl/Makefile (tests): Add it.
15078 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15080         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15081         New define.
15082         (__lll_trylock): Use __lll_base_trylock.
15083         (__lll_cond_trylock): Likewise.
15085 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15087         * nptl/pthread_create.c (start_thread): Use atomic_or and
15088         lll_futex_wake directly rather than lll_robust_dead.
15089         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15090         (lll_robust_dead): Macro removed.
15091         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15092         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15093         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15094         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15095         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15096         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15097         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15098         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15099         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15100         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15101         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15102         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15103         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15104         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15105         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15107         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15108         Use atomic_compare_and_exchange_val_acq directly rather than
15109         lll_robust_trylock.
15110         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15111         (__lll_robust_trylock, lll_robust_trylock): Removed.
15112         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15113         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15114         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15115         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15116         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15117         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15118         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15119         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15120         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15121         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15122         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15123         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15124         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15125         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15127 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15129         * manual/locale.texi (Locale Names): New section documenting
15130         locale name syntax.  Adjust menu and node chaining accordingly.
15131         (Choosing Locale): Reference Locale Names, Locale Categories.
15132         Mention setting LC_ALL=C.  Reflect that name syntax is now
15133         documented.
15134         (Locale Categories): New section title.  Reference Locale Names.
15135         LC_ALL is an environment variable, but not a category.
15136         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15137         description, now in Locale Name.  Reference that section.  Locale
15138         name syntax is now documented.
15140 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15142         [BZ #17137]
15143         * locale/findlocale.c (name_present, valid_locale_name): New
15144         functions.
15145         (_nl_find_locale): Use the loc_name variable to store name
15146         candidates.  Call name_present and valid_locale_name to check and
15147         validate locale names.  Return an error if the locale is invalid.
15149 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15151         * locale/setlocale.c (setlocale): Use strdup for allocating
15152         composite name copy.
15154 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15156         Sync up with gnulib.
15157         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15158         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15159         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15160         and _GL_ARG_NONNULL.
15161         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15162         [!_LIBC]: Include code for Windows and Cygwin.
15163         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15164         Include prototype for int strerror_r.
15165         [!_LIBC] (is_open): New function.
15166         (flush_stdout): New function.
15167         (print_errno_message): Use it.
15168         (error): Likewise.
15169         (error_at_line): Likewise.
15170         (error_tail) Add function attribute macros.  Use
15171         __builtin_expect.
15173         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15175         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15177         * io/ftw.c: Include sys/param.h unconditionally.
15179         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15181         [BZ #17125]
15182         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15183         libc_freeres_ptr.
15184         (freecache): New function to free CACHE on exit.
15186         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15187         initialization.
15189 2014-07-09  David S. Miller  <davem@davemloft.net>
15191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15193         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15194         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15195         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15196         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15197         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15198         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15199         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15200         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15201         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15202         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15203         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15204         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15205         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15207 2014-07-09  Andreas Schwab  <schwab@suse.de>
15209         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15210         output.
15211         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15212         (do_test): Likewise.
15214         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15216 2014-07-09  Will Newton  <will.newton@linaro.org>
15218         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15219         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15220         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15221         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15222         * sysdeps/hppa/start.S (_start): Likewise.
15224 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15226         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15228         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15229         defined.
15231 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15233         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15234         after checking that it is non-NULL.
15236         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15238 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15240         * sysdeps/powerpc/memmove.c: Remove file.
15241         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15242         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15243         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15244         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15245         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15246         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15247         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15248         string memmove instead of removed powerpc one.
15250         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15251         [weak_alias]: Fix compiler warning due trailing data.
15252         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15253         [weak_alias]: Likewise.
15254         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15255         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15258         (__libc_ifunc_impl_list): Add memmove functions.
15260 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15262         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15263         Remove code.
15264         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15265         Likewise
15266         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15267         Likewise
15268         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15269         Likewise
15270         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15271         Likewise
15272         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15273         Likewise
15274         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15275         Likewise
15276         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15277         Likewise
15278         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15279         Likewise
15280         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15281         Likewise
15282         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15283         Likewise
15284         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15285         Likewise
15286         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15287         Likewise
15288         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15289         Likewise
15290         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15291         Likewise
15292         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15293         Likewise
15294         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15295         Likewise
15297 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15299         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15300         to avoid alignment traps in non-cacheable memory.
15301         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15304         multiarch objects.
15305         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15306         file: multiarch power7 memmove.
15307         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15308         multiarch default memmove.
15309         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15310         multiarch memove for powerpc32/power4.
15312         * string/bcopy.c: Use full path to include memmove.c.
15313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15314         multiarch objects.
15315         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15316         bcopy for powerpc64.
15317         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15318         bcopy for powerpc64.
15319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15320         and memmove implementations.
15321         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15322         optimized multiarch memmove for POWER7/powerpc64.
15323         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15324         default multiarch memmove for powerpc64.
15325         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15326         multiarch for powerpc64.
15327         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15328         for POWER7/powerpc64.
15329         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15330         memmove for POWER7/powerpc64.
15332         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15333         glibc default one.
15335         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15336         __ELF_NATIVE_CLASS equal to 64.
15338 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15340         * sysdeps/nptl/lowlevellock.h: File removed.
15342         * NEWS: NPTL is no longer an add-on!
15343         * nptl/internaltypes.h: Moved ...
15344         * sysdeps/nptl/internaltypes.h: ... here.
15345         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15346         * sysdeps/nptl/fork.c: Likewise.
15347         * sysdeps/nptl/gai_misc.h: Likewise.
15348         * sysdeps/nptl/librt-cancellation.c: Likewise.
15349         * sysdeps/nptl/jmp-unwind.c: Likewise.
15350         * sysdeps/nptl/setxid.h: Likewise.
15351         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15352         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15353         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15354         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15355         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15356         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15357         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15358         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15359         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15360         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15361         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15362         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15363         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15364         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15365         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15366         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15367         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15368         * nptl/Makeconfig: Moved ...
15369         * sysdeps/nptl/Makeconfig: ... here.
15370         * nptl/configure: File removed.
15371         * nptl/ANNOUNCE: File removed.
15372         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15373         * sysdeps/unix/sysv/linux/configure: Regenerated.
15375         * nptl/Makefile (routines): Add libc_pthread_init,
15376         libc_multiple_threads, register-atfork and unregister-atfork.
15377         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15378         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15379         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15380         pthread-pi-defines.sym, structsem.sym.
15381         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15382         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15383         [$(subdir) = nptl] (tests): Add tst-setgetname.
15384         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15385         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15386         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15387         [!LIBC_SIGACTION]: Remove aliases.
15388         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15389         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15390         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15391         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15392         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15393         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15394         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15395         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15396         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15397         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15398         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15399         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15400         __libc_allocate_rtsig_private.
15401         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15402         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15403         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15404         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15405         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15406         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15407         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15408         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15409         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15410         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15411         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15412         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15413         * nptl/internaltypes.h: ... here.
15414         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15415         * sysdeps/nptl/jmp-unwind.c: ... here.
15416         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15417         * nptl/libc-lowlevellock.c: ... here.
15418         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15419         * nptl/libc_multiple_threads.c: ... here.
15420         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15421         * nptl/libc_pthread_init.c: ... here.
15422         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15423         * nptl/lowlevelbarrier.sym: ... here.
15424         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15425         * nptl/lowlevelcond.sym: ... here.
15426         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15427         * nptl/lowlevellock.c: ... here.
15428         * nptl/lowlevellock.h: Moved ...
15429         * sysdeps/nptl/lowlevellock.h: ... here.
15430         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15431         * nptl/lowlevelrobustlock.c: ... here.
15432         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15433         * nptl/lowlevelrobustlock.sym: ... here.
15434         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15435         * nptl/lowlevelrwlock.sym: ... here.
15436         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15437         * nptl/pt-fork.c: ... here.
15438         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15439         * nptl/pthread-pi-defines.sym: ... here.
15440         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15441         * nptl/pthread_attr_getaffinity.c: ... here.
15442         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15443         * nptl/pthread_attr_setaffinity.c: ... here.
15444         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15445         * nptl/pthread_mutex_cond_lock.c: ... here.
15446         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15447         Update #include.
15448         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15449         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15450         * nptl/pthread_once.c: ... here, replacing old file.
15451         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15452         * nptl/pthread_yield.c: ... here.
15453         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15454         * nptl/register-atfork.c: ... here.
15455         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15456         * nptl/sem_post.c: ... here.
15457         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15458         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15459         * nptl/sem_timedwait.c: ... here.
15460         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15461         * nptl/sem_trywait.c: ... here.
15462         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15463         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15464         * nptl/sem_wait.c: ... here.
15465         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15466         * nptl/structsem.sym: ... here.
15467         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15468         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15469         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15470         * nptl/unregister-atfork.c: ... here.
15471         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15472         * nptl/unwindbuf.sym: ... here.
15473         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15474         * sysdeps/nptl/fork.c: ... here.
15475         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15476         * sysdeps/nptl/fork.h: ... here.
15477         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15478         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15479         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15480         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15481         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15482         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15483         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15484         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15485         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15486         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15487         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15488         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15489         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15490         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15491         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15492         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15493         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15494         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15495         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15496         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15497         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15498         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15499         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15500         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15501         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15502         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15503         * sysdeps/unix/sysv/linux/raise.c: ... here.
15504         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15505         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15506         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15507         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15508         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15509         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15510         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15511         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15512         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15513         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15514         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15515         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15516         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15517         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15518         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15520 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15522         * sysdeps/generic/memcopy.h: Add comment for
15523         MEMCPY_OK_FOR_FWD_MEMMOVE.
15525 2014-07-04  Will Newton  <will.newton@linaro.org>
15527         * string/memchr.c: Merge from gnulib.
15528         [_LIBC]: Remove conditionals.
15529         (__ptr_t): Remove define.
15530         (LONG_MAX_32_BITS): Likewise.
15531         (LONG_MAX): Likewise.
15532         (MEMCHR): Use ANSI prototype and optimize algorithm.
15534         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15536 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15538         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15539         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15541         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15542         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15543         in a bare environment with no <stdlib.h> installed.
15544         * sysdeps/nptl/configure: Regenerated.
15546         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15548         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15549         AC_EGREP_CPP for kernel header checks, so they only succeed if
15550         including <linux/version.h> actually works right.
15551         * sysdeps/unix/sysv/linux/configure: Regenerated.
15553         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15554         value so it's not diagnosed as unused.
15556         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15557         thing) with "ifeq ($(subdir),rt)".
15559 2014-07-03  Richard Henderson  <rth@redhat.com>
15561         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15562         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15563         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15565         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15566         (math_force_eval): New.
15568         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15569         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15571         * sysdeps/alpha/fpu/s_round.c: Remove file.
15572         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15574         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15575         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15576         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15577         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15578         (_dl_start, print_statistics): Likewise.
15579         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15580         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15582         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15583         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15584         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15585         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15586         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15587         (HP_SMALL_TIMING_AVAIL): Define.
15588         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15589         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15590         (HP_SMALL_TIMING_AVAIL): Define.
15591         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15592         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15594         * sysdeps/aarch64/hp-timing.h: New file.
15596         * sysdeps/generic/hp-timing.h: Remove dead comment.
15597         * sysdeps/generic/hp-timing-common.h: New file.
15598         * sysdeps/alpha/hp-timing.h: Include it.
15599         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15600         * sysdeps/i386/i686/hp-timing.h: Likewise.
15601         * sysdeps/ia64/hp-timing.h: Likewise.
15602         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15603         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15604         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15605         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15606         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15607         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15608         (hp_timing_t): New.
15610         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15611         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15612         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15613         * elf/rtld.c (_dl_start_final): Likewise.
15614         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15615         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15616         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15617         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15618         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15619         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15620         (HP_TIMING_DIFF_INIT): Remove.
15621         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15622         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15623         (HP_TIMING_DIFF_INIT): Remove.
15624         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15625         * sysdeps/i386/i686/hp-timing.c: Remove file.
15626         * sysdeps/x86_64/hp-timing.c: Remove file.
15627         * sysdeps/ia64/hp-timing.c: Remove file.
15628         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15629         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15630         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15631         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15633         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15634         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15635         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15636         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15637         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15638         (HP_TIMING_ACCUM): Remove.
15639         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15640         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15641         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15643         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15644         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15645         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15646         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15647         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15648         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15649         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15650         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15652         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15654 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15656         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15658 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15660         Sync up with gettext.
15661         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15662         [_MSC_VER]: Include malloc.h
15663         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15664         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15665         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15666         TEMP_FAILURE_RETRY.  Cast return of alloca.
15667         [!_LIBC] Call gl_rwlock_init.
15668         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15670 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15672         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15673         before checking its value.
15675 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15677         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15679         * debug/memcpy_chk.c: Don't include pagecopy.h.
15680         * debug/mempcpy_chk.c: Likewise.
15681         * string/memcpy.c: Likewise.
15682         * string/memmove.c: Likewise.
15683         * sysdeps/powerpc/memmove.c: Likewise.
15684         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15685         definition of PAGE_COPY_FWD_MAYBE here...
15686         * sysdeps/generic/pagecopy.h: ... from here.
15687         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15689 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15690             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15692         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15694         optimizations.
15695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15696         (__libc_ifunc_impl_list): Likewise.
15697         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15698         multiarch strcat for PPC64.
15699         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15700         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15702 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15704         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15706 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15708         * intl/loadmsgcat.c: Remove declaration of
15709         get_sysdep_segment_value.
15710         (get_sysdep_segment_value): Use ISO C style.
15711         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15712         semicolon.  Fix typo and formatting in comment.
15713         (_nl_unload_domain): Use ISO C style.
15715         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15717 2014-07-02  Will Newton  <will.newton@linaro.org>
15719         * malloc/obstack.c: Merge from gnulib master.
15720         [HAVE_CONFIG_H]: Remove conditional code.
15721         [!_LIBC]: Include config.h.
15722         [!ELIDE_CODE]: Don't include inttypes.h, include
15723         stdint.h unconditionally.
15724         (print_and_abort): Mark as _Noreturn.
15725         (_obstack_allocated_p): Mark as __attribute_pure__.
15726         (obstack_free): Rename to __obstack_free.
15727         [!__attribute__]: Remove conditional code.
15728         * malloc/obstack.h: Merge from gnulib master.
15729         [__cplusplus]: Move conditional down.
15730         [!__attribute_pure__]: Define __attribute_pure__ here
15731         if it is not already defined.
15732         (_obstack_memory_used): Mark as __attribute_pure__.
15733         [!__obstack_free]: Define as obstack_free.
15734         [__GNUC__]: Remove check for ancient NeXT gcc.
15736 2014-07-02  Will Newton  <will.newton@linaro.org>
15737             Paul Eggert  <eggert@cs.ucla.edu>
15739         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15741 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15743         * resolv/gethnamaddr.c: Add comment warning that the file is
15744         not maintained.
15746 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15748         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15749         entries.
15751         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15752         entry for aio_cancel and aio_cancel64.
15753         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15754         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15755         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15756         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15757         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15758         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15759         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15760         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15761         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15762         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15763         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15764         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15765         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15767 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15769         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15770         * nptl/pthread_mutex_lock.c: Likewise.
15771         * nptl/pthread_mutex_timedlock.c: Likewise.
15772         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15774 2014-07-01  Richard henderson  <rth@redhat.com>
15776         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15777         (__isnan, __isnanl): Remove.
15778         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15780         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15782 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15784         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15786 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15788         * resolv/nss_dns/dns-host.c (getanswer_r)
15789         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15791 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15793         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15794         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15795         undefine.
15796         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15797         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15799 2014-07-01  Roland McGrath <roland@hack.frob.com>
15801         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15802         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15804         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15805         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15807         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15808         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15809         ... here.
15810         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15811         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15813         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15814         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15815         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15816         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15818         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15819         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15820         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15821         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15822         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15823         Moved ...
15824         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15825         ... here.
15826         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15827         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15828         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15829         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15830         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15831         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15832         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15833         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15834         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15835         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15836         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15837         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15838         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15839         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15840         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15841         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15842         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15843         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15844         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15845         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15846         ... here.
15847         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15848         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15849         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15850         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15851         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15852         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15853         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15854         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15856 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15858         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15859         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15860         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15861         Add sysdep.
15863 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15867 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15869         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15870         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15872         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15874         * sysdeps/arm/libm-test-ulps: Regenerated.
15876 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15877             Roland McGrath <roland@hack.frob.com>
15879         * test-skeleton.c (signal_handler): Kill the whole process group
15880         before killing the child individually.
15881         (main): Report any failure on `setpgid'.
15883 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15885         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15886         from _TLS_H to _ARM_NPTL_TLS_H.
15887         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15888         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15890 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15892         [BZ #16539]
15893         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15894         (__expm1l): Return argument unchanged when small but not
15895         subnormal.
15897         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15898         include macro name.
15899         (_FP_UNPACK_RAW_1_P): Likewise.
15900         (_FP_PACK_RAW_1): Likewise.
15901         (_FP_PACK_RAW_1_P): Likewise.
15902         (_FP_MUL_MEAT_1_wide): Likewise.
15903         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15904         (_FP_MUL_MEAT_1_hard): Likewise.
15905         (_FP_DIV_MEAT_1_imm): Likewise.
15906         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15907         (_FP_DIV_MEAT_1_udiv): Likewise.
15908         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15909         (_FP_UNPACK_RAW_2): Likewise.
15910         (_FP_UNPACK_RAW_2_P): Likewise.
15911         (_FP_PACK_RAW_2): Likewise.
15912         (_FP_PACK_RAW_2_P): Likewise.
15913         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15914         (_FP_MUL_MEAT_2_wide): Likewise.
15915         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15916         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15917         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15918         (_FP_MUL_MEAT_2_gmp): Likewise.
15919         (_FP_DIV_MEAT_2_udiv): Likewise.
15920         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15921         (_FP_FRAC_SRL_4): Likewise.
15922         (_FP_FRAC_SRST_4): Likewise.
15923         (_FP_FRAC_SRS_4): Likewise.
15924         (_FP_UNPACK_RAW_4): Likewise.
15925         (_FP_UNPACK_RAW_4_P): Likewise.
15926         (_FP_PACK_RAW_4): Likewise.
15927         (_FP_PACK_RAW_4_P): Likewise.
15928         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15929         (_FP_MUL_MEAT_4_wide): Likewise.
15930         (_FP_MUL_MEAT_4_gmp): Likewise.
15931         (umul_ppppmnnn): Likewise.
15932         (_FP_DIV_MEAT_4_udiv): Likewise.
15933         (__FP_FRAC_ADD_4): Likewise.
15934         (__FP_FRAC_SUB_3): Likewise.
15935         (__FP_FRAC_SUB_4): Likewise.
15936         (__FP_FRAC_DEC_3): Likewise.
15937         (__FP_FRAC_DEC_4): Likewise.
15938         (__FP_FRAC_ADDI_4): Likewise.
15939         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15940         (_FP_FRAC_SRL_8): Likewise.
15941         (_FP_FRAC_SRS_8): Likewise.
15943         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15944         include macro name.
15945         (FP_UNPACK_RAW_EP): Likewise.
15946         (FP_PACK_RAW_E): Likewise.
15947         (FP_PACK_RAW_EP): Likewise.
15948         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15949         (_FP_ISSIGNAN): Likewise.
15950         (_FP_ADD_INTERNAL): Likewise.
15951         (_FP_FMA): Likewise.
15952         (_FP_CMP): Likewise.
15953         (_FP_SQRT): Likewise.
15954         (_FP_TO_INT): Likewise.
15955         (_FP_FROM_INT): Likewise.
15956         (FP_EXTEND): Likewise.
15957         (_FP_DIV_MEAT_N_loop): Likewise.
15959 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15961         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15962         throughout.
15964 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15966         [BZ #17097]
15967         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15968         result with correct sign in case of exponents that produce
15969         overflow except for X very close to 1.
15971 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15973         mktime: merge #if/#ifdef usage from glibc
15974         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15975         as that works with both Glibc's and Gnulib's style.
15976         See thread starting at Siddhesh Poyarekar's bug report at:
15977         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15979 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15981         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15982         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15983         * sysdeps/tile/tilegx/memmove.c: Remove file.
15985 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15987         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15988         abi-name definition.
15989         * scripts/soversions.awk: Do not handle or generate ABI lines.
15990         * shlib-versions: Remove ABI entries.
15991         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15992         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15994 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15997         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15998         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15999         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16001         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16003         Moved ...
16004         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16005         ... here.
16006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16007         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16009         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16011         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16013         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16015         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16017         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16019         Moved ...
16020         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16022         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16024         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16025         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16026         Moved ...
16027         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16029         Moved ...
16030         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16032         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16034         Moved ...
16035         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16037         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16039         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16041         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16043         Moved ...
16044         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16046         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16047         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16048         Moved ...
16049         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16050         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16051         Moved ...
16052         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16054         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16055         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16056         Moved ...
16057         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16058         ... here.
16059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16060         Identical file removed.
16061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16062         Moved ...
16063         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16065         Identical file removed.
16066         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16067         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16068         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16069         Moved ...
16070         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16071         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16072         Identical file removed.
16073         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16074         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16075         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16076         Identical file removed.
16077         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16078         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16079         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16080         Identical file removed.
16081         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16082         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16084         Identical file removed.
16085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16086         Moved ...
16087         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16088         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16089         Identical file removed.
16090         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16091         Moved ...
16092         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16094         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16095         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16096         Identical file removed.
16097         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16098         Moved ...
16099         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16100         ... here.
16101         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16102         Identical file removed.
16103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16104         Moved ...
16105         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16106         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16107         Identical file removed.
16108         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16109         Moved ...
16110         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16112         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16113         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16114         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16116         Moved ...
16117         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16118         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16119         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16121         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16122         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16123         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16124         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16125         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16127 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16129         [BZ #17092]
16130         * nscd/nscd.c (monitor_child): Return exit status of child
16131         instead of return value from wait syscall.
16133 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16135         * configure.ac (libc_commonpagesize): Remove variable.
16136         (libc_relro_required): Likewise.
16137         (libc_cv_z_relro): Remove configure test.
16138         * configure: Regenerated.
16139         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16140         variable.
16141         (libc_relro_required): Likewise.
16142         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16143         (libc_relro_required): Likewise.
16144         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16145         (libc_relro_required): Likewise.
16146         * sysdeps/arm/preconfigure: Regenerated.
16147         * sysdeps/ia64/preconfigure: Remove file.
16148         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16149         variable.
16150         (libc_relro_required): Likewise.
16152         [BZ #16561]
16153         [BZ #16562]
16154         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16155         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16156         recompute overflowing results in original rounding mode.
16157         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16158         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16159         recompute overflowing results in original rounding mode.
16160         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16161         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16162         recompute overflowing results in original rounding mode.
16163         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16164         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16165         recompute overflowing results in original rounding mode.
16166         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16167         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16168         recompute overflowing results in original rounding mode.
16169         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16170         (libc_feholdsetround_ctx): New macro.
16171         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16172         * sysdeps/i386/fpu/libm-test-ulps: Update.
16173         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16175 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16177         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16178         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16179         corresponding .cpsetup call.
16181 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16183         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16184         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16185         * sysdeps/arm/Makefile [$(subdir) = csu]
16186         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16187         (static-only-routines): Add aeabi_read_tp here.
16188         (shared-only-routines): Add libc-aeabi_read_tp here.
16189         (CFLAGS-libc-start.c): Add -fexceptions here.
16190         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16191         (sysdep_routines, static-only-routines, shared-only-routines):
16192         Don't add to these here.
16193         (CFLAGS-libc-start.c): Likewise.
16195         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16196         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16197         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16198         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16199         * sysdeps/arm/Makefile [$(subdir) = rt]
16200         (librt-sysdep_routines, librt-shared-only-routines):
16201         Append rt-aeabi_unwind_cpp_pr1 here.
16202         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16203         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16204         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16205         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16206         Append nptl-aeabi_unwind_cpp_pr1 here.
16207         (tests): Filter out tst-cleanupx4 here.
16208         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16209         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16210         Don't do those here.
16212 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16214         * scripts/list-sources.sh: Do not handle ports specially.
16216 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16218         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16219         * sysdeps/arm/feupdateenv.c: Likewise.
16221         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16223 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16225         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16226         trailing whitespace removed.
16227         * scripts/config.guess: Update to version 2014-03-23.
16228         * scripts/config.sub: Update to version 2014-05-01
16229         * scripts/install-sh: Update to version 2013-12-25.23.
16230         * scripts/move-if-change: Update from gnulib.
16232 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16234         * debug/memmove_chk.c: Remove pagecopy.h include.
16236 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16238         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16239         identical to gnulib mktime.
16241 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16243         * configure.ac: Do not test for machine being rs6000.  Do not test
16244         for powerpc*-*soft.
16245         * configure: Regenerated.
16247         [BZ #11505]
16248         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16249         test.
16250         * configure: Regenerated.
16251         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16252         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16253         Remove configure test.
16254         * sysdeps/arm/configure: Regenerated.
16255         * sysdeps/nptl/configure.ac: Do not check
16256         libc_cv_asm_cfi_directives.
16257         * sysdeps/nptl/configure: Regenerated.
16258         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16259         * sysdeps/x86_64/nptl/configure: Remove generated file.
16260         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16261         unconditional.
16262         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16264 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16266         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16267         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16268         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16269         it is defined.
16271         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16272         instead of whether it is defined.
16273         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16274         * sysdeps/hppa/dl-machine.h: Likewise.
16275         * sysdeps/ia64/dl-machine.h: Likewise.
16276         * sysdeps/m68k/dl-machine.h: Likewise.
16277         * sysdeps/microblaze/dl-machine.h: Likewise.
16278         * sysdeps/mips/dl-machine.: Likewise.
16279         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16280         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16281         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16282         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16283         * sysdeps/sh/dl-machine.h: Likewise.
16284         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16285         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16286         * sysdeps/tile/dl-machine.h: Likewise.
16287         * sysdeps/x86_64/dl-machine.h: Likewise.
16289         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16290         code.
16291         (verify_persistent_db): Likewise.
16293 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16296         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16298         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16300         Moved ...
16301         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16302         ... here.
16303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16304         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16306         Identical file removed.
16307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16308         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16310         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16312         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16314         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16316         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16318         Moved ...
16319         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16321         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16323         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16325         Moved ...
16326         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16328         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16330         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16332         Identical file removed.
16333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16334         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16336         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16338         Moved ...
16339         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16340         ... here.
16341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16342         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16344         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16346         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16348         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16350         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16352         Moved ...
16353         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16355         Moved ...
16356         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16358         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16360         Moved ...
16361         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16363         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16365         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16366         folded into ...
16367         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16368         * sysdeps/unix/sysv/linux/s390/Versions
16369         (libpthread: GLIBC_2.19): New version set.
16370         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16371         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16372         (librt: GLIBC_2.3.3): New version set.
16373         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16374         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16375         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16376         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16377         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16378         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16379         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16380         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16381         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16382         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16383         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16384         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16385         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16386         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16387         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16388         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16389         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16390         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16391         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16392         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16393         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16394         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16395         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16396         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16397         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16398         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16399         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16400         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16401         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16402         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16403         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16404         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16405         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16407         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16408         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16409         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16410         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16411         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16413         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16415         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16417         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16419         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16420         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16421         (__libc_vfork): Define the function under this name.
16422         [!NOT_IN_libc] (__vfork): Make this an alias.
16423         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16425         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16426         (__libc_vfork): Define the function under this name.
16427         [!NOT_IN_libc] (__vfork): Make this an alias.
16428         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16429         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16430         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16432         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16433         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16435         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16436         code that was previously under [RESET_PID].
16437         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16438         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16439         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16441         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16442         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16443         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16444         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16445         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16446         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16447         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16448         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16449         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16450         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16451         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16452         Moved ...
16453         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16454         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16455         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16456         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16457         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16458         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16459         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16460         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16461         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16462         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16463         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16464         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16465         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16466         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16467         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16468         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16469         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16470         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16471         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16472         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16473         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16474         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16475         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16476         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16477         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16478         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16479         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16480         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16481         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16483 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16485         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16486         that was previously under [RESET_PID].
16487         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16489 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16491         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16492         not undefine and redefine.
16493         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16494         [O_CLOEXEC]: Make code unconditional.
16495         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16496         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16497         <kernel-features.h>.
16498         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16499         conditional variable definition.
16500         (shm_open) [O_CLOEXEC]: Make code unconditional.
16501         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16502         code.
16504         * configure.ac (USE_REGPARMS): Don't define here.
16505         * configure: Regenerated.
16506         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16507         * sysdeps/i386/configure: Regenerated.
16509         * nptl/createthread.c: Don't include kernel-features.h.
16510         * nptl/pthread_cancel.c: Likewise.
16511         * nptl/pthread_condattr_setclock.c: Likewise.
16512         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16513         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16514         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16515         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16516         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16517         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16518         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16519         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16520         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16521         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16522         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16523         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16524         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16525         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16526         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16527         * nscd/gai.c: Likewise.
16528         * nss/nss_db/db-open.c: Likewise.
16529         * sysdeps/generic/ldsodefs.h: Likewise.
16530         * sysdeps/sh/nptl/tls.h: Likewise.
16531         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16532         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16533         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16534         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16535         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16536         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16537         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16538         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16539         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16540         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16541         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16542         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16543         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16544         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16545         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16546         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16547         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16548         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16549         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16550         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16551         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16552         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16553         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16554         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16555         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16556         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16558         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16559         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16560         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16561         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16562         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16563         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16564         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16565         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16566         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16567         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16568         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16569         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16570         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16571         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16572         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16573         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16574         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16575         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16576         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16577         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16578         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16579         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16580         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16581         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16582         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16583         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16584         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16585         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16586         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16587         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16588         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16611         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16612         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16613         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16614         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16615         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16616         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16617         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16618         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16619         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16620         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16621         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16622         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16623         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16624         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16625         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16626         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16627         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16628         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16629         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16630         * sysdeps/unix/sysv/linux/system.c: Likewise.
16631         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16632         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16633         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16634         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16635         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16636         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16637         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16639         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16640         * configure: Regenerated.
16641         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16643         * configure.ac (base_machine): Do not set specially for particular
16644         machines here.
16645         * configure: Regenerated.
16646         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16647         settings from configure.ac.
16648         * sysdeps/i386/preconfigure: New file.
16649         * sysdeps/s390/preconfigure: Likewise.
16650         * sysdeps/sh/preconfigure: Likewise.
16651         * sysdeps/sparc/preconfigure: Likewise.
16653 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16655         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16656         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16657         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16658         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16659         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16660         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16661         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16662         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16663         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16664         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16665         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16666         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16667         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16668         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16669         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16670         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16671         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16672         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16673         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16675         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16676         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16677         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16678         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16679         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16680         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16681         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16682         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16683         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16684         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16685         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16686         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16687         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16688         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16689         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16690         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16691         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16692         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16693         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16694         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16695         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16696         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16697         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16698         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16699         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16700         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16701         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16702         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16703         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16704         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16705         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16706         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16707         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16708         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16709         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16710         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16711         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16712         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16715         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16717         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16719         Moved ...
16720         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16721         ... here.
16722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16723         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16725         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16727         Moved ...
16728         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16730         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16732         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16734         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16736         Moved ...
16737         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16739         Moved ...
16740         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16742         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16744         Moved ...
16745         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16747         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16749         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16751         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16753         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16755         Moved ...
16756         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16757         ... here.
16758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16759         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16761         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16763         Moved ...
16764         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16766         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16768         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16770         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16772         Moved ...
16773         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16775         Moved ...
16776         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16778         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16780         Moved ...
16781         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16783         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16785         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16787 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16789         * timezone/checktab.awk: Update from tzcode 2014e.
16790         * timezone/private.h: Likewise.
16791         * timezone/tzfile.h: Likewise.
16792         * timezone/zdump.c: Likewise.
16793         * timezone/zic.c: Likewise.
16795         * sysdeps/unix/sysv/linux/kernel-features.h
16796         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16797         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16798         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16799         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16800         Remove conditional code.
16802 2014-06-25  Will Newton  <will.newton@linaro.org>
16804         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16805         (_dl_arm_cap_flags): Add HWCAP2 values.
16806         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16807         (_DL_HWCAP_COUNT): Increase to 37.
16808         (_DL_HWCAP_LAST): New define.
16809         (_DL_HWCAP2_LAST): New define.
16810         (_dl_procinfo): Add support for printing
16811         AT_HWCAP2 entries.
16812         (_dl_string_hwcap): Use _dl_hwcap_string.
16814 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16818 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16820         * README: Do not mention ports directory.
16822         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16823         Remove macro.
16824         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16825         <kernel-features.h>.
16826         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16827         conditional variable definition.
16828         (__futimes): Update comment.
16829         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16830         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16832         [BZ #16560]
16833         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16834         arguments close to 0.
16835         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16836         Likewise.
16837         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16838         Likewise.
16839         * math/auto-libm-test-in: Add more tests of exp10.
16840         * math/auto-libm-test-out: Regenerated.
16841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16843         * sysdeps/unix/sysv/linux/kernel-features.h
16844         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16845         * sysdeps/unix/sysv/linux/readv.c: Do not include
16846         <kernel-features.h>.
16847         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16848         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16849         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16850         unconditional.
16851         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16852         conditional code.
16853         * sysdeps/unix/sysv/linux/writev.c: Do not include
16854         <kernel-features.h>.
16855         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16856         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16857         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16858         unconditional.
16859         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16860         conditional code.
16862 2014-06-25  Will Newton  <will.newton@linaro.org>
16864         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16865         comment changes throughout the file.  Remove checks
16866         for HAVE_*_H definitions that are not required.
16867         (__gen_tempname): Call abort if an unknown kind value is
16868         passed.
16870 2014-06-25  Andreas Schwab  <schwab@suse.de>
16872         [BZ #17086]
16873         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16874         scalbln, scalblnf, scalblnl in libc.
16876 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16878         [BZ #17086]
16879         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16880         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16881         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16883 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16885         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16886         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16887         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16888         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16889         Update #include.
16890         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16891         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16892         Update #include.
16893         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16894         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16895         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16896         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16897         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16898         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16899         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16900         * sysdeps/x86/bits/semaphore.h: ... here.
16901         * sysdeps/x86/nptl/elide.h: Moved ...
16902         * sysdeps/x86/elide.h: ... here.
16903         * sysdeps/x86_64/nptl/Implies: File removed.
16904         * sysdeps/i386/nptl/Implies: File removed.
16906 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16908         [BZ #16539]
16909         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16910         return the argument for normal arguments with exponent below -64.
16911         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16912         Likewise.
16913         * math/auto-libm-test-in: Add another test of expm1.
16914         * math/auto-libm-test-out: Regenerated.
16916         [BZ #16287]
16917         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16918         calling __erfcl for arguments at least 16.
16919         * math/auto-libm-test-in: Add more tests of erf.
16920         * math/auto-libm-test-out: Regenerated.
16922         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16923         individual architectures.
16924         * sysdeps/unix/sysv/linux/configure: Regenerated.
16925         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16926         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16927         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16928         (ldd_rewrite_script): Define variable.
16929         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16931         file.
16932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16933         generated file.
16934         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16935         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16936         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16937         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16938         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16939         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16940         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16941         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16943 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16945         [BZ #17084]
16946         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16947         Rename member __data.d to __data.__elision_data.
16949 2014-06-24  Wilco  <wdijkstr@arm.com>
16951         * NEWS: Add 16918 to fixed bug list.
16953 2014-06-24  Wilco  <wdijkstr@arm.com>
16955         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16957 2014-06-24  Wilco  <wdijkstr@arm.com>
16959         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16960         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16961         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16962         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16963         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16964         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16965         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16966         Use _FPU_MASK_RM.
16968 2014-06-24  Wilco  <wdijkstr@arm.com>
16970         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16972 2014-06-24  Wilco  <wdijkstr@arm.com>
16974         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16975         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16976         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16977         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16979 2014-06-24  Wilco  <wdijkstr@arm.com>
16981         [BZ #16918]
16982         * sysdeps/arm/feupdateenv.c (feupdateenv):
16983         Rewrite to reduce FPSCR accesses and fix return value.
16985 2014-06-24  Wilco  <wdijkstr@arm.com>
16987         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16988         Optimize to avoid unnecessary FPSCR writes.
16989         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16990         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16991         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16992         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16994 2014-06-24  Wilco  <wdijkstr@arm.com>
16996         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16997         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16998         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16999         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17000         Call libc_fetestexcept_vfp.
17001         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17002         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17003         __SOFTFP__ ifdef so that they can be built for softfp.
17005 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17007         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17008         argument type signed char.
17010         * Makerules (check-abi): Dump diff of symlist if the test
17011         fails.
17013 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17015         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17016         using abort.
17018         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17019         Remove unused variable ST.
17021 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17023         [BZ #16354]
17024         [BZ #17061]
17025         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17026         small arguments before calling __expm1.
17027         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17028         small arguments before calling __expm1f.
17029         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17030         small arguments before calling __expm1l.
17031         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17032         Likewise.
17033         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17034         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17035         spurious underflow for some cosh tests.
17036         * math/auto-libm-test-out: Regenerated.
17037         * sysdeps/i386/fpu/libm-test-ulps: Update.
17039         [BZ #17050]
17040         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17041         (__ieee754_y1): Set errno if return value overflows.
17042         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17043         (__ieee754_y1f): Set errno if return value overflows.
17044         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17045         (__ieee754_y1l): Set errno if return value overflows.
17046         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17047         (__ieee754_y1l): Set errno if return value overflows.
17048         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17049         * math/auto-libm-test-out: Regenerated.
17051         * math/gen-auto-libm-tests.c: Document use of
17052         ignore-zero-inf-sign.
17053         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17054         (input_flags): Add ignore-zero-inf-sign.
17055         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17056         * math/gen-libm-test.pl (generate_testfile): Handle
17057         ignore-zero-inf-sign.
17058         * math/auto-libm-test-in: Mark some cpow tests with
17059         ignore-zero-inf-sign and some with xfail-rounding.
17060         * math/auto-libm-test-out: Regenerated.
17061         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17062         * sysdeps/i386/fpu/libm-test-ulps: Update.
17063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17065         [BZ #16315]
17066         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17067         overflowing or underflowing operations take place with sign of
17068         result.
17069         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17070         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17071         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17072         (__ieee754_pow): Recompute overflowing and underflowing results in
17073         original rounding mode.
17074         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17075         (__powl_helper): Allow negative argument X and scale negated value
17076         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17077         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17078         overflowing or underflowing operations take place with sign of
17079         result.
17080         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17081         Include <math.h>.
17082         * math/auto-libm-test-in: Add more tests of pow.
17083         * math/auto-libm-test-out: Regenerated.
17084         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17085         (pow_tonearest_test_data): Remove.
17086         (pow_test_tonearest): Likewise.
17087         (pow_towardzero_test_data): Likewise.
17088         (pow_test_towardzero): Likewise.
17089         (pow_downward_test_data): Likewise.
17090         (pow_test_downward): Likewise.
17091         (pow_upward_test_data): Likewise.
17092         (pow_test_upward): Likewise.
17093         (main): Don't call removed functions.
17094         * sysdeps/i386/fpu/libm-test-ulps: Update.
17095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17097 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17100         Moved ...
17101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17103         Moved ...
17104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17106         Moved ...
17107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17109         Moved ...
17110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17112         File removed.
17113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17114         File removed.
17115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17116         File removed.
17117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17118         File removed.
17119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17120         File removed.
17121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17122         File removed.
17123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17124         File removed.
17125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17126         File removed.
17127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17128         File removed.
17129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17130         File removed.
17131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17132         File removed.
17133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17134         File removed.
17135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17136         Moved ...
17137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17139         Moved ...
17140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17141         ... here.
17142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17143         Moved ...
17144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17146         Moved ...
17147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17149         Moved ...
17150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17152         Moved ...
17153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17155         Moved ...
17156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17158         Moved ...
17159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17161         Moved ...
17162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17165         ... here.
17166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17167         Moved ...
17168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17170         Moved ...
17171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17172         ... here.
17173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17174         Moved ...
17175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17176         ... here.
17177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17178         Moved ...
17179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17180         ... here.
17181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17182         Moved ...
17183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17185         Moved ...
17186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17190         Moved ...
17191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17192         ... here.
17193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17194         Moved ...
17195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17196         ... here.
17197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17198         Moved ...
17199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17201         Moved ...
17202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17204         Moved ...
17205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17207         Moved ...
17208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17210         Moved ...
17211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17212         ... here.
17213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17214         Moved ...
17215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17217         Moved ...
17218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17220         Moved ...
17221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17223         Moved ...
17224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17228         Moved ...
17229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17231         Moved ...
17232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17234         Moved ...
17235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17236         ... here.
17237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17238         Moved ...
17239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17240         ... here.
17241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17242         Moved ...
17243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17244         ... here.
17245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17246         Moved ...
17247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17249         Moved ...
17250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17252         Moved ...
17253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17255         Moved ...
17256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17257         ... here.
17258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17259         Moved ...
17260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17261         ... here.
17262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17263         Moved ...
17264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17265         ... here.
17266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17267         Moved ...
17268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17270         Moved ...
17271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17273 2014-06-23  Will Newton  <will.newton@linaro.org>
17274             Wilco  <wdijkstr@arm.com>
17276         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17277         implementation.  Include get-rounding-mode.h.
17278         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17279         [!libc_feholdsetround_noex_ctx]: Define
17280         libc_feholdsetround_noex_ctx.
17281         [!libc_feholdsetround_noexf_ctx]: Define
17282         libc_feholdsetround_noexf_ctx.
17283         [!libc_feholdsetround_noexl_ctx]: Define
17284         libc_feholdsetround_noexl_ctx.
17285         (libc_feholdsetround_ctx): New function.
17286         (libc_feresetround_ctx): New function.
17287         (libc_feholdsetround_noex_ctx): New function.
17288         (libc_feresetround_noex_ctx): New function.
17290 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17292         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17293         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17294         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17295         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17296         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17297         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17299         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17300         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17301         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17302         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17303         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17304         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17305         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17306         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17307         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17308         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17309         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17310         Moved ...
17311         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17312         ... here.
17313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17314         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17316         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17317         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17318         Moved ...
17319         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17320         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17321         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17322         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17323         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17324         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17325         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17326         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17327         Moved ...
17328         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17330         Moved ...
17331         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17333         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17335         Moved ...
17336         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17338         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17339         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17340         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17341         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17342         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17343         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17344         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17345         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17346         Moved ...
17347         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17348         ... here.
17349         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17350         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17352         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17353         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17354         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17355         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17356         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17358         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17360         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17362         Moved ...
17363         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17364         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17365         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17366         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17367         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17368         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17369         Moved ...
17370         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17372         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17373         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17374         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17376         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17377         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17378         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17379         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17380         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17381         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17382         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17383         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17384         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17385         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17386         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17387         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17388         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17389         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17390         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17391         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17392         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17393         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17394         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17395         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17396         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17397         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17398         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17399         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17400         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17401         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17402         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17403         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17405 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17407         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17408         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17409         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17410         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17411         (IPV6_PMTUDISC_INTERFACE): Likewise.
17412         (IPV6_PMTUDISC_OMIT): Likewise.
17414 2014-06-23  Andreas Schwab  <schwab@suse.de>
17416         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17417         Remove unused errout label.
17419 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17421         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17422         macro: hardware supports Vector Crypto instructions.
17424 2014-06-23  Will Newton  <will.newton@linaro.org>
17426         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17427         rather than __builtin_expect.
17429         * elf/dl-lookup.c (undefined_msg): Remove variable.
17430         (_dl_lookup_symbol_x): Replace undefined_msg with string
17431         literal.
17433         * elf/dl-lookup.c (do_lookup_unique): New function.
17434         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17435         to a separate function.
17437 2014-06-23  Andreas Schwab  <schwab@suse.de>
17439         [BZ #17079]
17440         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17441         before reading the next line.
17443 2014-06-23  Will Newton  <will.newton@linaro.org>
17445         * test-skeleton.c (signal_handler): Use printf and %m
17446         rather than perror.  Use printf rather than fprintf to
17447         stderr.  Use puts rather than fputs to stderr.
17448         (main): Likewise.
17450 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17452         * nscd/nscd.c (thread_info_t): Remove typedef.
17453         (thread_info): Remove variable.
17455 2014-06-21  Allan McRae  <allan@archlinux.org>
17457         * NEWS: Mention CVE-2014-4043.
17459 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17461         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17462         * nptl/smp.h: ... here.
17464         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17466         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17467         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17468         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17469         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17471         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17472         * nptl/stack-aliasing.h: New file.
17473         * sysdeps/i386/i686/stack-aliasing.h: New file.
17474         * sysdeps/i386/i686/nptl/Makefile: File removed.
17475         * sysdeps/x86_64/stack-aliasing.h: New file.
17476         * sysdeps/x86_64/nptl/Makefile
17477         (CFLAGS-pthread_create.c): Variable removed.
17479         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17480         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17481         old file.
17482         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17483         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17484         old file.
17486 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17488         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17489         (__ASSUME_SIGFRAME_V2): Remove macro.
17490         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17491         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17492         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17493         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17494         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17495         Declare as function.  Remove conditional macro definitions.
17496         (__default_rt_sa_restorer): Likewise.
17497         (__default_sa_restorer_v1): Remove declaration.
17498         (__default_sa_restorer_v2): Likewise.
17499         (__default_rt_sa_restorer_v1): Likewise.
17500         (__default_rt_sa_restorer_v2): Likewise.
17501         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17502         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17503         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17505 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17507         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17508         (libpthread-routines): Add sysdep.
17509         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17510         * sysdeps/unix/sysv/linux/sparc/Versions
17511         (libpthread: GLIBC_2.3.3): New version set.
17512         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17513         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17514         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17515         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17516         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17517         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17518         Moved ...
17519         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17520         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17521         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17522         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17523         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17524         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17525         * sysdeps/sparc/nptl/sem_init.c: ... here.
17526         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17527         * sysdeps/sparc/nptl/sem_post.c: ... here.
17528         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17529         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17530         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17531         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17532         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17533         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17534         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17535         (libpthread-routines): Add cpu_relax.
17536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17537         File removed.
17538         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17539         (librt: GLIBC_2.3.3): New version set.
17540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17541         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17542         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17543         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17546         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17548         Moved ...
17549         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17551         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17553         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17555         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17557         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17559         Moved ...
17560         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17561         Update #include.
17562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17563         Moved ...
17564         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17565         Update #include.
17566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17567         Moved ...
17568         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17569         Update #include.
17570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17571         Moved ...
17572         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17573         Update #include.
17574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17575         Moved ...
17576         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17577         Update #include.
17578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17579         Moved ...
17580         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17581         Update #include.
17582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17583         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17585         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17589         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17591         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17593         Moved ...
17594         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17596         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17598         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17600 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17602         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17603         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17604         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17605         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17606         * nscd/nscd.c: Likewise.
17607         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17608         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17609         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17610         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17612         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17613         <kernel-features.h>.
17614         (init_mq_netlink): Remove conditional have_sock_cloexec
17615         definitions.  Remove code conditional on have_sock_cloexec < 0.
17616         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17617         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17618         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17619         <kernel-features.h>.
17620         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17621         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17623 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17626         Add tests for memset_chk and memset.
17628         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17629         with AVX2_Usable.
17631 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17633         [BZ #16046]
17634         * elf/tst-dl-iter-static.c: New file.
17635         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17637         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17638         error.
17640 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17642         * sysdeps/unix/sysv/linux/kernel-features.h
17643         (__ASSUME_F_GETOWN_EX): Remove macro.
17644         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17645         <kernel-features.h>.
17646         (miss_F_GETOWN_EX): Remove variable or macro.
17647         (do_fcntl): Do not check miss_F_GETOWN_EX.
17648         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17651         Remove macro.
17652         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17653         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17654         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17656         * sysdeps/unix/sysv/linux/kernel-features.h
17657         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17658         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17659         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17660         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17662 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17664         [BZ #17075]
17665         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17666         Fix calculation of the symbol's value.
17667         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17668         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17669         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17670         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17671         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17672         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17673         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17674         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17675         (modules-names): Add `tst-armtlsdescmod',
17676         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17677         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17678         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17679         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17680         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17681         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17682         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17683         ($(objpfx)tst-armtlsdescloc): New dependency.
17684         ($(objpfx)tst-armtlsdescextnow): Likewise.
17685         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17686         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17687         TLS scheme support.
17688         * sysdeps/arm/configure: Regenerate.
17690 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17692         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17693         (__atfct_seterrno_2): Likewise.
17694         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17695         <kernel-features.h>.
17696         (__ASSUME_ATFCTS): Do not undefine and redefine.
17697         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17698         (__have_atfcts): Remove conditional definition.
17699         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17700         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17701         unreachable if [__ASSUME_ATFCTS].
17702         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17703         not undefine and redefine.
17704         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17705         <kernel-features.h>.
17706         (faccessat) [__NR_faccessat]: Make code unconditional.
17707         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17708         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17709         <kernel-features.h>.
17710         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17711         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17712         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17713         <kernel-features.h>.
17714         (fchownat) [__NR_fchownat]: Make code unconditional.
17715         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17716         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17717         <kernel-features.h>.
17718         (futimesat) [__NR_futimesat]: Make code unconditional.
17719         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17720         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17721         <kernel-features.h>.
17722         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17723         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17724         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17725         <kernel-features.h>.
17726         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17727         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17728         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17729         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17730         <kernel-features.h>.
17731         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17732         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17733         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17734         <kernel-features.h>.
17735         (linkat) [__NR_linkat]: Make code unconditional.
17736         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17737         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17738         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17739         <kernel-features.h>.
17740         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17741         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17742         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17743         <kernel-features.h>.
17744         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17745         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17746         * sysdeps/unix/sysv/linux/openat.c: Do not include
17747         <kernel-features.h>.
17748         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17749         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17750         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17751         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17752         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17753         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17754         <kernel-features.h>.
17755         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17756         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17757         result of INLINE_SYSCALL directly, not via int variable.
17758         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17759         <kernel-features.h>.
17760         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17761         (renameat) [__NR_renameat]: Make code unconditional.
17762         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17763         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17764         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17765         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17766         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17767         (__ASSUME_ATFCTS): Do not undefine and redefine.
17768         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17769         <kernel-features.h>.
17770         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17771         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17772         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17773         <kernel-features.h>.
17774         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17775         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17776         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17777         (__ASSUME_ATFCTS): Do not undefine and redefine.
17778         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17779         <kernel-features.h>.
17780         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17781         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17782         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17783         <kernel-features.h>.
17784         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17785         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17787 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17789         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17791 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17793         [BZ #17069]
17794         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17795         constructed tree before returning error.
17796         * posix/bug-regexp36.c: Expand test case.
17798 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17800         [BZ #6803]
17801         * math/libm-test.inc (scalbln_test_date):
17802         Add errno expectations.
17803         * math/w_scalblnf.c: New File.
17804         Add wrapper which checks for setting errno to ERANGE.
17805         Add weak_alias for corresponding scalbln function.
17806         * math/w_scalbln.c: Likewise.
17807         * math/w_scalblnl.c: Likewise.
17808         * math/Makefile (libm-calls): Add w_scalbln.
17809         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17810         Remove weak_alias for corresponding scalbln function.
17811         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17812         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17813         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17814         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17815         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17816         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17817         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17818         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17819         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17820         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17821         Remove long_double_symbol for scalblnl function in libm, libc.
17822         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17823         Add wrapper which checks for setting errno to ERANGE.
17824         Add long_double_symbol for scalblnl function in libm, libc.
17825         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17826         Remove long_double_symbol for scalblnl in libm.
17827         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17828         Add wrapper which checks for setting errno to ERANGE.
17829         Add long_double_symbol for scalblnl function in libm.
17830         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17831         Do not use wrapper because of own implementation.
17833 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17835         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17836         3 bytes for __pad1 for x32.
17837         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17839 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17840             H.J. Lu  <hongjiu.lu@intel.com>
17842         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17843         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17844         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17845         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17846         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17848 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17850         [BZ #17069]
17851         * posix/regcomp.c (parse_expression): Deallocate partially
17852         constructed tree before returning error.
17853         * posix/Makefile.c (tests): Add bug-regex36.
17854         (generated): Add bug-regex36.mtrace.
17855         (tests-special): Add $(objpfx)bug-regex36-mem.out
17856         (bug-regex36-ENV): New variable.
17857         ($(objpfx)bug-regex36-mem.out): New rule.
17858         * posix/bug-regex36.c: New file.
17860 2014-06-19  Will Newton  <will.newton@linaro.org>
17862         * malloc/malloc.c (systrim): If extra is zero then return
17863         early.
17865 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17867         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17869 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17871         * sysdeps/aarch64/strchr.S: New file.
17873 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17875         [BZ #17022]
17876         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17877         from arguments -2 or below.
17878         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17879         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17881 2014-06-18  Andreas Schwab  <schwab@suse.de>
17883         [BZ #17062]
17884         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17885         of a bracket expr not to run off the end of the string.
17886         * posix/Makefile (tests): Add tst-fnmatch3.
17887         * posix/tst-fnmatch3.c: New file.
17889 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17891         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17892         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17893         [$(cross-compiling) = no]: Likewise.
17894         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17895         [$(cross-compiling) = no]: Likewise.
17897 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17899         [BZ #17031]
17900         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17901         double, adjusted for any remainder from the high double.
17902         * math/libm-test.inc (nearbyint): Add tests.
17903         (rint): Likewise.
17905 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17907         * nptl/sysdeps/powerpc/Makefile: Moved ...
17908         * sysdeps/powerpc/nptl/Makefile: ... here.
17909         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17910         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17911         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17912         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17913         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17914         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17915         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17916         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17917         * nptl/sysdeps/powerpc/tls.h: Moved ...
17918         * sysdeps/powerpc/nptl/tls.h: ... here.
17920 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17922         [BZ #16681]
17923         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17924         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17925         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17926         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17927         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17928         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17929         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17930         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17931         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17933 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17935         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17937 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17939         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17940         defined operator.
17942         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17943         $TIMEOUTFACTOR.
17945 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17947         [BZ #17058]
17948         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17949         non-executed part of the test.
17951 2014-06-16  Andreas Schwab  <schwab@suse.de>
17953         * string/bits/string2.h (strdup, strndup): Update feature guard.
17955 2014-06-14  David S. Miller  <davem@davemloft.net>
17957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17959 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17961         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17962         that was previously under [RESET_PID].
17963         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17965         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17966         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17967         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17968         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17969         (__libc_vfork): New strong alias.
17970         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17972 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17974         * sysdeps/generic/elide.h: New file.
17976 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17978         * Makefile (installed-headers): Adjust path of pthread.h header.
17980 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17982         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17983         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17984         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17985         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17987         * nptl/sysdeps/s390/Makefile: Moved ...
17988         * sysdeps/s390/nptl/Makefile: ... here.
17989         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17990         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17991         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17992         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17993         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17994         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17995         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17996         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17997         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17998         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17999         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18000         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18001         * nptl/sysdeps/s390/tls.h: Moved ...
18002         * sysdeps/s390/nptl/tls.h: ... here.
18004         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18005         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18007 2014-06-13  David S. Miller  <davem@davemloft.net>
18009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18012         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18016         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18017         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18018         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18019         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18020         Remove RESET_PID cpp guards.
18021         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18022         Remove RESET_PID cpp guards.
18023         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18025 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18027         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18028         __sp to uintptr_t.
18030 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18032         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18033         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18034         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18035         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18036         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18037         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18038         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18039         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18040         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18041         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18042         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18043         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18044         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18045         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18046         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18047         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18048         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18049         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18050         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18051         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18053         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18054         (pthread_rwlock_rdlock): Add elision.
18055         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18056         (pthread_rwlock_wrlock): Add elision.
18057         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18058         (pthread_rwlock_trywrlock): Add elision.
18059         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18060         (pthread_rwlock_tryrdlock): Add elision.
18061         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18062         (pthread_rwlock_tryrdlock): Add elision unlock.
18063         * nptl/sysdeps/pthread/pthread.h:
18064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18065         (PTHREAD_RWLOCK_INITIALIZER,
18066         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18067         Handle new elision field.
18068         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18069         * sysdeps/arm/nptl/bits/pthreadtypes.h
18070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18071         * sysdeps/sh/nptl/bits/pthreadtypes.h
18072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18073         * sysdeps/tile/nptl/bits/pthreadtypes.h
18074         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18075         * sysdeps/a/nptl/bits/pthreadtypes.h
18076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18077         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18079         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18081         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18083         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18085         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18087         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18089         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18091         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18093         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18094         (elision_init): Set try_xbegin to zero when no RTM.
18095         * sysdeps/x86/nptl/bits/pthreadtypes.h
18096         (pthread_rwlock_t): Change __pad1 to __rwelision.
18097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18099 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18101         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18102         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18103         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18104         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18106 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18108         [BZ #16996]
18109         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18110         that the cached result has been set before returning it.
18112 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18114         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18115         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18116         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18117         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18118         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18119         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18121         * nptl/sysdeps/sparc/Makefile: Moved ...
18122         * sysdeps/sparc/nptl/Makefile: ... here.
18123         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18124         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18125         * nptl/sysdeps/sparc/tls.h: Moved ...
18126         * sysdeps/sparc/nptl/tls.h: ... here.
18127         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18128         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18129         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18130         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18131         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18132         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18133         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18134         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18135         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18136         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18137         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18138         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18139         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18140         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18141         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18142         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18143         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18144         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18145         Update #include.
18146         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18147         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18148         Update #include.
18149         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18150         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18151         Update #include.
18152         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18153         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18154         Update #include.
18156         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18158         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18159         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18161         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18162         (struct list_links): Type removed.
18163         (struct thread_node, struct timer_node): Replace struct list_links
18164         with struct list_head.
18165         (list_unlink_ip): Likewise.
18166         * sysdeps/pthread/timer_routines.c
18167         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18168         (list_append, list_insbefore): Likewise.
18169         (list_init): Function removed.
18170         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18171         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18172         * sysdeps/pthread/Makefile: ... here, new file.
18174         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18175         * sysdeps/nptl/Implies: ... here.
18176         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18177         * nptl/sysdeps/pthread/list.h: Moved ...
18178         * include/list.h: ... here.
18179         * nptl/sysdeps/pthread/createthread.c: Moved ...
18180         * nptl/createthread.c: ... here.
18181         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18182         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18183         * nptl/pt-longjmp.c: ... here.
18184         * nptl/sysdeps/pthread/Makefile: Moved ...
18185         * sysdeps/nptl/Makefile: ... here.
18186         * nptl/sysdeps/pthread/Subdirs: Moved ...
18187         * sysdeps/nptl/Subdirs: ... here.
18188         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18189         * sysdeps/nptl/aio_misc.h: ... here.
18190         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18191         * sysdeps/nptl/bits/libc-lock.h: ... here.
18192         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18193         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18194         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18195         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18196         * nptl/sysdeps/pthread/configure: Moved ...
18197         * sysdeps/nptl/configure: ... here.
18198         * nptl/sysdeps/pthread/configure.ac: Moved ...
18199         * sysdeps/nptl/configure.ac: ... here.
18200         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18201         * sysdeps/nptl/gai_misc.h: ... here.
18202         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18203         * sysdeps/nptl/librt-cancellation.c: ... here.
18204         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18205         * sysdeps/nptl/malloc-machine.h: ... here.
18206         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18207         * sysdeps/nptl/pthread-functions.h: ... here.
18208         * nptl/sysdeps/pthread/pthread.h: Moved ...
18209         * sysdeps/nptl/pthread.h: ... here.
18210         * nptl/sysdeps/pthread/setxid.h: Moved ...
18211         * sysdeps/nptl/setxid.h: ... here.
18212         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18213         * sysdeps/nptl/sigfillset.c: ... here.
18214         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18215         * sysdeps/nptl/tcb-offsets.h: ... here.
18216         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18217         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18218         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18219         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18220         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18221         * sysdeps/pthread/allocalim.h: ... here.
18222         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18223         * sysdeps/pthread/bits/sigthread.h: ... here.
18224         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18225         * sysdeps/pthread/flockfile.c: ... here.
18226         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18227         * sysdeps/pthread/ftrylockfile.c: ... here.
18228         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18229         * sysdeps/pthread/funlockfile.c: ... here.
18230         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18231         * sysdeps/pthread/posix-timer.h: ... here.
18232         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18233         * sysdeps/pthread/timer_create.c: ... here.
18234         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18235         * sysdeps/pthread/timer_delete.c: ... here.
18236         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18237         * sysdeps/pthread/timer_getoverr.c: ... here.
18238         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18239         * sysdeps/pthread/timer_gettime.c: ... here.
18240         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18241         * sysdeps/pthread/timer_routines.c: ... here.
18242         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18243         * sysdeps/pthread/timer_settime.c: ... here.
18244         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18245         * sysdeps/pthread/tst-timer.c: ... here.
18246         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18247         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18249         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18250         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18252         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18253         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18254         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18255         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18256         Update #include target.
18257         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18258         * sysdeps/i386/i686/nptl/Makefile: ... here.
18259         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18260         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18261         Update #include target.
18262         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18263         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18264         * nptl/sysdeps/i386/Makefile: Moved ...
18265         * sysdeps/i386/nptl/Makefile: ... here.
18266         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18267         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18268         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18269         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18270         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18271         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18272         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18273         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18274         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18275         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18276         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18277         * nptl/sysdeps/i386/tls.h: Moved ...
18278         * sysdeps/i386/nptl/tls.h: ... here.
18280         * sysdeps/sh/Makefile [$(subdir) = csu]
18281         (gen-as-const-headers): Add tcb-offsets.sym.
18282         * nptl/sysdeps/sh/Makefile: File removed.
18283         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18284         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18285         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18286         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18287         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18288         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18289         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18290         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18291         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18292         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18293         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18294         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18295         * nptl/sysdeps/sh/tls.h: Moved ...
18296         * sysdeps/sh/nptl/tls.h: ... here.
18297         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18298         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18299         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18300         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18301         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18302         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18303         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18304         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18305         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18306         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18307         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18308         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18309         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18310         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18311         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18312         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18313         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18314         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18315         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18316         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18317         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18318         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18320         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18322         Moved ...
18323         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18324         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18325         Moved ...
18326         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18328         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18330         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18331         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18332         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18333         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18334         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18335         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18336         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18337         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18338         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18339         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18340         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18341         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18342         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18343         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18344         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18346 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18348         * posix/spawn_faction_addopen.c: Include string.h.
18350 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18352         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18353         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18354         * nptl/sysdeps/x86_64/Makefile: Moved ...
18355         * sysdeps/x86_64/nptl/Makefile: ... here.
18356         * nptl/sysdeps/x86_64/configure: Moved ...
18357         * sysdeps/x86_64/nptl/configure: ... here.
18358         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18359         * sysdeps/x86_64/nptl/configure.ac: ... here.
18360         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18361         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18362         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18363         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18364         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18365         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18366         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18367         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18368         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18369         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18370         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18371         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18372         * nptl/sysdeps/x86_64/tls.h: Moved ...
18373         * sysdeps/x86_64/nptl/tls.h: ... here.
18374         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18375         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18376         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18377         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18379         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18381 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18385 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18387         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18388         type.
18389         [POSIX] (off_t): Likewise.
18390         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18391         [POSIX] (S_ISBLK): Require macro.
18392         [POSIX] (S_ISCHR): Likewise.
18393         [POSIX] (S_ISDIR): Likewise.
18394         [POSIX] (S_ISFIFO): Likewise.
18395         [POSIX] (S_ISREG): Likewise.
18396         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18397         optional-macro.
18398         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18399         type.
18400         [POSIX] (time_t): Likewise.
18401         [POSIX] (timer_t): Likewise.
18403 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18405         [BZ #17048]
18406         * posix/spawn_int.h (struct __spawn_action): Make the path string
18407         non-const to support deallocation.
18408         * posix/spawn_faction_addopen.c
18409         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18410         * posix/spawn_faction_destroy.c
18411         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18412         path in all spawn_do_open actions.
18413         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18414         posix_spawn_file_actions_addopen.
18416 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18418         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18419         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18420         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18421         conditional code always true.
18422         (__libc_vfork): New alias.
18424 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18426         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18427         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18429         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18431         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18432         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18434         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18435         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18437         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18438         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18440 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18442         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18443         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18444         multiarch strcmp for PPC64.
18445         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18446         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18448         multiarch optimizations.
18449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18450         (__libc_ifunc_impl_list): Likewise.
18452 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18454         * benchtests/scripts/validate_benchout.py: New script.
18455         * benchtests/Makefile (bench-func): Call it.
18456         * benchtests/scripts/benchout.schema.json: New file.
18458 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18460         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18461         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18462         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18463         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18464         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18465         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18466         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18467         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18468         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18469         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18470         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18471         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18472         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18473         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18474         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18475         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18477         Moved ...
18478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18479         ... here.
18480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18481         Moved ...
18482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18484         Moved ...
18485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18486         ... here.
18487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18488         Moved ...
18489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18490         ... here.
18491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18492         Moved ...
18493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18495         Moved ...
18496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18497         ... here.
18498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18499         Moved ...
18500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18501         ... here.
18502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18503         Moved ...
18504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18506         Moved ...
18507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18508         ... here.
18509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18510         Moved ...
18511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18512         ... here.
18513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18514         Moved ...
18515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18516         ... here.
18517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18518         Moved ...
18519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18521         Moved ...
18522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18523         ... here.
18524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18525         Moved ...
18526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18527         ... here.
18528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18529         Moved ...
18530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18531         ... here.
18532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18533         Moved ...
18534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18536         Moved ...
18537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18538         ... here.
18539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18540         Moved ...
18541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18542         ... here.
18543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18544         Moved ...
18545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18547         Moved ...
18548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18549         ... here.
18550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18551         Moved ...
18552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18554         Moved ...
18555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18557         Moved ...
18558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18559         ... here.
18560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18561         Moved ...
18562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18563         ... here.
18564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18565         Moved ...
18566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18567         ... here.
18568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18569         Moved ...
18570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18572         Moved ...
18573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18574         ... here.
18575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18576         Moved ...
18577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18578         ... here.
18579         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18580         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18581         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18582         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18583         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18584         Moved ...
18585         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18586         ... here.
18587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18588         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18590         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18592         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18594         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18596         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18598         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18600         Moved ...
18601         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18602         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18603         Moved ...
18604         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18606         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18608         Moved ...
18609         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18610         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18611         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18612         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18613         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18614         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18615         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18617 2014-06-10  Wilco  <wdijkstr@arm.com>
18619         * math/test-fenv-return.c: New file.
18620         * math/Makefile: Add new test test-fenv-return.
18622 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18624         [BZ #17042]
18625         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18626         when x - 1 is zero.
18627         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18628         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18629         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18630         0.0L for an argument of 1.0L.
18631         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18632         Likewise.
18633         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18634         value when x - 1 is zero.
18635         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18636         * sysdeps/i386/fpu/libm-test-ulps: Update.
18637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18639 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18641         [BZ #15119]
18642         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18644 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18646         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18647         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18649 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18651         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18652         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18654         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18655         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18657         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18658         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18660         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18661         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18663         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18664         if not already defined.
18665         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18666         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18667         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18668         (TLS_INIT_TP): Use it.
18669         (TLS_DEFINE_INIT_TP): New macro.
18670         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18672 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18674         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18675         constant.
18676         [POSIX] (IXANY): Likewise.
18677         [POSIX] (OLCUC): Likewise.
18678         [POSIX || POSIX2008] (CBAUD): Do not allow.
18679         [POSIX || POSIX2008] (DEFECHO): Likewise.
18680         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18681         [POSIX || POSIX2008] (ECHOKE): Likewise.
18682         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18683         [POSIX || POSIX2008] (EXTA): Likewise.
18684         [POSIX || POSIX2008] (EXTB): Likewise.
18685         [POSIX || POSIX2008] (FLUSHO): Likewise.
18686         [POSIX || POSIX2008] (LOBLK): Likewise.
18687         [POSIX || POSIX2008] (PENDIN): Likewise.
18688         [POSIX || POSIX2008] (SWTCH): Likewise.
18689         [POSIX || POSIX2008] (VDISCARD): Likewise.
18690         [POSIX || POSIX2008] (VDSUSP): Likewise.
18691         [POSIX || POSIX2008] (VLNEXT): Likewise.
18692         [POSIX || POSIX2008] (VREPRINT): Likewise.
18693         [POSIX || POSIX2008] (VSTATUS): Likewise.
18694         [POSIX || POSIX2008] (VWERASE): Likewise.
18695         (B*): Change to B[0123456789]*.
18696         * conform/data/time.h-data [POSIX || UNIX98]
18697         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18698         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18699         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18700         [POSIX] (tm_*): Do not allow.
18702 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18704         * Makefile (install): Don't set LANGUAGE.
18705         * Makefile.in (install): Likewise.
18706         * assert/Makefile (test-assert-ENV): Remove variable.
18707         (test-assert-perr-ENV): Likewise.
18708         * elf/Makefile (neededtest4-ENV): Likewise.
18709         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18710         [$(cross-compiling) = no]: Don't set LANGUAGE.
18711         * io/ftwtest-sh (LANG): Remove variable.
18712         * libio/Makefile (tst-widetext-ENV): Likewise.
18713         * manual/install.texi (Running make install): Don't refer to
18714         environment settings for make install.
18715         * INSTALL: Regenerated.
18716         * nptl/tst-tls6.sh: Don't set LANG.
18717         * posix/globtest.sh (LANG): Remove variable.
18718         * string/Makefile (tester-ENV): Likewise.
18719         (inl-tester-ENV): Likewise.
18720         (noinl-tester-ENV): Likewise.
18721         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18722         [$(cross-compiling) = no]: Don't set LANGUAGE.
18723         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18724         without explicit environment settings.
18726 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18728         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18729         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18730         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18731         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18733 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18735         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18736         other files in the crypt directory.
18737         * crypt/crypt.c: Remove duplicate includes.
18738         * crypt/crypt-entry.c: Likewise.
18739         * crypt/crypt_util.c: Likewise.
18741 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18743         * Makeconfig (run-program-env): New variable.
18744         (run-program-prefix-before-env): Likewise.
18745         (run-program-prefix-after-env): Likewise.
18746         (run-program-prefix): Define in terms of new variables.
18747         (built-program-cmd-before-env): New variable.
18748         (built-program-cmd-after-env): Likewise.
18749         (built-program-cmd): Define in terms of new variables.
18750         (test-program-prefix-before-env): New variable.
18751         (test-program-prefix-after-env): Likewise.
18752         (test-program-prefix): Define in terms of new variables.
18753         (test-program-cmd-before-env): New variable.
18754         (test-program-cmd-after-env): Likewise.
18755         (test-program-cmd): Define in terms of new variables.
18756         * Rules (make-test-out): Use $(run-program-env).
18757         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18758         (help): Do not mention environment variables.  Mention
18759         --timeoutfactor option.
18760         (timeoutfactor): New variable.
18761         (blacklist_exports): Remove function.
18762         (exports): Remove variable.
18763         (command): Do not include ${exports}.
18764         * manual/install.texi (Configuring and compiling): Do not mention
18765         test wrappers preserving environment variables.  Mention that last
18766         assignment to a variable must take precedence.
18767         * INSTALL: Regenerated.
18768         * benchtests/Makefile (run-bench): Use $(run-program-env).
18769         * catgets/Makefile ($(objpfx)test1.cat): Use
18770         $(built-program-cmd-before-env), $(run-program-env) and
18771         $(built-program-cmd-after-env).
18772         ($(objpfx)test2.cat): Do not specify environment variables
18773         explicitly.
18774         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18775         $(run-program-env) and $(built-program-cmd-after-env).
18776         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18777         $(run-program-env) and $(test-program-cmd-after-env).
18778         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18779         explicitly.
18780         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18781         run_program_env and test_program_cmd_after_env arguments.
18782         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18783         * elf/tst-pathopt.sh: Use run_program_env argument.
18784         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18785         $(test-wrapper-env) and $(run-program-env).
18786         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18787         run_program_env arguments.
18788         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18789         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18790         $(test-program-prefix-before-env), $(run-program-env) and
18791         $(test-program-prefix-after-env).
18792         ($(objpfx)tst-gettext2.out): Likewise.
18793         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18794         run_program_env and test_program_prefix_after_env arguments.
18795         * intl/tst-gettext2.sh: Likewise.
18796         * intl/tst-gettext4.sh: Do not set environment variables
18797         explicitly.
18798         * intl/tst-gettext6.sh: Likewise.
18799         * intl/tst-translit.sh: Likewise.
18800         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18801         $(test-program-prefix-before-env), $(run-program-env) and
18802         $(test-program-prefix-after-env).
18803         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18804         run_program_env and test_program_prefix_after_env arguments.
18805         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18806         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18807         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18808         explicitly with each use of ${test_wrapper_env}.
18809         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18810         $(test-program-prefix-before-env), $(run-program-env) and
18811         $(test-program-prefix-after-env).
18812         * posix/tst-getconf.sh: Do not set environment variables
18813         explicitly.
18814         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18815         run_program_env and test_program_prefix_after_env arguments.
18816         * stdio-common/tst-printf.sh: Do not set environment variables
18817         explicitly.
18818         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18819         $(test-program-prefix-before-env), $(run-program-env) and
18820         $(test-program-prefix-after-env).
18821         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18822         run_program_env and test_program_prefix_after_env arguments.
18823         Split $test calls into $test_pre and $test.
18824         * timezone/Makefile (build-testdata): Use
18825         $(built-program-cmd-before-env), $(run-program-env) and
18826         $(built-program-cmd-after-env).
18828 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18830         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18831         strlen for non SHARED builds.
18833 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18835         * nptl/allocatestack.c (check_list): Inlined function...
18836         (__reclaim_stacks): ... here.
18838 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18840         [BZ #15698]
18841         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18842         memory overrun.
18844 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18846         * Rules (make-test-out): Include
18847         LOCPATH=$(common-objpfx)localedata in default environment.
18848         * debug/Makefile (tst-chk1-ENV): Remove variable.
18849         (tst-chk2-ENV): Likewise.
18850         (tst-chk3-ENV): Likewise.
18851         (tst-chk4-ENV): Likewise.
18852         (tst-chk5-ENV): Likewise.
18853         (tst-chk6-ENV): Likewise.
18854         (tst-lfschk1-ENV): Likewise.
18855         (tst-lfschk2-ENV): Likewise.
18856         (tst-lfschk3-ENV): Likewise.
18857         (tst-lfschk4-ENV): Likewise.
18858         (tst-lfschk5-ENV): Likewise.
18859         (tst-lfschk6-ENV): Likewise.
18860         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18861         (tst-iconv7-ENV): Likewise.
18862         * intl/Makefile (LOCPATH-ENV): Likewise.
18863         (tst-codeset-ENV): Likewise.
18864         (tst-gettext3-ENV): Likewise.
18865         (tst-gettext5-ENV): Likewise.
18866         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18867         (tst-fopenloc-ENV): Likewise.
18868         (tst-fgetws-ENV): Remove variable.
18869         (tst-ungetwc1-ENV): Likewise.
18870         (tst-ungetwc2-ENV): Likewise.
18871         (bug-ungetwc2-ENV): Likewise.
18872         (tst-swscanf-ENV): Likewise.
18873         (bug-ftell-ENV): Likewise.
18874         (tst-fgetwc-ENV): Likewise.
18875         (tst-fseek-ENV): Likewise.
18876         (tst-ftell-partial-wide-ENV): Likewise.
18877         (tst-ftell-active-handler-ENV): Likewise.
18878         (tst-ftell-append-ENV): Likewise.
18879         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18880         (tst-regexloc-ENV): Likewise.
18881         (bug-regex1-ENV): Likewise.
18882         (tst-regex-ENV): Likewise.
18883         (tst-regex2-ENV): Likewise.
18884         (bug-regex5-ENV): Likewise.
18885         (bug-regex6-ENV): Likewise.
18886         (bug-regex17-ENV): Likewise.
18887         (bug-regex18-ENV): Likewise.
18888         (bug-regex19-ENV): Likewise.
18889         (bug-regex20-ENV): Likewise.
18890         (bug-regex22-ENV): Likewise.
18891         (bug-regex23-ENV): Likewise.
18892         (bug-regex25-ENV): Likewise.
18893         (bug-regex26-ENV): Likewise.
18894         (bug-regex30-ENV): Likewise.
18895         (bug-regex32-ENV): Likewise.
18896         (bug-regex33-ENV): Likewise.
18897         (bug-regex34-ENV): Likewise.
18898         (bug-regex35-ENV): Likewise.
18899         (tst-rxspencer-ENV): Likewise.
18900         (tst-rxspencer-no-utf8-ENV): Likewise.
18901         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18902         (tst-sscanf-ENV): Likewise.
18903         (tst-swprintf-ENV): Likewise.
18904         (tst-swscanf-ENV): Likewise.
18905         (test-vfprintf-ENV): Likewise.
18906         (scanf13-ENV): Likewise.
18907         (bug14-ENV): Likewise.
18908         (tst-grouping-ENV): Likewise.
18909         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18910         (tst-strtod3-ENV): Likewise.
18911         (tst-strtod4-ENV): Likewise.
18912         (tst-strtod5-ENV): Likewise.
18913         (testmb2-ENV): Likewise./
18914         * string/Makefile (tst-strxfrm-ENV): Likewise.
18915         (tst-strxfrm2-ENV): Likewise.
18916         (bug-strcoll1-ENV): Likewise.
18917         (test-strcasecmp-ENV): Likewise.
18918         (test-strncasecmp-ENV): Likewise.
18919         * time/Makefile (tst-strptime-ENV): Likewise.
18920         (tst-ftime_l-ENV): Likewise.
18921         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18922         (tst-mbrtowc-ENV): Likewise.
18923         (tst-wcrtomb-ENV): Likewise.
18924         (tst-mbrtowc2-ENV): Likewise.
18925         (tst-c16c32-1-ENV): Likewise.
18926         (tst-mbsnrtowcs-ENV): Likewise.
18928 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18930         * manual/resource.texi (How to get information about the memory
18931         subsystem?): Fix typo.
18932         Reported by Peon de la Parra Ivan <peon@keba.com>
18934 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18936         [BZ #16882]
18937         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18938         (pthread_spin_lock): Branch out of spin loop to proper location.
18939         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18940         (pthread_spin_lock): Likewise.
18942         * nptl/tst-spin4.c: New test.
18943         * nptl/Makefile (tests): Add tst-spin4.
18945 2014-06-03  Andreas Schwab  <schwab@suse.de>
18947         [BZ #15946]
18948         * resolv/res_send.c (send_dg): Reload file descriptor after
18949         calling reopen.
18951 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18953         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18955 2014-06-03  Richard Henderson  <rth@redhat.com>
18957         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18958         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18959         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18960         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18961         in the SAVE_PID block.
18962         (__libc_vfork): New alias.
18963         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18965         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18966         child in registers, not on the stack.  Remove RESET_PID conditionals.
18967         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18969 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18971         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18973 2014-06-03  Wilco  <wdijkstr@arm.com>
18975         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18976         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18977         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18978         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18979         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18980         Likewise.
18982 2014-06-03  Wilco  <wdijkstr@arm.com>
18984         * sysdeps/aarch64/fpu/math_private.h
18985         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18986         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18987         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18988         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18989         Fix declarations.
18991 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18993         * crypt/crypt-private.h: Include ufc-crypt.h.
18994         (__b64_from_24bit): Declare extern.
18995         * crypt/crypt_util.c(__b64_from_24bit): New function.
18996         (b64t): New static const variable.
18997         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18998         (b64t): Remove variable.
18999         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19000         * crypt/sha256-crypt.c: Include crypt-private.h.
19001         (b64t): Remove variable.
19002         (__sha256_crypt_r): Remove b64_from_24bit and replace
19003         with __b64_from_24bit.
19004         * crypt/sha512-crypt.c: Likewise.
19006 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19008         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19009         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19010         Label the code __libc_vfork rather than __vfork.
19011         [!NOT_IN_libc] (vfork): Define as weak alias.
19012         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19013         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19014         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19016 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19018         * malloc/malloc.c (malloc_info): Fix format specifier for
19019         n_mmaps.
19021 2014-06-02  Wilco  <wdijkstr@arm.com>
19023         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19024         FPCR write.
19026 2014-06-02  Wilco  <wdijkstr@arm.com>
19028         [BZ #17009]
19029         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19030         Rewrite to reduce FPCR/FPSR accesses.
19032 2014-06-01  David S. Miller  <davem@davemloft.net>
19034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19036 2014-05-31  David S. Miller  <davem@davemloft.net>
19038         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19039         to occur in round to nearest mode when |x| >= 2.0
19041 2014-05-30  Richard Henderson  <rth@twiddle.net>
19043         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19044         (PSEUDO_RET_NOERRNO): Remove.
19045         (ret): Don't redefine.
19046         (ret_NOERRNO): Define in terms of ret.
19047         (ret_ERRVAL): Likewise.
19049         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19050         use of PSEUDO_RET; perform the error check directly.
19052 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19054         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19055         with __int128_t.
19057 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19059         * malloc/malloc (malloc_info): Fix formatting.
19061 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19062             Roland McGrath  <roland@hack.frob.com>
19064         * malloc/malloc (malloc_info): Also print mmapped statistics.
19066 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19068         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19069         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19071 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19073         * malloc/malloc.c (malloc_info): Inline mi_arena.
19075 2014-05-29  Richard Henderson  <rth@twiddle.net>
19077         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19078         Remove comma before expanding ASM_ARGS_##nr.
19079         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19080         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19081         of ASM_ARGS_##nr.
19082         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19083         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19084         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19085         (ASM_ARGS_1): Add leading comma.
19087         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19088         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19089         to __errno_location.
19090         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19091         Remove the expected plt for __errno_location.
19093         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19094         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19095         call to __read_tp.
19097         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19098         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19099         it and break it down.
19100         (DOCARGS_0, DOCARGS_1): Do nothing.
19101         (DOCARGS_2): Update to store into the new stack frame.
19102         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19103         (UNDOCARGS_1): Update to restore from the new stack frame.
19104         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19105         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19107         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19108         (SINGLE_THREAD_P): New parameter for result regno.
19109         (PSEUDO): Update to match; use cbz instead of beq.
19111         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19112         Use ENTRY to define the _nocancel entry point.  Share the syscall
19113         and syscall error check paths with the cancel path.
19114         (PSEUDO_END): New.
19116         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19117         whitespace; tabs before and after asm mnemonics.
19119 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19121         [BZ #15132]
19122         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19123         Call fstat64 or stat64 internally, depending on arguments passed.
19124         Replace stat buffer argument with file descriptor argument.
19125         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19126         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19127         Pass fd to __internal_statvfs instead of calling fstat64.
19128         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19129         Pass fd to __internal_statvfs64 instead of calling fstat64.
19130         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19131         Pass -1 to __internal_statvfs instead of calling stat64.
19132         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19133         Pass -1 to __internal_statvfs64 instead of calling stat64.
19135 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19137         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19138         that was previously under [RESET_PID].
19139         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19141         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19142         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19144 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19146         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19148         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19149         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19151 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19153         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19155 2014-05-27  Andreas Schwab  <schwab@suse.de>
19157         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19158         TLS_INIT_TP macro.
19159         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19160         * elf/rtld.c (init_tls, dl_main): Likewise.
19161         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19162         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19163         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19164         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19165         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19166         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19167         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19168         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19169         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19170         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19171         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19172         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19173         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19174         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19175         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19176         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19177         * sysdeps/generic/tls.h: Update description.
19179 2014-05-27  Will Newton  <will.newton@linaro.org>
19181         [BZ #16990]
19182         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19183         and restore r2 rather than just restoring.
19185 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19187         [BZ #16724]
19188         * libio/tst-ftell-append.c: New test case.
19189         * libio/Makefile (tests): Add test case.
19190         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19191         append mode.
19192         * libio/wfileops.c (do_ftell_wide): Likewise.
19194 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19198         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19199         ...
19200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19202         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19203         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19204         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19205         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19206         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19207         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19208         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19209         Moved ...
19210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19212         Moved ...
19213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19214         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19215         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19216         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19217         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19218         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19219         ...
19220         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19221         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19222         Moved ...
19223         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19224         here.
19225         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19226         ...
19227         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19228         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19229         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19231         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19232         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19233         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19234         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19236         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19237         merge into ...
19238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19239         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19240         ...
19241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19243         ...
19244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19246         Moved ...
19247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19248         here.
19249         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19250         Moved ...
19251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19253         Moved ...
19254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19257         conditional [RESET_PID].
19258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19260         removed.
19261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19262         removed.
19264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19265         <tcb-offsets.h>.
19266         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19267         (__libc_vfork): New strong alias.
19268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19269         removed.
19270         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19271         Removed.
19273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19274         <tcb-offsets.h>.
19275         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19276         (__libc_vfork): New strong alias.
19277         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19278         removed.
19279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19280         removed.
19282 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19284         * malloc/malloc.c (mi_arena): New function.
19285         (malloc_info): Remove nested function mi_arena. Call non-nosted
19286         function mi_arena.
19288 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19290         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19291         by insrwi.
19292         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19293         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19294         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19295         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19296         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19297         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19298         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19300 2014-05-26  Andreas Schwab  <schwab@suse.de>
19302         [BZ #16984]
19303         * locale/programs/repertoire.c (repertoire_read): Add slash
19304         between I18NPATH element and file name.
19305         * locale/programs/locfile.c (locfile_read): Likewise.
19307 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19309         * nptl/pthread_mutexattr_settype.c
19310         (__pthread_mutexattr_settype):
19311         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19313 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19315         * nptl/tst-mutex5 (do_test):
19316         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19318 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19320         * benchtests/README: Document 'init' directive.
19321         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19322         BENCH_INIT.
19323         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19324         (parse_file): Recognize 'init' directive.
19326 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19328         [BZ #16796]
19329         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19330         alignment of struct pthread.
19332 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19334         [BZ #16878]
19335         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19336         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19337         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19338         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19340 2014-05-25  Richard Henderson  <rth@twiddle.net>
19342         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19343         (SINGLE_THREAD_P_PIC): Remove.
19344         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19345         (SINGLE_THREAD_P_PIC): Remove.
19347         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19348         branch to syscall error ...
19349         (PSEUDO): ... here.
19350         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19351         from __local_syscall_error to .Lsyscall_error.
19352         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19353         (SYSCALL_ERROR): Update label name.
19355         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19356         Do not use DOARGS/UNDOARGS.
19357         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19358         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19359         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19360         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19361         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19364         block comment.
19366         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19367         define if !NOT_IN_libc.
19368         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19369         define with non-default symbol versions.
19371 2014-05-23  Richard Henderson  <rth@twiddle.net>
19373         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19374         (vfork, __vfork): Define via compat_symbol.
19376         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19377         [!HAVE_IFUNC] (vfork_compat): Remove.
19378         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19380 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19382         [BZ #16978]
19383         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19384         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19385         variable.
19387 2014-05-23  Richard Henderson  <rth@twiddle.net>
19389         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19390         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19391         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19392         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19394         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19395         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19396         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19397         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19398         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19399         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19400         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19401         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19402         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19403         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19404         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19405         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19406         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19407         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19408         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19409         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19410         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19411         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19412         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19413         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19414         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19415         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19416         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19417         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19418         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19419         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19420         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19421         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19422         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19423         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19424         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19425         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19426         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19427         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19428         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19429         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19430         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19431         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19432         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19433         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19434         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19435         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19436         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19437         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19438         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19439         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19440         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19441         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19442         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19443         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19444         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19445         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19446         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19447         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19448         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19449         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19451         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19452         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19453         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19454         before exiting on error.
19455         (__libc_vfork): New strong alias.
19456         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19457         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19459         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19460         that was previously under [RESET_PID].
19461         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19463         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19465 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19467         [BZ #16977]
19468         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19469         value when x - 1 is zero.
19470         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19471         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19472         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19473         0.0L for an argument of 1.0L.
19474         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19475         Likewise.
19476         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19477         value when x - 1 is zero.
19478         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19479         * sysdeps/i386/fpu/libm-test-ulps: Update.
19480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19482 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19484         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19485         alphasort and versionsort.
19487 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19489         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19490         macro.
19491         [copysignf]: Likewise.
19493 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19495         * crypt/md5-crypt.c: Fix formatting.
19497 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19499         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19500         (b64_from_24bit): New function.
19502 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19504         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19505         libc_hidden_builtin_def to ifunc.
19506         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19507         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19509 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19511         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19512         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19514 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19516         * nscd/Depend (linuxthreads): Remove.
19517         (nptl): Add.
19518         * resolv/Depend (linuxthreads): Remove.
19519         * rt/Depend (linuxthreads): Remove.
19521         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19522         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19523         $(common-objpfx)elf/.
19524         (link-libc-before-gnulib): Likewise.
19525         (elfobjdir): Remove variable.
19526         * Makefile (install): Use $(elf-objpfx) instead of
19527         $(common-objpfx)elf/.
19528         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19529         $(elfobjdir)/.
19530         (link-libc-deps): Likewise.
19531         ($(common-objpfx)libc.so): Likewise.
19532         ($(common-objpfx)linkobj/libc.so): Likewise.
19533         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19534         instead of $(common-objpfx)elf/.
19535         (symbolic-link-list): Likewise.
19536         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19537         [$(cross-compiling) = no]: Likewise.
19538         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19539         $(elfobjdir)/.
19540         (static-gnulib-arch): Likewise.
19541         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19542         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19543         $(common-objpfx)elf/.
19545 2014-05-21  Richard Henderson  <rth@redhat.com>
19547         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19548         (SINGLE_THREAD_P): Use the correct width load.  Fold
19549         into the ldr offset.
19551         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19552         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19554 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19556         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19557         (libgcc_s_resume): Use __attribute_used__.
19558         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19559         Likewise.
19561 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19563         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19564         optimization when used with float constants.
19566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19568 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19570         [BZ #16915]
19571         * locale/nl_langinfo_l.c: Make direct reference to every
19572         _nl_current_CATEGORY symbol.
19573         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19574         (tests-static): Add tst-langinfo-static.
19575         (tests-special): Add tst-langinfo-static.out.
19576         ($(objpfx)tst-langinfo.out): Redirect output.
19577         ($(objpfx)tst-langinfo-static.out): New.
19578         * localedata/tst-langinfo.sh: Send output to stdout.
19579         * localedata/tst-langinfo-static.c: New file.
19581         [BZ #16965]
19582         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19583         when the shift amount is modulo the limb size.
19585 2014-05-20  Richard Henderson  <rth@redhat.com>
19587         [BZ #16967]
19588         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19589         Change type of sa_flags from unsigned int to int.
19591         [BZ #16966]
19592         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19594         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19596 2014-05-20  Will Newton  <will.newton@linaro.org>
19598         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19599         Test the return value of the system call in the nocancel case.
19601 2014-05-20  Will Newton  <will.newton@linaro.org>
19602             Yvan Roux  <yvan.roux@linaro.org>
19604         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19605         #include of asm/ptrace.h.
19606         (PTRACE_GET_THREAD_AREA): Remove #undef.
19607         (PTRACE_GETHBPREGS): Likewise.
19608         (PTRACE_SETHBPREGS): Likewise.
19609         (struct user_regs_struct): New structure.
19610         (struct user_fpsimd_struct): New structure.
19611         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19612         #include of asm/ptrace.h and second #include of sys/user.h.
19613         (PTRACE_GET_THREAD_AREA): Remove #undef.
19614         (PTRACE_GETHBPREGS): Likewise.
19615         (PTRACE_SETHBPREGS): Likewise.
19616         (ELF_NGREG): Use new struct user_regs_struct.
19617         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19619 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19621         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19622         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19624 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19626         [BZ #16958]
19627         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19628         membar to avoid block loads/stores to overlap previous stores.
19630 2014-05-17  Richard Henderson  <rth@redhat.com>
19632         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19633         Create the __##syscall_name##_nocancel entry point.
19634         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19635         Remove; let the sysdep-cancel.h code create it.
19637 2014-05-17  David S. Miller  <davem@davemloft.net>
19639         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19640         Protect with __USE_GNU.
19641         (TIOCSET_TEMPT): Likewise.
19642         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19643         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19644         these are already provided in bits/ioctl-types.h
19646 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19648         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19649         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19651         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19652         Use wait4 regardless of [__NR_waitpid].
19654 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19656         PR libgcc/60166
19657         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19658         (_FP_NANSIGN_Q): Set the quiet bit.
19660 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19662         * benchtests/Makefile
19663         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19664         not $(common-objpfx)math/libm.so.
19665         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19666         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19667         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19668         $(common-objpfx)dlfcn/libdl.so.
19669         ($(objpfx)tst-audit8): Depend on $(libm), not
19670         $(common-objpfx)math/libm.so.
19671         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19672         not $(common-objpfx)dlfcn/libdl.so.
19673         * math/Makefile
19674         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19675         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19676         [$(build-shared) = yes].
19677         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19678         $(common-objpfx)nptl/libpthread.so.
19679         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19680         $(common-objpfx)math/libm.so$(libm.so-version) or
19681         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19682         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19683         $(common-objpfx)dlfcn/libdl.so.
19684         * setjmp/Makefile (link-libm): Remove variable.
19685         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19686         * stdio-common/Makefile (link-libm): Remove variable.
19687         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19688         * stdlib/Makefile (link-libm): Remove variable.
19689         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19690         ($(objpfx)tst-strtod-round): Likewise.
19691         ($(objpfx)tst-tininess): Likewise.
19692         ($(objpfx)tst-strtod-underflow): Likewise.
19693         ($(objpfx)tst-strtod6): Likewise.
19694         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19695         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19696         $(common-objpfx)dlfcn/libdl.so.
19698 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19700         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19701         BSD terminal modes definitions.
19703 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19705         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19706         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19708         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19709         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19710         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19711         Don't do #include_next.
19712         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19713         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19714         Don't do #include_next.
19715         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19716         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19717         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19718         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19720 2014-05-16  Allan McRae  <allan@archlinux.org>
19722         * po/sv.po: Update Swedish translation from translation project.
19724         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19725         in sed expression.
19727 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19729         [BZ #16917]
19730         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19731         errno if the TIOCGPTN ioctl fails with an error different than
19732         EINVAL.
19733         * login/tst-ptsname.c: New file.
19734         * login/Makefile (tests): Add tst-ptsname.
19736         [BZ #16943]
19737         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19738         and prlimit64.
19740 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19742         [BZ #16849]
19743         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19744         herrno to return EAI_AGAIN.
19746 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19748         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19749         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19750         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19751         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19752         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19753         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19754         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19755         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19756         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19757         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19758         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19759         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19760         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19761         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19762         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19763         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19764         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19765         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19766         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19767         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19768         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19769         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19770         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19771         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19772         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19773         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19774         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19775         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19776         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19777         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19779         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19781         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19783         Moved ...
19784         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19786         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19788         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19790         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19792         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19794         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19796         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19798         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19800         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19802         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19804         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19806         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19808         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19810         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19812         Moved ...
19813         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19815         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19817         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19819         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19821         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19823         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19825         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19827         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19829         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19831         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19833         Moved ...
19834         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19836         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19838         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19839         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19840         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19841         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19842         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19843         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19844         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19845         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19846         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19847         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19848         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19849         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19850         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19851         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19852         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19853         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19854         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19855         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19856         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19857         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19858         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19859         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19860         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19861         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19862         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19863         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19864         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19865         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19866         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19867         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19868         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19870         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19871         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19873         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19874         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19875         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19876         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19877         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19878         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19879         Moved ...
19880         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19881         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19882         Moved ...
19883         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19884         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19885         Moved ...
19886         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19888         Moved ...
19889         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19890         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19891         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19892         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19893         Moved ...
19894         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19895         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19896         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19897         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19898         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19899         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19900         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19901         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19902         Moved ...
19903         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19904         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19905         Moved ...
19906         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19907         ... here.
19908         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19909         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19910         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19911         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19913         Moved ...
19914         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19915         ... here.
19916         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19917         Moved ...
19918         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19919         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19920         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19921         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19922         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19923         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19924         Moved ...
19925         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19926         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19927         Moved ...
19928         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19929         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19930         Moved ...
19931         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19933         Moved ...
19934         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19935         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19936         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19937         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19938         Moved ...
19939         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19940         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19941         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19942         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19943         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19944         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19945         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19946         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19947         Moved ...
19948         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19949         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19950         Moved ...
19951         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19952         ... here.
19953         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19954         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19955         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19956         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19958         Moved ...
19959         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19960         ... here.
19961         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19962         Moved ...
19963         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19964         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19965         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19966         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19967         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19968         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19969         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19970         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19971         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19972         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19973         Moved ...
19974         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19975         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19976         Moved ...
19977         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19978         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19979         Moved ...
19980         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19981         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19982         Moved ...
19983         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19984         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19985         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19986         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19987         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19988         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19989         Moved ...
19990         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19991         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19992         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19993         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19994         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19995         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19996         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19997         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19998         Moved ...
19999         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20000         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20001         Moved ...
20002         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20003         ... here.
20004         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20005         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20006         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20007         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20009         Moved ...
20010         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20011         ... here.
20012         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20013         Moved ...
20014         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20015         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20016         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20017         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20018         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20019         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20020         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20021         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20022         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20023         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20024         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20026         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20027         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20029         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20030         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20032         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20033         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20034         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20035         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20036         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20037         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20038         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20039         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20040         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20041         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20042         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20043         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20044         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20045         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20046         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20048         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20049         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20050         Moved ...
20051         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20052         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20053         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20054         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20055         Moved ...
20056         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20057         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20058         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20059         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20060         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20061         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20064         Moved ...
20065         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20067         Moved ...
20068         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20070         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20071         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20072         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20073         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20074         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20075         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20076         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20077         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20078         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20079         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20080         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20081         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20082         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20083         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20084         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20086         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20087         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20088         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20089         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20090         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20092         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20093         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20094         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20095         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20096         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20097         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20098         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20099         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20100         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20101         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20103         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20104         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20106         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20107         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20108         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20109         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20110         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20111         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20112         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20113         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20114         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20115         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20116         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20117         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20118         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20119         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20120         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20121         Update #include.
20122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20123         Likewise.
20124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20125         Likewise.
20126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20127         Likewise.
20128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20129         Likewise.
20130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20131         Likewise.
20132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20133         Likewise.
20134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20135         Likewise.
20136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20137         Likewise.
20138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20139         Likewise.
20140         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20141         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20142         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20143         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20144         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20145         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20146         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20147         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20148         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20149         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20150         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20151         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20152         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20153         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20154         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20156         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20157         that was previously under [RESET_PID].
20158         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20159         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20160         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20162         * sysdeps/i386/nptl/Implies: New file.
20163         * sysdeps/x86_64/nptl/Implies: New file.
20164         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20165         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20166         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20167         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20169         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20170         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20171         (__libc_vfork): New strong alias.
20172         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20173         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20175         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20176         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20177         (__libc_vfork): New strong alias.
20178         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20179         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20181         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20182         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20183         (__libc_vfork): New strong alias.
20184         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20185         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20186         * nptl/pt-vfork.c: New file.
20187         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20188         (libpthread: GLIBC_2.20): New version set (empty).
20190 2014-05-14  Will Newton  <will.newton@linaro.org>
20192         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20193         rather than #if.
20195 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20197         [BZ #16564]
20198         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20199         arguments with exponent 65 or above.
20200         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20201         arguments 0x1p113L or above.
20202         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20203         to arguments 0x1p107L or above.
20204         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20205         positive arguments with exponent 65 or above.
20206         * math/auto-libm-test-in: Add more tests of log1p.
20207         * math/auto-libm-test-out: Regenerated.
20209         [BZ #16928]
20210         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20211         non-finite arguments is +0.
20212         * math/s_cacosf.c (__cacosf): Likewise.
20213         * math/s_cacosl.c (__cacosl): Likewise.
20214         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20215         * sysdeps/i386/fpu/libm-test-ulps: Update.
20216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20218         [BZ #16927]
20219         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20220         value.
20221         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20222         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20223         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20224         for explicit high bit of mantissa when testing for argument equal
20225         to 1.
20226         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20227         * sysdeps/i386/fpu/libm-test-ulps: Update.
20228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20230         [BZ #16516]
20231         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20232         (__erf): Scale by 16 instead of 8 in potentially underflowing
20233         case.  Ensure exception if result actually underflows.
20234         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20235         (__erff): Scale by 16 instead of 8 in potentially underflowing
20236         case.  Ensure exception if result actually underflows.
20237         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20238         (efx8): Remove variable.
20239         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20240         case.  Ensure exception if result actually underflows.
20241         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20242         (efx8): Remove variable.
20243         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20244         case.  Ensure exception if result actually underflows.
20245         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20246         (efx8): Remove variable.
20247         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20248         case.  Ensure exception if result actually underflows.
20249         * math/auto-libm-test-in: Add more tests of erf.
20250         * math/auto-libm-test-out: Regenerated.
20252 2014-05-14  Andreas Schwab  <schwab@suse.de>
20254         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20255         Remove code conditionalized on USE___THREAD.
20257         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20258         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20259         not definedness.
20261 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20263         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20264         Define unconditionally.
20265         (__ASSUME_O_CLOEXEC): Likewise.
20266         (__ASSUME_SOCK_CLOEXEC): Likewise.
20267         (__ASSUME_IN_NONBLOCK): Likewise.
20268         (__ASSUME_PIPE2): Likewise.
20269         (__ASSUME_EVENTFD2): Likewise.
20270         (__ASSUME_SIGNALFD4): Likewise.
20271         (__ASSUME_DUP3): Likewise.
20272         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20273         (__ASSUME_DUP3): Do not define.
20274         (__ASSUME_EVENTFD2): Likewise.
20275         (__ASSUME_IN_NONBLOCK): Likewise.
20276         (__ASSUME_O_CLOEXEC): Likewise.
20277         (__ASSUME_PIPE2): Likewise.
20278         (__ASSUME_SIGNALFD4): Likewise.
20279         (__ASSUME_SOCK_CLOEXEC): Likewise.
20280         (__ASSUME_UTIMES): Undefine.
20281         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20282         (__ASSUME_UTIMES): Do not define.
20283         (__ASSUME_O_CLOEXEC): Likewise.
20284         (__ASSUME_SOCK_CLOEXEC): Likewise.
20285         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20286         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20287         0x020621].
20288         (__ASSUME_PIPE2): Likewise.
20289         (__ASSUME_EVENTFD2): Likewise.
20290         (__ASSUME_SIGNALFD4): Likewise.
20291         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20292         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20293         Do not define.
20294         (__ASSUME_EVENTFD2): Likewise.
20295         (__ASSUME_SIGNALFD4): Likewise.
20296         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20297         (__ASSUME_32BITUIDS): Likewise.
20298         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20299         (__ASSUME_IPC64): Likewise.
20300         (__ASSUME_ST_INO_64_BIT): Likewise.
20301         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20302         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20303         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20304         (__ASSUME_UTIMES): Do not define.
20305         (__ASSUME_PSELECT): Likewise.
20306         (__ASSUME_PPOLL): Likewise.
20307         (__ASSUME_O_CLOEXEC): Likewise.
20308         (__ASSUME_SOCK_CLOEXEC): Likewise.
20309         (__ASSUME_IN_NONBLOCK): Likewise.
20310         (__ASSUME_PIPE2): Likewise.
20311         (__ASSUME_EVENTFD2): Likewise.
20312         (__ASSUME_SIGNALFD4): Likewise.
20313         (__ASSUME_DUP3): Likewise.
20314         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20315         (__ASSUME_UTIMES): Likewise.
20316         (__ASSUME_O_CLOEXEC): Likewise.
20317         (__ASSUME_SOCK_CLOEXEC): Likewise.
20318         (__ASSUME_IN_NONBLOCK): Likewise.
20319         (__ASSUME_PIPE2): Likewise.
20320         (__ASSUME_EVENTFD2): Likewise.
20321         (__ASSUME_SIGNALFD4): Likewise.
20322         (__ASSUME_DUP3): Likewise.
20323         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20324         (__ASSUME_UTIMES): Likewise.
20325         (__ASSUME_O_CLOEXEC): Likewise.
20326         (__ASSUME_SOCK_CLOEXEC): Likewise.
20327         (__ASSUME_IN_NONBLOCK): Likewise.
20328         (__ASSUME_PIPE2): Likewise.
20329         (__ASSUME_EVENTFD2): Likewise.
20330         (__ASSUME_SIGNALFD4): Likewise.
20331         (__ASSUME_DUP3): Likewise.
20332         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20333         Likewise.
20334         (__ASSUME_UTIMES): Likewise.
20335         (__ASSUME_EVENTFD2): Likewise.
20336         (__ASSUME_SIGNALFD4): Likewise.
20337         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20338         (__ASSUME_O_CLOEXEC): Likewise.
20339         (__ASSUME_SOCK_CLOEXEC): Likewise.
20340         (__ASSUME_IN_NONBLOCK): Likewise.
20341         (__ASSUME_PIPE2): Likewise.
20342         (__ASSUME_EVENTFD2): Likewise.
20343         (__ASSUME_SIGNALFD4): Likewise.
20344         (__ASSUME_DUP3): Likewise.
20345         (__ASSUME_UTIMES): Undefine.
20347         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20348         feclearexcept.  Remove symbol versioning code.
20349         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20350         symbol versioning code.
20351         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20352         symbol versioning code.
20353         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20354         feupdateenv.  Remove symbol versioning code.
20355         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20356         fegetexceptflag.  Remove symbol versioning code.
20357         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20358         fesetexceptflag.  Remove symbol versioning code.
20359         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20360         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20361         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20362         (__posix_fadvise64_l32): Remove prototype.
20363         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20364         code.
20366 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20368         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20369         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20370         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20371         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20373 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20375         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20376         current working directory
20378 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20380         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20381         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20382         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20383         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20384         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20385         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20386         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20387         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20388         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20389         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20390         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20391         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20392         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20393         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20394         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20395         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20396         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20397         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20398         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20399         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20400         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20401         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20402         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20403         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20404         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20405         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20406         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20407         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20408         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20409         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20410         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20411         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20412         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20413         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20414         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20415         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20416         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20417         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20418         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20419         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20420         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20421         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20423         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20424         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20426         * sysdeps/unix/sysv/linux/arm/Makefile
20427         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20428         Add rt-aeabi_unwind_cpp_pr1.
20429         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20430         Add nptl-aeabi_unwind_cpp_pr1.
20431         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20432         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20433         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20434         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20435         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20436         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20438         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20439         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20440         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20441         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20443         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20444         Deconditionalize the code that was previously under [RESET_PID].
20445         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20447         * sysdeps/generic/exit-thread.h: New file.
20448         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20449         * include/unistd.h (__exit_thread): Remove declaration.
20450         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20451         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20452         * csu/libc-start.c: Include <exit-thread.h>.
20453         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20454         * nptl/pthread_create.c: Include <exit-thread.h>.
20455         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20456         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20457         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20458         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20459         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20460         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20461         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20462         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20463         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20464         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20465         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20466         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20467         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20468         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20469         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20470         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20471         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20473 2014-05-13  Andreas Schwab  <schwab@suse.de>
20475         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20477 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20479         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20480         (__ASSUME_UTIMES): Do not condition on kernel version.
20481         (__ASSUME_PSELECT): Define unconditionally.
20482         (__ASSUME_PPOLL): Likewise.
20483         (__ASSUME_ATFCTS): Likewise.
20484         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20485         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20486         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20487         (__ASSUME_UTIMENSAT): Define unconditionally.
20488         (__ASSUME_PRIVATE_FUTEX): Likewise.
20489         (__ASSUME_FALLOCATE): Likewise.
20490         (__ASSUME_O_CLOEXEC): Likewise.
20491         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20492         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20493         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20494         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20495         (__ASSUME_IN_NONBLOCK): Likewise.
20496         (__ASSUME_PIPE2): Likewise.
20497         (__ASSUME_EVENTFD2): Likewise.
20498         (__ASSUME_SIGNALFD4): Likewise.
20499         (__ASSUME_DUP3): Likewise.
20500         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20501         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20502         (__ASSUME_AT_RANDOM): Likewise.
20503         (__ASSUME_PREADV): Likewise.
20504         (__ASSUME_PWRITEV): Likewise.
20505         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20506         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20507         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20508         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20509         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20510         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20511         (__ASSUME_O_CLOEXEC): Define unconditionally.
20512         (__ASSUME_PSELECT): Do not undefine conditionally.
20513         (__ASSUME_PPOLL): Likewise.
20514         (__ASSUME_ATFCTS): Likewise.
20515         (__ASSUME_SET_ROBUST_LIST): Likewise.
20516         (__ASSUME_UTIMENSAT): Likewise.
20517         (__ASSUME_FDATASYNC): Define unconditionally.
20518         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20519         (__ASSUME_SIGFRAME_V2): Likewise.
20520         )__ASSUME_EVENTFD2): Likewise.
20521         (__ASSUME_SIGNALFD4): Likewise.
20522         (__ASSUME_PSELECT): Do not undefine conditionally.
20523         (__ASSUME_PPOLL): Likewise.
20524         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20525         (__ASSUME_PSELECT): Define unconditionally.
20526         (__ASSUME_PPOLL): Likewise.
20527         (__ASSUME_O_CLOEXEC): Likewise.
20528         (__ASSUME_SOCK_CLOEXEC): Likewise.
20529         (__ASSUME_IN_NONBLOCK): Likewise.
20530         (__ASSUME_PIPE2): Likewise.
20531         (__ASSUME_EVENTFD2): Likewise.
20532         (__ASSUME_SIGNALFD4): Likewise.
20533         (__ASSUME_DUP3): Likewise.
20534         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20535         (__ASSUME_O_CLOEXEC): Likewise.
20536         (__ASSUME_SOCK_CLOEXEC): Likewise.
20537         (__ASSUME_IN_NONBLOCK): Likewise.
20538         (__ASSUME_PIPE2): Likewise.
20539         (__ASSUME_EVENTFD2): Likewise.
20540         (__ASSUME_SIGNALFD4): Likewise.
20541         (__ASSUME_DUP3): Likewise.
20542         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20543         (__ASSUME_EVENTFD2): Likewise.
20544         (__ASSUME_SIGNALFD4): Likewise.
20545         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20547 2014-05-12  Andreas Schwab  <schwab@suse.de>
20549         [BZ #16932]
20550         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20551         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20552         than maximum RPC packet size.
20553         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20554         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20555         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20556         (_nss_nis_getservbyport_r): Likewise.
20558 2014-05-12  Will Newton  <will.newton@linaro.org>
20560         * malloc/Makefile (tests): Add tst-mallopt.
20561         * malloc/tst-mallopt.c: New file.
20563 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20565         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20566         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20568 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20570         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20571         (tst-tlsmod6.so): Likewise.
20573 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20575         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20577 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20579         [BZ #16064]
20580         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20581         and <dl-procinfo.h>.
20582         (__fegetenv): Save SSE state in envp->__eip if supported.
20583         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20584         envp->__eip if supported.
20585         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20586         and <dl-procinfo.h>.
20587         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20588         __data_offset and __data_selector in environment to 0.  Set SSE
20589         state if supported.
20590         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20591         test-fenv-sse.
20592         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20593         -mfpmath=sse.
20594         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20596 2014-05-09  Will Newton  <will.newton@linaro.org>
20598         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20599         and libc_relro_required for ARM.
20600         * sysdeps/arm/preconfigure: Regenerate.
20602 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20603             Stefan Liebler  <stli@linux.vnet.ibm.com>
20605         * config.make.in (enable-lock-elision): New Makefile variable.
20606         * configure.ac: Likewise.
20607         * configure: Regenerate.
20608         * sysdeps/s390/configure.ac:
20609         Add check for gcc transactions support.
20610         * sysdeps/s390/configure: Regenerate.
20611         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20612         Build elision files if enabled.
20613         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20614         Add lock elision support for s390.
20615         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20616         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20617         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20618         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20619         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20620         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20621         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20622         Likewise.
20623         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20624         Likewise.
20625         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20626         Likewise.
20627         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20628         Likewise.
20629         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20630         (__lll_timedlock_elision, __lll_lock_elision)
20631         (__lll_unlock_elision, __lll_trylock_elision)
20632         (lll_timedlock_elision, lll_lock_elision)
20633         (lll_unlock_elision, lll_trylock_elision): Add.
20634         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20635         (pthread_mutex_t): Add lock elision support for s390.
20637 2014-05-14  Wilco  <wdijkstr@arm.com>
20639         * sysdeps/arm/fclrexcpt.c: Cleanup.
20640         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20641         * sysdeps/arm/feenablxcpt.c: Cleanup.
20642         * sysdeps/arm/fegetenv.c: Cleanup.
20643         * sysdeps/arm/fegetexcept.c: Cleanup.
20644         * sysdeps/arm/fegetround.c: Cleanup.
20645         * sysdeps/arm/feholdexcpt.c: Cleanup.
20646         * sysdeps/arm/fesetenv.c: Cleanup.
20647         * sysdeps/arm/fesetround.c: Cleanup.
20648         * sysdeps/arm/feupdateenv.c: Cleanup.
20649         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20650         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20651         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20652         * sysdeps/arm/ftestexcept.c: Cleanup.
20653         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20654         * sysdeps/arm/setfpucw.c: Cleanup.
20656 2014-05-09  Will Newton  <will.newton@linaro.org>
20658         * sysdeps/arm/armv7/strcmp.S: New file.
20659         * NEWS: Mention addition of ARMv7 optimized strcmp.
20661 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20663         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20664         look for %.ac rather than %.in.
20666         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20667         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20668         * sysdeps/mach/hurd/configure: Regenerated.
20669         * sysdeps/unix/sysv/linux/configure: Regenerated.
20671         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20673 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20675         [BZ# 16922]
20676         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20677         (LONG_SUB): Ditto.
20678         (PTR_SUB): Ditto.
20680 2014-05-07  Andreas Schwab  <schwab@suse.de>
20682         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20683         when skipping over non-matching result from nscd.
20685 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20687         [BZ #16876]
20688         * nptl/sockperf.c (client): Check socket return value.
20690         [BZ #16877]
20691         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20692         nscd security class.
20694 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20696         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20697         * sysdeps/arm/unwind.h: ... here.
20699 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20701         [BZ# 16916]
20702         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20703         Define.
20705 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20707         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20708         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20709         multiarch strncpy for PPC64.
20710         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20711         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20713         multiarch optimizations.
20714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20715         (__libc_ifunc_impl_list): Likewise.
20716         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20717         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20718         multiarch stpncpy for PPC64.
20719         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20720         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20722 2014-05-06  Andreas Schwab  <schwab@suse.de>
20724         [BZ #16912]
20725         * gmon/mcount.c (_MCOUNT_DECL): Use
20726         atomic_compare_and_exchange_bool_acq instead of
20727         catomic_compare_and_exchange_bool_acq.
20729 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20731         * elf/Makefile (others, install-bin): Remove pldd.
20732         (pldd-modules): Variable removed.
20733         ($(objpfx)pldd): Target removed.
20734         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20735         (others, install-bin): Append pldd here.
20736         ($(objpfx)pldd): New target.
20738         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20739         to 0, so the first #if test emitted later doesn't see it undefined.
20740         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20741         * sysdeps/gnu/errlist.c: Regenerated.
20743 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20745         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20746         [libc_hidden_builtin_def]: Define to empty value.
20747         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20748         [libc_hidden_builtin_def]: Likewise.
20749         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20750         [libc_hidden_builtin_def]: Likewise.
20751         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20752         [libc_hidden_builtin_def]: Likewise.
20753         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20754         __redirect_memcpy and define ifunc as default hidden symbol.
20755         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20756         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20758 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20760         * locale/iso-4217.def: Reintroduce XDR currency.
20762 2014-05-04  Allan McRae  <allan@archlinux.org>
20764         * po/eo.po: Update Esperanto translation from translation project.
20766 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20768         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20769         and FEATURE_INDEX_MAX to 1.
20770         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20772 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20774         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20775         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20776         * iconvdata/big5.c (ONE_DIRECTION): Define.
20777         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20778         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20779         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20780         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20781         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20782         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20783         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20784         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20785         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20786         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20787         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20788         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20789         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20790         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20791         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20792         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20793         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20794         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20795         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20796         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20797         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20798         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20799         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20800         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20801         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20802         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20803         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20804         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20805         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20806         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20807         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20808         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20809         * iconvdata/johab.c (ONE_DIRECTION): Define.
20810         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20811         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20812         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20813         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20814         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20815         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20816         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20817         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20818         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20819         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20821 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20823         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20824         (_IO_JUMPS_OFFSET): Define to 0.
20826         * nptl/sysdeps/pthread/bits/libc-lock.h
20827         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20828         (__libc_lock_define_initialized_recursive): Always define using
20829         initializer.  Modern compilers treat uninitialized (implicit zero) and
20830         explicit zero initializers the same (i.e. put the datum in bss).
20832 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20834         * nscd/nscd-client.h: Include <string.h>.
20836 2014-05-01  David S. Miller  <davem@davemloft.net>
20838         [BZ #16885]
20839         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20840         multiple zero bytes exist at the end of a string.
20841         Reported by Aurelien Jarno <aurelien@aurel32.net>
20843         * string/test-strcmp.c (check): Add explicit test for situations where
20844         there are multiple zero bytes after the first.
20846 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20848         [BZ #16890]
20849         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20850         when compiling wprintf.
20851         * stdio-common/tstdiomisc.c (t3): New function.
20852         (main): Call it.
20854 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20856         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20857         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20858         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20859         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20861 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20863         * stdlib/longlong.h: Updated from GCC.
20865 2014-05-01  Will Newton  <will.newton@linaro.org>
20866             Bernard Ogden  <bernie.ogden@linaro.org>
20868         * NEWS: Update fixed bug list.
20870         [BZ #15119]
20871         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20873 2014-04-30  David S. Miller  <davem@davemloft.net>
20875         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20876         (libc_feholdexcept_setround_sparc_ctx): New function.
20877         (libc_fesetenv_sparc_ctx): Likewise.
20878         (libc_feupdateenv_sparc_ctx): Likewise.
20879         (libc_feholdsetround_sparc_ctx): Likewise.
20880         (libc_feholdexcept_setround_ctx): Define.
20881         (libc_feholdexcept_setroundf_ctx): Likewise.
20882         (libc_feholdexcept_setroundl_ctx): Likewise.
20883         (libc_fesetenv_ctx): Likewise.
20884         (libc_fesetenvf_ctx): Likewise.
20885         (libc_fesetenvl_ctx): Likewise.
20886         (libc_feupdateenv_ctx): Likewise.
20887         (libc_feupdateenvf_ctx): Likewise.
20888         (libc_feupdateenvl_ctx): Likewise.
20889         (libc_feresetround_ctx): Likewise.
20890         (libc_feresetroundf_ctx): Likewise.
20891         (libc_feresetroundl_ctx): Likewise.
20892         (libc_feholdsetround_ctx): Likewise.
20893         (libc_feholdsetroundf_ctx): Likewise.
20894         (libc_feholdsetroundl_ctx): Likewise.
20896         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20897         with __USE_GNU instead of XOPEN cpp guards.
20899         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20900         0.
20902         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20903         with XOPEN cpp guards.
20905 2014-04-30  Julian Brown  <julian@codesourcery.com>
20907         [BZ #16888]
20908         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20909         handling.
20911 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20913         [BZ #9894]
20914         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20915         Change to 2.6.32.
20916         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20917         * sysdeps/unix/sysv/linux/configure: Regenerated.
20918         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20919         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20920         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20921         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20922         * README: Update reference to required Linux kernel version.
20923         * manual/install.texi (Linux): Update reference to required Linux
20924         kernel headers version.
20925         * INSTALL: Regenerated.
20927         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20928         header inclusion.
20929         [POSIX] (limits.h): Likewise.
20930         [POSIX] (math.h): Likewise.
20931         [POSIX] (sys/wait.h): Likewise.
20932         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20933         function.
20934         [POSIX] (stddef.h): Do not allow header inclusion.
20936 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20938         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20940 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20942         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20943         Return immediately after lll_futex_wake.
20945 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20947         [BZ #16791]
20948         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20949         structure.
20950         (datahead_init_pos): Call datahead_init_common early.
20951         (datahead_init_neg): Likewise.
20953         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20954         datahead_init_neg): New functions.
20955         * nscd/aicache.c (addhstaiX): Use them.
20956         * nscd/grpcache.c (cache_addgr): Likewise.
20957         * nscd/hstcache.c (cache_addhst): Likewise.
20958         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20959         * nscd/netgroupcache.c (do_notfound): Likewise.
20960         (addgetnetgrentX): Likewise.
20961         (addinnetgrX): Likewise.
20962         * nscd/pwdcache.c (cache_addpw): Likewise.
20963         * nscd/servicescache.c (cache_addserv): Likewise.
20965 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20966             Atsushi Onoe  <atsushi@onoe.org>
20968         [BZ #14308]
20969         [BZ #12994]
20970         [BZ #13651]
20971         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20972         one response is valid.
20973         * resolv/res_send.c (send_dg): Check for validity of other
20974         response if the current response is a referral.
20976 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20978         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20980 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20982         [BZ #16823]
20983         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20984         Always divide by positive zero when computing -Inf result.
20985         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20986         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20988 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20990         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20991         FPSCR if value do not change.
20992         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20993         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20994         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20995         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20996         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20997         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20998         function.
21000 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21002         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21003         * sysdeps/unix/sysv/linux/hppa: Move directory from
21004         ports/systeps/unix/sysv/linux/hppa.
21005         * README: Update listing for hppa-*-linux-gnu.
21007 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21009         [BZ #16754]
21010         * manual/stdio.texi (Hook functions): Fix types of stream hook
21011         functions.
21012         [BZ #16854]
21013         * socket/sys/socket.h: Fix typo in comment.
21015 2014-04-28  Wilco  <wdijkstr@arm.com>
21017         * sysdeps/arm/fenv_private.h: New file.
21018         * sysdeps/arm/math_private.h: New file.
21019         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21021 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21023         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21024         with __int128_t.
21025         (La_x86_64_retval): Likewise.
21027 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21029         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21030         fpsr if value didn't change.
21031         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21032         to fpcr if value didn't change.
21033         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21034         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21035         fpsr or fpcr if value didn't change.
21036         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21037         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21038         fpcr if value didn't change.
21039         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21040         to fpsr if value didn't change.
21042 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21044         * nptl/tst-sem3.c: Use test-skeleton.c
21045         (main): Rename to do_test.  Use return instead of
21046         exit.
21047         * nptl/tst-sem4.c: Use test-skeleton.c
21048         (main): Rename to do_test.
21050 2014-04-22  David S. Miller  <davem@davemloft.net>
21052         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21053         (struct sigaction): New struct member __glibc_reserved0, change
21054         type of sa_flags to int.
21056 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21058         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21059         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21061 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21063         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21064         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21066 2014-04-22  Will Newton  <will.newton@linaro.org>
21067             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21069         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21070         (__longjmp): Add longjmp and longjmp_target SystemTap
21071         probes.
21072         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21073         (__sigsetjmp): Add setjmp SystemTap probe.
21075 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21077         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21078         match manual order.
21080 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21082         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21084         * sysdeps/powerpc/fpu/fenv_private.h
21085         (libc_feholdexcept_setroundl_ctx): Define to
21086         libc_feholdexcept_setround_ppc_ctx.
21087         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21088         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21089         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21090         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21092 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21094         * sysdeps/aarch64/math-tests.h: New file.
21096 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21098         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21099         New.
21100         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21101         Check and set bit_AVX2_Usable.
21102         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21103         macro.
21104         (bit_AVX2): Likewise.
21105         (index_AVX2_Usable): Likewise.
21106         (CPUID_AVX2): Likewise.
21107         (HAS_AVX2): Likewise.
21109 2014-04-17  Will Newton  <will.newton@linaro.org>
21111         * manual/setjmp.texi (System V contexts): Add note that
21112         calling setcontext on a context created by a call to a
21113         signal handler is undefined.  Update text to note that
21114         setcontext from a signal handler is possible but not
21115         recommended.
21117         [BZ #16629]
21118         * stdlib/tst-setcontext.c: Include signal.h.
21119         (main): Check that the signal stack before and
21120         after swapcontext is the same.
21122         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21123         Re-implement to restore registers in user code and avoid
21124         rt_sigreturn system call.
21126 2014-04-17  Wilco  <wdijkstr@arm.com>
21128         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21129         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21130         * math/test-fenv.c: Skip exception trap tests on targets which only
21131         support non-stop mode.
21133 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21134             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21136         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21137         (libc_feholdsetround_aarch64_ctx)
21138         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21139         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21140         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21141         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21142         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21143         (libc_feresetround_noexl_ctx): Define.
21145 2014-04-16  Richard Henderson  <rth@redhat.com>
21147         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21149         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21150         unwind tables.
21152         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21153         const from the non-libc, non-ldso copy.
21155         * sysdeps/alpha/libm-test-ulps: Regenerate.
21157 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21158             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21160         * sysdeps/aarch64/fpu/math_private.h: New file.
21162 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21164         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21166 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21168         [BZ #16275]
21169         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21170         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21172         Intel MPX bound registers before _dl_profile_fixup.
21173         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21174         registers after _dl_profile_fixup.  Save and restore bound
21175         registers bnd0/bnd1 when calling _dl_call_pltexit.
21176         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21177         (LR_BND_OFFSET): Likewise.
21178         (LRV_BND0_OFFSET): Likewise.
21179         (LRV_BND1_OFFSET): Likewise.
21181 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21183         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21184         to...
21185         * sysdeps/mach/hurd/i386/tls.h: ... here.
21186         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21187         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21188         fields.
21190 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21192         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21194 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21196         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21198 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21200         [BZ #14770]
21201         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21202         * sysdeps/s390/configure: Regenerate.
21204         [BZ #16824]
21205         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21206         Set round-to-nearest internally to reduce error accumulation.
21208 2014-04-16  Alan Modra  <amodra@gmail.com>
21210         [BZ #16740]
21211         [BZ #16619]
21212         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21213         * math/libm-test.inc (frexp_test_data): Add tests.
21214         * NEWS: Update fixed bug list.
21216 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21218         * benchtests/Makefile: Depend on libraries in build directory.
21219         (bench-math): Separate out math tests.
21220         (bench-pthread): Separate out pthread tests.
21221         (bench): Include math and pthread tests.
21223 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21225         [BZ #16831]
21226         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21227         _dl_debug_initialize.
21229         * configure.ac: Remove SELinux header check.
21230         * configure: Regenerate.
21231         * nscd/selinux.c (perms): Array of const char* to permission names.
21232         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21233         default policy. Call string_to_security_class and string_to_av_perm to
21234         translate strings. Enforce default policy and call avs_has_perm with
21235         results of translated strings.
21237 2014-04-13  David S. Miller  <davem@davemloft.net>
21239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21241 2014-04-12  Allan McRae  <allan@archlinux.org>
21243         [BZ #16838]
21244         * manual/string.texi (Collation Functions): Fix qsort argument
21245         order in example.
21246         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21248 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21250         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21251         Make the test a no-op if there are no exceptions defined.
21253 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21255         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21256         enable-hardcoded-path-in-tests
21258 2014-04-11  Will Newton  <will.newton@linaro.org>
21260         * benchtests/Makefile (extra-objs): Add json-lib.o.
21261         (bench-func): Tidy up JSON output.
21262         * benchtests/bench-skeleton.c: Include json-lib.h.
21263         (main): Use JSON library functions to do output of
21264         benchmark results.
21265         * benchtests/bench-timing-type.c (main): Output the
21266         timing type simply, leaving formatting to the user.
21267         * benchtests/json-lib.c: New file.
21268         * benchtests/json-lib.h: Likewise.
21270 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21272         [BZ #15215]
21273         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21274         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21275         memory barriers.  Add comments.
21276         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21277         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21278         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21279         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21280         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21281         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21283 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21285         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21286         * sysdeps/s390/s390-64/configure.ac: ... this ...
21287         * sysdeps/s390/configure.ac: ... to here.
21288         * sysdeps/s390/s390-32/configure: Delete file.
21289         * sysdeps/s390/s390-64/configure: Delete file.
21290         * sysdeps/s390/configure: Regenerate.
21292 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21294         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21296 2014-04-11  Will Newton  <will.newton@linaro.org>
21298         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21299         to zero if it is not defined elsewhere.  (mtrim): Test
21300         the value of MALLOC_DEBUG with #if rather than #ifdef.
21302 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21304         * benchtests/pthread_once-inputs: New file.
21305         * benchtests/pthread_once-source.c: New file.
21306         * benchtests/README: Update documentation.
21308 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21309             H.J. Lu  <hongjiu.lu@intel.com>
21311         [BZ #16275]
21312         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21313         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21314         * sysdeps/x86_64/configure: Regenerated.
21315         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21316         macro.
21317         (REGISTER_SAVE_RAX): Likewise.
21318         (REGISTER_SAVE_RCX): Likewise.
21319         (REGISTER_SAVE_RDX): Likewise.
21320         (REGISTER_SAVE_RSI): Likewise.
21321         (REGISTER_SAVE_RDI): Likewise.
21322         (REGISTER_SAVE_R8): Likewise.
21323         (REGISTER_SAVE_R9): Likewise.
21324         (REGISTER_SAVE_BND0): Likewise.
21325         (REGISTER_SAVE_BND1): Likewise.
21326         (REGISTER_SAVE_BND2): Likewise.
21327         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21328         bound registers when calling _dl_fixup.
21330 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21332         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21333         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21334         of its definition.
21335         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21336         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21337         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21338         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21339         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21340         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21341         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21343 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21345         [BZ #15514]
21346         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21347         pathconf(_PC_NAME_MAX).
21349 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21351         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21352         Remove macro usage.
21353         (__PTHREAD_SPINS): Move definition to ...
21354         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21355         (__PTHREAD_SPINS): ... here.
21356         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21357         (__PTHREAD_SPIN): Likewise.
21358         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21359         (__PTHREAD_SPIN): Likewise.
21360         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21361         (__PTHREAD_SPIN): Likewise.
21362         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21363         (__PTHREAD_SPIN): Likewise.
21364         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21365         (__PTHREAD_SPIN): Likewise.
21366         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21367         (__PTHREAD_SPIN): Likewise.
21368         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21369         (__PTHREAD_SPIN): Likewise.
21370         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21371         (__PTHREAD_SPIN): Likewise.
21372         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21373         (__PTHREAD_SPIN): Likewise.
21374         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21375         (__PTHREAD_SPIN): Likewise.
21376         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21377         (__PTHREAD_SPIN): Likewise.
21378         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21379         (__PTHREAD_SPIN): Likewise.
21381         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21382         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21383         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21384         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21385         imply folder.
21386         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21387         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21388         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21389         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21390         correct imply path.
21391         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21392         strlen symbol for non multi-arch builds.
21393         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21394         missing hidden_def and weak_alias.
21396 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21398         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21400 2014-04-07  Will Newton  <will.newton@linaro.org>
21402         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21403         and contents.  [!_LIBC] Remove #ifndef and contents.
21404         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21405         * string/memccpy.c (__memccpy): Use ANSI prototype.
21406         * string/memfrob.c (memfrob): Likewise.
21407         * string/strcoll.c (STRCOLL): Likewise.
21408         * string/strlen.c (strlen): Likewise.
21409         * string/strtok.c (STRTOK): Likewise.
21410         * string/strcat.c: Remove unused #include of memcopy.h.
21411         (strcat): Use ANSI prototype.
21412         * string/strchr.c: Remove unused #include of memcopy.h.
21413         (strchr): Use ANSI prototype.
21414         * string/strcmp.c: Remove unused #include of memcopy.h.
21415         (strcmp): Use ANSI prototype.
21416         * string/strcpy.c: Remove unused #include of memcopy.h.
21417         (strcpy): Use ANSI prototype.
21419 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21421         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21422         * config.make.in (config-extra-cppflags): Set it from
21423         libc_extra_cppflags.
21424         * configure.ac (libc_extra_cflags): Make it accumulate over
21425         configure fragments.
21426         (libc_extra_cppflags): New flag.
21427         * configure. Regenerate.
21428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21429         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21430         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21433         [BZ #16815]
21434         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21435         result for FE_DOWNWARD rounding mode.
21436         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21437         Likewise.
21438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21440 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21442         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21443         in function argument name.
21445 2014-04-03  David Svoboda  <svoboda@cert.org>
21447         [BZ #5666]
21448         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21449         explicitly.
21451 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21453         * elf/dl-unmap-segments.h: New file.
21454         * sysdeps/generic/ldsodefs.h
21455         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21456         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21457         * elf/dl-fptr.c: Likewise.
21458         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21459         * sysdeps/aarch64/tlsdesc.c: Likewise.
21460         * sysdeps/arm/tlsdesc.c: Likewise.
21461         * sysdeps/i386/tlsdesc.c: Likewise.
21462         * sysdeps/tile/dl-runtime.c: Likewise.
21463         * sysdeps/x86_64/tlsdesc.c: Likewise.
21464         * elf/dl-load.h: New file.
21465         * elf/dl-load.c: Include it.
21466         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21467         Macros moved to dl-load.h.
21468         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21469         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21470         Use _dl_unmap_segments in place of __munmap.
21471         Break out segment-mapping loop into ...
21472         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21474 2014-04-03  Will Newton  <will.newton@linaro.org>
21476         * elf/dl-lookup.c (do_lookup_x): Remove comment
21477         referring to nested function and move variable
21478         declarations down to before first use.
21480 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21482         [BZ #16799]
21483         [BZ #16800]
21484         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21485         with 0 numerator.
21486         * math/s_catanf.c (__catanf): Likewise.
21487         * math/s_catanh.c (__catanh): Likewise.
21488         * math/s_catanhf.c (__catanhf): Likewise.
21489         * math/s_catanhl.c (__catanhl): Likewise.
21490         * math/s_catanl.c (__catanl): Likewise.
21491         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21492         by positive zero when computing -Inf result.
21493         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21494         (catanh_test): Likewise.
21495         * sysdeps/i386/fpu/libm-test-ulps: Update.
21496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21498         [BZ #16789]
21499         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21500         instead of using underflowing value in computing result.
21501         * math/s_clog10.c (__clog10): Likewise.
21502         * math/s_clog10f.c (__clog10f): Likewise.
21503         * math/s_clog10l.c (__clog10l): Likewise.
21504         * math/s_clogf.c (__clogf): Likewise.
21505         * math/s_clogl.c (__clogl): Likewise.
21506         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21507         (clog10_test): Likewise.
21508         * sysdeps/i386/fpu/libm-test-ulps: Update.
21509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21511 2014-04-02  Alan Modra  <amodra@gmail.com>
21513         [BZ #16739]
21514         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21515         output when value is near a power of two.  Use int64_t for lx and
21516         remove casts.  Use decimal rather than hex exponent constants.
21517         Don't use long double multiplication when double will suffice.
21518         * math/libm-test.inc (nextafter_test_data): Add tests.
21519         * NEWS: Add 16739 and 16786 to bug list.
21521         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21523         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21525 2014-04-01  Will Newton  <will.newton@linaro.org>
21527         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21528         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21530 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21532         [BZ #13347]
21533         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21534         * nptl/tst-setuid2.c: New file.
21535         * nptl/Makefile (xtests): Add tst-setuid2.
21537 2014-04-01  Alan Modra  <amodra@gmail.com>
21539         [BZ #16786]
21540         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21542 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21544         [BZ #6803]
21545         [BZ #6804]
21546         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21547         set errno as appropriate.
21548         * math/w_scalbf.c (__scalbf): Likewise.
21549         * math/w_scalbl.c (__scalbl): Likewise.
21550         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21551         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21552         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21553         Add more NaN tests.
21555         [BZ #16349]
21556         * math/w_atan2.c: Include <errno.h>.
21557         (__atan2): Set errno for result underflowing to zero.
21558         * math/w_atan2f.c: Include <errno.h>.
21559         (__atan2f): Set errno for result underflowing to zero.
21560         * math/w_atan2l.c: Include <errno.h>.
21561         (__atan2l): Set errno for result underflowing to zero.
21562         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21563         tests.
21564         * math/auto-libm-test-out: Regenerated.
21566 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21568         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21569         Encode instruction correctly in little endian.
21570         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21571         Likewise.
21572         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21573         Likewise.
21574         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21575         Likewise.
21576         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21577         Likewise.
21579 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21581         [BZ #9894]
21582         * sysdeps/unix/sysv/linux/kernel-features.h
21583         [__sparc__ && !__arch64__ && !__sparc_v9__]
21584         (__ASSUME_SET_ROBUST_LIST): Do not define.
21585         [__sparc__ && !__arch64__ && !__sparc_v9__]
21586         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21587         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21588         Likewise.
21589         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21590         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21591         (__ASSUME_REQUEUE_PI): Likewise.
21592         (__ASSUME_SET_ROBUST_LIST): Likewise.
21593         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21594         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21595         Undefine.
21596         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21597         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21598         Likewise.
21599         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21600         Likewise.
21601         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21602         Likewise.
21603         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21604         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21605         Undefine.
21606         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21607         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21608         Likewise.
21610         [BZ #16648]
21611         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21612         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21613         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21615 2014-03-31  Will Newton  <will.newton@linaro.org>
21617         * benchtests/Makefile (bench): Add ffs and ffsll to list
21618         of tests.
21619         * benchtests/ffs-inputs: New file.
21620         * benchtests/ffsll-inputs: Likewise.
21622 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21624         [BZ #16770]
21625         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21626         too large before casting to int.
21627         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21628         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21629         * math/libm-test.inc (scalb_test_data): Add more tests.
21631 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21633         * benchtests/Makefile (DETAILED_OPT): New make option.
21634         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21635         set.
21636         * benchtests/bench-skeleton.c: Include stdbool.h.
21637         (main): Store and print timings per input.
21638         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21639         member to each argument value.
21640         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21641         (_print_arg_data): Initialize per-input timing to 0.
21643         * benchtests/Makefile (timing-type): New binary.
21644         (bench-clean): Also remove bench-timing-type.
21645         (bench): New target for timing-type.
21646         (bench-func): Print output in JSON format.
21647         * benchtests/bench-skeleton.c (main): Print output in JSON
21648         format.
21649         * benchtests/bench-timing-type.c: New file.
21650         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21651         (TIMING_PRINT_STATS): Remove.
21652         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21653         name separately.
21655         * benchtests/bench-modf.c: Remove.
21656         * benchtests/modf-inputs: New inputs file.
21658 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21660         [BZ #16362]
21661         * math/s_clog10.c (M_PI_LOG10E): New macro.
21662         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21663         imaginary parts are 0.
21664         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21665         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21666         imaginary parts are 0.
21667         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21668         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21669         imaginary parts are 0.
21670         * math/libm-test.inc (clog10_test_data): Update expected results
21671         for when real and imaginary parts are 0.
21673 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21675         * elf/dl-load.c: Finish conversion of __builtin_expect into
21676         __glibc_{un}likely.
21678 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21680         [BZ #16348]
21681         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21682         1+x for argument with exponent below -67.
21683         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21684         Likewise.
21685         * math/auto-libm-test-in: Add more tests of exp.
21686         * math/auto-libm-test-out: Regenerated.
21688 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21690         [BZ #16759]
21691         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21692         (nscd_getnetgrent): Use it.
21694         [BZ #16760]
21695         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21696         of stpcpy.
21698 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21700         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21701         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21702         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21703         (lll_robust_unlock): Remove out of line section. Use cfi
21704         intrinsics.
21705         (LLL_STUB_UNWIND_INFO*): Remove.
21706         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21707         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21708         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21709         (lll_robust_unlock): Remove out of line section. Use cfi
21710         intrinsics.
21711         (LLL_STUB_UNWIND_INFO*): Remove.
21713 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21715         [BZ #16758]
21716         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21717         blank values.
21719 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21721         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21723 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21725         [BZ #16198]
21726         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21727         fnstenv.
21728         * math/test-fenv-preserve.c: New file.
21729         * math/Makefile (tests): Add test-fenv-preserve.
21731 2014-03-26  Will Newton <will.newton@linaro.org>
21733         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21735 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21737         * scripts/versionlist.awk: Partition the version sets and emit all
21738         GLIBC_* (sorted) before all others (sorted).
21740 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21742         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21743         GLIBC_2.2.5 version.
21745 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21747         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21748         calls.
21750         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21751         previous change.
21753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21755 2014-03-25  Andreas Schwab  <schwab@suse.de>
21757         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21758         label to be used after in6ailist is initialized.
21760 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21762         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21763         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21765 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21767         [BZ #16357]
21768         [BZ #16599]
21769         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21770         min_plus_half.
21771         (fp_formats): Update initializers.
21772         (init_fp_formats): Initialize new field.
21773         (output_for_one_input_case): Allow underflow for results up to
21774         min_plus_half.
21775         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21776         * math/auto-libm-test-in: Don't mark some underflows from asin and
21777         atanh as spurious.
21778         * math/auto-libm-test-out: Regenerated.
21779         * sysdeps/i386/fpu/libm-test-ulps: Update.
21780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21782 2014-03-25  Andreas Schwab  <schwab@suse.de>
21784         * libio/Makefile (tst-ftell-partial-wide-ENV)
21785         (tst-ftell-active-handler-ENV): Define.
21787 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21789         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21791 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21793         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21795 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21797         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21798         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21799         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21801 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21803         [BZ #16634]
21804         * elf/dl-load.c (open_verify): Add mode parameter.
21805         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21806         (open_path): Change from boolean 'secure' to complete flag 'mode'
21807         (_dl_map_object): Adjust.
21808         * elf/Makefile (tests): Add tst-dlopen-aout.
21809         * elf/tst-dlopen-aout.c: New test.
21811 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21813         [BZ #16714]
21814         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21815         (struct stat): Rename member pad0 to __glibc_reserved0.
21817         [BZ #16712]
21818         * sysdeps/s390/s390-32/bits/wordsize.h
21819         (__WORDSIZE32_SIZE_ULONG): New define.
21820         * sysdeps/s390/s390-64/bits/wordsize.h
21821         (__WORDSIZE32_SIZE_ULONG): Likewise.
21822         * sysdeps/generic/stdint.h (SIZE_MAX):
21823         Define as UL if __WORDSIZE32_SIZE_ULONG.
21825         [BZ #16713]
21826         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21827         (__glibc_reserved0): New variable.
21828         (sa_flags): Change type to int.
21830         * posix/Makefile (before-compile): Use += before-compile instead
21831         of a :=.
21833         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21834         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21836 2014-03-20  Andreas Schwab  <schwab@suse.de>
21838         [BZ #16743]
21839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21840         non-matching result from nscd.
21842 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21844         * scripts/bench.py: Moved to ...
21845         * benchtests/scripts/bench.py: ... here.
21846         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21848 2014-03-24  Andreas Schwab  <schwab@suse.de>
21850         [BZ #16002]
21851         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21852         alloca_account and account alloca use for struct in6ailist.
21854 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21856         [BZ #16284]
21857         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21858         rounding mode to recompute results that overflow to infinity or
21859         underflow to zero.
21860         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21861         bug 16284.
21862         * math/auto-libm-test-out: Regenerated.
21863         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21864         (ccosh_test): Likewise.
21865         (csin_test_data): Use plus_oflow.
21866         (csin_test): Use ALL_RM_TEST.
21867         (csinh_test_data): Use plus_oflow.
21868         (csinh_test): Use ALL_RM_TEST.
21869         * sysdeps/i386/fpu/libm-test-ulps: Update.
21870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21872 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21874         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21875         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21876         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21878         [BZ #16731]
21879         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21880         when x - 1 is zero.
21881         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21882         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21883         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21884         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21885         argument is 1.
21886         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21887         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21888         zero.
21889         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21890         * sysdeps/i386/fpu/libm-test-ulps: Update.
21891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21893 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21895         * scripts/bench.pl: Remove file.
21896         * scripts/bench.py: New benchmark script.
21897         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21898         * benchtests/README: Mention python dependency.
21899         * scripts/pylintrc: New file.
21900         * scripts/pylint: New file.
21902         * bits/mathdef.h: Use #ifdef instead of #if.
21903         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21904         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21905         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21906         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21907         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21908         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21910 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21911             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21913         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21915         and strpbrk-ppc64 objects.
21916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21917         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21918         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21919         multiarch strpbrk for POWER7.
21920         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21921         multiarch strpbrk for PPC64.
21922         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21923         ifunc selector.
21924         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21925         strpbrk for POWER7.
21927 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21929         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21930         (atan_test): Likewise.
21931         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21932         (atanh_test): Use ALL_RM_TEST.
21933         (atan2_test_data): Likewise.
21934         (cabs_test): Likewise.
21935         (cacosh_test): Likewise.
21936         (carg_test): Likewise.
21937         (casin_test): Likewise.
21938         (casinh_test): Likewise.
21939         (cbrt_test): Likewise.
21940         (csqrt_test): Likewise.
21941         (erf_test): Likewise.
21942         (erfc_test): Likewise.
21943         (pow10_test): Likewise.
21944         (exp2_test): Likewise.
21945         (hypot_test): Likewise.
21946         (j0_test): Likewise.
21947         (j1_test): Likewise.
21948         (lgamma_test): Likewise.
21949         (gamma_test): Likewise.
21950         (sincos_test): Likewise.
21951         (tanh_test): Likewise.
21952         (y0_test): Likewise.
21953         (y1_test): Likewise.
21954         * sysdeps/i386/fpu/libm-test-ulps: Update.
21955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21957 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21959         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21961         and strcspn-ppc64 objects.
21962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21963         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21964         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21965         multiarch strcspn for POWER7.
21966         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21967         multiarch strcspn for PPC64.
21968         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21969         ifunc selector.
21970         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21971         strcspn for POWER7.
21973 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21975         * math/gen-libm-test.pl (generate_testfile): Expect only function
21976         name as argument to AUTO_TESTS_* and pass results for all rounding
21977         modes to parse_args.
21978         (parse_auto_input): Separate inputs of automatic tests from
21979         outputs before storing in %auto_tests.
21980         * math/libm-test.inc (acos_test_data): Update call to
21981         AUTO_TESTS_f_f.
21982         (acos_test): Use ALL_RM_TEST.
21983         (acos_tonearest_test_data): Remove.
21984         (acos_test_tonearest): Likewise.
21985         (acos_towardzero_test_data): Likewise.
21986         (acos_test_towardzero): Likewise.
21987         (acos_downward_test_data): Likewise.
21988         (acos_test_downward): Likewise.
21989         (acos_upward_test_data): Likewise.
21990         (acos_test_upward): Likewise.
21991         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21992         (asin_test_data): Likewise.
21993         (asin_test): Use ALL_RM_TEST.
21994         (asin_tonearest_test_data): Remove.
21995         (asin_test_tonearest): Likewise.
21996         (asin_towardzero_test_data): Likewise.
21997         (asin_test_towardzero): Likewise.
21998         (asin_downward_test_data): Likewise.
21999         (asin_test_downward): Likewise.
22000         (asin_upward_test_data): Likewise.
22001         (asin_test_upward): Likewise.
22002         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22003         (atan_test_data): Likewise.
22004         (atanh_test_data): Likewise.
22005         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22006         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22007         (carg_test_data): Likewise.
22008         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22009         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22010         (ccosh_test_data): Likewise.
22011         (cexp_test_data): Likewise.
22012         (clog_test_data): Likewise.
22013         (clog10_test_data): Likewise.
22014         (cos_test_data): Update call to AUTO_TESTS_f_f.
22015         (cos_test): Use ALL_RM_TEST.
22016         (cos_tonearest_test_data): Remove.
22017         (cos_test_tonearest): Likewise.
22018         (cos_towardzero_test_data): Likewise.
22019         (cos_test_towardzero): Likewise.
22020         (cos_downward_test_data): Likewise.
22021         (cos_test_downward): Likewise.
22022         (cos_upward_test_data): Likewise.
22023         (cos_test_upward): Likewise.
22024         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22025         (cosh_test): Use ALL_RM_TEST.
22026         (cosh_tonearest_test_data): Remove.
22027         (cosh_test_tonearest): Likewise.
22028         (cosh_towardzero_test_data): Likewise.
22029         (cosh_test_towardzero): Likewise.
22030         (cosh_downward_test_data): Likewise.
22031         (cosh_test_downward): Likewise.
22032         (cosh_upward_test_data): Likewise.
22033         (cosh_test_upward): Likewise.
22034         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22035         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22036         (ctan_test_data): Likewise.
22037         (ctan_test): Use ALL_RM_TEST.
22038         (ctan_tonearest_test_data): Remove.
22039         (ctan_test_tonearest): Likewise.
22040         (ctan_towardzero_test_data): Likewise.
22041         (ctan_test_towardzero): Likewise.
22042         (ctan_downward_test_data): Likewise.
22043         (ctan_test_downward): Likewise.
22044         (ctan_upward_test_data): Likewise.
22045         (ctan_test_upward): Likewise.
22046         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22047         (ctanh_test): Use ALL_RM_TEST.
22048         (ctanh_tonearest_test_data): Remove.
22049         (ctanh_test_tonearest): Likewise.
22050         (ctanh_towardzero_test_data): Likewise.
22051         (ctanh_test_towardzero): Likewise.
22052         (ctanh_downward_test_data): Likewise.
22053         (ctanh_test_downward): Likewise.
22054         (ctanh_upward_test_data): Likewise.
22055         (ctanh_test_upward): Likewise.
22056         (erf_test_data): Update call to AUTO_TESTS_f_f.
22057         (erfc_test_data): Likewise.
22058         (exp_test_data): Likewise.
22059         (exp_test): Use ALL_RM_TEST.
22060         (exp_tonearest_test_data): Remove.
22061         (exp_test_tonearest): Likewise.
22062         (exp_towardzero_test_data): Likewise.
22063         (exp_test_towardzero): Likewise.
22064         (exp_downward_test_data): Likewise.
22065         (exp_test_downward): Likewise.
22066         (exp_upward_test_data): Likewise.
22067         (exp_test_upward): Likewise.
22068         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22069         (exp10_test): Use ALL_RM_TEST.
22070         (exp10_tonearest_test_data): Remove.
22071         (exp10_test_tonearest): Likewise.
22072         (exp10_towardzero_test_data): Likewise.
22073         (exp10_test_towardzero): Likewise.
22074         (exp10_downward_test_data): Likewise.
22075         (exp10_test_downward): Likewise.
22076         (exp10_upward_test_data): Likewise.
22077         (exp10_test_upward): Likewise.
22078         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22079         (expm1_test_data): Likewise.
22080         (expm1_test): Use ALL_RM_TEST.
22081         (expm1_tonearest_test_data): Remove.
22082         (expm1_test_tonearest): Likewise.
22083         (expm1_towardzero_test_data): Likewise.
22084         (expm1_test_towardzero): Likewise.
22085         (expm1_downward_test_data): Likewise.
22086         (expm1_test_downward): Likewise.
22087         (expm1_upward_test_data): Likewise.
22088         (expm1_test_upward): Likewise.
22089         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22090         (fma_test): Use ALL_RM_TEST.
22091         (fma_towardzero_test_data): Remove.
22092         (fma_test_towardzero): Likewise.
22093         (fma_downward_test_data): Likewise.
22094         (fma_test_downward): Likewise.
22095         (fma_upward_test_data): Likewise.
22096         (fma_test_upward): Likewise.
22097         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22098         (j0_test_data): Update call to AUTO_TESTS_f_f.
22099         (j1_test_data): Likewise.
22100         (jn_test_data): Update call to AUTO_TESTS_if_f.
22101         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22102         (log_test_data): Update call to AUTO_TESTS_f_f.
22103         (log10_test_data): Likewise.
22104         (log1p_test_data): Likewise.
22105         (log2_test_data): Likewise.
22106         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22107         (pow_tonearest_test_data): Likewise.
22108         (sin_test_data): Update call to AUTO_TESTS_f_f.
22109         (sin_test): Use ALL_RM_TEST.
22110         (sin_tonearest_test_data): Remove.
22111         (sin_test_tonearest): Likewise.
22112         (sin_towardzero_test_data): Likewise.
22113         (sin_test_towardzero): Likewise.
22114         (sin_downward_test_data): Likewise.
22115         (sin_test_downward): Likewise.
22116         (sin_upward_test_data): Likewise.
22117         (sin_test_upward): Likewise.
22118         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22119         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22120         (sinh_test): Use ALL_RM_TEST.
22121         (sinh_tonearest_test_data): Remove.
22122         (sinh_test_tonearest): Likewise.
22123         (sinh_towardzero_test_data): Likewise.
22124         (sinh_test_towardzero): Likewise.
22125         (sinh_downward_test_data): Likewise.
22126         (sinh_test_downward): Likewise.
22127         (sinh_upward_test_data): Likewise.
22128         (sinh_test_upward): Likewise.
22129         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22130         (sqrt_test): Use ALL_RM_TEST.
22131         (sqrt_tonearest_test_data): Remove.
22132         (sqrt_test_tonearest): Likewise.
22133         (sqrt_towardzero_test_data): Likewise.
22134         (sqrt_test_towardzero): Likewise.
22135         (sqrt_downward_test_data): Likewise.
22136         (sqrt_test_downward): Likewise.
22137         (sqrt_upward_test_data): Likewise.
22138         (sqrt_test_upward): Likewise.
22139         (tan_test_data): Update call to AUTO_TESTS_f_f.
22140         (tan_test): Use ALL_RM_TEST.
22141         (tan_tonearest_test_data): Remove.
22142         (tan_test_tonearest): Likewise.
22143         (tan_towardzero_test_data): Likewise.
22144         (tan_test_towardzero): Likewise.
22145         (tan_downward_test_data): Likewise.
22146         (tan_test_downward): Likewise.
22147         (tan_upward_test_data): Likewise.
22148         (tan_test_upward): Likewise.
22149         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22150         (tgamma_test_data): Likewise.
22151         (y0_test_data): Likewise.
22152         (y1_test_data): Likewise.
22153         (yn_test_data): Update call to AUTO_TESTS_if_f.
22154         (main): Do not call removed functions.
22156 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22158         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22159         (ldexp_test_data): Remove.
22160         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22161         scalbn_test_data.
22162         (scalb_test): Use ALL_RM_TEST.
22164 2014-03-19  Andreas Schwab  <schwab@suse.de>
22166         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22168 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22170         [BZ #16649]
22171         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22172         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22173         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22174         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22175         (__ASSUME_PREADV): Undefine.
22176         (__ASSUME_PWRITEV): Likewise.
22178 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22180         * bits/mman-linux.h: Add comment about non-Linux use.
22181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22182         bits/mman-linux.h resting place.
22184         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22185         * bits/mman-linux.h: ... here.
22187 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22189         * conform/conformtest.pl: Add standard definition when calling C
22190         preprocessor on data files.
22191         (checknamespace): Remove unused variable.
22193 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22195         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22196         minus_oflow, plus_uflow and minus_uflow in expected results.
22197         * math/libm-test.inc (scalbn_test_data): Add more tests of
22198         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22199         minus_uflow.
22200         (scalbn_test): Use ALL_RM_TEST.
22201         (scalbln_test_data): Add more tests of negative arguments.  Use
22202         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22203         (scalbln_test): Use ALL_RM_TEST.
22205 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22207         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22209 2014-03-18  Will Newton  <will.newton@linaro.org>
22211         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22212         inaccurate comment.
22214 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22216         * Makerules [!subdir] (check-abi): Exit with error status if a
22217         test failed.
22219 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22221         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22222         for rint.  Include results for all rounding modes.
22223         (nearbyint_test): Use ALL_RM_TEST.
22224         (rint_test_data): Include all tests used for nearbyint.
22226 2014-03-17  Will Newton  <will.newton@linaro.org>
22228         * nptl/sysdeps/pthread/pthread.h: Revert previous
22229         change.
22231         * sysdeps/generic/ldsodefs.h: Revert previous
22232         change.
22234         * libio/genops.c: Revert previous change.
22235         * libio/libioP.h: Likewise.
22236         * stdio-common/vfprintf.c: Likewise.
22238         * sysdeps/generic/math_private.h: Revert previous
22239         change.
22241         * sysdeps/generic/math_private.h: Check whether
22242         HAVE_RM_CTX is defined with #ifdef rather
22243         than #if.
22245         * argp/argp-fmtstream.h: Check whether
22246         __STRICT_ANSI__ is defined with #ifdef rather
22247         than #if.
22248         * argp/argp.h: Likewise.
22250         * libio/genops.c: Check whether
22251         _IO_JUMPS_OFFSET is defined with #ifdef rather
22252         than #if.
22253         * libio/libioP.h: Likewise.
22254         * stdio-common/vfprintf.c: Likewise.
22256         * sysdeps/generic/ldsodefs.h: Check whether
22257         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22258         than #if.
22260         * nptl/sysdeps/pthread/pthread.h: Check
22261         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22262         its value.
22264 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22266         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22267         setting O_APPEND.
22268         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22269         test case.
22271         [BZ #16680]
22272         * libio/fileops.c (_IO_file_open): Seek to end of file but
22273         don't cache the offset.
22274         (get_file_offset): Remove function.
22275         (do_ftell): Use cached offset when available.
22276         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22277         don't cache the offset.
22278         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22279         case.
22280         (do_one_test): Call it.
22281         (do_ftell_test): Fix up expected old offset for a+ mode.
22282         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22283         available.
22285         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22286         up test status with function return status.
22287         (do_write_test): Likewise.
22288         (do_append_test): Likewise.
22290         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22291         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22292         Remove.
22294 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22296         * math/gen-libm-test.pl (parse_args): Handle results specified for
22297         each rounding mode separately.
22298         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22299         tests and results from lrint_tonearest_test_data,
22300         lrint_towardzero_test_data, lrint_downward_test_data and
22301         lrint_upward_test_data.
22302         (lrint_test): Use ALL_RM_TEST.
22303         (lrint_tonearest_test_data): Remove.
22304         (lrint_test_tonearest): Likewise.
22305         (lrint_towardzero_test_data): Likewise.
22306         (lrint_test_towardzero): Likewise.
22307         (lrint_downward_test_data): Likewise.
22308         (lrint_test_downward): Likewise.
22309         (lrint_upward_test_data): Likewise.
22310         (lrint_test_upward): Likewise.
22311         (llrint_test_data): Merge in per-rounding-mode tests and results
22312         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22313         llrint_downward_test_data and llrint_upward_test_data.
22314         (llrint_test): Use ALL_RM_TEST.
22315         (llrint_tonearest_test_data): Remove.
22316         (llrint_test_tonearest): Likewise.
22317         (llrint_towardzero_test_data): Likewise.
22318         (llrint_test_towardzero): Likewise.
22319         (llrint_downward_test_data): Likewise.
22320         (llrint_test_downward): Likewise.
22321         (llrint_upward_test_data): Likewise.
22322         (llrint_test_upward): Likewise.
22323         (rint_test_data): Merge in per-rounding-mode tests and results
22324         from rint_tonearest_test_data, rint_towardzero_test_data,
22325         rint_downward_test_data and rint_upward_test_data.  Add
22326         per-rounding-mode results for tests not in those arrays.
22327         (rint_test): Use ALL_RM_TEST.
22328         (rint_tonearest_test_data): Remove.
22329         (rint_test_tonearest): Likewise.
22330         (rint_towardzero_test_data): Likewise.
22331         (rint_test_towardzero): Likewise.
22332         (rint_downward_test_data): Likewise.
22333         (rint_test_downward): Likewise.
22334         (rint_upward_test_data): Likewise.
22335         (rint_test_upward): Likewise.
22336         (main): Don't call removed functions.
22338 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22340         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22341         "Compiled on ..." crapola.  It is anti-useful.
22343 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22345         * scripts/evaluate-test.sh: Handle fourth argument to determine
22346         whether test run should stop on failure.
22347         * Makeconfig (stop-on-test-failure): New variable.
22348         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22349         $(stop-on-test-failure).
22350         * Makefile (tests): Give a summary of results from testing and
22351         exit with failure status if they include an ERROR or FAIL.
22352         (xtests): Likewise.
22353         * manual/install.texi (Configuring and compiling): Mention
22354         stop-on-test-failure=y.
22355         * INSTALL: Regenerated.
22357 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22359         * scripts/versionlist.awk: New file.
22360         * Makerules [$(build-shared) = yes]
22361         (postclean-generated): Add Versions.def, not Versions.def.v and
22362         Versions.def.v.i.
22363         ($(common-objpfx)Versions.def.v.i): Target removed.
22364         ($(common-objpfx)Versions.def): New target.
22365         ($(common-objpfx)Versions.all): Depend on that rather that
22366         $(common-objpfx)Versions.def.v.
22367         * Versions.def: File removed.
22369         * Makeconfig (+gccwarn): Add -Wundef.
22370         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22371         a dl-sysdep.h breaking its contract.
22372         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22373         * include/stackinfo.h: New file.
22374         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22375         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22376         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22377         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22378         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22379         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22380         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22381         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22382         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22383         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22384         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22385         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22386         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22387         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22388         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22390 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22392         [BZ #16707]
22393         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22394         implementation.
22395         * math/libm-test.inc (round_test_data): Add more tests.
22397         [BZ #16706]
22398         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22399         implementation.
22400         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22402         [BZ #16701]
22403         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22404         implementation.
22405         * math/libm-test.inc (ceil_test_data): Add more tests.
22407         * math/libm-test.inc (trunc_test_data): Add more tests related to
22408         BZ#16414.
22410 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22412         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22413         with #if rather than #ifdef.
22414         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22416 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22418         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22419         first.  Disable AVX-512 GCC support if assembler doesn't support
22420         it.
22421         * sysdeps/x86_64/configure: Regenerated.
22423 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22425         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22426         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22427         (__old_pthread_attr_setstack): Likewise.
22428         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22429         [!_STACK_GROWS_DOWN]: Likewise.
22431 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22433         * config.make.in (have-bash2): Delete.
22434         * configure.ac (libc_cv_have_bash2): Delete.
22435         * configure: Regenerate.
22436         * elf/Makefile (common-ldd-rewrite): Rename to ...
22437         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22438         (sh-ldd-rewrite): Delete.
22439         (bash-ldd-rewrite): Delete.
22440         (have-bash2): Delete checks.
22441         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22442         ldd-rewrite.
22444         * config.make.in (have-ksh): Delete.
22445         (KSH): Delete.
22446         * configure.ac (libc_cv_have_ksh): Delete.
22447         * configure: Regenerate.
22449         * elf/Makefile: Delete $(have-ksh) check.
22450         ($(objpfx)sotruss): Change KSH to BASH.
22451         * elf/sotruss.ksh: Rename to ...
22452         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22453         function style to match POSIX.  Drop ksh vim mode setting.
22455         * manual/time.texi (Specifying the Time Zone with TZ): Change
22456         Tuesday to Thursday.
22458         * debug/tst-longjmp_chk2.c: Update header comment.
22459         (stackoverflow_handler): Add comment.  Call assert on pass value.
22461 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22463         [BZ #16194]
22464         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22465         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22466         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22467         (La_x86_64_vector): Add zmm.
22468         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22469         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22470         ($(objpfx)tst-audit10): New target.
22471         ($(objpfx)tst-audit10.out): Likewise.
22472         (tst-audit10-ENV): New.
22473         (AVX512-CFLAGS): Likewise.
22474         (CFLAGS-tst-audit10.c): Likewise.
22475         (CFLAGS-tst-auditmod10a.c): Likewise.
22476         (CFLAGS-tst-auditmod10b.c): Likewise.
22477         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22478         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22479         * sysdeps/x86_64/configure: Regenerated.
22480         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22481         AVX-512 zmm register support.
22482         (_dl_x86_64_save_sse): Likewise.
22483         (_dl_x86_64_restore_sse): Likewise.
22484         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22485         size vector registers.
22486         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22487         (ZMM_SIZE): Likewise.
22488         * sysdeps/x86_64/tst-audit10.c: New file.
22489         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22490         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22492 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22494         * configure.ac (HAVE_EHDR_START): New check.
22495         * configure: Regenerated.
22496         * config.h.in (HAVE_EHDR_START): New #undef.
22497         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22498         assuming the lowest-addressed segment maps the start of the file.
22500 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22502         * INSTALL: Regenerated.
22504 2014-03-13  Will Newton  <will.newton@linaro.org>
22506         * manual/setjmp.texi (System V contexts): Improve
22507         clarity and grammar of documentation.
22509 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22511         [BZ #16381]
22512         * elf/Makefile (tests): Add tst-pie2.
22513         (tests-pie): Add tst-pie2.
22514         * elf/tst-pie2.c: New file.
22515         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22516         for ET_EXEC.
22517         * elf/rtld.c (map_doit): Load executable as lt_executable.
22518         (dl_main): Likewise.
22520 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22522         [BZ #16642]
22523         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22524         (__ASSUME_PSELECT): Undefine.
22526 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22528         [BZ #16689]
22529         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22530         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22531         static build.
22532         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22533         selector for static builds.
22535 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22537         [BZ #16695]
22538         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22539         key in the buffer.
22541 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22543         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22544         IFUNC selector for static builds.
22546 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22548         * sysdeps/mips/math_private.h [__mips_hard_float]
22549         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22550         libc_feresetround_mips_ctx.
22551         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22552         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22553         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22555         [BZ #16677]
22556         * math/s_nextafter.c (__nextafter): Do not return value from
22557         overflowing computation.
22558         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22559         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22560         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22561         Likewise.
22562         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22563         Likewise.
22564         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22565         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22567 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22569         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22570         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22571         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22572         the new mov targetting sp.
22574 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22576         [BZ #16683]
22577         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22578         Define it for static builds as well.
22579         (NO_BZERO_IMPL): Likewise.
22581 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22583         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22584         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22585         multiarch strspn for PPC64.
22586         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22587         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22589         (__libc_ifunc_impl_list): Likewise.
22590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22591         multiarch optimizations
22592         * string/strspn.c (strspn): Using macro to redefine symbol name.
22594 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22595             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22597         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22598         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22599         multiarch strncat for PPC64.
22600         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22601         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22603         (__libc_ifunc_impl_list): Likewise.
22604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22605         multiarch optimizations
22607 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22609         [BZ #16639]
22610         * nscd/nscd.service: Make service type forking.
22612 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22614         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22615         sign in non default rounding modes.
22616         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22618 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22620         * math/libm-test.inc (ALL_RM_TEST): New macro.
22621         (ceil_test): Use ALL_RM_TEST.
22622         (cimag_test): Likewise.
22623         (conj_test): Likewise.
22624         (copysign_test): Likewise.
22625         (cproj_test): Likewise.
22626         (creal_test): Likewise.
22627         (fabs_test): Likewise.
22628         (floor_test): Likewise.
22629         (fmax_test): Likewise.
22630         (fmin_test): Likewise.
22631         (fmod_test): Likewise.
22632         (fpclassify_test): Likewise.
22633         (frexp_test): Likewise.
22634         (ilogb_test): Likewise.
22635         (isfinite_test): Likewise.
22636         (finite_test): Likewise.
22637         (isgreater_test): Likewise.
22638         (isgreaterequal_test): Likewise.
22639         (isinf_test): Likewise.
22640         (isless_test): Likewise.
22641         (islessequal_test): Likewise.
22642         (islessgreater_test): Likewise.
22643         (isnan_test): Likewise.
22644         (isnormal_test): Likewise.
22645         (issignaling_test): Likewise.
22646         (isunordered_test): Likewise.
22647         (logb_test): Likewise.
22648         (logb_downward_test_data): Remove.
22649         (logb_test_downward): Likewise.
22650         (lround_test): Use ALL_RM_TEST.
22651         (llround_test): Likewise.
22652         (modf_test): Likewise.
22653         (nexttoward_test): Likewise.
22654         (remainder_test): Likewise.
22655         (drem_test): Likewise.
22656         (remainder_tonearest_test_data): Likewise.
22657         (remainder_test_tonearest): Likewise.
22658         (drem_test_tonearest): Likewise.
22659         (remainder_towardzero_test_data): Likewise.
22660         (remainder_test_towardzero): Likewise.
22661         (drem_test_towardzero): Likewise.
22662         (remainder_downward_test_data): Likewise.
22663         (remainder_test_downward): Likewise.
22664         (drem_test_downward): Likewise.
22665         (remainder_upward_test_data): Likewise.
22666         (remainder_test_upward): Likewise.
22667         (drem_test_upward): Likewise.
22668         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22669         (round_test): Use ALL_RM_TEST.
22670         (signbit_test): Likewise.
22671         (trunc_test): Likewise.
22672         (significand_test): Likewise.
22673         (main): Don't call removed functions.
22675 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22677         [BZ #16674]
22678         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22679         || __USE_XOPEN2K8].
22680         (ILL_ILLOPN): Likewise.
22681         (ILL_ILLADR): Likewise.
22682         (ILL_ILLTRP): Likewise.
22683         (ILL_PRVOPC): Likewise.
22684         (ILL_PRVREG): Likewise.
22685         (ILL_COPROC): Likewise.
22686         (ILL_BADSTK): Likewise.
22687         (FPE_INTDIV): Likewise.
22688         (FPE_INTOVF): Likewise.
22689         (FPE_FLTDIV): Likewise.
22690         (FPE_FLTOVF): Likewise.
22691         (FPE_FLTUND): Likewise.
22692         (FPE_FLTRES): Likewise.
22693         (FPE_FLTINV): Likewise.
22694         (FPE_FLTSUB): Likewise.
22695         (SEGV_MAPERR): Likewise.
22696         (SEGV_ACCERR): Likewise.
22697         (BUS_ADRALN): Likewise.
22698         (BUS_ADRERR): Likewise.
22699         (BUS_OBJERR): Likewise.
22700         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22701         (TRAP_TRACE): Likewise.
22702         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22703         __USE_XOPEN2K8].
22704         (CLD_KILLED): Likewise.
22705         (CLD_DUMPED): Likewise.
22706         (CLD_TRAPPED): Likewise.
22707         (CLD_STOPPED): Likewise.
22708         (CLD_CONTINUED): Likewise.
22709         (POLL_IN): Likewise.
22710         (POLL_OUT): Likewise.
22711         (POLL_MSG): Likewise.
22712         (POLL_ERR): Likewise.
22713         (POLL_PRI): Likewise.
22714         (POLL_HUP): Likewise.
22715         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22716         Likewise.
22717         (ILL_ILLOPN): Likewise.
22718         (ILL_ILLADR): Likewise.
22719         (ILL_ILLTRP): Likewise.
22720         (ILL_PRVOPC): Likewise.
22721         (ILL_PRVREG): Likewise.
22722         (ILL_COPROC): Likewise.
22723         (ILL_BADSTK): Likewise.
22724         (FPE_INTDIV): Likewise.
22725         (FPE_INTOVF): Likewise.
22726         (FPE_FLTDIV): Likewise.
22727         (FPE_FLTOVF): Likewise.
22728         (FPE_FLTUND): Likewise.
22729         (FPE_FLTRES): Likewise.
22730         (FPE_FLTINV): Likewise.
22731         (FPE_FLTSUB): Likewise.
22732         (SEGV_MAPERR): Likewise.
22733         (SEGV_ACCERR): Likewise.
22734         (BUS_ADRALN): Likewise.
22735         (BUS_ADRERR): Likewise.
22736         (BUS_OBJERR): Likewise.
22737         (BUS_MCEERR_AR): Likewise.
22738         (BUS_MCEERR_AO): Likewise.
22739         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22740         (TRAP_TRACE): Likewise.
22741         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22742         __USE_XOPEN2K8].
22743         (CLD_KILLED): Likewise.
22744         (CLD_DUMPED): Likewise.
22745         (CLD_TRAPPED): Likewise.
22746         (CLD_STOPPED): Likewise.
22747         (CLD_CONTINUED): Likewise.
22748         (POLL_IN): Likewise.
22749         (POLL_OUT): Likewise.
22750         (POLL_MSG): Likewise.
22751         (POLL_ERR): Likewise.
22752         (POLL_PRI): Likewise.
22753         (POLL_HUP): Likewise.
22754         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22755         (ILL_ILLOPN): Likewise.
22756         (ILL_ILLADR): Likewise.
22757         (ILL_ILLTRP): Likewise.
22758         (ILL_PRVOPC): Likewise.
22759         (ILL_PRVREG): Likewise.
22760         (ILL_COPROC): Likewise.
22761         (ILL_BADSTK): Likewise.
22762         (FPE_INTDIV): Likewise.
22763         (FPE_INTOVF): Likewise.
22764         (FPE_FLTDIV): Likewise.
22765         (FPE_FLTOVF): Likewise.
22766         (FPE_FLTUND): Likewise.
22767         (FPE_FLTRES): Likewise.
22768         (FPE_FLTINV): Likewise.
22769         (FPE_FLTSUB): Likewise.
22770         (SEGV_MAPERR): Likewise.
22771         (SEGV_ACCERR): Likewise.
22772         (BUS_ADRALN): Likewise.
22773         (BUS_ADRERR): Likewise.
22774         (BUS_OBJERR): Likewise.
22775         (BUS_MCEERR_AR): Likewise.
22776         (BUS_MCEERR_AO): Likewise.
22777         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22778         (TRAP_TRACE): Likewise.
22779         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22780         __USE_XOPEN2K8].
22781         (CLD_KILLED): Likewise.
22782         (CLD_DUMPED): Likewise.
22783         (CLD_TRAPPED): Likewise.
22784         (CLD_STOPPED): Likewise.
22785         (CLD_CONTINUED): Likewise.
22786         (POLL_IN): Likewise.
22787         (POLL_OUT): Likewise.
22788         (POLL_MSG): Likewise.
22789         (POLL_ERR): Likewise.
22790         (POLL_PRI): Likewise.
22791         (POLL_HUP): Likewise.
22792         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22793         Likewise.
22794         (ILL_ILLOPN): Likewise.
22795         (ILL_ILLADR): Likewise.
22796         (ILL_ILLTRP): Likewise.
22797         (ILL_PRVOPC): Likewise.
22798         (ILL_PRVREG): Likewise.
22799         (ILL_COPROC): Likewise.
22800         (ILL_BADSTK): Likewise.
22801         (ILL_BADIADDR): Likewise.
22802         (ILL_BREAK): Likewise.
22803         (FPE_INTDIV): Likewise.
22804         (FPE_INTOVF): Likewise.
22805         (FPE_FLTDIV): Likewise.
22806         (FPE_FLTOVF): Likewise.
22807         (FPE_FLTUND): Likewise.
22808         (FPE_FLTRES): Likewise.
22809         (FPE_FLTINV): Likewise.
22810         (FPE_FLTSUB): Likewise.
22811         (FPE_DECOVF): Likewise.
22812         (FPE_DECDIV): Likewise.
22813         (FPE_DECERR): Likewise.
22814         (FPE_INVASC): Likewise.
22815         (FPE_INVDEC): Likewise.
22816         (SEGV_MAPERR): Likewise.
22817         (SEGV_ACCERR): Likewise.
22818         (SEGV_PSTKOVF): Likewise.
22819         (BUS_ADRALN): Likewise.
22820         (BUS_ADRERR): Likewise.
22821         (BUS_OBJERR): Likewise.
22822         (BUS_MCEERR_AR): Likewise.
22823         (BUS_MCEERR_AO): Likewise.
22824         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22825         (TRAP_TRACE): Likewise.
22826         (TRAP_BRANCH): Likewise.
22827         (TRAP_HWBKPT): Likewise.
22828         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22829         __USE_XOPEN2K8].
22830         (CLD_KILLED): Likewise.
22831         (CLD_DUMPED): Likewise.
22832         (CLD_TRAPPED): Likewise.
22833         (CLD_STOPPED): Likewise.
22834         (CLD_CONTINUED): Likewise.
22835         (POLL_IN): Likewise.
22836         (POLL_OUT): Likewise.
22837         (POLL_MSG): Likewise.
22838         (POLL_ERR): Likewise.
22839         (POLL_PRI): Likewise.
22840         (POLL_HUP): Likewise.
22841         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22842         (ILL_ILLOPN): Likewise.
22843         (ILL_ILLADR): Likewise.
22844         (ILL_ILLTRP): Likewise.
22845         (ILL_PRVOPC): Likewise.
22846         (ILL_PRVREG): Likewise.
22847         (ILL_COPROC): Likewise.
22848         (ILL_BADSTK): Likewise.
22849         (FPE_INTDIV): Likewise.
22850         (FPE_INTOVF): Likewise.
22851         (FPE_FLTDIV): Likewise.
22852         (FPE_FLTOVF): Likewise.
22853         (FPE_FLTUND): Likewise.
22854         (FPE_FLTRES): Likewise.
22855         (FPE_FLTINV): Likewise.
22856         (FPE_FLTSUB): Likewise.
22857         (SEGV_MAPERR): Likewise.
22858         (SEGV_ACCERR): Likewise.
22859         (BUS_ADRALN): Likewise.
22860         (BUS_ADRERR): Likewise.
22861         (BUS_OBJERR): Likewise.
22862         (BUS_MCEERR_AR): Likewise.
22863         (BUS_MCEERR_AO): Likewise.
22864         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22865         (TRAP_TRACE): Likewise.
22866         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22867         __USE_XOPEN2K8].
22868         (CLD_KILLED): Likewise.
22869         (CLD_DUMPED): Likewise.
22870         (CLD_TRAPPED): Likewise.
22871         (CLD_STOPPED): Likewise.
22872         (CLD_CONTINUED): Likewise.
22873         (POLL_IN): Likewise.
22874         (POLL_OUT): Likewise.
22875         (POLL_MSG): Likewise.
22876         (POLL_ERR): Likewise.
22877         (POLL_PRI): Likewise.
22878         (POLL_HUP): Likewise.
22879         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22880         (ILL_ILLOPN): Likewise.
22881         (ILL_ILLADR): Likewise.
22882         (ILL_ILLTRP): Likewise.
22883         (ILL_PRVOPC): Likewise.
22884         (ILL_PRVREG): Likewise.
22885         (ILL_COPROC): Likewise.
22886         (ILL_BADSTK): Likewise.
22887         (FPE_INTDIV): Likewise.
22888         (FPE_INTOVF): Likewise.
22889         (FPE_FLTDIV): Likewise.
22890         (FPE_FLTOVF): Likewise.
22891         (FPE_FLTUND): Likewise.
22892         (FPE_FLTRES): Likewise.
22893         (FPE_FLTINV): Likewise.
22894         (FPE_FLTSUB): Likewise.
22895         (SEGV_MAPERR): Likewise.
22896         (SEGV_ACCERR): Likewise.
22897         (BUS_ADRALN): Likewise.
22898         (BUS_ADRERR): Likewise.
22899         (BUS_OBJERR): Likewise.
22900         (BUS_MCEERR_AR): Likewise.
22901         (BUS_MCEERR_AO): Likewise.
22902         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22903         (TRAP_TRACE): Likewise.
22904         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22905         __USE_XOPEN2K8].
22906         (CLD_KILLED): Likewise.
22907         (CLD_DUMPED): Likewise.
22908         (CLD_TRAPPED): Likewise.
22909         (CLD_STOPPED): Likewise.
22910         (CLD_CONTINUED): Likewise.
22911         (POLL_IN): Likewise.
22912         (POLL_OUT): Likewise.
22913         (POLL_MSG): Likewise.
22914         (POLL_ERR): Likewise.
22915         (POLL_PRI): Likewise.
22916         (POLL_HUP): Likewise.
22917         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22918         (ILL_ILLOPN): Likewise.
22919         (ILL_ILLADR): Likewise.
22920         (ILL_ILLTRP): Likewise.
22921         (ILL_PRVOPC): Likewise.
22922         (ILL_PRVREG): Likewise.
22923         (ILL_COPROC): Likewise.
22924         (ILL_BADSTK): Likewise.
22925         (FPE_INTDIV): Likewise.
22926         (FPE_INTOVF): Likewise.
22927         (FPE_FLTDIV): Likewise.
22928         (FPE_FLTOVF): Likewise.
22929         (FPE_FLTUND): Likewise.
22930         (FPE_FLTRES): Likewise.
22931         (FPE_FLTINV): Likewise.
22932         (FPE_FLTSUB): Likewise.
22933         (SEGV_MAPERR): Likewise.
22934         (SEGV_ACCERR): Likewise.
22935         (BUS_ADRALN): Likewise.
22936         (BUS_ADRERR): Likewise.
22937         (BUS_OBJERR): Likewise.
22938         (BUS_MCEERR_AR): Likewise.
22939         (BUS_MCEERR_AO): Likewise.
22940         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22941         (TRAP_TRACE): Likewise.
22942         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22943         __USE_XOPEN2K8].
22944         (CLD_KILLED): Likewise.
22945         (CLD_DUMPED): Likewise.
22946         (CLD_TRAPPED): Likewise.
22947         (CLD_STOPPED): Likewise.
22948         (CLD_CONTINUED): Likewise.
22949         (POLL_IN): Likewise.
22950         (POLL_OUT): Likewise.
22951         (POLL_MSG): Likewise.
22952         (POLL_ERR): Likewise.
22953         (POLL_PRI): Likewise.
22954         (POLL_HUP): Likewise.
22955         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22956         (ILL_ILLOPN): Likewise.
22957         (ILL_ILLADR): Likewise.
22958         (ILL_ILLTRP): Likewise.
22959         (ILL_PRVOPC): Likewise.
22960         (ILL_PRVREG): Likewise.
22961         (ILL_COPROC): Likewise.
22962         (ILL_BADSTK): Likewise.
22963         (ILL_DBLFLT): Likewise.
22964         (ILL_HARDWALL): Likewise.
22965         (FPE_INTDIV): Likewise.
22966         (FPE_INTOVF): Likewise.
22967         (FPE_FLTDIV): Likewise.
22968         (FPE_FLTOVF): Likewise.
22969         (FPE_FLTUND): Likewise.
22970         (FPE_FLTRES): Likewise.
22971         (FPE_FLTINV): Likewise.
22972         (FPE_FLTSUB): Likewise.
22973         (SEGV_MAPERR): Likewise.
22974         (SEGV_ACCERR): Likewise.
22975         (BUS_ADRALN): Likewise.
22976         (BUS_ADRERR): Likewise.
22977         (BUS_OBJERR): Likewise.
22978         (BUS_MCEERR_AR): Likewise.
22979         (BUS_MCEERR_AO): Likewise.
22980         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22981         (TRAP_TRACE): Likewise.
22982         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22983         __USE_XOPEN2K8].
22984         (CLD_KILLED): Likewise.
22985         (CLD_DUMPED): Likewise.
22986         (CLD_TRAPPED): Likewise.
22987         (CLD_STOPPED): Likewise.
22988         (CLD_CONTINUED): Likewise.
22989         (POLL_IN): Likewise.
22990         (POLL_OUT): Likewise.
22991         (POLL_MSG): Likewise.
22992         (POLL_ERR): Likewise.
22993         (POLL_PRI): Likewise.
22994         (POLL_HUP): Likewise.
22995         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22996         (ILL_ILLOPN): Likewise.
22997         (ILL_ILLADR): Likewise.
22998         (ILL_ILLTRP): Likewise.
22999         (ILL_PRVOPC): Likewise.
23000         (ILL_PRVREG): Likewise.
23001         (ILL_COPROC): Likewise.
23002         (ILL_BADSTK): Likewise.
23003         (FPE_INTDIV): Likewise.
23004         (FPE_INTOVF): Likewise.
23005         (FPE_FLTDIV): Likewise.
23006         (FPE_FLTOVF): Likewise.
23007         (FPE_FLTUND): Likewise.
23008         (FPE_FLTRES): Likewise.
23009         (FPE_FLTINV): Likewise.
23010         (FPE_FLTSUB): Likewise.
23011         (SEGV_MAPERR): Likewise.
23012         (SEGV_ACCERR): Likewise.
23013         (BUS_ADRALN): Likewise.
23014         (BUS_ADRERR): Likewise.
23015         (BUS_OBJERR): Likewise.
23016         (BUS_MCEERR_AR): Likewise.
23017         (BUS_MCEERR_AO): Likewise.
23018         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23019         (TRAP_TRACE): Likewise.
23020         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23021         __USE_XOPEN2K8].
23022         (CLD_KILLED): Likewise.
23023         (CLD_DUMPED): Likewise.
23024         (CLD_TRAPPED): Likewise.
23025         (CLD_STOPPED): Likewise.
23026         (CLD_CONTINUED): Likewise.
23027         (POLL_IN): Likewise.
23028         (POLL_OUT): Likewise.
23029         (POLL_MSG): Likewise.
23030         (POLL_ERR): Likewise.
23031         (POLL_PRI): Likewise.
23032         (POLL_HUP): Likewise.
23033         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23034         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23036         [BZ #16670]
23037         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23038         before #include of <time.h>.
23039         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23040         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23041         (test-xfail-UNIX98/sched.h/conform): Likewise.
23043 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23045         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23046         error absence of trapping exception support.
23047         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23049 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23051         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23052         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23053         * timezone/Makefile (testdata): Move definition above include of
23054         Rules.
23055         (test-zones): New variable.
23056         (tests-special): Add zone files.
23057         (build-testdata): Use $(evaluate-test).
23059         * elf/Makefile (tests-special): Rename tests to end with .out.
23060         ($(objpfx)noload-mem): Likewise.
23061         ($(objpfx)tst-leaks1-mem): Likewise.
23062         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23063         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23064         $(objpfx)test-iconvconfig.out.
23065         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23066         set -e inside subshell and redirect output to file.
23067         * iconvdata/Makefile (generated): Rename tests to end with .out.
23068         Correct type.
23069         (tests-special): Rename tests to end with .out.
23070         ($(objpfx)mtrace-tst-loading): Likewise.
23071         * intl/Makefile (generated): Likewise.
23072         (tests-special): Likewise.
23073         ($(objpfx)mtrace-tst-gettext): Likewise.
23074         * misc/Makefile (generated): Likewise.
23075         (tests-special): Likewise.
23076         ($(objpfx)tst-error1-mem): Likewise.
23077         * nptl/Makefile (tests-special): Likewise.
23078         ($(objpfx)tst-stack3-mem): Likewise.
23079         (generated): Likewise.
23080         * posix/Makefile (generated): Likewise.
23081         (tests-special): Likewise.
23082         (xtests-special): Likewise.
23083         ($(objpfx)tst-fnmatch-mem): Likewise.
23084         ($(objpfx)bug-regex2-mem): Likewise.
23085         ($(objpfx)bug-regex14-mem): Likewise.
23086         ($(objpfx)bug-regex21-mem): Likewise.
23087         ($(objpfx)bug-regex31-mem): Likewise.
23088         ($(objpfx)tst-vfork3-mem): Likewise.
23089         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23090         ($(objpfx)tst-pcre-mem): Likewise.
23091         ($(objpfx)tst-boost-mem): Likewise.
23092         ($(objpfx)bug-ga2-mem): Likewise.
23093         ($(objpfx)bug-glob2-mem): Likewise.
23094         * resolv/Makefile (generate): Likewise.
23095         (tests-special): Likewise.
23096         (xtests-special): Likewise.
23097         (generated): Likewise.
23098         ($(objpfx)mtrace-tst-leaks): Likewise.
23099         ($(objpfx)mtrace-tst-leaks2): Likewise.
23101         * scripts/merge-test-results.sh: New file.
23102         * Makefile (tests-special-notdir): New variable.
23103         (tests): Run merge-test-results.sh.
23104         (xtests): Likewise.
23105         * Rules (tests-special-notdir): New variable.
23106         (xtests-special-notdir): Likewise.
23107         (tests): Run merge-test-results.sh
23108         (xtests): Likewise.
23110         * Makeconfig (test-xfail-name): New variable.
23111         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23112         compute variable name for expected failures.
23113         * conform/Makefile (conformtest-headers-data): New variable.
23114         (conformtest-standards): Likewise.
23115         (conformtest-headers-ISO): Likewise.
23116         (conformtest-headers-ISO99): Likewise.
23117         (conformtest-headers-ISO11): Likewise.
23118         (conformtest-headers-POSIX): Likewise.
23119         (conformtest-headers-XPG3): Likewise.
23120         (conformtest-headers-XPG4): Likewise.
23121         (conformtest-headers-UNIX98): Likewise.
23122         (conformtest-headers-XOPEN2K): Likewise.
23123         (conformtest-headers-POSIX2008): Likewise.
23124         (conformtest-headers-XOPEN2K8): Likewise.
23125         (conformtest-header-list-base): Likewise.
23126         (conformtest-header-list-tests): Likewise.
23127         (conformtest-header-base): Likewise.
23128         (conformtest-header-tests): Likewise.
23129         (tests-special): Add $(conformtest-header-list-tests).  If
23130         [$(fast-check) && !$(cross-compiling)], add
23131         $(conformtest-header-tests) instead of
23132         $(objpfx)run-conformtest.out.
23133         (generated): Add $(conformtest-header-list-base).  If
23134         [$(fast-check) && !$(cross-compiling)], add
23135         $(conformtest-header-base).  Remove previous setting.
23136         ($(conformtest-header-list-tests)): New target.
23137         (test-xfail-run-conformtest): Remove variable.
23138         ($(objpfx)run-conformtest.out): Remove target.
23139         (test-xfail-ISO11/complex.h/conform): New variable.
23140         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23141         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23142         (test-xfail-XPG3/varargs.h/conform): Likewise.
23143         (test-xfail-XPG4/varargs.h/conform): Likewise.
23144         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23145         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23146         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23147         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23148         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23149         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23150         (test-xfail-XPG3/ftw.h/conform): Likewise.
23151         (test-xfail-XPG3/grp.h/conform): Likewise.
23152         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23153         (test-xfail-XPG3/limits.h/conform): Likewise.
23154         (test-xfail-XPG3/pwd.h/conform): Likewise.
23155         (test-xfail-XPG3/search.h/conform): Likewise.
23156         (test-xfail-XPG3/signal.h/conform): Likewise.
23157         (test-xfail-XPG3/stdio.h/conform): Likewise.
23158         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23159         (test-xfail-XPG3/string.h/conform): Likewise.
23160         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23161         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23162         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23163         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23164         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23165         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23166         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23167         (test-xfail-XPG3/termios.h/conform): Likewise.
23168         (test-xfail-XPG3/time.h/conform): Likewise.
23169         (test-xfail-XPG3/unistd.h/conform): Likewise.
23170         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23171         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23172         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23173         (test-xfail-XPG4/netdb.h/conform): Likewise.
23174         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23175         (test-xfail-XPG4/signal.h/conform): Likewise.
23176         (test-xfail-XPG4/stdio.h/conform): Likewise.
23177         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23178         (test-xfail-XPG4/stropts.h/conform): Likewise.
23179         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23180         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23181         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23182         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23183         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23184         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23185         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23186         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23187         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23188         (test-xfail-XPG4/termios.h/conform): Likewise.
23189         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23190         (test-xfail-XPG4/unistd.h/conform): Likewise.
23191         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23192         (test-xfail-POSIX/sched.h/conform): Likewise.
23193         (test-xfail-POSIX/signal.h/conform): Likewise.
23194         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23195         (test-xfail-POSIX/tar.h/conform): Likewise.
23196         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23197         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23198         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23199         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23200         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23201         (test-xfail-UNIX98/sched.h/conform): Likewise.
23202         (test-xfail-UNIX98/signal.h/conform): Likewise.
23203         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23204         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23205         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23206         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23207         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23208         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23209         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23210         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23211         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23212         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23213         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23214         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23215         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23216         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23217         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23218         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23219         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23220         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23221         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23222         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23223         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23224         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23225         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23226         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23227         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23228         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23229         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23230         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23231         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23232         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23233         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23234         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23235         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23236         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23237         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23238         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23239         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23240         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23241         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23242         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23243         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23244         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23245         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23246         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23247         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23248         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23249         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23250         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23251         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23252         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23253         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23254         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23255         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23256         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23257         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23258         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23259         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23260         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23261         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23262         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23263         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23264         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23265         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23266         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23267         (conformtest-cc-flags): Likewise.
23268         ($(conformtest-header-tests): New target.
23269         * conform/check-header-lists.sh: New file.
23270         * conform/run-conformtest.sh: Remove.
23272         * conform/conformtest.pl: Allow ' and \ in values given for
23273         constants.
23274         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23275         inclusion.
23276         [POSIX] (sys/types.h): Likewise.
23277         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23278         inclusion.
23279         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23280         inclusion.
23281         * conform/data/signal.h-data (SIGIO): Remove expectation.
23282         [XPG3] (SIGBUS): Do not expect.
23283         [POSIX || XPG3] (SIGPOLL): Likewise.
23284         [POSIX || XPG3] (SIGPROF): Likewise.
23285         [POSIX || XPG3] (SIGSYS): Likewise.
23286         [XPG3] (SIGTRAP): Likewise.
23287         [POSIX || XPG3] (SIGURG): Likewise.
23288         [POSIX || XPG3] (SIGVTALRM): Likewise.
23289         [POSIX || XPG3] (SIGXCPU): Likewise.
23290         [POSIX || XPG3] (SIGXFSZ): Likewise.
23291         [POSIX] (SA_SIGINFO): Expect.
23292         [XPG3] (siginfo_t): Do not expect type or contents.
23293         [POSIX] (si_pid): Do not expect element.
23294         [POSIX] (si_uid): Likewise.
23295         [POSIX] (si_addr): Likewise.
23296         [POSIX] (si_status): Likewise.
23297         [POSIX] (si_band): Likewise.
23298         [XPG4] (si_value): Likewise.
23299         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23300         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23301         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23302         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23303         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23304         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23305         [POSIX || XPG3] (ILL_COPROC): Likewise.
23306         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23307         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23308         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23309         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23310         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23311         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23312         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23313         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23314         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23315         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23316         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23317         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23318         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23319         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23320         [POSIX || XPG3] (CLD_EXITED): Likewise.
23321         [POSIX || XPG3] (CLD_KILLED): Likewise.
23322         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23323         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23324         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23325         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23326         [POSIX || XPG3] (POLL_IN): Likewise.
23327         [POSIX || XPG3] (POLL_OUT): Likewise.
23328         [POSIX || XPG3] (POLL_MSG): Likewise.
23329         [POSIX || XPG3] (POLL_ERR): Likewise.
23330         [POSIX || XPG3] (POLL_PRI): Likewise.
23331         [POSIX || XPG3] (POLL_HUP): Likewise.
23332         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23333         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23334         (SIG*): Do not allow.
23335         [XPG3] (si_*): Likewise.
23336         [XPG3] (SI_*): Likewise.
23337         [XPG3 || XPG4] (sigev_*): Likewise.
23338         [XPG3 || XPG4] (SIGEV_*): Likewise.
23339         [XPG3 || XPG4] (sival_*): Likewise.
23340         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23341         [POSIX || XPG3] (BUS_*): Likewise.
23342         [POSIX || XPG3] (CLD_*): Likewise.
23343         [POSIX || XPG3] (FPE_*): Likewise.
23344         [POSIX || XPG3] (ILL_*): Likewise.
23345         [POSIX || XPG3] (POLL_*): Likewise.
23346         [POSIX || XPG3] (SEGV_*): Likewise.
23347         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23348         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23349         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23350         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23351         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23352         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23353         Specify type and value.
23354         (TVERSLEN): Likewise.
23355         (REGTYPE): Likewise.
23356         (AREGTYPE): Likewise.
23357         (LNKTYPE): Likewise.
23358         (SYMTYPE): Likewise.
23359         (CHRTYPE): Likewise.
23360         (BLKTYPE): Likewise.
23361         (DIRTYPE): Likewise.
23362         (FIFOTYPE): Likewise.
23363         (CONTTYPE): Likewise.
23364         (TSUID): Likewise.
23365         (TSGID): Likewise.
23366         (TSVTX): Likewise.
23367         (TUREAD): Likewise.
23368         (TUWRITE): Likewise.
23369         (TUEXEC): Likewise.
23370         (TGREAD): Likewise.
23371         (TGWRITE): Likewise.
23372         (TGEXEC): Likewise.
23373         (TOREAD): Likewise.
23374         (TOWRITE): Likewise.
23375         (TOEXEC): Likewise.
23376         [POSIX] (TSVTX): Expect constant.
23378 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23380         * Makefile (tests): Change dependencies to ....
23381         (tests-special): ... additions to this variable.
23382         (tests): Depend on $(tests-special).
23383         * Makerules (check-abi-list): New variable.
23384         (check-abi): Depend on $(check-abi-list).
23385         [$(subdir) = elf] (tests-special): Add
23386         $(objpfx)check-abi-libc.out.
23387         [$(build-shared) = yes && subdir] (tests-special): Add
23388         $(check-abi-list).
23389         [$(build-shared) = yes && subdir] (tests): Do not depend on
23390         check-abi.
23391         * Rules (tests): Depend on $(tests-special).
23392         (xtests): Depend on $(xtests-special).
23393         * catgets/Makefile (tests): Change dependencies to ....
23394         (tests-special): ... additions to this variable.
23395         * conform/Makefile (tests): Change dependencies to ....
23396         (tests-special): ... additions to this variable.
23397         * elf/Makefile (tests): Change dependencies to ....
23398         (tests-special): ... additions to this variable.
23399         * grp/Makefile (tests): Change dependencies to ....
23400         (tests-special): ... additions to this variable.
23401         * iconv/Makefile (xtests): Change dependencies to ....
23402         (xtests-special): ... additions to this variable.
23403         * iconvdata/Makefile (tests): Change dependencies to ....
23404         (tests-special): ... additions to this variable.
23405         * intl/Makefile (tests): Change dependencies to ....
23406         (tests-special): ... additions to this variable.  Also add
23407         $(objpfx)tst-gettext.out.
23408         * io/Makefile (tests): Change dependencies to ....
23409         (tests-special): ... additions to this variable.
23410         * libio/Makefile (tests): Change dependencies to ....
23411         (tests-special): ... additions to this variable.
23412         * malloc/Makefile (tests): Change dependencies to ....
23413         (tests-special): ... additions to this variable.
23414         * misc/Makefile (tests): Change dependencies to ....
23415         (tests-special): ... additions to this variable.
23416         * nptl/Makefile (tests): Change dependencies to ....
23417         (tests-special): ... additions to this variable.
23418         * nptl_db/Makefile (tests): Change dependencies to ....
23419         (tests-special): ... additions to this variable.
23420         * posix/Makefile (tests): Change dependencies to ....
23421         (tests-special): ... additions to this variable.
23422         (xtests): Change dependencies to ....
23423         (xtests-special): ... additions to this variable.
23424         * resolv/Makefile (tests): Change dependencies to ....
23425         (tests-special): ... additions to this variable.
23426         (xtests): Change dependencies to ....
23427         (xtests-special): ... additions to this variable.
23428         * stdio-common/Makefile (tests): Change dependencies to ....
23429         (tests-special): ... additions to this variable.
23430         (do-tst-unbputc): Remove target.
23431         (do-tst-printf): Likewise.
23432         * stdlib/Makefile (tests): Change dependencies to ....
23433         (tests-special): ... additions to this variable.
23434         * string/Makefile (tests): Change dependencies to ....
23435         (tests-special): ... additions to this variable.
23436         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23437         (tests-special): ... additions to this variable.
23439         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23440         whole file.
23441         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23442         whole file.
23443         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23444         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23446         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23447         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23448         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23449         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23450         * conform/data/libgen.h-data [XPG3]: Likewise.
23451         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23452         * conform/data/ndbm.h-data [XPG3]: Likewise.
23453         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23454         * conform/data/netdb.h-data [XPG3]: Likewise.
23455         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23456         * conform/data/poll.h-data [XPG3]: Likewise.
23457         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23458         * conform/data/strings.h-data [XPG3]: Likewise.
23459         * conform/data/stropts.h-data [XPG3]: Likewise.
23460         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23461         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23462         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23463         Likewise.
23464         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23465         * conform/data/sys/time.h-data [XPG3]: Likewise.
23466         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23467         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23468         * conform/data/sys/un.h-data [XPG3]: Likewise.
23469         * conform/data/syslog.h-data [XPG3]: Likewise.
23470         * conform/data/ucontext.h-data [XPG3]: Likewise.
23471         * conform/data/utmpx.h-data [XPG3]: Likewise.
23472         * conform/data/varargs.h-data [UNIX98]: Enable file.
23474         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23476         * math/libm-test.inc (struct test_f_f_data): Move expected results
23477         into structure for each rounding mode.
23478         (struct test_ff_f_data): Likewise.
23479         (struct test_ff_f_data_nexttoward): Likewise.
23480         (struct test_fi_f_data): Likewise.
23481         (struct test_fl_f_data): Likewise.
23482         (struct test_if_f_data): Likewise.
23483         (struct test_fff_f_data): Likewise.
23484         (struct test_c_f_data): Likewise.
23485         (struct test_f_f1_data): Likewise.
23486         (struct test_fF_f1_data): Likewise.
23487         (struct test_ffI_f1_data): Likewise.
23488         (struct test_c_c_data): Likewise.
23489         (struct test_cc_c_data): Likewise.
23490         (struct test_f_i_data): Likewise.
23491         (struct test_ff_i_data): Likewise.
23492         (struct test_f_l_data): Likewise.
23493         (struct test_f_L_data): Likewise.
23494         (struct test_fFF_11_data): Likewise.
23495         (RM_): New macro.
23496         (RM_FE_DOWNWARD): Likewise.
23497         (RM_FE_TONEAREST): Likewise.
23498         (RM_FE_TOWARDZERO): Likewise.
23499         (RM_FE_UPWARD): Likewise.
23500         (RUN_TEST_LOOP_f_f): Update references to expected results.
23501         (RUN_TEST_LOOP_2_f): Likewise.
23502         (RUN_TEST_LOOP_fff_f): Likewise.
23503         (RUN_TEST_LOOP_c_f): Likewise.
23504         (RUN_TEST_LOOP_f_f1): Likewise.
23505         (RUN_TEST_LOOP_fF_f1): Likewise.
23506         (RUN_TEST_LOOP_fI_f1): Likewise.
23507         (RUN_TEST_LOOP_ffI_f1): Likewise.
23508         (RUN_TEST_LOOP_c_c): Likewise.
23509         (RUN_TEST_LOOP_cc_c): Likewise.
23510         (RUN_TEST_LOOP_f_i): Likewise.
23511         (RUN_TEST_LOOP_f_i_tg): Likewise.
23512         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23513         (RUN_TEST_LOOP_f_b): Likewise.
23514         (RUN_TEST_LOOP_f_b_tg): Likewise.
23515         (RUN_TEST_LOOP_f_l): Likewise.
23516         (RUN_TEST_LOOP_f_L): Likewise.
23517         (RUN_TEST_LOOP_fFF_11): Likewise.
23518         * math/gen-libm-test.pl (parse_args): Output four copies of
23519         expected results for each test.
23521         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23522         (__ASSUME_UTIMES): Remove.
23523         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23524         (__ASSUME_UTIMES): Likewise.
23526         * math/gen-auto-libm-tests.c: Update comment on output format.
23527         (output_for_one_input_case): Generate before-rounding and
23528         after-rounding information as conditions on output flags not
23529         floating-point format.
23530         * math/auto-libm-test-out: Regenerated.
23531         * math/gen-libm-test.pl (cond_value): New function.
23532         (or_cond_value): Use cond_value.
23533         (generate_testfile): Handle conditional exceptions.
23535 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23537         * math/libm-test.inc (max_valid_error): New variable.
23538         (init_max_error): Take new argument specifying whether function
23539         results are exactly determined.  Set max_valid_error and bound
23540         other variables for errors based on this argument.
23541         (set_max_error): Do not record results above max_valid_error.
23542         (check_float_internal): Only accept errors of up to 0.5ulps if
23543         also at most max_valid_error.
23544         (START): Take new argument EXACT and pass it to init_max_error.
23545         (acos_test): Update call to START.
23546         (acos_test_tonearest): Likewise.
23547         (acos_test_towardzero): Likewise.
23548         (acos_test_downward): Likewise.
23549         (acos_test_upward): Likewise.
23550         (acosh_test): Likewise.
23551         (asin_test): Likewise.
23552         (asin_test_tonearest): Likewise.
23553         (asin_test_towardzero): Likewise.
23554         (asin_test_downward): Likewise.
23555         (asin_test_upward): Likewise.
23556         (asinh_test): Likewise.
23557         (atan_test): Likewise.
23558         (atanh_test): Likewise.
23559         (atan2_test): Likewise.
23560         (cabs_test): Likewise.
23561         (cacos_test): Likewise.
23562         (cacosh_test): Likewise.
23563         (carg_test): Likewise.
23564         (casin_test): Likewise.
23565         (casinh_test): Likewise.
23566         (catan_test): Likewise.
23567         (catanh_test): Likewise.
23568         (cbrt_test): Likewise.
23569         (ccos_test): Likewise.
23570         (ccosh_test): Likewise.
23571         (ceil_test): Likewise.
23572         (cexp_test): Likewise.
23573         (cimag_test): Likewise.
23574         (clog_test): Likewise.
23575         (clog10_test): Likewise.
23576         (conj_test): Likewise.
23577         (copysign_test): Likewise.
23578         (cos_test): Likewise.
23579         (cos_test_tonearest): Likewise.
23580         (cos_test_towardzero): Likewise.
23581         (cos_test_downward): Likewise.
23582         (cos_test_upward): Likewise.
23583         (cosh_test): Likewise.
23584         (cosh_test_tonearest): Likewise.
23585         (cosh_test_towardzero): Likewise.
23586         (cosh_test_downward): Likewise.
23587         (cosh_test_upward): Likewise.
23588         (cpow_test): Likewise.
23589         (cproj_test): Likewise.
23590         (creal_test): Likewise.
23591         (csin_test): Likewise.
23592         (csinh_test): Likewise.
23593         (csqrt_test): Likewise.
23594         (ctan_test): Likewise.
23595         (ctan_test_tonearest): Likewise.
23596         (ctan_test_towardzero): Likewise.
23597         (ctan_test_downward): Likewise.
23598         (ctan_test_upward): Likewise.
23599         (ctanh_test): Likewise.
23600         (ctanh_test_tonearest): Likewise.
23601         (ctanh_test_towardzero): Likewise.
23602         (ctanh_test_downward): Likewise.
23603         (ctanh_test_upward): Likewise.
23604         (erf_test): Likewise.
23605         (erfc_test): Likewise.
23606         (exp_test): Likewise.
23607         (exp_test_tonearest): Likewise.
23608         (exp_test_towardzero): Likewise.
23609         (exp_test_downward): Likewise.
23610         (exp_test_upward): Likewise.
23611         (exp10_test): Likewise.
23612         (exp10_test_tonearest): Likewise.
23613         (exp10_test_towardzero): Likewise.
23614         (exp10_test_downward): Likewise.
23615         (exp10_test_upward): Likewise.
23616         (pow10_test): Likewise.
23617         (exp2_test): Likewise.
23618         (expm1_test): Likewise.
23619         (expm1_test_tonearest): Likewise.
23620         (expm1_test_towardzero): Likewise.
23621         (expm1_test_downward): Likewise.
23622         (expm1_test_upward): Likewise.
23623         (fabs_test): Likewise.
23624         (fdim_test): Likewise.
23625         (floor_test): Likewise.
23626         (fma_test): Likewise.
23627         (fma_test_towardzero): Likewise.
23628         (fma_test_downward): Likewise.
23629         (fma_test_upward): Likewise.
23630         (fmax_test): Likewise.
23631         (fmin_test): Likewise.
23632         (fmod_test): Likewise.
23633         (fpclassify_test): Likewise.
23634         (frexp_test): Likewise.
23635         (hypot_test): Likewise.
23636         (ilogb_test): Likewise.
23637         (isfinite_test): Likewise.
23638         (finite_test): Likewise.
23639         (isgreater_test): Likewise.
23640         (isgreaterequal_test): Likewise.
23641         (isinf_test): Likewise.
23642         (isless_test): Likewise.
23643         (islessequal_test): Likewise.
23644         (islessgreater_test): Likewise.
23645         (isnan_test): Likewise.
23646         (isnormal_test): Likewise.
23647         (issignaling_test): Likewise.
23648         (isunordered_test): Likewise.
23649         (j0_test): Likewise.
23650         (j1_test): Likewise.
23651         (jn_test): Likewise.
23652         (ldexp_test): Likewise.
23653         (lgamma_test): Likewise.
23654         (gamma_test): Likewise.
23655         (lrint_test): Likewise.
23656         (lrint_test_tonearest): Likewise.
23657         (lrint_test_towardzero): Likewise.
23658         (lrint_test_downward): Likewise.
23659         (lrint_test_upward): Likewise.
23660         (llrint_test): Likewise.
23661         (llrint_test_tonearest): Likewise.
23662         (llrint_test_towardzero): Likewise.
23663         (llrint_test_downward): Likewise.
23664         (llrint_test_upward): Likewise.
23665         (log_test): Likewise.
23666         (log10_test): Likewise.
23667         (log1p_test): Likewise.
23668         (log2_test): Likewise.
23669         (logb_test): Likewise.
23670         (logb_test_downward): Likewise.
23671         (lround_test): Likewise.
23672         (llround_test): Likewise.
23673         (modf_test): Likewise.
23674         (nearbyint_test): Likewise.
23675         (nextafter_test): Likewise.
23676         (nexttoward_test): Likewise.
23677         (pow_test): Likewise.
23678         (pow_test_tonearest): Likewise.
23679         (pow_test_towardzero): Likewise.
23680         (pow_test_downward): Likewise.
23681         (pow_test_upward): Likewise.
23682         (remainder_test): Likewise.
23683         (drem_test): Likewise.
23684         (remainder_test_tonearest): Likewise.
23685         (drem_test_tonearest): Likewise.
23686         (remainder_test_towardzero): Likewise.
23687         (drem_test_towardzero): Likewise.
23688         (remainder_test_downward): Likewise.
23689         (drem_test_downward): Likewise.
23690         (remainder_test_upward): Likewise.
23691         (drem_test_upward): Likewise.
23692         (remquo_test): Likewise.
23693         (rint_test): Likewise.
23694         (rint_test_tonearest): Likewise.
23695         (rint_test_towardzero): Likewise.
23696         (rint_test_downward): Likewise.
23697         (rint_test_upward): Likewise.
23698         (round_test): Likewise.
23699         (scalb_test): Likewise.
23700         (scalbn_test): Likewise.
23701         (scalbln_test): Likewise.
23702         (signbit_test): Likewise.
23703         (sin_test): Likewise.
23704         (sin_test_tonearest): Likewise.
23705         (sin_test_towardzero): Likewise.
23706         (sin_test_downward): Likewise.
23707         (sin_test_upward): Likewise.
23708         (sincos_test): Likewise.
23709         (sinh_test): Likewise.
23710         (sinh_test_tonearest): Likewise.
23711         (sinh_test_towardzero): Likewise.
23712         (sinh_test_downward): Likewise.
23713         (sinh_test_upward): Likewise.
23714         (sqrt_test): Likewise.
23715         (sqrt_test_tonearest): Likewise.
23716         (sqrt_test_towardzero): Likewise.
23717         (sqrt_test_downward): Likewise.
23718         (sqrt_test_upward): Likewise.
23719         (tan_test): Likewise.
23720         (tan_test_tonearest): Likewise.
23721         (tan_test_towardzero): Likewise.
23722         (tan_test_downward): Likewise.
23723         (tan_test_upward): Likewise.
23724         (tanh_test): Likewise.
23725         (tgamma_test): Likewise.
23726         (trunc_test): Likewise.
23727         (y0_test): Likewise.
23728         (y1_test): Likewise.
23729         (yn_test): Likewise.
23730         (significand_test): Likewise.
23732         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23733         individual tests in comment.
23734         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23735         (prev_max_error): New variable.
23736         (prev_real_max_error): Likewise.
23737         (prev_imag_max_error): Likewise.
23738         (compare_ulp_data): Don't refer to test names in comment.
23739         (find_test_ulps): Remove function.
23740         (find_function_ulps): Likewise.
23741         (find_complex_function_ulps): Likewise.
23742         (init_max_error): Take function name as argument.  Look up ulps
23743         for that function.
23744         (print_ulps): Remove function.
23745         (print_max_error): Use prev_max_error instead of calling
23746         find_function_ulps.
23747         (print_complex_max_error): Use prev_real_max_error and
23748         prev_imag_max_error instead of calling find_complex_function_ulps.
23749         (check_float_internal): Take max_ulp parameter instead of calling
23750         find_test_ulps.  Don't call print_ulps.
23751         (check_float): Update call to check_float_internal.
23752         (check_complex): Update calls to check_float_internal.
23753         (START): Pass argument to init_max_error.
23754         * math/gen-libm-test.pl (%results): Don't include "kind"
23755         information.
23756         (parse_ulps): Don't handle ulps of individual tests.
23757         (print_ulps_file): Likewise.
23758         (output_ulps): Likewise.
23759         * math/README.libm-test: Update.
23760         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23761         individual tests.
23762         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23763         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23764         * sysdeps/arm/libm-test-ulps: Likewise.
23765         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23766         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23767         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23768         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23769         * sysdeps/microblaze/libm-test-ulps: Likewise.
23770         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23771         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23772         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23773         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23774         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23775         * sysdeps/sh/libm-test-ulps: Likewise.
23776         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23777         * sysdeps/tile/libm-test-ulps: Likewise.
23778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23780 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23782         * math/libm-test.inc (print_complex_max_error): Check separately
23783         whether real and imaginary errors are within allowed range and
23784         pass 0 to print_complex_function_ulps instead of value within
23785         allowed range.
23787 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23789         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23790         formatting.
23791         (get_handles_fopen): Likewise.
23792         (do_write_test): Likewise.
23794         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23796         * libio/fileops.c (do_ftell): Use cached offset when
23797         available.
23798         * libio/iofwide.c (do_ftell_wide): Likewise.
23799         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23800         _IO_file_attach.
23801         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23803         [BZ #16532]
23804         * libio/libioP.h (get_file_offset): New function.
23805         * libio/fileops.c (get_file_offset): Likewise.
23806         (do_ftell): Likewise.
23807         (_IO_new_file_seekoff): Split out ftell logic.
23808         * libio/wfileops.c (do_ftell_wide): Likewise.
23809         (_IO_wfile_seekoff): Split out ftell logic.
23810         * libio/tst-ftell-active-handler.c: New test case.
23811         * libio/Makefile (tests): Add it.
23813 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23815         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23816         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23818 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23820         [BZ #16639]
23821         * nscd/connections.c (nscd_init): Call do_exit.
23822         (start_threads): Call do_exit and notify_parent.
23823         (begin_drop_privileges): Call do_exit.
23824         (finish_drop_privileges): Likewise.
23825         * nscd/selinux.c (preserve_capabilities): Likewise.
23826         (install_real_capabilities): Likewise.
23827         (nscd_selinux_enabled): Likewise.
23828         (avc_create_thread): Likewise.
23829         (avc_alloc_lock): Likewise.
23830         (nscd_avc_init): Likewise.
23831         * nscd/nscd.c (parent_fd): New static variable.
23832         (main): Create a pipe between parent and child processes.
23833         Skip closing parent_fd.
23834         (monitor_child): New function.
23835         (do_exit): Likewise.
23836         (notify_parent): Likewise.
23837         * nscd/nscd.h (notify_parent): Likewise.
23838         (do_exit): Likewise.
23840 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23842         * malloc/malloc.c (__libc_calloc): Revert last change.
23844 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23848 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23850         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23852         implementation.
23853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23854         (__libc_ifunc_impl_list): Likewise.
23855         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23856         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23857         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23858         * string/strrchr.c: Define STRRCHR.
23860 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23862         * benchtest/bench-strtok.c (simple_strtok): Delete.
23863         (strtok_string): Use as benchmark.
23864         * string/strtok (STRTOK): New macro.
23866 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23868         * manual/threads.texi: Add header and standard comments to all
23869         functions.
23871         * elf/dl-lookup.c (check_match): New function.
23872         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23873         (do_lookup_x): Remove nested function check_match. Use non-nested
23874         function check_match.
23876 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23878         * csu/Makefile (generated, before-compile): Use += rather than =.
23879         * catgets/Makefile (generated, generated-dirs): Likewise.
23880         * debug/Makefile (generated): Likewise.
23881         * dlfcn/Makefile (generated): Likewise.
23882         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23883         * iconvdata/Makefile (before-compile, generated): Likewise.
23884         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23885         * libio/Makefile (generated): Likewise.
23886         * malloc/Makefile (generated): Likewise.
23887         * manual/Makefile (generated, generated-dirs): Likewise.
23888         * misc/Makefile (generated): Likewise.
23889         * posix/Makefile (generated): Likewise.
23890         * resolv/Makefile (generated): Likewise.
23891         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23892         * timezone/Makefile (generated, generated-dirs): Likewise.
23894         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23896 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23899         power8 implementation.
23900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23901         file: POWER8 llround ifunc implementation.
23902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23903         (__lllround): Add POWER8 implementation.
23904         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23905         POWER8 llround implementation.
23907         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23908         power8 implementation.
23909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23910         file: POWER8 llrint ifunc implementation.
23911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23912         Add POWER8 implementation.
23913         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23914         POWER8 llrint implementation.
23916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23917         power8 implementation.
23918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23919         file: POWER8 finite ifunc implementation.
23920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23921         Add POWER8 implementation.
23922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23923         Likewise.
23924         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23925         POWER8 finite implementation.
23926         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23929         power8 implementation.
23930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23931         file: POWER8 isinf ifunc implementation.
23932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23933         POWER8 implementation.
23934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23935         Likewise.
23936         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23937         isinf implementation.
23938         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23940         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23941         (INIT_ARCH): Add hwcap2 initialization.
23942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23943         power8 implementation.
23944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23945         file: POWER8 isnan ifunc implementation.
23946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23947         POWER8 implementation.
23948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23949         Likewise.
23950         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23951         isnan implementation.
23952         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23954 2014-02-27  Joey Ye  <joey.ye@arm.com>
23956         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23957         (_FP_NANFRAC_Q): Set to zero.
23959 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23961         [BZ #16623]
23962         * math/auto-libm-test-in: New test inputs.
23963         * math/auto-libm-test-out: Regenerate.
23964         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23965         and DA.
23966         (__cos): Likewise.
23967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23969 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23971         * scripts/evaluate-test.sh: Take new argument indicating whether
23972         failure is expected.
23973         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23974         indicating whether failure is expected.
23975         * conform/Makefile (test-xfail-run-conformtest): New variable.
23976         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23977         level.
23978         * posix/Makefile (test-xfail-annexc): New variable.
23979         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23981 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23983         * argp/Makefile: Include Makeconfig immediately after defining
23984         subdir.
23985         * assert/Makefile: Likewise.
23986         * benchtests/Makefile: Likewise.
23987         * catgets/Makefile: Likewise.
23988         * conform/Makefile: Likewise.
23989         * crypt/Makefile: Likewise.
23990         * csu/Makefile: Likewise.
23991         (all): Remove target.
23992         * ctype/Makefile: Include Makeconfig immediately after defining
23993         subdir.
23994         * debug/Makefile: Likewise.
23995         * dirent/Makefile: Likewise.
23996         * dlfcn/Makefile: Likewise.
23997         * gmon/Makefile: Likewise.
23998         * gnulib/Makefile: Likewise.
23999         * grp/Makefile: Likewise.
24000         * gshadow/Makefile: Likewise.
24001         * hesiod/Makefile: Likewise.
24002         * hurd/Makefile: Likewise.
24003         (all): Remove target.
24004         * iconvdata/Makefile: Include Makeconfig immediately after
24005         defining subdir.
24006         * inet/Makefile: Likewise.
24007         * intl/Makefile: Likewise.
24008         * io/Makefile: Likewise.
24009         * libio/Makefile: Likewise.
24010         (all): Remove target.
24011         * locale/Makefile: Include Makeconfig immediately after defining
24012         subdir.
24013         * login/Makefile: Likewise.
24014         * mach/Makefile: Likewise.
24015         (all): Remove target.
24016         * malloc/Makefile: Include Makeconfig immediately after defining
24017         subdir.
24018         (all): Remove target.
24019         * manual/Makefile: Include Makeconfig immediately after defining
24020         subdir.
24021         * math/Makefile: Likewise.
24022         * misc/Makefile: Likewise.
24023         * nis/Makefile: Likewise.
24024         * nss/Makefile: Likewise.
24025         * po/Makefile: Likewise.
24026         (all): Remove target.
24027         * posix/Makefile: Include Makeconfig immediately after defining
24028         subdir.
24029         * pwd/Makefile: Likewise.
24030         * resolv/Makefile: Likewise.
24031         * resource/Makefile: Likewise.
24032         * rt/Makefile: Likewise.
24033         * setjmp/Makefile: Likewise.
24034         * shadow/Makefile: Likewise.
24035         * signal/Makefile: Likewise.
24036         * socket/Makefile: Likewise.
24037         * soft-fp/Makefile: Likewise.
24038         * stdio-common/Makefile: Likewise.
24039         * stdlib/Makefile: Likewise.
24040         * streams/Makefile: Likewise.
24041         * string/Makefile: Likewise.
24042         * sunrpc/Makefile: Likewise.
24043         (all): Remove target.
24044         * sysvipc/Makefile: Include Makeconfig immediately after defining
24045         subdir.
24046         * termios/Makefile: Likewise.
24047         * time/Makefile: Likewise.
24048         * timezone/Makefile: Likewise.
24049         (all): Remove target.
24050         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24051         subdir.
24052         * wctype/Makefile: Likewise.
24054 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24056         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24057         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24058         (libc_feholdexcept_setround_mips): Ditto.
24059         (libc_feholdsetround): New.
24060         (libc_feholdsetroundf): New.
24061         (libc_feholdsetroundl): New.
24062         (libc_feupdateenv_test_mips): New.
24063         (libc_feupdateenv_test): New.
24064         (libc_feupdateenv_testf): New.
24065         (libc_feupdateenv_testl): New.
24066         (libc_feresetround): New.
24067         (libc_feresetroundf): New.
24068         (libc_feresetroundl): New.
24069         (libc_fetestexcept_mips): New.
24070         (libc_fetestexcept): New.
24071         (libc_fetestexceptf): New.
24072         (libc_fetestexceptl): New.
24073         (HAVE_RM_CTX): New.
24074         (libc_feholdexcept_setround_mips_ctx): New.
24075         (libc_feholdexcept_setround_ctx): New.
24076         (libc_feholdexcept_setroundf_ctx): New.
24077         (libc_feholdexcept_setroundl_ctx): New.
24078         (libc_fesetenv_mips_ctx): New.
24079         (libc_fesetenv_ctx): New.
24080         (libc_fesetenv_ctxf): New.
24081         (libc_fesetenv_ctxl): New.
24082         (libc_feupdateenv_mips_ctx): New.
24083         (libc_feupdateenv_ctx): New.
24084         (libc_feupdateenvf_ctx): New.
24085         (libc_feupdateenvl_ctx): New.
24086         (libc_feholdsetround_mips_ctx): New.
24087         (libc_feholdsetround_ctx): New.
24088         (libc_feholdsetroundf_ctx): New.
24089         (libc_feholdsetroundl_ctx): New.
24090         (libc_feresetround_mips_ctx): New.
24091         (libc_feresetround_ctx): New.
24092         (libc_feresetroundf_ctx): New.
24093         (libc_feresetroundl_ctx): New.
24095 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24097         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24099         * manual/ipc.texi: New file.
24100         * manual/Makefile (chapters): Add ipc.
24101         * manual/job.texi: Add "Inter-Process Communication" to next.
24102         * manual/process.texi: Add "Inter-Process Communication" to prev.
24104 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24108 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24110         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24112         * manual/arith.texi: Fix spaces after sentences.
24113         * manual/charset.texi: Likewise.
24114         * manual/errno.texi: Likewise.
24115         * manual/install.texi: Likewise.
24116         * manual/llio.texi: Likewise.
24117         * manual/locale.texi: Likewise.
24118         * manual/maint.texi: Likewise.
24119         * manual/math.texi: Likewise.
24120         * manual/memory.texi: Likewise.
24121         * manual/message.texi: Likewise.
24122         * manual/probes.texi: Likewise.
24123         * manual/resource.texi: Likewise.
24124         * manual/signal.texi: Likewise.
24125         * manual/socket.texi: Likewise.
24126         * manual/stdio.texi: Likewise.
24127         * manual/string.texi: Likewise.
24128         * manual/time.texi: Likewise.
24129         * manual/users.texi: Likewise.
24131 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24133         [BZ #16632]
24134         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24135         _DEFAULT_SOURCE is defined.
24137 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24138             Carlos O'Donell  <carlos@redhat.com>
24140         [BZ #16613]
24141         * elf/dl-tls.c (_dl_count_modids): New function.
24142         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24143         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24144         audit library and increment generation counter.
24145         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24146         * elf/tst-audit9.c: New file.
24147         * elf/tst-auditmod9a.c: New file.
24148         * elf/tst-auditmod9b.c: New file.
24149         * elf/Makefile: Add rules to build and run tst-audit9.
24151 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24153         [BZ #15347]
24154         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24156 2014-02-25  Will Newton  <will.newton@linaro.org>
24158         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24159         (__longjmp): Restore sp and lr before restoring callee
24160         saved registers.  Add longjmp and longjmp_target
24161         SystemTap probe point.
24162         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24163         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24164         Define to zero to match jmpbuf layout.
24165         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24166         (__sigsetjmp): Save sp and lr before saving callee
24167         saved registers.  Add setjmp SystemTap probe point.
24169 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24171         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24173 2014-02-24  Andreas Schwab  <schwab@suse.de>
24175         [BZ #15804]
24176         * elf/pldd.c (wait_for_ptrace_stop): New function.
24177         (main): Call it after attaching.
24179 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24181         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24182         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24183         Versions files is now verboten.
24184         * hurd/Versions (libc: GLIBC_2.0):
24185         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24186         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24187         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24188         * mach/Versions: Likewise.
24190         * csu/Versions: Remove unused %include.
24191         * resolv/Versions: Likewise.
24193 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24195         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24196         ($(objpfx)check-local-headers.out): Likewise.
24197         ($(objpfx)begin-end-check.out): Likewise.
24198         * Makerules (check-abi-%.out): Likewise.
24199         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24200         ($(objpfx)test2.cat): Likewise.
24201         ($(objpfx)de/libc.cat): Likewise.
24202         ($(objpfx)test-gencat.out): Likewise.
24203         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24204         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24205         ($(objpfx)noload-mem): Likewise.
24206         ($(objpfx)tst-pathopt.out): Likewise.
24207         ($(objpfx)tst-rtld-load-self.out): Likewise.
24208         ($(objpfx)tst-array1-cmp.out): Likewise.
24209         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24210         ($(objpfx)tst-array2-cmp.out): Likewise.
24211         ($(objpfx)tst-array3-cmp.out): Likewise.
24212         ($(objpfx)tst-array4-cmp.out): Likewise.
24213         ($(objpfx)tst-array5-cmp.out): Likewise.
24214         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24215         ($(objpfx)check-textrel.out): Likewise.
24216         ($(objpfx)check-execstack.out): Likewise.
24217         ($(objpfx)check-localplt.out): Likewise.
24218         ($(objpfx)order2-cmp.out): Likewise.
24219         ($(objpfx)tst-leaks1-mem): Likewise.
24220         ($(objpfx)tst-leaks1-static-mem): Likewise.
24221         ($(objpfx)tst-initorder-cmp.out): Likewise.
24222         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24223         ($(objpfx)tst-unused-dep.out): Likewise.
24224         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24225         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24226         * iconv/Makefile (test-iconvconfig): Likewise.
24227         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24228         ($(objpfx)iconv-test.out): Likewise.
24229         ($(objpfx)tst-tables.out): Likewise.
24230         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24231         ($(objpfx)tst-gettext.out): Likewise.
24232         ($(objpfx)tst-translit.out): Likewise.
24233         ($(objpfx)tst-gettext2.out): Likewise.
24234         ($(objpfx)tst-gettext4.out): Likewise.
24235         ($(objpfx)tst-gettext6.out): Likewise.
24236         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24237         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24238         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24239         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24240         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24241         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24242         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24243         ($(objpfx)wordexp-tst.out): Likewise.
24244         ($(objpfx)annexc.out): Likewise.
24245         ($(objpfx)tst-fnmatch-mem): Likewise.
24246         ($(objpfx)bug-regex2-mem): Likewise.
24247         ($(objpfx)bug-regex14-mem): Likewise.
24248         ($(objpfx)bug-regex21-mem): Likewise.
24249         ($(objpfx)bug-regex31-mem): Likewise.
24250         ($(objpfx)tst-vfork3-mem): Likewise.
24251         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24252         ($(objpfx)tst-pcre-mem): Likewise.
24253         ($(objpfx)tst-boost-mem): Likewise.
24254         ($(objpfx)tst-getconf.out): Likewise.
24255         ($(objpfx)bug-ga2-mem): Likewise.
24256         ($(objpfx)bug-glob2-mem): Likewise.
24257         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24258         ($(objpfx)mtrace-tst-leaks2): Likewise.
24259         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24260         ($(objpfx)tst-printf.out): Likewise.
24261         ($(objpfx)tst-setvbuf1.out): Likewise.
24262         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24263         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24264         ($(objpfx)tst-fmtmsg.out): Likewise.
24265         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24266         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24268         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24269         * bits/sigaction.h [__USE_MISC]: Likewise.
24270         * bits/waitstatus.h: Update #endif comments.
24271         * ctype/ctype.h: Likewise.
24272         * dirent/dirent.h: Likewise.
24273         [__USE_MISC]: Remove redundant conditionals.
24274         * grp/grp.h: Update #endif comments.
24275         [__USE_GNU]: Remove redundant conditionals.
24276         [__USE_MISC]: Likewise.
24277         * inet/netinet/in.h [__USE_GNU]: Likewise.
24278         * io/sys/stat.h [__USE_MISC]: Likewise.
24279         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24280         * libio/bits/stdio.h: Update #endif comments.
24281         [__USE_MISC]: Remove redundant conditionals.
24282         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24283         * libio/stdio.h: Update #endif comments.
24284         [__USE_MISC]: Remove redundant conditionals.
24285         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24286         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24287         * math/math.h: Update #else and #endif comments.
24288         [__USE_MISC]: Remove redundant conditionals.
24289         * misc/sys/uio.h: Update #endif comments.
24290         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24291         * posix/glob.h [__USE_MISC]: Likewise.
24292         * posix/sys/types.h: Update #endif comments.
24293         [__USE_MISC]: Remove redundant conditionals.
24294         * posix/sys/wait.h: Update #endif comments.
24295         [__USE_MISC]: Remove redundant conditionals.
24296         * posix/unistd.h: Update #endif comments.
24297         [__USE_MISC]: Remove redundant conditionals.
24298         * pwd/pwd.h [__USE_GNU]: Likewise.
24299         [__USE_MISC]: Likewise.
24300         * resolv/netdb.h [__USE_GNU]: Likewise.
24301         * signal/signal.h: Update #endif comments.
24302         [__USE_MISC]: Remove redundant conditionals.
24303         * stdlib/stdlib.h: Update #else and #endif comments.
24304         [__USE_MISC]: Remove redundant conditionals.
24305         [__USE_GNU]: Likewise.
24306         * string/bits/string2.h [__USE_MISC]: Likewise.
24307         * string/string.h: Update #endif comments.
24308         [__USE_MISC]: Remove redundant conditionals.
24309         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24310         Likewise.
24311         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24312         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24313         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24314         Likewise.
24315         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24316         Likewise.
24317         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24318         comments.
24319         [__USE_MISC]: Remove redundant conditionals.
24320         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24321         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24322         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24323         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24324         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24325         Likewise.
24326         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24327         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24328         Likewise.
24329         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24330         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24331         Likewise.
24332         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24333         Likewise.
24334         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24335         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24336         Likewise.
24337         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24338         Likewise.
24339         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24340         * sysdeps/x86/bits/string.h: Update #endif comments.
24341         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24342         conditionals.
24343         * time/sys/time.h: Update #endif comments.
24344         * time/time.h: Likewise.
24345         [__USE_MISC]: Remove redundant conditionals.
24347 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24349         [BZ #16600]
24350         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24352 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24354         * Versions.def (librt): Add GLIBC_2.17.
24356 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24358         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24359         synonym for _SYS_AUXV_H to allow direct inclusion.
24360         * sysdeps/sparc/bits/hwcap.h: Likewise.
24361         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24362         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24363         * sysdeps/sparc/sysdep.h: Likewise.
24365 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24367         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24369 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24371         * benchtests/bench-strrchr.c: Print length instead of position.
24373 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24375         [BZ #16611]
24376         * sysdeps/unix/sysv/linux/kernel-features.h
24377         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24378         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24379         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24380         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24381         Likewise.
24382         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24383         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24384         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24385         (__ASSUME_SENDMMSG): Define instead of using previous
24386         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24387         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24388         (__ASSUME_SENDMMSG_SYSCALL): Define.
24389         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24390         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24391         Likewise.
24392         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24393         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24394         Likewise.
24395         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24396         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24397         Likewise.
24398         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24399         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24400         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24401         [__ASSUME_SENDMMSG]: Change conditionals to
24402         [__ASSUME_SENDMMSG_SOCKETCALL].
24403         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24404         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24405         Define.
24406         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24407         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24408         Likewise.
24409         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24410         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24411         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24412         [!__ASSUME_SENDMMSG]: Change conditional to
24413         [!__ASSUME_SENDMMSG_SOCKETCALL].
24414         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24415         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24416         Define.
24418         [BZ #16610]
24419         * sysdeps/unix/sysv/linux/kernel-features.h
24420         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24421         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24422         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24423         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24424         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24425         [__i386__ || __sparc__]
24426         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24427         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24428         (__ASSUME_RECVMMSG): Define instead of using previous
24429         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24430         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24431         (__ASSUME_RECVMMSG_SYSCALL): Define.
24432         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24433         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24434         Likewise.
24435         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24436         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24437         Likewise.
24438         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24439         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24440         Likewise.
24441         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24442         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24443         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24444         [__ASSUME_RECVMMSG]: Change condition to
24445         [__ASSUME_RECVMMSG_SOCKETCALL].
24446         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24447         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24448         Define.
24449         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24450         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24451         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24452         Likewise.
24453         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24454         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24455         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24456         [!__ASSUME_RECVMMSG]: Change condition to
24457         [!__ASSUME_RECVMMSG_SOCKETCALL].
24458         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24459         (__ASSUME_RECVMMSG_SYSCALL): Define.
24461         [BZ #16609]
24462         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24463         __powerpc__ || __s390__ || __sh__ || __sparc__]
24464         (__ASSUME_SOCKETCALL): Define.
24465         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24466         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24467         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24468         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24469         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24470         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24471         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24472         (__ASSUME_ACCEPT4): Define instead of using previous
24473         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24474         __powerpc__ || __sparc__ || __s390__)] condition.
24475         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24476         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24477         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24478         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24479         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24480         [!__ASSUME_ACCEPT4]: Change condition to
24481         [!__ASSUME_ACCEPT4_SOCKETCALL].
24482         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24483         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24484         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24485         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24486         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24487         __ASSUME_ACCEPT4_SYSCALL.
24488         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24489         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24490         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24491         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24492         __ASSUME_ACCEPT4_SYSCALL.
24493         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24494         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24495         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24496         [__ASSUME_ACCEPT4]: Change condition to
24497         [__ASSUME_ACCEPT4_SOCKETCALL].
24498         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24499         (__ASSUME_SOCKETCALL): Define.
24500         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24502         (__ASSUME_SOCKETCALL): Define.
24503         (__ASSUME_ACCEPT4): Remove.
24504         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24505         Define.
24506         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24507         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24508         Likewise.
24509         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24510         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24512         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24513         macro.
24514         (HWCAP_ARM_LPAE): Likewise.
24515         (HWCAP_ARM_EVTSTRM): Likewise.
24516         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24517         Add vpfd32, lpae and evtstrm.
24518         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24519         Increase to 22.
24521 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24523         * math/auto-libm-test-in: Add tests of clog10.
24524         * math/auto-libm-test-out: Regenerated.
24525         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24526         * sysdeps/i386/fpu/libm-test-ulps: Update.
24527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24529 2014-02-18  Andreas Schwab  <schwab@suse.de>
24531         [BZ #16574]
24532         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24533         Store non-zero if the second buffer was newly allocated.
24534         (send_dg): Likewise.
24535         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24536         to send_vc and send_dg.
24537         (res_nsend): Pass NULL for ansp2_malloced.
24538         * resolv/res_query.c (__libc_res_nquery): Add parameter
24539         answerp2_malloced and pass it down to __libc_res_nsend.
24540         (res_nquery): Pass additional NULL to __libc_res_nquery.
24541         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24542         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24543         second answer buffer if answerp2_malloced was set.
24544         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24545         (__libc_res_nquerydomain): Add parameter
24546         answerp2_malloced and pass it down to __libc_res_nquery.
24547         (res_nquerydomain): Pass additional NULL to
24548         __libc_res_nquerydomain.
24549         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24550         additional NULL to __libc_res_nsend and __libc_res_nquery.
24551         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24552         additional NULL to __libc_res_nsearch.
24553         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24554         parameter of __libc_res_nsearch to check for separately allocated
24555         second buffer.
24556         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24557         __libc_res_nquery.
24558         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24559         additional NULL to __libc_res_nquery.
24560         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24561         __libc_res_nsearch.
24562         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24563         * include/resolv.h: Update prototypes of __libc_res_nquery,
24564         __libc_res_nsearch, __libc_res_nsend.
24566 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24568         * math/auto-libm-test-in: Add tests of fma.
24569         * math/auto-libm-test-out: Regenerated.
24570         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24571         (fma_towardzero_test_data): Likewise.
24572         (fma_downward_test_data): Likewise.
24573         (fma_upward_test_data): Likewise.
24574         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24575         mpc_mode.
24576         (rounding_modes): Add values for new field.
24577         (func_calc_method): Add value mpfr_fff_f.
24578         (func_calc_desc): Add mpfr_fff_f union field.
24579         (test_function): Add field exact_args.
24580         (FUNC): Add macro argument EXACT_ARGS.
24581         (FUNC_mpfr_f_f): Update call to FUNC.
24582         (FUNC_mpfr_f_f): Likewise.
24583         (FUNC_mpfr_ff_f): Likewise.
24584         (FUNC_mpfr_if_f): Likewise.
24585         (FUNC_mpc_c_f): Likewise.
24586         (FUNC_mpc_c_c): Likewise.
24587         (test_functions): Add fma.  Update calls to FUNC.
24588         (handle_input_arg): Add argument exact_args.
24589         (add_test): Update call to handle_input_arg.
24590         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24591         (output_for_one_input_case): Update call to calc_generic_results.
24592         Recalculate exact zero results in each rounding mode.
24594         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24595         non-negative before setting low bit.
24596         * math/auto-libm-test-in: Mark one asin test possibly having
24597         spurious underflow.
24598         * math/auto-libm-test-out: Regenerated.
24599         * sysdeps/i386/fpu/libm-test-ulps: Update.
24600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24602 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24604         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24605         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24606         ports/sysdeps/unix/sysv/linux/microblaze.
24607         * README: Add missing listing for microblaze*-*-linux-gnu.
24609 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24611         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24612         duplicate code
24614 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24616         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24617         * sysdeps/unix/sysv/linux/ia64: Move directory from
24618         ports/sysdeps/unix/sysv/linux/ia64.
24619         * README: Update listing for ia64-*-linux-gnu.
24621 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24622             Joseph Myers  <joseph@codesourcery.com>
24624         * Makeconfig (test-name): New variable.
24625         (evaluate-test): Likewise.
24626         * Makerules (do-test-clean): Remove .test-result files.
24627         (common-mostlyclean): Likewise.
24628         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24629         * scripts/evaluate-test.sh: New file.
24631 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24633         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24634         separate $(objpfx)tst-fopenloc-cmp.out and
24635         $(objpfx)tst-fopenloc-mem.out targets.
24636         (tests): Update dependencies.
24637         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24638         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24639         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24640         (tst-rxspencer-no-utf8-ARGS): New variable.
24641         (tst-rxspencer-no-utf8-ENV): Likewise.
24642         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24643         instead of $(objpfx)tst-rxspencer-mem.
24644         ($(objpfx)tst-rxspencer-mem): Change target to
24645         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24646         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24647         * posix/tst-rxspencer-no-utf8.c: New file.
24649         * elf/Makefile ($(objpfx)order.out): Remove rule.
24650         [$(run-built-tests) = yes] (tests): Depend on
24651         $(objpfx)order-cmp.out.
24652         ($(objpfx)order-cmp.out): New rule.
24653         [$(run-built-tests) = yes] (tests): Depend on
24654         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24655         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24656         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24657         $(objpfx)tst-array5-static-cmp.out.
24658         ($(objpfx)tst-array1.out): Remove rule.
24659         ($(objpfx)tst-array1-cmp.out): New rule.
24660         ($(objpfx)tst-array1-static.out): Remove rule.
24661         ($(objpfx)tst-array1-static-cmp.out): New rule.
24662         ($(objpfx)tst-array2.out): Remove rule.
24663         ($(objpfx)tst-array2-cmp.out): New rule.
24664         ($(objpfx)tst-array3.out): Remove rule.
24665         ($(objpfx)tst-array3-cmp.out): New rule.
24666         ($(objpfx)tst-array4.out): Remove rule.
24667         ($(objpfx)tst-array4-cmp.out): New rule.
24668         ($(objpfx)tst-array5.out): Remove rule.
24669         ($(objpfx)tst-array5-cmp.out): New rule.
24670         ($(objpfx)tst-array5-static.out): Remove rule.
24671         ($(objpfx)tst-array5-static-cmp.out): New rule.
24672         [$(run-built-tests) = yes] (tests): Depend on
24673         $(objpfx)order2-cmp.out.
24674         ($(objpfx)order2.out): Remove rule.
24675         ($(objpfx)order2-cmp.out): New rule.
24676         ($(objpfx)tst-initorder.out): Remove rule.
24677         [$(run-built-tests) = yes] (tests): Depend on
24678         $(objpfx)tst-initorder-cmp.out.
24679         ($(objpfx)tst-initorder-cmp.out): New rule.
24680         ($(objpfx)tst-initorder2.out): Remove rule.
24681         [$(run-built-tests) = yes] (tests): Depend on
24682         $(objpfx)tst-initorder2-cmp.out.
24683         ($(objpfx)tst-initorder2-cmp.out): New rule.
24684         [$(run-built-tests) = yes] (tests): Depend on
24685         $(objpfx)tst-unused-dep-cmp.out.
24686         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24687         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24688         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24689         on $(objpfx)tst-setvbuf1-cmp.out.
24690         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24691         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24692         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24693         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24694         ($(objpfx)tst-svc.out): Remove rule.
24695         ($(objpfx)tst-svc-cmp.out): New rule.
24697 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24699         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24700         * ctype/ctype.h [__USE_MISC]: Likewise.
24701         * dirent/dirent.h [__USE_MISC]: Likewise.
24702         * grp/grp.h [__USE_MISC]: Likewise.
24703         * io/fcntl.h [__USE_MISC]: Likewise.
24704         * io/sys/stat.h [__USE_MISC]: Likewise.
24705         * libio/stdio.h [__USE_MISC]: Likewise.
24706         * posix/unistd.h [__USE_MISC]: Likewise.
24707         * pwd/pwd.h [__USE_MISC]: Likewise.
24708         * stdlib.h [__USE_MISC]: Likewise.
24709         * string/bits/string2.h [__USE_MISC]: Likewise.
24710         * string/string.h [__USE_MISC]: Likewise.
24711         * time/time.h [__USE_MISC]: Likewise.
24713 2014-02-13  Andreas Schwab  <schwab@suse.de>
24715         [BZ #16574]
24716         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24717         second answer buffer if it was separately allocated.
24719 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24721         * sysdeps/mips/math-tests.h: Include <features.h>.
24722         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24723         (ROUNDING_TESTS_long_double): Do not define.
24724         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24725         (EXCEPTION_TESTS_long_double): Likewise.
24726         * sysdeps/mips/mips64/libm-test-ulps: Update.
24728         * include/features.h (__USE_BSD): Remove macro definitions.
24729         (__USE_SVID): Likewise.
24730         (_BSD_SOURCE): Likewise.
24731         (_SVID_SOURCE): Likewise.
24732         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24733         from definition of _DEFAULT_SOURCE.
24734         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24735         [_DEFAULT_SOURCE].
24736         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24737         * bits/mman.h [__USE_BSD]: Likewise.
24738         * bits/termios.h [__USE_BSD]: Likewise.
24739         * bits/waitstatus.h [__USE_BSD]: Likewise.
24740         * ctype/ctype.h [__USE_SVID]: Likewise.
24741         * dirent/dirent.h [__USE_BSD]: Likewise.
24742         * grp/grp.h [__USE_SVID]: Likewise.
24743         [__USE_BSD]: Likewise.
24744         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24745         * io/fcntl.h [__USE_BSD]: Likewise.
24746         * io/ftw.h [__USE_BSD]: Likewise.
24747         * io/sys/stat.h [__USE_BSD]: Likewise.
24748         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24749         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24750         * libio/stdio.h [__USE_SVID]: Likewise.
24751         [__USE_BSD]: Likewise.
24752         * math/math.h [__USE_SVID]: Likewise.
24753         [__USE_BSD]: Likewise.
24754         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24755         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24756         * misc/search.h [__USE_SVID]: Likewise.
24757         * misc/sys/mman.h [__USE_BSD]: Likewise.
24758         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24759         * misc/sys/uio.h [__USE_BSD]: Likewise.
24760         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24761         * posix/glob.h [__USE_BSD]: Likewise.
24762         * posix/regex.h [__USE_BSD]: Likewise.
24763         * posix/sys/types.h [__USE_BSD]: Likewise.
24764         [__USE_SVID]: Likewise.
24765         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24766         * posix/sys/wait.h [__USE_BSD]: Likewise.
24767         [__USE_SVID]: Likewise.
24768         * posix/unistd.h [__USE_BSD]: Likewise.
24769         [__USE_SVID]: Likewise.
24770         * pwd/pwd.h [__USE_SVID]: Likewise.
24771         * resolv/netdb.h [__USE_BSD]: Likewise.
24772         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24773         * signal/signal.h [__USE_BSD]: Likewise.
24774         [__USE_SVID]: Likewise.
24775         * socket/sys/socket.h [__USE_BSD]: Likewise.
24776         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24777         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24778         [__USE_SVID]: Likewise.
24779         * string/bits/string2.h [__USE_BSD]: Likewise.
24780         [__USE_SVID]: Likewise.
24781         * string/bits/string3.h [__USE_BSD]: Likewise.
24782         * string/endian.h [__USE_BSD]: Likewise.
24783         * string/string.h [__USE_SVID]: Likewise.
24784         [__USE_BSD]: Likewise.
24785         * string/strings.h [__USE_BSD]: Likewise.
24786         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24787         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24788         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24789         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24790         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24791         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24792         Likewise.
24793         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24794         Likewise.
24795         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24796         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24797         Likewise.
24798         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24799         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24800         Likewise.
24801         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24802         Likewise.
24803         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24804         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24805         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24806         Likewise.
24807         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24808         Likewise.
24809         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24810         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24811         * termios/termios.h [__USE_BSD]: Likewise.
24812         * time/sys/time.h [__USE_BSD]: Likewise.
24813         * time/time.h [__USE_BSD]: Likewise.
24814         [__USE_SVID]: Likewise.
24816         * Makefile (subdir_targets): Remove subdir_lint.out.
24818         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24819         (do-tst-printf): Likewise.
24820         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24821         $(objpfx)tst-printf.out.
24823         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24825         * Makerules (check-abi-%): Change target to
24826         $(objpfx)check-abi-%.out.
24827         (check-abi target): Update dependencies.
24828         (check-abi-pattern variable): Redirect output of diff to $@.
24829         (check-abi variable): Likewise.
24830         * elf/Makefile (check-abi): Update dependencies.
24832         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24833         unused.
24834         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24835         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24836         subnormal range.
24837         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24838         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24839         value has largest subnormal exponent.
24840         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24841         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24842         * sysdeps/aarch64/soft-fp/sfp-machine.h
24843         (_FP_TININESS_AFTER_ROUNDING): New macro.
24844         * sysdeps/alpha/soft-fp/sfp-machine.h
24845         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24846         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24847         Likewise.
24848         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24849         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24850         * sysdeps/mips/soft-fp/sfp-machine.h
24851         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24852         * sysdeps/powerpc/soft-fp/sfp-machine.h
24853         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24854         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24855         Likewise.
24856         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24857         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24858         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24859         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24860         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24861         Likewise.
24863 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24865         [BZ #16545]
24866         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24867         model 1.
24869 2014-02-12  Richard Henderson  <rth@redhat.com>
24871         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24872         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24873         * sysdeps/unix/sysv/linux/alpha: Move directory from
24874         ports/sysdeps/unix/sysv/linux/alpha.
24875         * README: Update listing for alpha-*-linux-gnu.
24877 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24879         * include/features.h: Update comment documenting feature test
24880         macros.
24881         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24882         _DEFAULT_SOURCE.
24883         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24884         (_SVID_SOURCE): Likewise.
24885         (_DEFAULT_SOURCE): Update description of default features.
24886         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24887         with _GNU_SOURCE.
24888         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24889         (S_ISVTX): Likewise.
24890         * manual/math.texi (Mathematical Constants): Likewise.
24891         * manual/signal.texi (Interrupted Primitives): Likewise.
24892         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24893         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24894         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24895         Don't refer to _SVID_SOURCE in warning text.
24897         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24899         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24900         already defined.
24901         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24902         * sysdeps/mips/dl-lookup.c: Remove.
24903         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24905 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24907         [BZ #16447]
24908         * math/auto-libm-test-in: Add testcase for expl.
24909         * math/auto-libm-test-out: Regenerate.
24910         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24911         calculation of unsafe.
24912         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24914 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24916         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24917         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24918         ports/sysdeps/unix/sysv/linux/aarch64.
24919         * README: Update listing for aarch64*-*-linux-gnu.
24921 2014-02-11  Will Newton  <will.newton@linaro.org>
24923         * manual/probes.texi (Mathematical Function Probes): Use
24924         "triggered" instead of "hit".
24926         * manual/probes.texi (Internal Probes): Add documentation
24927         of setjmp, longjmp and longjmp_target probes.
24929         * include/stap-probe.h: Add comment about probe argument
24930         format.
24932         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24933         definition.  (tr_where, tr_freehook, tr_mallochook,
24934         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24936 2014-02-11  David S. Miller  <davem@davemloft.net>
24938         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24939         processing int_tests.
24941 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24943         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24944         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24945         * sysdeps/unix/sysv/linux/mips: Move directory from
24946         ports/sysdeps/unix/sysv/linux/mips.
24947         * README: Update listing for mips-*-linux-gnu and
24948         mips64-*-linux-gnu.
24950 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24952         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24953         * sysdeps/unix/sysv/linux/m68k: Move directory from
24954         ports/sysdeps/unix/sysv/linux/m68k.
24955         * README: Update listing for m68k-*-linux-gnu.
24957 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24959         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24960         * sysdeps/unix/sysv/linux/generic: Move directory from
24961         ports/sysdeps/unix/sysv/linux/generic.
24962         * sysdeps/unix/sysv/linux/tile: Move directory from
24963         ports/sysdeps/unix/sysv/linux/tile.
24964         * README: Update listing for tile*-*-linux-gnu.
24966 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24968         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24969         __builtin_expect.
24970         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24971         * catgets/open_catalog.c (__open_catalog): Likewise.
24972         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24973         * debug/confstr_chk.c: Likewise.
24974         * debug/fread_chk.c (__fread_chk): Likewise.
24975         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24976         * debug/getgroups_chk.c: Likewise.
24977         * debug/mbsnrtowcs_chk.c: Likewise.
24978         * debug/mbsrtowcs_chk.c: Likewise.
24979         * debug/mbstowcs_chk.c: Likewise.
24980         * debug/memcpy_chk.c: Likewise.
24981         * debug/memmove_chk.c: Likewise.
24982         * debug/mempcpy_chk.c: Likewise.
24983         * debug/memset_chk.c: Likewise.
24984         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24985         * debug/strcat_chk.c (__strcat_chk): Likewise.
24986         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24987         * debug/strncat_chk.c (__strncat_chk): Likewise.
24988         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24989         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24990         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24991         * debug/wcpncpy_chk.c: Likewise.
24992         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24993         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24994         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24995         * debug/wcsncpy_chk.c: Likewise.
24996         * debug/wcsnrtombs_chk.c: Likewise.
24997         * debug/wcsrtombs_chk.c: Likewise.
24998         * debug/wcstombs_chk.c: Likewise.
24999         * debug/wmemcpy_chk.c: Likewise.
25000         * debug/wmemmove_chk.c: Likewise.
25001         * debug/wmempcpy_chk.c: Likewise.
25002         * debug/wmemset_chk.c: Likewise.
25003         * dirent/scandirat.c (SCANDIRAT): Likewise.
25004         * dlfcn/dladdr1.c (dladdr1): Likewise.
25005         * dlfcn/dladdr.c (dladdr): Likewise.
25006         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25007         * dlfcn/dlerror.c (__dlerror): Likewise.
25008         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25009         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25010         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25011         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25012         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25013         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25014         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25015         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25016         Likewise.
25017         * elf/dl-conflict.c: Likewise.
25018         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25019         * elf/dl-dst.h: Likewise.
25020         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25021         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25022         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25023         * elf/dl-init.c (call_init, _dl_init): Likewise.
25024         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25025         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25026         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25027         Likewise.
25028         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25029         Likewise.
25030         * elf/dl-minimal.c (__libc_memalign): Likewise.
25031         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25032         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25033         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25034         * elf/dl-sym.c (do_sym): Likewise.
25035         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25036         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25037         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25038         * elf/dl-writev.h (_dl_writev): Likewise.
25039         * elf/ldconfig.c (search_dir): Likewise.
25040         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25041         (dl_main): Likewise.
25042         * elf/setup-vdso.h (setup_vdso): Likewise.
25043         * grp/compat-initgroups.c (compat_call): Likewise.
25044         * grp/fgetgrent.c (fgetgrent): Likewise.
25045         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25046         * grp/putgrent.c (putgrent): Likewise.
25047         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25048         Likewise.
25049         * hurd/hurdinit.c: Likewise.
25050         * iconvdata/8bit-gap.c (struct): Likewise.
25051         * iconvdata/ansi_x3.110.c : Likewise.
25052         * iconvdata/big5.c : Likewise.
25053         * iconvdata/big5hkscs.c : Likewise.
25054         * iconvdata/cp1255.c: Likewise.
25055         * iconvdata/cp1258.c : Likewise.
25056         * iconvdata/cp932.c : Likewise.
25057         * iconvdata/euc-cn.c: Likewise.
25058         * iconvdata/euc-jisx0213.c : Likewise.
25059         * iconvdata/euc-jp.c: Likewise.
25060         * iconvdata/euc-jp-ms.c : Likewise.
25061         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25062         * iconvdata/gb18030.c : Likewise.
25063         * iconvdata/gbbig5.c (const): Likewise.
25064         * iconvdata/gbgbk.c: Likewise.
25065         * iconvdata/gbk.c : Likewise.
25066         * iconvdata/ibm1364.c : Likewise.
25067         * iconvdata/ibm930.c : Likewise.
25068         * iconvdata/ibm932.c: Likewise.
25069         * iconvdata/ibm933.c : Likewise.
25070         * iconvdata/ibm935.c : Likewise.
25071         * iconvdata/ibm937.c : Likewise.
25072         * iconvdata/ibm939.c : Likewise.
25073         * iconvdata/ibm943.c: Likewise.
25074         * iconvdata/iso_11548-1.c: Likewise.
25075         * iconvdata/iso-2022-cn.c : Likewise.
25076         * iconvdata/iso-2022-cn-ext.c : Likewise.
25077         * iconvdata/iso-2022-jp-3.c: Likewise.
25078         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25079         * iconvdata/iso-2022-kr.c : Likewise.
25080         * iconvdata/iso646.c (gconv_end): Likewise.
25081         * iconvdata/iso_6937-2.c : Likewise.
25082         * iconvdata/iso_6937.c : Likewise.
25083         * iconvdata/iso8859-1.c: Likewise.
25084         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25085         * iconvdata/shift_jisx0213.c : Likewise.
25086         * iconvdata/sjis.c : Likewise.
25087         * iconvdata/t.61.c : Likewise.
25088         * iconvdata/tcvn5712-1.c : Likewise.
25089         * iconvdata/tscii.c: Likewise.
25090         * iconvdata/uhc.c : Likewise.
25091         * iconvdata/unicode.c (gconv_end): Likewise.
25092         * iconvdata/utf-16.c (gconv_end): Likewise.
25093         * iconvdata/utf-32.c (gconv_end): Likewise.
25094         * iconvdata/utf-7.c (base64): Likewise.
25095         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25096         * iconv/gconv_close.c (__gconv_close): Likewise.
25097         * iconv/gconv_open.c (__gconv_open): Likewise.
25098         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25099         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25100         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25101         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25102         (ucs4le_internal_loop_single): Likewise.
25103         * iconv/iconv.c (iconv): Likewise.
25104         * iconv/iconv_close.c: Likewise.
25105         * iconv/loop.c (SINGLE): Likewise.
25106         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25107         * include/atomic.h: Likewise.
25108         * inet/inet6_option.c (option_alloc): Likewise.
25109         * intl/bindtextdom.c (set_binding_values): Likewise.
25110         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25111         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25112         * intl/localealias.c (read_alias_file): Likewise.
25113         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25114         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25115         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25116         * libio/fmemopen.c (fmemopen): Likewise.
25117         * libio/iofgets.c (_IO_fgets): Likewise.
25118         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25119         * libio/iofgetws.c (fgetws): Likewise.
25120         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25121         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25122         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25123         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25124         * locale/findlocale.c (_nl_find_locale): Likewise.
25125         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25126         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25127         Likewise.
25128         * locale/setlocale.c (setlocale): Likewise.
25129         * login/programs/pt_chown.c (main): Likewise.
25130         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25131         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25132         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25133         (mmap, mmap64, mremap, munmap): Likewise.
25134         * math/e_exp2l.c: Likewise.
25135         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25136         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25137         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25138         * math/s_catan.c (__catan): Likewise.
25139         * math/s_catanf.c (__catanf): Likewise.
25140         * math/s_catanh.c (__catanh): Likewise.
25141         * math/s_catanhf.c (__catanhf): Likewise.
25142         * math/s_catanhl.c (__catanhl): Likewise.
25143         * math/s_catanl.c (__catanl): Likewise.
25144         * math/s_ccosh.c (__ccosh): Likewise.
25145         * math/s_ccoshf.c (__ccoshf): Likewise.
25146         * math/s_ccoshl.c (__ccoshl): Likewise.
25147         * math/s_cexp.c (__cexp): Likewise.
25148         * math/s_cexpf.c (__cexpf): Likewise.
25149         * math/s_cexpl.c (__cexpl): Likewise.
25150         * math/s_clog10.c (__clog10): Likewise.
25151         * math/s_clog10f.c (__clog10f): Likewise.
25152         * math/s_clog10l.c (__clog10l): Likewise.
25153         * math/s_clog.c (__clog): Likewise.
25154         * math/s_clogf.c (__clogf): Likewise.
25155         * math/s_clogl.c (__clogl): Likewise.
25156         * math/s_csin.c (__csin): Likewise.
25157         * math/s_csinf.c (__csinf): Likewise.
25158         * math/s_csinh.c (__csinh): Likewise.
25159         * math/s_csinhf.c (__csinhf): Likewise.
25160         * math/s_csinhl.c (__csinhl): Likewise.
25161         * math/s_csinl.c (__csinl): Likewise.
25162         * math/s_csqrt.c (__csqrt): Likewise.
25163         * math/s_csqrtf.c (__csqrtf): Likewise.
25164         * math/s_csqrtl.c (__csqrtl): Likewise.
25165         * math/s_ctan.c (__ctan): Likewise.
25166         * math/s_ctanf.c (__ctanf): Likewise.
25167         * math/s_ctanh.c (__ctanh): Likewise.
25168         * math/s_ctanhf.c (__ctanhf): Likewise.
25169         * math/s_ctanhl.c (__ctanhl): Likewise.
25170         * math/s_ctanl.c (__ctanl): Likewise.
25171         * math/w_pow.c: Likewise.
25172         * math/w_powf.c: Likewise.
25173         * math/w_powl.c: Likewise.
25174         * math/w_scalb.c (sysv_scalb): Likewise.
25175         * math/w_scalbf.c (sysv_scalbf): Likewise.
25176         * math/w_scalbl.c (sysv_scalbl): Likewise.
25177         * misc/error.c (error_tail): Likewise.
25178         * misc/pselect.c (__pselect): Likewise.
25179         * nis/nis_callback.c (__nis_create_callback): Likewise.
25180         * nis/nis_call.c (__nisfind_server): Likewise.
25181         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25182         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25183         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25184         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25185         * nis/nis_lookup.c (nis_lookup): Likewise.
25186         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25187         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25188         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25189         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25190         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25191         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25192         * nis/nss_compat/compat-initgroups.c (add_group)
25193         (internal_getgrent_r): Likewise.
25194         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25195         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25196         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25197         (internal_getspnam_r): Likewise.
25198         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25199         (_nss_nis_getaliasbyname_r): Likewise.
25200         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25201         (_nss_nis_getntohost_r): Likewise.
25202         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25203         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25204         (_nss_nis_getgrgid_r): Likewise.
25205         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25206         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25207         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25208         (_nss_nis_gethostbyname4_r): Likewise.
25209         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25210         (initgroups_netid): Likewise.
25211         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25212         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25213         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25214         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25215         (_nss_nis_getprotobynumber_r): Likewise.
25216         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25217         (_nss_nis_getsecretkey): Likewise.
25218         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25219         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25220         (_nss_nis_getpwuid_r): Likewise.
25221         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25222         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25223         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25224         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25225         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25226         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25227         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25228         Likewise.
25229         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25230         (_nss_nisplus_getntohost_r): Likewise.
25231         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25232         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25233         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25234         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25235         Likewise.
25236         * nis/nss_nisplus/nisplus-initgroups.c
25237         (_nss_nisplus_initgroups_dyn): Likewise.
25238         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25239         (_nss_nisplus_getnetbyaddr_r): Likewise.
25240         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25241         (_nss_nisplus_getprotobynumber_r): Likewise.
25242         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25243         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25244         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25245         Likewise.
25246         * nis/nss_nisplus/nisplus-service.c
25247         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25248         (_nss_nisplus_getservbyport_r): Likewise.
25249         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25250         (_nss_nisplus_getspnam_r): Likewise.
25251         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25252         Likewise.
25253         * nscd/aicache.c (addhstaiX): Likewise.
25254         * nscd/cache.c (cache_search, prune_cache): Likewise.
25255         * nscd/connections.c (register_traced_file, send_ro_fd)
25256         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25257         (main_loop_epoll): Likewise.
25258         * nscd/grpcache.c (addgrbyX): Likewise.
25259         * nscd/hstcache.c (addhstbyX): Likewise.
25260         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25261         * nscd/mem.c (gc, mempool_alloc): Likewise.
25262         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25263         (addinnetgrX): Likewise.
25264         * nscd/nscd-client.h (__nscd_acquire_maplock)
25265         (__nscd_drop_map_ref): Likewise.
25266         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25267         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25268         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25269         Likewise.
25270         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25271         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25272         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25273         (__nscd_get_map_ref): Likewise.
25274         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25275         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25276         Likewise.
25277         * nscd/pwdcache.c (addpwbyX): Likewise.
25278         * nscd/selinux.c (preserve_capabilities): Likewise.
25279         * nscd/servicescache.c (addservbyX): Likewise.
25280         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25281         * posix/fnmatch.c (fnmatch): Likewise.
25282         * posix/getopt.c (_getopt_internal_r): Likewise.
25283         * posix/glob.c (glob, glob_in_dir): Likewise.
25284         * posix/wordexp.c (exec_comm_child): Likewise.
25285         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25286         (getanswer_r, gaih_getanswer_slice): Likewise.
25287         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25288         * resolv/res_init.c: Likewise.
25289         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25290         * resolv/res_query.c (__libc_res_nquery): Likewise.
25291         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25292         Likewise.
25293         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25294         * stdio-common/perror.c (perror): Likewise.
25295         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25296         * stdio-common/tmpnam.c (tmpnam): Likewise.
25297         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25298         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25299         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25300         Likewise.
25301         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25302         * stdlib/putenv.c (putenv): Likewise.
25303         * stdlib/setenv.c (__add_to_environ): Likewise.
25304         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25305         * stdlib/strtol_l.c (INTERNAL): Likewise.
25306         * string/memmem.c (memmem): Likewise.
25307         * string/strerror.c (strerror): Likewise.
25308         * string/strnlen.c (__strnlen): Likewise.
25309         * string/test-memmem.c (simple_memmem): Likewise.
25310         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25311         * sunrpc/pm_getport.c (__get_socket): Likewise.
25312         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25313         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25314         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25315         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25316         Likewise.
25317         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25318         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25319         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25320         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25321         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25322         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25323         Likewise.
25324         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25325         Likewise.
25326         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25327         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25328         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25329         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25330         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25332         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25333         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25334         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25335         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25336         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25337         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25338         Likewise.
25339         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25340         Likewise.
25341         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25342         Likewise.
25343         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25344         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25345         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25346         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25347         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25348         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25349         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25350         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25351         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25352         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25353         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25354         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25355         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25356         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25358         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25359         Likewise.
25360         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25361         Likewise.
25362         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25363         Likewise.
25364         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25365         Likewise.
25366         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25367         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25368         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25369         Likewise.
25370         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25371         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25372         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25373         * sysdeps/posix/sleep.c: Likewise.
25374         * sysdeps/posix/tempname.c: Likewise.
25375         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25376         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25377         Likewise.
25378         * sysdeps/powerpc/powerpc32/dl-machine.h
25379         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25380         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25381         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25382         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25383         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25384         Likewise.
25385         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25386         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25387         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25388         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25389         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25390         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25391         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25392         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25393         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25394         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25395         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25396         (elf_machine_lazy_rel): Likewise.
25397         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25398         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25399         (elf_machine_lazy_rel): Likewise.
25400         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25401         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25402         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25403         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25404         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25405         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25406         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25407         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25408         Likewise.
25409         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25410         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25411         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25412         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25413         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25414         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25415         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25416         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25417         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25418         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25419         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25420         Likewise.
25421         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25422         (__posix_fallocate64_l64): Likewise.
25423         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25424         (posix_fallocate): Likewise.
25425         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25426         Likewise.
25427         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25428         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25429         (getifaddrs_internal): Likewise.
25430         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25431         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25432         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25433         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25434         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25435         (__posix_fallocate64_l64): Likewise.
25436         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25437         Likewise.
25438         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25439         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25440         (__get_clockfreq): Likewise.
25441         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25442         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25443         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25444         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25446         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25447         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25448         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25449         Likewise.
25450         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25451         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25452         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25453         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25454         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25455         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25456         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25457         Likewise.
25458         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25459         (posix_fallocate): Likewise.
25460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25461         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25462         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25463         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25464         (elf_machine_rela, elf_machine_rela_relative)
25465         (elf_machine_lazy_rel): Likewise.
25466         * time/asctime.c (asctime_internal): Likewise.
25467         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25468         * time/tzset.c (__tzset_parse_tz): Likewise.
25469         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25470         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25471         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25472         * wcsmbs/wcsmbsload.h: Likewise.
25474         [BZ #15894]
25475         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25477         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25478         (arena_get2): Remove THREAD_STATS conditionals.
25479         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25480         (__malloc_stats, int): Likewise.
25482 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25484         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25485         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25487         * manual/setjmp.texi: Fix typos/grammar errors.
25489         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25490         Only return early when n is <= 0.  Delete unused return statement.
25492         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25493         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25494         * debug/tst-longjmp_chk3.c: New file.
25496         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25497         (test_main): Replace code with set_fortify_handler call.
25498         * debug/test-strcpy_chk.c: Likewise.
25499         * debug/tst-chk1.c: Likewise.
25500         * debug/tst-longjmp_chk.c: Likewise.
25501         * test-skeleton.c: Include fcntl.h & paths.h
25502         (set_fortify_handler): Define.
25504         * debug/tst-longjmp_chk.c: Add header comment and include
25505         ../test-skeleton.c.
25506         (do_test): Mark static.
25507         (TEST_FUNCTION): Define.
25509         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25510         (IP_PMTUDISC_INTERFACE): Likewise.
25511         (IP_MULTICAST_IF): Likewise.
25512         (IP_MULTICAST_TTL): Likewise.
25513         (IP_MULTICAST_LOOP): Likewise.
25514         (IP_ADD_MEMBERSHIP): Likewise.
25515         (IP_DROP_MEMBERSHIP): Likewise.
25516         (IP_UNBLOCK_SOURCE): Likewise.
25517         (IP_BLOCK_SOURCE): Likewise.
25518         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25519         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25520         (IP_MSFILTER): Likewise.
25521         (MCAST_JOIN_GROUP): Likewise.
25522         (MCAST_BLOCK_SOURCE): Likewise.
25523         (MCAST_UNBLOCK_SOURCE): Likewise.
25524         (MCAST_LEAVE_GROUP): Likewise.
25525         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25526         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25527         (MCAST_MSFILTER): Likewise.
25528         (IP_MULTICAST_ALL): Likewise.
25529         (IP_UNICAST_IF): Likewise.
25531         * timezone/Makefile: Delete $(have-ksh) check.
25532         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25533         * timezone/tzselect.ksh: Add +x mode bits.
25535         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25536         (ANON_INODE_FS_MAGIC): Likewise.
25537         (BDEVFS_MAGIC): Likewise.
25538         (BINFMTFS_MAGIC): Likewise.
25539         (BTRFS_TEST_MAGIC): Likewise.
25540         (CRAMFS_MAGIC_WEND): Likewise.
25541         (DEBUGFS_MAGIC): Likewise.
25542         (ECRYPTFS_SUPER_MAGIC): Likewise.
25543         (EXT3_SUPER_MAGIC): Likewise.
25544         (EXT4_SUPER_MAGIC): Likewise.
25545         (FUTEXFS_SUPER_MAGIC): Likewise.
25546         (HOSTFS_SUPER_MAGIC): Likewise.
25547         (HUGETLBFS_MAGIC): Likewise.
25548         (MINIX3_SUPER_MAGIC): Likewise.
25549         (MTD_INODE_FS_MAGIC): Likewise.
25550         (NILFS_SUPER_MAGIC): Likewise.
25551         (OPENPROM_SUPER_MAGIC): Likewise.
25552         (PIPEFS_MAGIC): Likewise.
25553         (PSTOREFS_MAGIC): Likewise.
25554         (QNX6_SUPER_MAGIC): Likewise.
25555         (RAMFS_MAGIC): Likewise.
25556         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25557         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25558         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25559         (SECURITYFS_MAGIC): Likewise.
25560         (SELINUX_MAGIC): Likewise.
25561         (SMACK_MAGIC): Likewise.
25562         (SOCKFS_MAGIC): Likewise.
25563         (SQUASHFS_MAGIC): Likewise.
25564         (STACK_END_MAGIC): Likewise.
25565         (TMPFS_MAGIC): Likewise.
25566         (USBDEVICE_SUPER_MAGIC): Likewise.
25567         (V9FS_MAGIC): Likewise.
25568         (XENFS_SUPER_MAGIC): Likewise.
25569         (CRAMFS_MAGIC): Fix typo in comment.
25570         (EXT2_SUPER_MAGIC): Update comment.
25571         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25573 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25575         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25576         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25577         * sysdeps/unix/sysv/linux/arm: Move directory from
25578         ports/sysdeps/unix/sysv/linux/arm.
25579         * README: Update listing for arm-*-linux-gnueabi.
25581         * README: Remove mention of am33.
25583 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25585         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25586         than the comma operator, to avoid "rhs of comma has no effect"
25587         compiler warnings.
25588         (__sigfillset, __sigandset, __sigorset): Likewise.
25589         * include/signal.h (__sigemptyset): Likewise.
25590         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25592 2014-02-07  Allan McRae  <allan@archlinux.org>
25594         * version.h (RELEASE): Set to "development".
25595         (VERSION): Set to "2.19.90"
25596         * NEWS: Add 2.20 section.
25598 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25600         [BZ #16529]
25601         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25603 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25605         * manual/contrib.texi: Update entry for Carlos O'Donell,
25606         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25608 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25610         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25612         * sysdeps/unix/sysv/linux/kernel-features.h
25613         [__LINUX_KERNEL_VERSION >= 0x020621]
25614         (__ASSUME_PROC_PID_TASK_COMM): Define.
25616 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25618         [BZ #16398]
25619         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25620         conversion when destination buffer does not have enough space.
25621         * libio/tst-ftell-partial-wide.c: New test case.
25622         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25624         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25625         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25626         Leonard and Allan McRae.
25628 2014-02-04  David S. Miller  <davem@davemloft.net>
25630         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25631         32-bit.
25633 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25636         New file
25637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25638         New file
25639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25640         New file.
25641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25642         New file.
25643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25644         New file.
25645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25646         New file.
25647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25648         New file.
25649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25650         New file.
25651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25652         New file.
25653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25654         New file.
25655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25656         New file.
25657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25658         New file.
25659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25660         New file.
25662 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25664         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25665         * shlib-versions: Likewise.
25667 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25668             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25670         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25671         (abilist-pattern): New variable, set to %-le.abilist.
25673         * Makerules (abilist-pattern): New variable.
25674         (vpath): Use $(abilist-pattern) in place of %.abilist.
25675         (check-abi-% pattern rule): Likewise.
25676         (check-abi, update-abi): Likewise.
25678 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25682 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25684         * manual/startup.texi: Add next, previous, and top entries for
25685         the `Program Arguments' and `Environment Variables' nodes.
25687 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25689         * manual/macros.texi: Add comments before MTASC-safety macros.
25691         * manual/users.texi: Document MTASC-safety properties.
25693         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25694         (pthread_getspecific, pthread_setspecific): Format with
25695         @deftypefun, and add @safety note.
25696         * manual/signal.texi: Move comments that analyze the above
25697         functions to their home place.
25699 2014-02-03  Allan McRae  <allan@archlinux.org>
25701         * po/sl.po: Update Slovenian translation from translation project.
25703 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25705         * manual/time.texi (timegm): Add missing blank after @c.
25706         Reported by Joseph Myers <joseph@codesourcery.com>.
25708 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25710         * manual/check-safety.sh: New.
25711         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25713         * manual/terminal.texi: Document MTASC-safety properties.
25715         * manual/filesys.texi: Document MTASC-safety properties.
25717         * manual/errno.texi: Document MTASC-safety properties.
25719         * manual/intro.texi: Document safety identifiers and
25720         conditionals.
25722         * manual/string.texi (wcstok): Fix prototype.
25723         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25725         * manual/time.texi: Document MTASC-safety properties.
25727         * manual/string.texi: Document MTASC-safety properties.
25729         * manual/threads.texi: Document MTASC-safety properties.
25731         * manual/stdio.texi: Document MTASC-safety properties.
25733         * manual/syslog.texi: Document MTASC-safety properties.
25735         * manual/sysinfo.texi: Document MTASC-safety properties.
25737         * manual/startup.texi: Document MTASC-safety properties.
25739         * manual/socket.texi: Document MTASC-safety properties.
25741         * manual/signal.texi: Document MTASC-safety properties.
25743 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25745         * manual/setjmp.texi: Document MTASC-safety properties.
25747         * manual/search.texi: Document MTASC-safety properties.
25749         * manual/resource.texi: Document MTASC-safety properties.
25751         * manual/process.texi: Document MTASC-safety properties.
25753         * manual/platform.texi: Document MTASC-safety properties.
25755         * manual/pipe.texi: Document MTASC-safety properties.
25757         * manual/pattern.texi: Document MTASC-safety properties.
25759         * manual/message.texi: Document MTASC-safety properties.
25761         [BZ #12751]
25762         * manual/memory.texi: Document MTASC-safety properties.
25764         * manual/math.texi: Document MTASC-safety properties.
25766         * manual/locale.texi: Document MTASC-safety properties.
25768         * manual/llio.texi: Document MTASC-safety properties.
25770         * manual/libdl.texi: New.
25772         * manual/lang.texi: Document MTASC-safety properties.
25774         * manual/job.texi: Document MTASC-safety properties.
25776         * manual/getopt.texi: Document MTASC-safety properties.
25778         * manual/ctype.texi: Document MTASC-safety properties.
25780 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25782         [BZ #16046]
25783         * csu/libc-tls.c (static_map): Remove variable.
25784         (__libc_setup_tls): Use main executable's link map for TLS data.
25785         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25786         casing for LM_ID_BASE and GL(dl_nns).
25787         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25788         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25789         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25790         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25791         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25792         member.
25793         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25794         l_phnum members.
25796 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25798         * manual/debug.texi: Document MTASC-safety properties.
25800 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25802         [BZ #16510]
25803         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25804         of __x86_64__ when disabling x87 inline functions.
25806 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25808         * manual/charset.texi: Document MTASC-safety properties.
25810         * manual/crypt.texi: Document MTASC-safety properties.
25812         * manual/conf.texi: Document MTASC-safety properties.
25814         * manual/arith.texi: Document MTASC-safety properties.
25816         * manual/argp.texi: Document MTASC-safety properties.
25818         * manual/macros.texi: Introduce macros to document multi
25819         thread, asynchronous signal and asynchronous cancellation
25820         safety properties.
25821         * manual/intro.texi: Introduce the properties themselves.
25823 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25825         * sysdeps/sh/sh4/Makefile: New file.
25827 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25829         * math/gen-libm-test.pl ($srcdir): New variable.
25830         ($auto_input): Use it.
25832 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25834         [BZ #16506]
25835         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25836         access beyond array bounds when parsing netgroups file.
25838         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25839         the old buffer before realloc.
25841 2014-01-27  Allan McRae  <allan@archlinux.org>
25843         * po/fr.po: Update French translation from translation project.
25845 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25847         * sysdeps/sh/libm-test-ulps: Regenerate.
25849 2014-01-24  David S. Miller  <davem@davemloft.net>
25851         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25853 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25855         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25856         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25858 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25860         [BZ #16474]
25861         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25862         string pointers after reallocation.
25864 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25866         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25867         __SH4A__ instead of __SH_FPU_ANY__.
25869 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25871         * sysdeps/sh/fpu_control.h: New file.
25872         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25873         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25874         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25875         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25876         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25877         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25878         * sysdeps/sh/sys/ucontext.h: Remove.
25879         * sysdeps/sh/sys: Remove directory.
25881 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25883         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25884         s390/sys/ucontext.h.
25885         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25886         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25888 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25890         [BZ #15605]
25891         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25893 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25895         [BZ#16431]
25896         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25897         Adjust the vDSO correctly for internal calls.
25898         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25900 2014-01-20  Allan McRae  <allan@archlinux.org>
25902         * po/ca.po: Update Catalan translation from translation project.
25904 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25906         * sysdeps/s390/sotruss-lib.c: New file.
25908 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25910         [BZ#16430]
25911         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25912         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25913         local calls issues by not having a PLT stub required for IFUNC calls.
25914         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25916 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25918         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25919         * math/test-fpucw-static.c: Likewise.
25921 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25923         [BZ #16453]
25924         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25926 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25928         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25929         implementation for powerpc.
25931 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25933         [BZ #14782]
25934         * sysdeps/posix/system.c (__libc_system): Do not enable
25935         asynchronous cancellation.
25937 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25939         [BZ #16427]
25940         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25941         handling only for numbers special also in the IEEE case.
25943 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25945         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25947 2014-01-11  Allan McRae  <allan@archlinux.org>
25949         * po/bg.po: Update Bulgarian translation from translation project.
25951         * po/de.po: Update German translation from translation project.
25953 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25955         * sysdeps/generic/gcc-compat.h: New file.
25957 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25959         * benchtests/asin-inputs: Correct slow inputs.
25960         * benchtests/acos-inputs: Likewise.
25962 2014-01-10  Allan McRae  <allan@archlinux.org>
25964         * po:sv.po: Update Swedish translation from translation project.
25966         * po/vi.po: Update Vietnamese translation from translation project.
25968         * po/eo.po: Update Esperanto translation from translation project.
25970         * po/cs.po: Update Czech translation from translation project.
25972         * po/nl.po: Update Dutch translation from translation project.
25974         * po/pl.po: Update Polish translation from translation project.
25976         * po/ru.po: Update Russian translation from translation project.
25978         * po/uk.po: Update Ukrainian translation from translation project.
25980 2014-01-08  Brooks Moses  <bmoses@google.com>
25982         * elf/dl-load.c: Fix comment typo.
25984 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25986         * po/header.pot: Rename to...
25987         * po/pot.header: ... this.
25988         * po/Makefile: Use pot.header.
25990 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25991             Maxim Kuvyrkov  <maxim@kugelworks.com>
25993         [BZ #16394]
25994         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25995         SRC and DEST against LEN.
25997 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25999         [BZ #16414]
26000         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26001         implementation.
26002         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26004 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26008 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26010         [BZ #16408]
26011         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26012         for large positive arguments.
26014 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26016         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26018         * math/auto-libm-test-in: Mark various tests with
26019         xfail-rounding:ldbl-128ibm.
26020         * math/auto-libm-test-out: Regenerated.
26022         [BZ #16407]
26023         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26024         Increase overflow threshold.
26026 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26028         [BZ #14286]
26029         * stdio-common/vfprintf.c: Check for integer overflow.
26031 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26033         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26034         the first argument and return value of __tls_get_addr_internal.
26036 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26038         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26039         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26041 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26043         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26044         * sysdeps/s390/rtld-global-offsets.sym: New file.
26045         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26046         GLIBC_2.19 symbol.
26047         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26048         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26049         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26050         ... this.
26051         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26052         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26053         ... this.
26054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26055         Regenerate.
26056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26057         Regenerate.
26058         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26059         halfs of GPRs for high_gprs contexts.
26060         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26061         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26062         field.
26063         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26064         uc_flags field.
26065         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26066         64 bit versions:
26067         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26068         for high GPRs (uc_high_gprs) and for future extensions
26069         (__reserved).
26070         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26071         for future extensions (__reserved).
26072         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26073         64 bit versions:
26074         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26075         SC_HIGHGPRS offset definition.
26076         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26077         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26079         * Versions.def: Add GLIBC_2.19 for libpthread.
26080         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26081         siglongjmp for libpthread with GLIBC_2.19 symver.
26082         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26083         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26084         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26085         * sysdeps/s390/__longjmp.c: New file.
26086         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26087         * sysdeps/s390/longjmp.c: New file.
26088         * sysdeps/s390/setjmp.S: New file.
26089         * sysdeps/s390/sigjmp.S: New file.
26090         * sysdeps/s390/v1-longjmp.c: New file.
26091         * sysdeps/s390/v1-setjmp.h: New file.
26092         * sysdeps/s390/v1-sigjmp.c: New file.
26093         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26094         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26095         GLIBC_2.19 version.
26096         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26097         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26098         versioned symbols for ____longjmp_chk.
26099         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26100         Likewise.
26101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26102         Regenerate.
26103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26104         Regenerate.
26105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26106         Regenerate.
26107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26108         Regenerate.
26109         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26110         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26111         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26112         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26113         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26114         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26115         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26116         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26117         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26118         * sysdeps/s390/rtld-__longjmp.c: New file.
26119         * sysdeps/s390/rtld-setjmp.S: New file.
26121 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26123         [BZ #16400]
26124         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26125         Return -__logl (x) for small positive arguments without evaluating
26126         a polynomial.
26128 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26130         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26131         Rename to ...
26132         (__ptrace_peeksiginfo_args): ... this.
26133         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26134         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26135         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26137 2014-01-06  Allan McRae  <allan@archlinux.org>
26139         * inet/netinet/in.h: Fix typo in comment.
26141 2014-01-05  Andreas Jaeger  <aj@suse.de>
26143         * sysdeps/i386/fpu/libm-test-ulps: Update.
26145 2014-01-05  Allan McRae  <allan@archlinux.org>
26147         * po/libc.pot: Regenerated.
26149         * malloc/memusagestat.c: Fix gettext call formatting.
26151 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26153         * nscd/nscd.c: Improve usage() output.
26155 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26157         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26158         * sysdeps/unix/sysv/linux/configure: Regenerated.
26159         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26160         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26162 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26164         [BZ #16390]
26165         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26166         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26168 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26170         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26171         extra tokens at end of #undef directive.
26172         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26173         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26174         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26176 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26178         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26180         * math/auto-libm-test-in: Mark various tests with
26181         xfail-rounding:ldbl-128ibm.
26182         * math/auto-libm-test-out: Regenerated.
26184 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26186         [BZ #16386]
26187         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26188         numbers with subnormal high part when calculating exponent.
26190         [BZ #16385]
26191         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26192         fabs.
26194         [BZ #16384]
26195         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26196         M_LN2l.
26197         (__ieee754_acoshl): Use __log1pl not __log1p.
26199 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26201         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26202         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26203         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26204         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26205         (reused_arena, arena_get2): Convert to GNU style.
26206         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26207         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26208         (memalign_check, __malloc_set_state): Likewise.
26209         * malloc/mallocbug.c (main): Likewise.
26210         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26211         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26212         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26213         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26214         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26215         (__posix_memalign, malloc_info): Likewise.
26216         * malloc/malloc.h: Likewise.
26217         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26218         (mallochook, memalignhook, reallochook, mabort): Likewise.
26219         * malloc/mcheck.h: Likewise.
26220         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26221         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26222         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26223         * malloc/morecore.c (__default_morecore): Likewise.
26224         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26225         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26226         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26227         (print_and_abort): Likewise.
26228         * malloc/obstack.h: Likewise.
26229         * malloc/set-freeres.c (__libc_freeres): Likewise.
26230         * malloc/tst-mallocstate.c (main): Likewise.
26231         * malloc/tst-mtrace.c (main): Likewise.
26232         * malloc/tst-realloc.c (do_test): Likewise.
26234 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26236         [BZ #16366]
26237         * nscd/netgroupcache.c (do_notfound): New function.
26238         (addgetnetgrentX): Use it.
26240         [BZ # 16365]
26241         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26242         NSS_STATUS_NOTFOUND.
26244 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26246         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26249 2014-01-01  Allan McRae  <allan@archlinux.org>
26251         * scripts/update-copyrights: Update configure input file suffix.
26253         * NEWS: Update copyright year.
26254         * catgets/gencat.c: Likewise.
26255         * csu/version.c: Likewise.
26256         * debug/catchsegv.sh: Likewise.
26257         * debug/pcprofiledump.c: Likewise.
26258         * debug/xtrace.sh: Likewise.
26259         * elf/ldconfig.c: Likewise.
26260         * elf/ldd.bash.in: Likewise.
26261         * elf/pldd.c: Likewise.
26262         * elf/sotruss.ksh: Likewise.
26263         * elf/sprof.c: Likewise.
26264         * iconv/iconv_prog.c: Likewise.
26265         * iconv/iconvconfig.c: Likewise.
26266         * locale/programs/locale.c: Likewise.
26267         * locale/programs/localedef.c: Likewise.
26268         * login/programs/pt_chown.c: Likewise.
26269         * malloc/memusage.sh: Likewise.
26270         * malloc/memusagestat.c: Likewise.
26271         * malloc/mtrace.pl: Likewise.
26272         * manual/libc.texinfo: Likewise.
26273         * nscd/nscd.c: Likewise.
26274         * nss/getent.c: Likewise.
26275         * nss/makedb.c: Likewise.
26276         * posix/getconf.c: Likewise.
26277         * scripts/test-installation.pl: Likewise.
26279         * All files with FSF copyright notices: Update copyright dates
26280         using scripts/update-copyrights.
26281         * intl/plural.c: Regenerated.
26282         * locale/programs/charmap-kw.h: Likewise.
26283         * locale/programs/locfile-kw.h: Likewise.
26285 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26287         * sysdeps/unix/sysv/linux/configure: Regenerated.
26288         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26289         the linux/fanotify.h header.
26290         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26291         HAVE_LINUX_FANOTIFY_H is defined.
26293 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26295         * benchtests/cos-inputs: New inputs.
26296         * benchtests/sin-inputs: Likewise.
26298         * benchtests/atan-inputs: New inputs. Fix name of multiple
26299         precision fallback inputs.
26301         * benchtests/atanh-inputs: New inputs.
26302         * benchtests/tanh-inputs: Likewise.
26304         * benchtests/acosh-inputs: New inputs.
26305         * benchtests/asinh-inputs: Likewise.
26307         * benchtests/cosh-inputs: New inputs.
26308         * benchtests/sinh-inputs: Likewise.
26310         * benchtests/acos-inputs: Add more inputs.
26311         * benchtests/asin-inputs: Likewise.
26313 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26315         [BZ #16375]
26316         * manual/arith.texi: Fix spelling.
26317         * manual/charset.texi: Likewise.
26318         * manual/errno.texi: Likewise.
26319         * manual/filesys.texi: Likewise.
26320         * manual/lang.texi: Likewise.
26321         * manual/llio.texi: Likewise.
26322         * manual/locale.texi: Likewise.
26323         * manual/message.texi: Likewise.
26324         * manual/resource.texi: Likewise.
26325         * manual/search.texi: Likewise.
26326         * manual/setjmp.texi: Likewise.
26327         * manual/stdio.texi: Likewise.
26328         * manual/string.texi: Likewise.
26329         * manual/sysinfo.texi: Likewise.
26330         * manual/time.texi: Likewise.
26332 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26334         * po/sl.po: New file.
26336 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26338         * .gitignore: Add core/.gdbinit/.gdb_history.
26340 2013-12-27  Allan McRae  <allan@archlinux.org>
26342         [BZ #16369]
26343         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26344         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26346 2013-12-24  Brooks Moses  <bmoses@google.com>
26348         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26349         all compilers that claim C++98 compliance, not just GCC.
26350         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26351         Likewise.
26353 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26355         * NEWS: Restore accidentally deleted bug-fix entries.
26357 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26358             Ondřej Bílka  <neleai@seznam.cz>
26360         [BZ #15073]
26361         * malloc/malloc.c (_int_free): Perform sanity check only if we
26362         have_lock.
26364 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26366         [BZ #12986]
26367         * manual/stdio.texi (String Input Conversions): Clarify that character
26368         classes are not supported.
26370 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26374 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26376         [BZ #16337]
26377         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26378         Calculate results for small negative arguments directly rather
26379         than using reflection formula with special underflow handling.
26381         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26382         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26383         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26384         (fchflags): Likewise.
26385         (revoke): Likewise.
26386         (setlogin): Likewise.
26387         (sigaltstack): Likewise.
26388         (wait4): Likewise.
26389         (sigblock): Remove.
26390         (sigsetmask): Likewise.
26391         (wait3): Likewise.
26392         (waitpid): Likewise.
26393         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26394         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26395         file.
26396         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26397         * sysdeps/unix/bsd/Makefile: ... here.
26398         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26399         * sysdeps/unix/bsd/Versions: ... here.
26400         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26401         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26402         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26403         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26404         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26405         * sysdeps/unix/bsd/sigblock.c: ... here.
26406         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26407         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26408         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26409         * sysdeps/unix/bsd/sigvec.c: ... here.
26410         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26411         * sysdeps/unix/bsd/tcdrain.c: ... here.
26412         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26413         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26414         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26415         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26416         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26417         * sysdeps/unix/bsd/wait.c: ... here.
26418         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26419         * sysdeps/unix/bsd/wait3.c: ... here.
26420         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26421         * sysdeps/unix/bsd/waitpid.c: ... here.
26423 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26425         [BZ #16356]
26426         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26427         round-to-nearest for [!USE_AS_EXPM1L].
26428         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26429         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26430         more tests of exp and exp10.  Expect some exp10 tests to miss
26431         exceptions or fail in directed rounding modes.
26432         * math/auto-libm-test-out: Regenerated.
26433         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26434         (exp10_test_tonearest): New function.
26435         (exp10_towardzero_test_data): New array.
26436         (exp10_test_towardzero): New function.
26437         (exp10_downward_test_data): New array.
26438         (exp10_test_downward): New function.
26439         (exp10_upward_test_data): New array.
26440         (exp10_test_upward): New function.
26441         (main): Call the new functions.
26442         * sysdeps/i386/fpu/libm-test-ulps: Update.
26443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26445 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26447         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26448         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26449         * math/auto-libm-test-out: Regenerated.
26450         * math/libm-test.inc (acosh_test_data): Add more tests.
26451         (atanh_test_data): Likewise.
26452         (ceil_test_data): Likewise.
26453         (copysign_test_data): Likewise.
26454         * sysdeps/i386/fpu/libm-test-ulps: Update.
26455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26457         * timezone/checktab.awk: Update from tzcode 2013i.
26458         * timezone/private.h: Likewise.
26459         * timezone/scheck.c: Likewise.
26460         * timezone/tzfile.h: Likewise.
26461         * timezone/tzselect.ksh: Likewise.
26462         * timezone/zdump.c: Likewise.
26463         * timezone/zic.c: Likewise.
26465         * math/auto-libm-test-in: Add tests of cpow.
26466         * math/auto-libm-test-out: Regenerated.
26467         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26468         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26469         mpc_cc_c.
26470         (func_calc_desc): Add mpc_cc_c union field.
26471         (test_functions): Add cpow.
26472         (special_fill_2pi): New function.
26473         (special_real_inputs): Add 2pi.
26474         (calc_generic_results): Handle mpc_cc_c.
26475         * sysdeps/i386/fpu/libm-test-ulps: Update.
26476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26478         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26479         csqrt, ctan and ctanh.
26480         * math/auto-libm-test-out: Regenerated.
26481         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26482         (TEST_COND_x86): Likewise.
26483         (ccos_test_data): Use AUTO_TESTS_c_c.
26484         (ccosh_test_data): Likewise.
26485         (cexp_test_data): Likewise.
26486         (clog_test_data): Likewise.
26487         (csqrt_test_data): Likewise.
26488         (ctan_test_data): Likewise.
26489         (ctan_tonearest_test_data): Likewise.
26490         (ctan_towardzero_test_data): Likewise.
26491         (ctan_downward_test_data): Likewise.
26492         (ctan_upward_test_data): Likewise.
26493         (ctanh_test_data): Likewise.
26494         (ctanh_tonearest_test_data): Likewise.
26495         (ctanh_towardzero_test_data): Likewise.
26496         (ctanh_downward_test_data): Likewise.
26497         (ctanh_upward_test_data): Likewise.
26498         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26499         mpc_c_c.
26500         (func_calc_desc): Add mpc_c_c union field.
26501         (FUNC_mpc_c_c): New macro.
26502         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26503         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26504         ctanh.
26505         (special_fill_min_subnorm_p120): New function.
26506         (special_real_inputs): Add min_subnorm_p120.
26507         (calc_generic_results): Handle mpc_c_c.
26508         * sysdeps/i386/fpu/libm-test-ulps: Update.
26509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26511 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26513         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26514         (do_sin_slow): New functions.
26515         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26516         (cslow2, csloww1, csloww2): Use the new functions.
26518         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26519         Use M to change sign of result instead of X.  Assume X is
26520         positive.
26521         (csloww1): Likewise.
26522         (__sin): Adjust.
26523         (__cos): Adjust.
26525         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26526         arguments A and DA.
26527         (__sin): Adjust.
26528         (__cos): Likewise.
26530         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26531         (__cos): Likewise.
26532         (sloww1): Don't adjust sign of DX.
26533         (csloww1): Likewise.
26534         (sloww2): Use X directly and don't adjust sign of DX.
26535         (csloww2): Likewise.
26537 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26539         * math/auto-libm-test-in: Add tests of cabs and carg.
26540         * math/auto-libm-test-out: Regenerated.
26541         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26542         (carg_test_data): Likewise.
26543         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26544         mpc_c_f.
26545         (func_calc_desc): Add mpc_c_f union field.
26546         (test_functions): Add cabs and carg.
26547         (calc_generic_results): Handle mpc_c_f.
26549         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26550         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26551         as a macro and a compat symbol.
26552         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26553         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26554         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26555         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26556         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26557         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26558         not use .hidden.
26559         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26560         Likewise.
26561         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26562         Likewise.
26563         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26564         Likewise.
26565         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26566         Likewise.
26567         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26568         Likewise.
26569         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26570         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26571         from GLIBC_2.3.2.
26573 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26577 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26579         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26580         trailing whitespace removed.
26581         * scripts/config.guess: Update to version 2013-11-29.
26582         * scripts/config.sub: Update to version 2013-10-01.
26584         * math/auto-libm-test-in: Add tests of sincos.
26585         * math/auto-libm-test-out: Regenerated.
26586         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26587         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26588         mpfr_f_11.
26589         (func_calc_desc): Add mpfr_f_11 union field.
26590         (test_functions): Add sincos.
26591         (calc_generic_results): Handle mpfr_f_11.
26592         * sysdeps/i386/fpu/libm-test-ulps: Update.
26593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26595 2013-12-19  Andreas Schwab  <schwab@suse.de>
26597         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26598         CALL_MCOUNT.
26599         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26600         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26601         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26603 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26605         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26606         * sysdeps/i386/fpu/libm-test-ulps: Update.
26607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26609         [BZ #16293]
26610         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26611         round-to-nearest mode when using frndint.
26612         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26613         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26614         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26615         Likewise.
26616         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26617         sinh test to fail.
26618         * math/auto-libm-test-out: Regenerated.
26619         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26620         (TEST_COND_x86): Likewise.
26621         (expm1_tonearest_test_data): New array.
26622         (expm1_test_tonearest): New function.
26623         (expm1_towardzero_test_data): New array.
26624         (expm1_test_towardzero): New function.
26625         (expm1_downward_test_data): New array.
26626         (expm1_test_downward): New function.
26627         (expm1_upward_test_data): New array.
26628         (expm1_test_upward): New function.
26629         (main): Run the new test functions.
26630         * sysdeps/i386/fpu/libm-test-ulps: Update.
26631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26633         * include/features.h: Update comment documenting feature test
26634         macros.  Mention _DEFAULT_SOURCE in comment.
26635         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26636         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26637         _BSD_SOURCE and _SVID_SOURCE.
26638         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26639         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26640         !_SVID_SOURCE]: Likewise.
26641         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26642         (__USE_POSIX_IMPLICITLY): Define.
26643         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26644         (_POSIX_SOURCE): Undefine and redefine.
26645         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26646         (_POSIX_C_SOURCE): Likewise.
26647         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26648         (Feature Test Macros): Update documentation of default features.
26650 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26652         * benchtests/Makefile: Add bench-strtok.
26653         * benchtests/bench-strtok.c: New file: strtok benchtest.
26655 2013-12-19  Allan McRae  <allan@archlinux.org>
26657         * manual/install.texi: Suppress menu for plain text output.
26658         * INSTALL: Regenerated.
26660 2013-12-18  Brooks Moses  <bmoses@google.com>
26662         [BZ #15846]
26663         * misc/getauxval.c: Include errno.h.
26664         (__getauxval): Set errno to ENOENT if the requested type is not
26665         found.
26666         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26667         don't declare with __attribute_const__.
26668         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26669         * manual/startup.texi: Document that getauxval sets errno.
26671 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26673         * math/auto-libm-test-in: Add tests of jn and yn.
26674         * math/auto-libm-test-out: Regenerated.
26675         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26676         (yn_test_data): Likewise.
26677         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26678         mpfr_if_f.
26679         (func_calc_desc): Add mpfr_if_f union field.
26680         (FUNC_mpfr_if_f): New macro.
26681         (test_functions): Add jn and yn.
26682         (calc_generic_results): Assert type of second input for
26683         mpfr_ff_f.  Handle mpfr_if_f.
26684         (output_for_one_input_case): Disable all checking for arguments
26685         fitting floating-point types in case of an integer argument.
26686         * sysdeps/i386/fpu/libm-test-ulps: Update.
26687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26690         Don't expect fegetround reference in libm.so.
26692 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26694         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26695         $(config-cflags-nofma).
26697 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26699         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26700         * math/auto-libm-test-out: Regenerated.
26702         [BZ #16338]
26703         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26704         to determine exponent and adjust argument to have exponent of -1.
26705         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26706         log2.
26707         * math/auto-libm-test-out: Regenerated.
26708         * sysdeps/i386/fpu/libm-test-ulps: Update.
26709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26711 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26713         * manual/probes.texi: Remove cases when per-thread arenas are
26714         disabled.
26716 2013-12-18  Andreas Schwab  <schwab@suse.de>
26718         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26719         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26720         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26721         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26722         * sysdeps/i386/i686/multiarch/Makefile: Update.
26723         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26725 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26727         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26728         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26730 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26732         [BZ #15968]
26733         Support TZ transition times < 00:00:00.
26734         This is needed for version-3 tz-format files; it supports time
26735         stamps past 2037 for America/Godthab (the only entry in the tz
26736         database for which this change is relevant).
26737         * manual/time.texi (TZ Variable): Document transition times
26738         from -167:59:59 through -00:00:01.
26739         * time/tzset.c (tz_rule): Time of day is now signed.
26740         (__tzset_parse_tz): Parse negative time of day.
26742         Document TZ transition times >= 25:00:00.
26743         * manual/time.texi (TZ Variable): Document transition times from
26744         25:00:00 through 167:59:59.  These are already supported, and this
26745         support will help with version-3 tz-format files.
26747         * manual/time.texi (TZ Variable): Modernize North America example
26748         to reflect current (i.e., 2007-and-later) daylight saving rules.
26750         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26752 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26754         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26755         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26757         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26758         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26759         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26760         * sysdeps/unix/bsd/clock.c: Likewise.
26761         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26762         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26763         * sysdeps/unix/bsd/init-posix.c: Likewise.
26764         * sysdeps/unix/bsd/poll.c: Likewise.
26765         * sysdeps/unix/bsd/ptsname.c: Likewise.
26766         * sysdeps/unix/bsd/seekdir.c: Likewise.
26767         * sysdeps/unix/bsd/setegid.c: Likewise.
26768         * sysdeps/unix/bsd/seteuid.c: Likewise.
26769         * sysdeps/unix/bsd/setgid.c: Likewise.
26770         * sysdeps/unix/bsd/setrgid.c: Likewise.
26771         * sysdeps/unix/bsd/setruid.c: Likewise.
26772         * sysdeps/unix/bsd/setsid.c: Likewise.
26773         * sysdeps/unix/bsd/setuid.c: Likewise.
26774         * sysdeps/unix/bsd/sigaction.c: Likewise.
26775         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26776         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26777         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26778         * sysdeps/unix/bsd/telldir.c: Likewise.
26779         * sysdeps/unix/bsd/times.c: Likewise.
26780         * sysdeps/unix/bsd/usleep.c: Likewise.
26782         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26783         ($(objpfx)libbsd-compat.a): Remove rule.
26785         * include/features.h (__FAVOR_BSD): Do not define.
26786         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26787         features conflicting with POSIX.
26788         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26789         (_BSD_SOURCE): Remove description of not being a subset of other
26790         feature test macros.
26791         * manual/job.texi (getpgrp): Do not document BSD version.
26792         (getpgid): Do not document by reference to BSD getpgrp.
26793         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26794         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26795         * signal/signal.h [__FAVOR_BSD]: Likewise.
26796         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26797         instead of making contents conditional on [__FAVOR_BSD].
26798         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26800 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26804 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26806         [BZ #16314]
26807         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26808         values below 2**-450, not 2**-500.
26809         * math/auto-libm-test-in: Don't allow spurious underflow from
26810         hypot.
26811         * math/auto-libm-test-out: Regenerated.
26813         [BZ #16316]
26814         [BZ #16330]
26815         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26816         values of ha and hb and sort them after adjusting subnormal
26817         arguments.
26818         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26819         Likewise.
26820         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26821         values of ea and eb and sort them after adjusting subnormal
26822         arguments.
26823         * math/auto-libm-test-in: Do not expect some hypot tests of
26824         subnormals to fail.  Add more hypot tests.
26825         * math/auto-libm-test-out: Regenerated.
26827 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26829         [BZ #13304]
26830         * sysdeps/sh/s_fma.c: New file.
26831         * sysdeps/sh/s_fmaf.c: New file.
26832         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26833         version.
26834         * sysdeps/sh/Implies: Add sh/soft-fp.
26836 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26838         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26839         level of indirection to members `objname', `errstring', `malloced'.
26840         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26841         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26842         it as the __longjmp argument (just pass 1 instead).
26843         (_dl_catch_error): Initialize C with argument pointers and address of
26844         volatile local ERRCODE rather than copying values out of C at return.
26846 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26848         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26849         * math/auto-libm-test-out: Regenerated.
26850         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26851         (hypot_test_data): Likewise.
26852         (pow_test_data): Likewise.
26853         (pow_tonearest_test_data): Likewise.
26854         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26855         mpfr_ff_f.
26856         (func_calc_desc): Add mpfr_ff_f union field.
26857         (FUNC_mpfr_ff_f): New macro.
26858         (test_functions): Add atan2, hypot and pow.
26859         (special_fill_min): New function.
26860         (special_fill_minus_min): Likewise.
26861         (special_fill_min_subnorm): Likewise.
26862         (special_fill_minus_min_subnorm): Likewise.
26863         (special_real_inputs): Add min, -min, min_subnorm and
26864         -min_subnorm.
26865         (calc_generic_results): Handle mpfr_ff_f.
26866         * sysdeps/i386/fpu/libm-test-ulps: Update.
26867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26869 2013-12-16  Will Newton  <will.newton@linaro.org>
26871         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26872         (Aligned Memory Blocks): Add documentation for aligned_alloc
26873         and suggest it as an alternative to posix_memalign.
26874         (Hooks for Malloc): Document __memalign_hook is also called
26875         for aligned_alloc.  (Summary of Malloc): Add summary for
26876         aligned alloc.  Document __memalign_hook is also called
26877         for aligned_alloc.
26879 2013-12-16  Will Newton  <will.newton@linaro.org>
26881         * manual/memory.texi (Malloc Examples): Clarify default
26882         alignment documentation.  Suggest posix_memalign rather
26883         than memalign or valloc.
26884         (Aligned Memory Blocks): Remove suggestion to use memalign
26885         or valloc.  Remove obsolete comment about BSD.
26886         Document memalign errno values and mark the function obsolete.
26887         Document posix_memalign returned error codes.  Mark valloc
26888         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26889         called for posix_memalign and valloc.
26890         (Summary of Malloc): Add posix_memalign to function summary.
26891         __memalign_hook is also called for posix_memalign and valloc.
26893 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26895         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26896         TAYLOR_SIN.
26897         (__sin): Adjust.
26898         (__cos): Likewise.
26899         (sloww): Use mynumber union.  Expand ternary operator into
26900         if-else statements.
26901         (cslow): use mynumber union.
26903 2013-12-16  Allan McRae  <allan@archlinux.org>
26905         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26906         * configure: Regenerated.
26908         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26910         [BZ #14120]
26911         * configure.ac: Added --enable-maintainer-mode. Check for
26912         autoconf when enabled.
26913         * configure: Regenerated.
26915         * nscd/nscd.service: New file.
26916         * nscd/nscd.tmpfiles: New file.
26918 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26920         [BZ #12100]
26921         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26922         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26923         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26924         (strstr): Add __strstr_sse2_unaligned ifunc.
26925         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26926         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26927         (strcasestr): Remove __strcasestr_sse42 ifunc.
26928         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26929         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26932 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26934         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26935         * sysdeps/sh/bits/fenv.h: ... here.
26936         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26938 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26940         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26943         hypotf multiarch implementations.
26944         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26945         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26946         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26947         multiarch hypot for PPC64.
26948         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26949         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26951         multiarch hypotf for PPC64.
26953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26954         modff multiarch implementations.
26955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26958         multiarch modf for PPC64.
26959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26962         multiarch modff for PPC64.
26964         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26965         and logl multiarch implementations.
26966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26969         multiarch logb for PPC64.
26970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26973         multiarch logb for PPC64.
26974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26977         multiarch logb for PPC64.
26979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26980         isinff multiarch implementation.
26981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26982         file.
26983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26985         multiarch isinf for PPC64.
26986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26987         file.
26988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26989         multiarch isinff for PPC64.
26991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26992         finitef multiarch implementation.
26993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26994         file.
26995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26997         multiarch finite for PPC64.
26998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26999         file.
27000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27001         multiarch finitef for PPC64.
27003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27004         lrint multiarch implementation.
27005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27006         file.
27007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27009         multiarch llrint for PPC64.
27010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27011         multiarch lrint for PPC64.
27013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27014         copysignf multiarch implementation.
27015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27016         file.
27017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27018         file.
27019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27020         multiarch copysign for PPC64.
27021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27022         multiarch copysignf for PPC64.
27024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27025         multiarch implementation.
27026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27027         file.
27028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27029         file.
27030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27031         file.
27032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27033         file.
27034         multiarch llround for PPC64.
27035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27036         multiarch trunc for PPC64.
27037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27038         multiarch truncf for PPC64.
27040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27041         multiarch implementation.
27042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27043         file.
27044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27045         file.
27046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27047         file.
27048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27049         file.
27050         multiarch llround for PPC64.
27051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27052         multiarch round for PPC64.
27053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27054         multiarch roundf for PPC64.
27056         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27057         multiarch implementation.
27058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27059         file.
27060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27061         file.
27062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27063         file.
27064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27065         file.
27066         multiarch llround for PPC64.
27067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27068         multiarch floor for PPC64.
27069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27070         multiarch floorf for PPC64.
27072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27073         multiarch implementation.
27074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27075         file.
27076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27077         file.
27078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27079         file.
27080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27081         file.
27082         multiarch llround for PPC64.
27083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27084         multiarch ceil for PPC64.
27085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27086         multiarch ceilf for PPC64.
27088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27089         multiarch implementation.
27090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27091         file.
27092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27093         file.
27094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27095         file.
27096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27097         multiarch llround for PPC64.
27098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27099         multiarch lround for PPC64.
27101         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27102         multiarch implementation.
27103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27106         file.
27107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27110         multiarch isnan for PPC64.
27111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27112         multiarch isnanf for PPC64.
27114         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27115         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27116         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27117         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27118         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27121         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27122         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27123         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27124         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27127         multiarch implementations.
27128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27129         (__libc_ifunc_impl_list): Likewise.
27130         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27131         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27132         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27133         multiarch stpcpy for PPC64.
27135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27136         multiarch implementations.
27137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27138         (__libc_ifunc_impl_list): Likewise.
27139         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27140         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27141         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27142         multiarch strcpy for PPC64.
27144         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27145         redefine function name.
27146         (_wordcopy_fwd_dest_aligned): Likewise.
27147         (_wordcopy_bwd_aligned): Likewise.
27148         (_wordcopy_bwd_dest_aligned): Likewise.
27149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27150         multiarch implementations.
27151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27152         (__libc_ifunc_impl_list): Likewise.
27153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27154         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27155         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27156         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27157         multiarch wcscpy for PPC64.
27159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27160         multiarch implementations.
27161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27162         (__libc_ifunc_impl_list): Likewise.
27163         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27164         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27165         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27166         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27167         multiarch wcscpy for PPC64.
27169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27170         multiarch implementations.
27171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27172         (__libc_ifunc_impl_list): Likewise.
27173         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27174         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27175         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27176         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27177         multiarch wcsrchr for PPC64.
27179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27180         multiarch implementations.
27181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27182         (__libc_ifunc_impl_list): Likewise.
27183         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27184         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27185         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27186         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27187         multiarch wcschr for PPC64.
27189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27190         multiarch implementations.
27191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27192         (__libc_ifunc_impl_list): Likewise.
27193         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27194         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27195         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27196         multiarch strchrnul for PPC64.
27198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27199         implementations.
27200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27201         (__libc_ifunc_impl_list): Likewise.
27202         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27203         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27204         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27205         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27206         strchr for PPC64.
27208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27209         implementations.
27210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27211         (__libc_ifunc_impl_list): Likewise.
27212         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27213         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27214         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27215         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27216         strncmp for PPC64.
27218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27219         multiarch implementations.
27220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27221         (__libc_ifunc_impl_list): Likewise.
27222         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27223         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27224         strncasecmp for PPC64.
27225         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27226         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27227         multiarch strncasecmp_l for PPC64.
27229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27230         multiarch implementations.
27231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27232         (__libc_ifunc_impl_list): Likewise.
27233         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27234         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27235         multiarch strcasecmp for PPC64.
27236         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27237         file.
27238         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27239         multiarch strcasecmp_l for PPC64.
27241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27242         implementations.
27243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27244         (__libc_ifunc_impl_list): Likewise.
27245         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27246         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27247         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27248         strnlen for PPC64.
27250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27251         implementations.
27252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27253         (__libc_ifunc_impl_list): Likewise.
27254         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27255         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27256         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27257         strlen for PPC64.
27259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27260         implementations.
27261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27262         (__libc_ifunc_impl_list): Likewise.
27263         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27264         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27265         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27266         rawmemrchr for PPC64.
27268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27269         implementation.
27270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27271         (__libc_ifunc_impl_list): Likewise.
27272         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27273         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27274         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27275         memrchr for PPC64.
27277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27278         implementation.
27279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27280         (__libc_ifunc_impl_list): Likewise.
27281         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27282         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27283         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27284         memchr for PPC64.
27286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27287         implementation.
27288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27289         (__libc_ifunc_impl_list): Likewise.
27290         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27291         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27292         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27293         mempcpy for PPC64.
27295         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27296         avoid cretion of __bzero symbol.
27297         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27298         Likewise.
27299         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27300         Likewise.
27301         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27302         Likewise.
27303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27304         multiarch implementations.
27305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27306         (__libc_ifunc_impl_list): Likewise.
27307         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27308         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27309         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27310         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27311         bzero for PPC32.
27312         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27313         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27314         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27315         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27316         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27317         memset for PPC64.
27318         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27320         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27322         implementations.
27323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27324         (__libc_ifunc_impl_list): Likewise.
27325         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27326         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27327         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27328         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27329         memcmp for PPC64.
27331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27332         multiarch for POWER/PPC64.
27333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27334         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27335         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27336         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27337         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27338         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27339         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27340         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27341         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27342         memcpy for PPC64.
27344         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27345         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27346         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27347         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27348         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27349         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27350         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27351         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27352         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27353         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27354         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27355         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27356         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27357         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27358         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27367 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27369         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27371 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27373         * benchtests/Makefile (bench): Add exp2 and log2.
27374         (LDLIBS-bench-exp2): Add -lm.
27375         (LDLIBS-bench-log2): Likewise.
27376         * benchtests/exp2-inputs: New inputs file.
27377         * benchtests/log2-inputs: New inputs file.
27378         * benchtests/log-inputs: Add new inputs.
27379         * benchtests/tan-inputs: Likewise.
27381 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27383         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27384         definition...
27385         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27386         (csloww2): ... from here.
27388         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27389         instead of structures.
27390         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27391         (POLYNOMIAL): Likewise.
27392         (TAYLOR_SLOW): Likewise.
27393         (__sin): Likewise.
27394         (__cos): Likewise.
27395         (slow1): Likewise.
27396         (slow2): Likewise.
27397         (sloww): Likewise.
27398         (sloww1); Likewise.
27399         (sloww2): Likewise.
27400         (bsloww1): Likewise.
27401         (bsloww2): Likewise.
27402         (cslow2): Likewise.
27403         (csloww): Likewise.
27404         (csloww1): Likewise.
27405         (csloww2): Likewise.
27407 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27409         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27410         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27411         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27412         * malloc/hooks.c (realloc_check): Likewise.
27414         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27415         * malloc/arena.c: Remove PER_THREAD conditional.
27416         [!PER_THREAD]: Remove code.
27417         (ptmalloc_unlock_all2): Likewise.
27418         (ptmalloc_init): Likewise.
27419         (_int_new_arena): Likewise.
27420         (arena_get2): Likewise.
27421         * malloc/hooks.c (__malloc_get_state): Likewise.
27422         (__malloc_set_state): Likewise.
27423         * malloc/malloc.c: Likewise.
27424         (struct malloc_state): Likewise.
27425         (struct malloc_par): Likewise.
27426         (__libc_realloc): Likewise.
27427         (__libc_mallopt): Likewise.
27429 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27431         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27433 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27435         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27436         macro to a function.  Check for zero perturb_byte.
27437         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27439         * malloc/malloc.c: (force_reg): Remove.
27440         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27441         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27442         force_reg by atomic_forced_read.
27443         * malloc/arena.c (ptmalloc_init): Likewise.
27444         * malloc/hooks.c (top_check): Likewise.
27446 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27450 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27454 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27456         * math/auto-libm-test-in: Add tests of lgamma.
27457         * math/auto-libm-test-out: Regenerated.
27458         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27459         (M_LOG_2_SQRT_PIl): Likewise.
27460         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27461         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27462         mpfr_f_f1.
27463         (func_calc_desc): Add mpfr_f_f1 union field.
27464         (ARGS1): New macro.
27465         (ARGS2): Likewise.
27466         (ARGS3): Likewise.
27467         (ARGS4): Likewise.
27468         (RET1): Likewise.
27469         (RET2): Likewise.
27470         (CALC): Likewise.
27471         (FUNC): Likewise.
27472         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27473         (test_functions): Add lgamma.
27474         (calc_generic_results): Handle mpfr_f_f1.
27475         * sysdeps/i386/fpu/libm-test-ulps: Update.
27476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27478 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27480         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27481         __mpn_add_n for PowerPC64/POWER7.
27482         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27483         __mpn_sub_n for PowerPC64/POWER7.
27485         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27486         __mpn_addmul_1 for PowerPC64.
27487         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27488         __mpn_submul_1 for PowerPC64.
27489         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27490         for PowerPC64.
27491         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27492         for PowerPC64.
27494 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27496         [BZ #15089]
27497         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27499 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27501         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27503         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27504         add multiarch folders.
27505         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27506         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27507         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27508         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27509         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27510         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27511         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27512         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27513         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27514         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27515         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27524         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27526         New file.
27527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27528         New file.
27529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27530         multiarch __ieee754_hypot for PowerPC32.
27531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27532         New file.
27533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27534         New file.
27535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27536         multiarch __ieee754_hypotf for PowerPC32.
27538         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27539         long_double_symbol only if __logbl is defined.
27540         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27541         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27542         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27543         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27544         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27545         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27546         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27547         path for implementation.
27548         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27549         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27551         logb, and logbl multiarch implementations for PowerPC32.
27552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27553         file.
27554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27555         file.
27556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27557         multiarch logb for PowerPC32.
27558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27559         file.
27560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27561         file.
27562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27563         multiarch logbf for PowerPC32.
27564         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27566         file.
27567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27568         multiarch logbl implementation for PowerPC32.
27570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27571         and modff multiarch implementations.
27572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27573         New file.
27574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27575         New file.
27576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27577         multiarch modf for PowerPC32.
27578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27579         New file.
27580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27581         New file.
27582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27583         multiarch modff for PowerPC32.
27585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27586         and lrintf multiarch implementations.
27587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27588         New file.
27589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27590         New file.
27591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27592         multiarch lrint for PowerPC32.
27593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27594         file: multiarch lrintf for PowerPC32.
27596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27597         and lroundf multiarch implementations.
27598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27599         New file.
27600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27601         New file.
27602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27603         New file.
27604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27605         multiarch lround for PowerPC32.
27606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27607         file: multiarch lroundf for PowerPC32.
27609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27610         copysign and copysignf multiarch implementations.
27611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27612         New file.
27613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27614         New file.
27615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27616         file: multiarch copysign for PowerPC32.
27617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27618         file: multiarch copysignf for PowerPC32.
27620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27621         and truncf multiarch implementations.
27622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27623         New file.
27624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27625         file.
27626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27627         multiarch trunc for PowerPC32.
27628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27629         New file.
27630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27631         New file.
27632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27633         multiarch truncf for PowerPC32.
27635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27636         and roundf multiarch implementations.
27637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27638         New file.
27639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27640         file.
27641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27642         multiarch round for PowerPC32.
27643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27644         New file.
27645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27646         New file.
27647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27648         multiarch roundf for PowerPC32.
27650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27651         and floorf multiarch implementations.
27652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27653         New file.
27654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27655         file.
27656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27657         multiarch floor for PowerPC32.
27658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27659         New file.
27660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27661         New file.
27662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27663         multiarch floorf for PowerPC32.
27665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27666         and ceilf multiarch implementations.
27667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27668         New file.
27669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27670         file.
27671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27672         multiarch ceil for PowerPC32.
27673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27674         New file.
27675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27676         file.
27677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27678         multiarch ceilf for PowerPC32.
27680         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27681         is defined.
27682         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27683         FINITEF is defined.
27684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27685         and finitef multiarch implementations.
27686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27687         New file.
27688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27689         file.
27690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27691         multiarch finite for PowerPC32.
27692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27693         New file.
27694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27695         file: multiarch finitef for PowerPC32.
27697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27698         and isinff multiarch implementations.
27699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27700         file.
27701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27702         file.
27703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27704         multiarch isinf for PowerPC32.
27705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27706         New file.
27707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27708         multiarch isinff for PowerPC32.
27710         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27711         alias when __isnan is defined.
27712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27713         and isnanf multiarch implementations.
27714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27715         file.
27716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27717         file.
27718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27719         file.
27720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27721         file.
27722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27723         multiarch isnan for PowerPC32.
27724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27725         New file.
27726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27727         New file.
27728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27729         multiarch isnanf for PowerPC32.
27731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27732         and sqrtf multiarch implementations.
27733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27734         file.
27735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27736         file.
27737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27738         multiarch sqrt for PowerPC32.
27739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27740         file.
27741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27742         file.
27743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27744         multiarch sqrtf for PowerPC32.
27746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27747         and llroundf multiarch implementations.
27748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27749         New file.
27750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27751         New file.
27752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27753         New file.
27754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27755         file: multiarch llround for PowerPC32.
27756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27757         file: multiarch llroundf for PowerPC32.
27759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27760         multiarch PowerPC32 fpu implementations.
27761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27762         New file.
27763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27764         New file.
27765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27766         multiarch llrint for PowerPC32.
27767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27768         New file.
27769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27770         New file.
27771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27772         file.
27774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27776         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27777         file.
27778         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27779         file.
27780         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27781         file.
27782         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27783         multiarch wordcopy for PPC32.
27784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27785         wordcopy objects.
27786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27787         (__libc_ifunc_impl_list): Likewise.
27788         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27789         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27790         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27791         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27792         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27793         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27795         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27797         file.
27798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27799         file.
27800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27801         file.
27802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27803         multiarch wcscpy for PPC32.
27804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27805         multiarch objects.
27806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27807         (__libc_ifunc_impl_list): Likewise.
27808         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27809         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27810         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27811         sysdeps/powerpc/power6/wcscpy.c.
27813         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27815         file.
27816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27817         file.
27818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27819         file.
27820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27821         multiarch wcsrchr for PPC32.
27822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27823         multiarch objects.
27824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27825         (__libc_ifunc_impl_list): Likewise.
27826         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27827         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27828         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27829         sysdeps/powerpc/power6/wcsrchr.c.
27831         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27832         file.
27833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27834         file.
27835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27837         multiarch wcschr for PPc32.
27838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27839         multiarch objects.
27840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27841         (__libc_ifunc_impl_list): Likewise.
27842         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27843         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27844         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27845         sysdeps/powerpc/power6/wcschr.c.
27847         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27848         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27849         file.
27850         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27851         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27852         file: multiarch strchr for PPC32.
27853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27854         multiarch objects.
27855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27856         (__libc_ifunc_impl_list): Likewise.
27858         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27859         name.
27860         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27861         file.
27862         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27863         file.
27864         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27865         multiarch strchrnul for PPC32.
27866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27867         multiarch objects.
27868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27869         (__libc_ifunc_impl_list): Likewise.
27871         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27872         file.
27873         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27874         multiarch strncasecmp for PPC32.
27875         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27876         file.
27877         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27878         multiarch strncasecmp_l for PPC32.
27879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27880         strncasecmp multiarch objects.
27881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27882         (__libc_ifunc_impl_list): Likewise.
27884         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27885         file.
27886         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27887         multiarch strncasecmp for PPC32.
27888         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27889         New file.
27890         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27891         multiarch strcasecmp_l for PPC32.
27892         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27893         multiarch objects.
27894         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27895         (__libc_ifunc_impl_list): Likewise.
27897         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27898         file.
27899         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27900         file.
27901         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27902         multiarch strncmp for PPC32.
27903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27904         multiarch objects.
27905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27906         (__libc_ifunc_impl_list): Likewise.
27908         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27909         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27910         file.
27911         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27912         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27914         multiarch objects.
27915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27916         (__libc_ifunc_impl_list): Likewise.
27918         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27919         file.
27920         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27921         file.
27922         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27924         multiarch objects.
27925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27926         (__libc_ifunc_impl_list): Likewise.
27928         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27929         file.
27930         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27931         file.
27932         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27933         multiarch rawmemchr for PPC32.
27934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27935         multiarch objects.
27936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27937         (__libc_ifunc_impl_list): Likewise.
27939         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27940         file.
27941         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27942         file.
27943         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27944         file: memrchr multiarch for PPC32.
27945         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27946         multiarch objects.
27947         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27948         (__libc_ifunc_impl_list): Likewise.
27950         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27951         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27952         file.
27953         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27954         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27955         multiarch memchr for PPC32.
27956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27957         multiarch objects.
27958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27959         (__libc_ifunc_impl_list): Likewise.
27961         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27962         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27963         file.
27964         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27965         file.
27966         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27967         file: multiarch mempcpy for PPC32.
27968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27969         multiarch objects.
27970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27971         (__libc_ifunc_impl_list): Likewise.
27973         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27974         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27975         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27976         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27977         multiarch bzero for PPC32.
27978         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27979         file.
27980         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27981         file.
27982         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27983         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27984         file: multiarch memset for PPC32.
27985         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27987         memset multiarch objects.
27988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27989         (__libc_ifunc_impl_list): Likewise.
27991         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27992         file.
27993         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27994         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27995         memcmp for PPC32.
27996         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27997         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27998         multiarch objects.
27999         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28000         (__libc_ifunc_impl_list): Likewise.
28002         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28003         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28004         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28005         file.
28006         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28007         file.
28008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28009         file.
28010         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28011         multiarch memcpy for PPC32.
28012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28013         multiarch objects.
28014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28015         (__libc_ifunc_impl_list): Likewise.
28017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28018         support multiarch for POWER/PPC32.
28019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28020         Likewise.
28021         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28023         Implies file to make multiarch folder appers before the fpu and
28024         default folder for power4 configuration.
28026 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28028         * scripts/bench.pl: Append volatile keyword to type.
28030 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28032         * sysdeps/sh/sotruss-lib.c: New file.
28033         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28035 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28039 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28041         [BZ #6810]
28042         * math/w_tgamma.c: Include <errno.h>.
28043         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28044         * math/w_tgammaf.c: Include <errno.h>.
28045         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28046         * math/w_tgammal.c: Include <errno.h>.
28047         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28048         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28049         underflow.  Add more tgamma tests.
28050         * math/auto-libm-test-out: Regenerated.
28051         * sysdeps/i386/fpu/libm-test-ulps: Update.
28052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28054         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28055         sin, sinh, tan, tanh, tgamma, y0 and y1.
28056         * math/auto-libm-test-out: Regenerated.
28057         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28058         (TEST_COND_x86): Likewise.
28059         (M_E2l): Remove macro.
28060         (M_E3l): Likewise.
28061         (M_2_SQRT_PIl): Likewise.
28062         (M_SQRT_PIl): Likewise.
28063         (M_1_DIV_El): Likewise.
28064         (log_test_data): Use AUTO_TESTS_f_f.
28065         (log10_test_data): Likewise.
28066         (log1p_test_data): Likewise.
28067         (log2_test_data): Likewise.
28068         (sin_test_data): Likewise.
28069         (sin_tonearest_test_data): Likewise.
28070         (sin_towardzero_test_data): Likewise.
28071         (sin_downward_test_data): Likewise.
28072         (sin_upward_test_data): Likewise.
28073         (sinh_test_data): Likewise.
28074         (sinh_tonearest_test_data): Likewise.
28075         (sinh_towardzero_test_data): Likewise.
28076         (sinh_downward_test_data): Likewise.
28077         (sinh_upward_test_data): Likewise.
28078         (tan_test_data): Likewise.
28079         (tan_tonearest_test_data): Likewise.
28080         (tan_towardzero_test_data): Likewise.
28081         (tan_downward_test_data): Likewise.
28082         (tan_upward_test_data): Likewise.
28083         (tanh_test_data): Likewise.
28084         (tgamma_test_data): Likewise.
28085         (y0_test_data): Likewise.
28086         (y1_test_data): Likewise.
28087         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28088         (special_real_inputs): Add pi/4.
28089         * sysdeps/i386/fpu/libm-test-ulps: Update.
28090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28092 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28094         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28095         "longjmp_target" static probes.
28096         (__longjmp): Rename to __longjmp_symbol.
28097         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28098         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28099         on which longjmp to generate.
28100         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28101         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28102         probe.
28103         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28104         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28105         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28106         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28107         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28108         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28110         __longjmp_symbol based on which __longjmp to generate.
28111         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28112         probe.
28113         (setjmp): Rename to setjmp_symbol.
28114         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28115         (_setjmp): Rename to _setjmp_symbol.
28116         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28117         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28118         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28119         which setjmp to generate.
28120         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28121         "longjmp_target" static probes.
28123 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28125         * benchtests/README: Add note about output arguments.
28126         * benchtests/bench-sincos.c: Remove file.
28127         * benchtests/sincos-inputs: New file.
28128         * scripts/bench.pl: Identify output arguments and define
28129         static variables for them.
28131         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28133         [BZ #15941]
28134         * Makefile (INSTALL): Add install-plain.texi as the primary
28135         dependency.
28136         * manual/install-plain.texi: New file.
28137         * manual/install.texi: Include node directive only for
28138         non-plaintext output.
28140 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28142         * stdlib/longlong.h: Update from GCC.
28144         [BZ #6807]
28145         [BZ #15901]
28146         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28147         * math/w_j0f.c (y0f): Likewise.
28148         * math/w_j0l.c (__y0l): Likewise.
28149         * math/w_j1.c (y1): Likewise.
28150         * math/w_j1f.c (y1f): Likewise.
28151         * math/w_j1l.c (__y1l): Likewise
28152         * math/w_jn.c (yn): Likewise.
28153         * math/w_jnf.c (ynf): Likewise.
28154         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28155         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28156         value for Bessel function domain errors outside _SVID_ mode.
28157         Adjust sign of return value for yn (negative integer, 0).
28158         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28159         by zero in return for negative x and set sign appropriately for
28160         negative n.
28161         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28162         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28163         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28164         expectations in error cases.
28165         (y1_test_data): Likewise.
28166         (yn_test_data): Likewise.
28167         * sysdeps/i386/fpu/libm-test-ulps: Update.
28168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28170 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28172         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28173         "64" to "64-v1".  Add "64-v2".
28174         (abi-64-options): Rename to ...
28175         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28176         (abi-64-condition): Rename to ...
28177         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28178         (abi-64-ld-soname): Rename to ...
28179         (abi-64-v1-ld-soname): ... this.
28180         (abi-64-v2-options): Define.
28181         (abi-64-v2-condition): Likewise.
28182         (abi-64-v2-ld-soname): Likewise.
28183         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28184         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28189 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28190             Alan Modra  <amodra@gmail.com>
28192         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28193         New versions for use with the ELFv2 ABI.
28194         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28195         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28196         declaration.
28197         (struct La_ppc64v2_retval): Likewise.
28198         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28199         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28200         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28201         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28202         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28203         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28204         Do not save or restore CR.
28205         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28206         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28207         return values for ELFv2 ABI.  Fix location of FPR return registers.
28208         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28209         updated values for _CALL_ELF == 2.
28210         (La_regs, La_retval, int_retval): Likewise.
28212 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28214         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28215         (FRAME_MIN_SIZE_PARM): Likewise.
28216         (FRAME_BACKCHAIN): Likewise.
28217         (FRAME_CR_SAVE): Likewise.
28218         (FRAME_LR_SAVE): Likewise.
28219         (FRAME_TOC_SAVE): Likewise.
28220         (FRAME_PARM_SAVE): Likewise.
28221         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28222         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28223         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28224         (call_mcount_parm_offset): New macro.
28225         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28226         (PROF): Use symbolic stack frame offsets.
28227         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28228         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28229         Redefine in terms of FRAME_MIN_SIZE.
28230         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28231         (_dl_profile_resolve): Likewise.  Update comment.
28232         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28233         symbols stack frame offsets.
28234         (__sigsetjmp): Likewise.
28235         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28236         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28237         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28238         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28241         (FRAME_BACKCHAIN): Remove.
28242         (FRAME_CR_SAVE): Likewise.
28243         (FRAME_LR_SAVE): Likewise.
28244         (FRAME_COMPILER_DW): Likewise.
28245         (FRAME_LINKER_DW): Likewise.
28246         (FRAME_TOC_SAVE): Likewise.
28247         (FRAME_PARM_SAVE): Likewise.
28248         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28249         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28250         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28252         (CHECK_SP): Use symbolic stack frame offsets.
28253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28254         zone" instead of caller's parameter save area for temp storage.
28255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28256         Likewise.  Also, use symbolic stack frame offsets.
28257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28258         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28259         our own stack frame instead of the caller's.
28260         (__socket): Use symbolic stack frame offsets.
28262 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28263             Alan Modra  <amodra@gmail.com>
28265         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28266         Define.
28267         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28268         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28269         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28270         New function.
28271         (elf_machine_fixup_plt): Call it.
28272         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28273         reloc arguments.
28274         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28275         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28276         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28277         r2 before calling target.
28279 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28280             Alan Modra  <amodra@gmail.com>
28282         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28283         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28284         versions of macros to support ELFv2 ABI.
28285         (LOCALENTRY): New macro.
28286         (ENTRY, EALIGN): Use it.
28287         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28288         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28289         fall through into ENTRY entry point.
28290         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28291         Only define if _CALL_ELF != 2.
28293         (elf_machine_matches_host): Verify ABI version matches.
28294         (RTLD_START): Use LOCALENTRY.
28295         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28296         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28297         (PLT_ENTRY_WORDS): New macro.
28298         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28299         (elf_machine_runtime_setup): Support ELFv2 ABI.
28300         (elf_machine_fixup_plt): Likewise.
28301         (elf_machine_plt_conflict): Likewise.
28302         (resolve_ifunc): Likewise.
28303         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28304         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28305         Likewise.
28306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28307         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28309         (makecontext): Support ELFv2 ABI.
28310         * elf/elf.h (EF_PPC64_ABI): Define.
28312 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28314         * sysdeps/powerpc/powerpc64/sysdep.h
28315         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28316         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28317         (ENTRY) [ASSEMBLER]: ... but instead here ...
28318         (EALIGN) [ASSEMBLER]: ... and here.
28319         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28320         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28321         (ENTRY_2) [!ASSEMBLER]: Use it.
28322         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28323         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28324         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28325         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28326         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28328         Use PPC64_LOAD_FUNCPTR.
28330         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28332 2013-12-04  Alan Modra  <amodra@gmail.com>
28334         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28335         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28336         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28337         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28339         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28340         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28341         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28342         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28343         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28344         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28346 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28349         (__makecontext): Fix incorrect CFI when backtracing out of
28350         context created via makecontext.
28351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28352         (__setcontext): Fix incorrect CFI during switch to new context.
28353         (__novec_setcontext): Likewise.
28355 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28357         [BZ #4772]
28358         * time/strptime_l.c (__strptime_internal): Allow modifiers
28359         in strptime.
28360         * time/tst-strptime.c (day_tests): Add testcase.
28362 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28364         * scripts/bench.pl: Skip over blank lines.
28366 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28368         [BZ #926]
28369         * manual/time.texi (Calendar Time): Clarify what timezone functions
28370         use.
28372 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28376 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28378         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28379         implementation.
28380         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28381         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28382         * debug/memset_chk.c (__memset_chk): Likewise.
28383         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28384         * debug/strncpy_chk.c: Likewise.
28386 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28388         [BZ #15268]
28389         [BZ #15425]
28390         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28391         (__ieee754_exp): For possibly underflowing results, check size of
28392         result and force underflow exception if required.
28393         * math/auto-libm-test-in: Add more tests of exp.
28394         * math/auto-libm-test-out: Regenerated.
28395         * sysdeps/i386/fpu/libm-test-ulps: Update.
28396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28398         [BZ #16283]
28399         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28400         * math/w_exp2f.c (__exp2f): Likewise.
28401         * math/w_exp2l.c (__exp2l): Likewise.
28402         * math/auto-libm-test-in: Do not allow missing errno on exp2
28403         underflow.
28404         * math/auto-libm-test-out: Regenerated.
28406 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28408         [BZ #16274]
28409         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28410         handle filename validation.
28411         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28412         (do_open): Delete.
28414 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28416         [BZ #6786]
28417         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28418         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28419         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28420         <float.h>.
28421         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28422         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28423         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28424         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28425         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28426         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28427         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28428         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28429         Add more erfc tests.
28430         * math/auto-libm-test-out: Regenerated.
28431         * sysdeps/i386/fpu/libm-test-ulps: Update.
28432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28434         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28435         exp2, expm1, j0 and j1.
28436         * math/auto-libm-test-out: Regenerated.
28437         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28438         (erfc_test_data): Likewise.
28439         (exp_test_data): Likewise.
28440         (exp_tonearest_test_data): Likewise.
28441         (exp_towardzero_test_data): Likewise.
28442         (exp_downward_test_data): Likewise.
28443         (exp_upward_test_data): Likewise.
28444         (exp10_test_data): Likewise.
28445         (exp2_test_data): Likewise.
28446         (expm1_test_data): Likewise.
28447         (j0_test_data): Likewise.
28448         (j1_test_data): Likewise.
28449         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28450         (input_flag_type): Add flag_xfail_rounding.
28451         (input_flags): Add xfail-rounding.
28452         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28453         (output_for_one_input_case): Handle flag_xfail_rounding.
28454         * sysdeps/i386/fpu/libm-test-ulps: Update.
28455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28457 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28459         [BZ #16289]
28460         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28461         division by 0.
28463 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28465         [BZ #16195]
28466         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28467         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28468         (STAP_PROBE0): New macro.
28469         (STAP_PROBE1): Likewise.
28470         (STAP_PROBE2): Likewise.
28471         (STAP_PROBE3): Likewise.
28472         (STAP_PROBE4): Likewise.
28474 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28476         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28478 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28480         * benchtests/Makefile (bench): Add sqrt.
28481         (LDLIBS-bench-sqrt): New.
28482         * benchtests/sqrt-input: New.
28484 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28486         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28487         (GAIH_EAI): Likewise.
28488         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28489         (gaih_inet): Likewise.
28490         (getaddrinfo): Don't use GAIH_EAI.
28492         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28493         (struct gaih): Remove definition.
28495 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28497         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28498         Use HERRNOP directly.
28500 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28504 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28506         * math/gen-auto-libm-tests.c (test_functions): Add more
28507         single-argument functions.
28508         (special_fill_pi_2): New function.
28509         (special_fill_minus_pi_2): Likewise.
28510         (special_fill_pi_6): Likewise.
28511         (special_fill_minus_pi_6): Likewise.
28512         (special_fill_pi_3): Likewise.
28513         (special_fill_2pi_3): Likewise.
28514         (special_fill_e): Likewise.
28515         (special_fill_1_e): Likewise.
28516         (special_fill_e_minus_1): Likewise.
28517         (special_real_inputs): Add more special inputs.
28518         (output_for_one_input_case): Do not require ERANGE on underflow to
28519         zero if round-to-nearest result does not underflow to zero, unless
28520         exact results required.
28521         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28522         atan, atanh, cbrt, cos and cosh.
28523         * math/auto-libm-test-out: Regenerated.
28524         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28525         (acos_tonearest_test_data): Likewise.
28526         (acos_towardzero_test_data): Likewise.
28527         (acos_downward_test_data): Likewise.
28528         (acos_upward_test_data): Likewise.
28529         (acosh_test_data): Likewise.
28530         (asin_test_data): Likewise.
28531         (asin_tonearest_test_data): Likewise.
28532         (asin_towardzero_test_data): Likewise.
28533         (asin_upward_test_data): Likewise.
28534         (asinh_test_data): Likewise.
28535         (atan_test_data): Likewise.
28536         (atanh_test_data): Likewise.
28537         (cbrt_test_data): Likewise.
28538         (cos_test_data): Likewise.
28539         (cos_tonearest_test_data): Likewise.
28540         (cos_towardzero_test_data): Likewise.
28541         (cos_downward_test_data): Likewise.
28542         (cos_upward_test_data): Likewise.
28543         (cosh_test_data): Likewise.
28544         (cosh_tonearest_test_data): Likewise.
28545         (cosh_towardzero_test_data): Likewise.
28546         (cosh_downward_test_data): Likewise.
28547         (cosh_upward_test_data): Likewise.
28548         * sysdeps/i386/fpu/libm-test-ulps: Update.
28549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28551 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28553         [BZ #6787]
28554         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28555         * math/w_exp10f.c (__exp10f): Likewise.
28556         * math/w_exp10l.c (__exp10l): Likewise.
28557         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28558         errno settings in existing tests.
28560         [BZ #14032]
28561         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28562         precision control set to double precision.
28563         * sysdeps/i386/fpu/w_sqrt.c: New file.
28564         * math/auto-libm-test-in: Add more tests.
28565         * math/auto-libm-test-out: Update.
28567         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28568         (sqrt_test_tonearest): New function.
28569         (sqrt_towardzero_test_data): New variable.
28570         (sqrt_test_towardzero): New function.
28571         (sqrt_downward_test_data): New variable.
28572         (sqrt_test_downward): New function.
28573         (sqrt_upward_test_data): New variable.
28574         (sqrt_test_upward): New function.
28575         (main): Call the new functions.
28577         * math/gen-auto-libm-tests.c: New file.
28578         * math/auto-libm-test-in: Likewise.
28579         * math/auto-libm-test-out: New generated file.
28580         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28581         variables.
28582         (%beautify): Add generated representations of zero.
28583         (top level): Set $auto_input and call parse_auto_input.
28584         (beautify): Remove trailing "f" from hex float constants.
28585         (parse_args): Handle XFAIL_TEST.
28586         (convert_condition): New function.
28587         (or_value): Likewise.
28588         (or_cond_value): Likewise.
28589         (generate_testfile): Handle AUTO_TESTS_* lines.
28590         (parse_auto_input): New function.
28591         * math/libm-test.inc (XFAIL_TEST): New macro.
28592         (ERRNO_UNCHANGED): Update value.
28593         (ERRNO_EDOM): Likewise.
28594         (ERRNO_ERANGE): Likewise.
28595         (IGNORE_RESULT): Likewise.
28596         (TEST_COND_flt_32): New macro.
28597         (TEST_COND_dbl_64): Likewise.
28598         (TEST_COND_ldbl_96_intel): Likewise.
28599         (TEST_COND_ldbl_96_m68k): Likewise.
28600         (TEST_COND_ldbl_128): Likewise.
28601         (TEST_COND_ldbl_128ibm): Likewise.
28602         (TEST_COND_long32): Likewise.
28603         (TEST_COND_long64): Likewise.
28604         (TEST_COND_before_rounding): Likewise.
28605         (TEST_COND_after_rounding): Likewise.
28606         (enable_test): Handle XFAIL_TEST flag.
28607         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28608         with finite results.
28609         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28610         auto-libm-test-out.
28612 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28613             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28615         [BZ #16214]
28616         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28617         __tls_get_addr_internal instead of __tls_get_offset in order to
28618         avoid GOT pointer dependency.  Make rtld export
28619         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28620         __tls_get_addr since we are a __tls_get_offset platform.
28621         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28622         GOT pointer being set up before.
28623         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28625 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28627         * manual/math.texi (Errors in Math Functions): Document accuracy
28628         goals.
28630         [BZ #15004]
28631         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28632         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28633         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28634         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28635         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28636         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28637         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28640         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28644         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28645         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28646         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28648         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28649         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28650         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28651         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28652         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28653         Likewise.
28654         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28655         Likewise.
28656         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28657         Likewise.
28658         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28659         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28660         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28661         atomic-feupdateenv and flt-rounds.
28662         * sysdeps/powerpc/nofpu/Versions (libc): Add
28663         __atomic_feholdexcept, __atomic_feclearexcept,
28664         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28665         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28666         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28667         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28668         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28669         here.
28670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28671         Update.
28673         * manual/arith.texi (FP Exceptions): Document that exceptions may
28674         not be raised when matherr is used.
28675         (Math Error Reporting): Document overflow in directed rounding
28676         modes.  Document that errno may not be set when finite values are
28677         returned on overflow.  Document intent to set errno on underflow
28678         only for underflow to zero.
28680         [BZ #16271]
28681         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28682         round-to-nearest then adjust result for other rounding modes.
28683         * include/fenv.h (fegetround): Use libm_hidden_proto.
28684         * math/fegetround.c (fegetround): Use libm_hidden_def.
28685         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28686         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28687         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28688         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28689         Likewise.
28690         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28691         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28692         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28693         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28695 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28697         [BZ #16077]
28698         * nss/Versions (libnss_files): Add
28699         _nss_files_gethostbyname3_r.
28700         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28701         New function.
28702         (HOST_DB_LOOKUP): Remove macro.
28703         (_nss_files_gethostbyname_r): Implement function without the
28704         HOST_DB_LOOKUP macro.
28705         (_nss_files_gethostbyname2_r): Likewise.
28707 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28709         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28711 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28713         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28714         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28715         warning.
28717 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28719         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28720         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28721         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28722         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28723         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28724         __fe_nomask_env_priv and attribute_hidden.
28725         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28726         (libc_feupdateenv_test_ppc): Likewise.
28727         (libc_feresetround_ppc): Likewise.
28728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28729         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28730         compat_symbol macro.
28731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28732         (__fe_nomask_env): Likewise.
28733         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28735 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28737         * string/Makefile: Remove ifunc tests.
28738         * string/test-string.h: Define TEST_IFUNC.
28739         * string/test-bcopy-ifunc.c: Remove.
28740         * string/test-bzero-ifunc.c: Likewise.
28741         * string/test-memccpy-ifunc.c: Likewise.
28742         * string/test-memchr-ifunc.c: Likewise.
28743         * string/test-memcmp-ifunc.c: Likewise.
28744         * string/test-memcpy-ifunc.c: Likewise.
28745         * string/test-memmem-ifunc.c: Likewise.
28746         * string/test-memmove-ifunc.c: Likewise.
28747         * string/test-mempcpy-ifunc.c: Likewise.
28748         * string/test-memrchr-ifunc.c: Likewise.
28749         * string/test-memset-ifunc.c: Likewise.
28750         * string/test-rawmemchr-ifunc.c: Likewise.
28751         * string/test-stpcpy-ifunc.c: Likewise.
28752         * string/test-stpncpy-ifunc.c: Likewise.
28753         * string/test-strcasecmp-ifunc.c: Likewise.
28754         * string/test-strcasestr-ifunc.c: Likewise.
28755         * string/test-strcat-ifunc.c: Likewise.
28756         * string/test-strchr-ifunc.c: Likewise.
28757         * string/test-strchrnul-ifunc.c: Likewise.
28758         * string/test-strcmp-ifunc.c: Likewise.
28759         * string/test-strcpy-ifunc.c: Likewise.
28760         * string/test-strcspn-ifunc.c: Likewise.
28761         * string/test-strlen-ifunc.c: Likewise.
28762         * string/test-strncasecmp-ifunc.c: Likewise.
28763         * string/test-strncat-ifunc.c: Likewise.
28764         * string/test-strncmp-ifunc.c: Likewise.
28765         * string/test-strncpy-ifunc.c: Likewise.
28766         * string/test-strnlen-ifunc.c: Likewise.
28767         * string/test-strpbrk-ifunc.c: Likewise.
28768         * string/test-strrchr-ifunc.c: Likewise.
28769         * string/test-strspn-ifunc.c: Likewise.
28770         * string/test-strstr-ifunc.c: Likewise.
28772 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28774         * benchtests/Makefile: Remove ifunc tests.
28775         * benchtests/bench-string.h: Define TEST_IFUNC.
28776         * benchtests/bench-bcopy-ifunc.c: Remove.
28777         * benchtests/bench-bzero-ifunc.c: Likewise.
28778         * benchtests/bench-memccpy-ifunc.c: Likewise.
28779         * benchtests/bench-memchr-ifunc.c: Likewise.
28780         * benchtests/bench-memcmp-ifunc.c: Likewise.
28781         * benchtests/bench-memcpy-ifunc.c: Likewise.
28782         * benchtests/bench-memmem-ifunc.c: Likewise.
28783         * benchtests/bench-memmove-ifunc.c: Likewise.
28784         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28785         * benchtests/bench-memrchr-ifunc.c: Likewise.
28786         * benchtests/bench-memset-ifunc.c: Likewise.
28787         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28788         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28789         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28790         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28791         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28792         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28793         * benchtests/bench-strcat-ifunc.c: Likewise.
28794         * benchtests/bench-strchr-ifunc.c: Likewise.
28795         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28796         * benchtests/bench-strcmp-ifunc.c: Likewise.
28797         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28798         * benchtests/bench-strcpy-ifunc.c: Likewise.
28799         * benchtests/bench-strcspn-ifunc.c: Likewise.
28800         * benchtests/bench-strlen-ifunc.c: Likewise.
28801         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28802         * benchtests/bench-strncat-ifunc.c: Likewise.
28803         * benchtests/bench-strncmp-ifunc.c: Likewise.
28804         * benchtests/bench-strncpy-ifunc.c: Likewise.
28805         * benchtests/bench-strnlen-ifunc.c: Likewise.
28806         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28807         * benchtests/bench-strrchr-ifunc.c: Likewise.
28808         * benchtests/bench-strsep-ifunc.c: Likewise.
28809         * benchtests/bench-strspn-ifunc.c: Likewise.
28810         * benchtests/bench-strstr-ifunc.c: Likewise.
28812 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28814         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28816 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28818         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28819         * rt/aio.h: Likewise.
28820         * sysdeps/gnu/bits/utmp.h: Likewise.
28821         * sysdeps/gnu/bits/utmpx.h: Likewise.
28822         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28823         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28824         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28825         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28826         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28827         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28828         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28829         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28830         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28831         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28832         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28833         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28834         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28836         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28837         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28838         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28839         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28840         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28841         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28842         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28843         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28844         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28845         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28846         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28847         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28848         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28849         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28850         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28851         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28852         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28853         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28854         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28855         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28856         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28857         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28858         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28859         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28860         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28861         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28862         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28863         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28865 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28867         [BZ #16245]
28868         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28869         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28871 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28873         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28874         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28875         Likewise.
28877 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28879         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28880         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28881         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28882         (__fesetround): Remove define.
28883         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28884         rounding and exceptions handling.
28885         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28886         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28887         (__fe_nomask_env): Likewise.
28888         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28889         __fegetround instead of fegetround.
28890         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28891         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28893 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28895         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28896         it's there.
28898         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28900 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28902         [BZ #11157]
28903         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28904         (encrypt_r): Likewise.
28905         * malloc/obstack.h (obstack_free): Likewise.
28906         * posix/unistd.h (encrypt): Likewise.
28908 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28910         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28911         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28912         DL_CALL_DT_FINI() that call the functions directly.
28913         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28914         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28915         * elf/dl-fini.c: Likewise.
28917 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28919         * malloc/hooks.c (memalign_check): Add alignment rounding.
28920         * malloc/malloc.c (_mid_memalign): New function.
28921         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28922         Implement by calling _mid_memalign.
28923         * manual/probes.texi (Memory Allocation Probes): Remove
28924         memory_valloc_retry and memory_pvalloc_retry.
28926 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28928         * locale/programs/locarchive.c (open_archive): Add const
28929         qualifier to ARCHIVEFNAME and copy default fname to
28930         DEFAULT_FNAME.
28932         [BZ #15601]
28933         * libio/tst-widetext.input: Rename Oriya to Odia.
28934         * locale/iso-639.def: Likewise.
28936         * manual/probes.texi (Mathematical Function Probes): Add
28937         documentation for sin, cos, asin and acos probes.
28938         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28939         (__sin32): Add slowasin probe.
28940         (__cos32): Add slowacos probe.
28941         (__mpsin): Add slowsin probe.
28942         (__mpcos): Add slowcos probe.
28944 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28946         [BZ #15483]
28947         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28948         thread-local __sim_exceptions_thread and global
28949         __sim_exceptions_global.
28950         (__sim_disabled_exceptions): Change to thread-local
28951         __sim_disabled_exceptions_thread and global
28952         __sim_disabled_exceptions_global.
28953         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28954         and global __sim_round_mode_global.
28955         (__simulate_exceptions): Use thread-local floating-point state and
28956         set global state from it as needed.
28957         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28958         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28959         __sim_round_mode_thread.
28960         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28961         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28962         and global __sim_exceptions_global.
28963         (__sim_disabled_exceptions): Change to thread-local
28964         __sim_disabled_exceptions_thread and global
28965         __sim_disabled_exceptions_global.
28966         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28967         and global __sim_round_mode_global.
28968         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28969         (SIM_SET_GLOBAL): Likewise.
28970         * sysdeps/powerpc/soft-fp/sfp-machine.h
28971         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28972         __sim_round_mode_thread.
28973         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28974         __sim_disabled_exceptions_thread.
28975         (__sim_exceptions): Change to __sim_exceptions_thread.
28976         (__sim_disabled_exceptions): Change to
28977         __sim_disabled_exceptions_thread.
28978         (__sim_round_mode): Change to __sim_round_mode_thread.
28979         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28980         thread-local floating-point state and set global state from it as
28981         needed.
28982         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28983         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28984         (__sim_disabled_exceptions): Remove extern declaration.
28985         (feenableexcept): Use thread-local floating-point state and set
28986         global state from it as needed.
28987         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28988         extern declaration.
28989         (__sim_disabled_exceptions): Likewise.
28990         (__sim_round_mode): Likewise.
28991         (__fegetenv): Use thread-local floating-point state.
28992         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28993         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28994         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28995         floating-point state and set global state from it as needed.
28996         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28997         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28998         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28999         Likewise.
29000         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29001         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29002         Likewise.
29003         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29004         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29005         Use __sim_round_mode_thread.
29006         * math/test-fenv-tls.c: New file.
29007         * math/Makefile (tests): Add test-fenv-tls.
29008         ($(objpfx)test-fenv-tls): Depend on
29009         $(common-objpfx)nptl/libpthread.so.
29011 2013-11-19  Andreas Schwab  <schwab@suse.de>
29013         * locale/programs/locale.c (show_info): Decode wordarray elements.
29014         * locale/categories.def (LC_MONETARY): Add element for
29015         _NL_MONETARY_CRNCYSTR.
29016         * locale/C-monetary.c (conversion_rate): New variable.
29017         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29018         element.
29020 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29022         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29023         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29025 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29027         * elf/Makefile (tst-auxv): New test.
29028         * elf/tst-auxv.c: New
29029         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29031 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29033         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29034         (hidden_proto): Caller changed.
29035         (hidden_tls_proto): New macro.
29036         (libc_hidden_tls_proto): Likewise.
29037         (rtld_hidden_tls_proto): Likewise.
29038         (libm_hidden_tls_proto): Likewise.
29039         (libresolv_hidden_tls_proto): Likewise.
29040         (librt_hidden_tls_proto): Likewise.
29041         (libdl_hidden_tls_proto): Likewise.
29042         (libnss_files_hidden_tls_proto): Likewise.
29043         (libnsl_hidden_tls_proto): Likewise.
29044         (libnss_nisplus_hidden_tls_proto): Likewise.
29045         (libutil_hidden_tls_proto): Likewise.
29047 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29049         [BZ #10253]
29050         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29051         (decompose_rpath): Defer expansion to fillin_rpath.
29052         (_dl_init_paths): Pass linkmap to fillin_rpath.
29054 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29056         * benchtests/Makefile: Add strsep.
29057         * benchtests/bench-strsep.c: New file: strsep benchtest.
29058         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29060 2013-11-18  Andreas Schwab  <schwab@suse.de>
29062         * locale/programs/locale.c (show_info) [case byte]: Check for
29063         '\377' instead of '\177'.
29064         * locale/C-monetary.c (not_available): Always use "\377".
29065         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29066         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29067         detect unavailable sign_posn locale elements.
29068         * locale/localeconv.c (__localeconv): For grouping and
29069         mon_grouping handle "\177" and "\377" like no grouping.
29070         (INT_ELEM): New macro.  Use it to set all numeric members.
29071         * locale/programs/ld-monetary.c (monetary_read)
29072         <tok_mon_grouping>: Normalize single -1 to the empty string.
29073         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29074         Likewise.
29076 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29078         [BZ #16055]
29079         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29080         when we match (nil).
29081         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29083 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29085         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29086         (NO_TEST_INLINE): Update value.
29087         (ERRNO_UNCHANGED): Likewise.
29088         (ERRNO_EDOM): Likewise.
29089         (ERRNO_ERANGE): Likewise.
29090         (IGNORE_RESULT): Likewise.
29091         (check_float_internal): Check signs of NaN results if
29092         TEST_NAN_SIGN used.
29093         (check_complex): Pass TEST_NAN_SIGN flag through to second
29094         check_float_internal call.
29095         (copysign_test_data): Add tests with quiet NaNs as second
29096         argument.  Use TEST_NAN_SIGN.
29097         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29098         TEST_NAN_SIGN.
29099         (signbit_test_data): Add tests of quiet NaN argument.
29100         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29102         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29103         $ignore_result.
29104         (parse_args): Handle function results specified as IGNORE.
29105         * math/libm-test.inc (IGNORE_RESULT): New macro.
29106         (check_float_internal): Do not check numerical result if flag
29107         IGNORE_RESULT set.
29108         (check_complex): Pass through IGNORE_RESULT to second
29109         check_float_internal call.
29110         (check_int): Do not check numerical result if flag IGNORE_RESULT
29111         set.
29112         (check_long): Likewise.
29113         (check_bool): Likewise.
29114         (check_longlong): Likewise.
29115         (lrint_test_data): Add tests of infinite and NaN arguments.
29116         (lrint_tonearest_test_data): Likewise.
29117         (lrint_towardzero_test_data): Likewise.
29118         (lrint_downward_test_data): Likewise.
29119         (lrint_upward_test_data): Likewise.
29120         (llrint_test_data): Likewise.
29121         (llrint_tonearest_test_data): Likewise.
29122         (llrint_towardzero_test_data): Likewise.
29123         (llrint_downward_test_data): Likewise.
29124         (llrint_upward_test_data): Likewise.
29125         (lround_test_data): Likewise.
29126         (llround_test_data): Likewise.
29128         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29129         (ERRNO_UNCHANGED): Update value.
29130         (ERRNO_EDOM): Likewise.
29131         (ERRNO_ERANGE): Likewise.
29132         (NO_TEST_INLINE_FLOAT): New macro.
29133         (NO_TEST_INLINE_DOUBLE): Likewise.
29134         (enable_test): New function.
29135         (RUN_TEST_f_f): Check enable_test before running test.
29136         (RUN_TEST_2_f): Likewise.
29137         (RUN_TEST_fff_f): Likewise.
29138         (RUN_TEST_c_f): Likewise.
29139         (RUN_TEST_f_f1): Likewise.
29140         (RUN_TEST_fF_f1): Likewise.
29141         (RUN_TEST_fI_f1): Likewise.
29142         (RUN_TEST_ffI_f1): Likewise.
29143         (RUN_TEST_c_c): Likewise.
29144         (RUN_TEST_cc_c): Likewise.
29145         (RUN_TEST_f_i): Likewise.
29146         (RUN_TEST_f_i_tg): Likewise.
29147         (RUN_TEST_ff_i_tg): Likewise.
29148         (RUN_TEST_f_b): Likewise.
29149         (RUN_TEST_f_b_tg): Likewise.
29150         (RUN_TEST_f_l): Likewise.
29151         (RUN_TEST_f_L): Likewise.
29152         (RUN_TEST_fFF_11): Likewise.
29153         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29154         conditionals.
29155         (cosh_test_data): Likewise.
29156         (exp_test_data): Likewise.
29157         (expm1_test_data): Likewise.
29158         (hypot_test_data): Likewise.
29159         (pow_test_data): Likewise.
29160         (sinh_test_data): Likewise.
29161         (tanh_test_data): Likewise.
29162         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29163         flags argument.
29165         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29166         tests with quiet NaN input and output.
29167         (acosh_test_data): Likewise.
29168         (asin_test_data): Likewise.
29169         (asinh_test_data): Likewise.
29170         (atan_test_data): Likewise.
29171         (atanh_test_data): Likewise.
29172         (atan2_test_data): Likewise.
29173         (cbrt_test_data): Likewise.
29174         (cos_test_data): Likewise.
29175         (cosh_test_data): Likewise.
29176         (erf_test_data): Likewise.
29177         (erfc_test_data): Likewise.
29178         (exp_test_data): Likewise.
29179         (exp10_test_data): Likewise.
29180         (exp2_test_data): Likewise.
29181         (expm1_test_data): Likewise.
29182         (hypot_test_data): Likewise.
29183         (j0_test_data): Likewise.
29184         (j1_test_data): Likewise.
29185         (jn_test_data): Likewise.
29186         (lgamma_test_data): Likewise.
29187         (log_test_data): Likewise.
29188         (log10_test_data): Likewise.
29189         (log1p_test_data): Likewise.
29190         (log2_test_data): Likewise.
29191         (pow_test_data): Likewise.
29192         (scalb_test_data): Likewise.
29193         (sin_test_data): Likewise.
29194         (sincos_test_data): Likewise.
29195         (sinh_test_data): Likewise.
29196         (tan_test_data): Likewise.
29197         (tanh_test_data): Likewise.
29198         (tgamma_test_data): Likewise.
29199         (y0_test_data): Likewise.
29200         (y1_test_data): Likewise.
29201         (yn_test_data): Likewise.
29203         [BZ #16167]
29204         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29205         argument being NaN and avoid computations with second argument in
29206         that case.
29207         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29208         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29209         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29211 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29213         * locale/iso-639.def: Add Chitwani Tharu (the).
29215 2013-11-14  Andreas Schwab  <schwab@suse.de>
29217         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29218         word instead of empty string.
29220 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29223         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29225         (__fe_nomask_env): Likewise.
29227 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29229         * benchtests/bench-timing.h: Include time.h.
29231 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29233         [BZ #15997]
29234         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29235         to 3.4.0 for x32.
29236         * sysdeps/unix/sysv/linux/configure: Regenerated.
29238 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29240         [BZ #16151]
29241         * stdlib/strtod_l.c (round_and_return): Do not consider
29242         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29243         exponent one less than half the least subnormal exponent.
29244         * stdlib/test-strtod-round-data: Add more tests.
29245         * stdlib/tst-strtod-round.c (tests): Regenerated.
29247 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29249         [BZ #14143]
29250         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29251         (__fe_mask_env): Likewise.
29252         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29253         libm_hidden_proto and add function prototype.
29254         (__fe_mask_env): Add function prototype.
29255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29256         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29258         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29260         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29262 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29264         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29265         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29267 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29269         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29270         of htab_find_slot().
29272 2013-11-11  David S. Miller  <davem@davemloft.net>
29274         [BZ #16150]
29275         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29276         symbol in the non-vis3 case in static builds.
29277         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29278         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29279         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29280         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29282 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29284         [BZ #387]
29285         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29286         it is empty.
29288 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29290         * benchtests/Makefile: Add bench-strtod.
29291         * benchtests/bench-strtod.c: New file: strtod benchtest
29293 2013-11-11  Andreas Schwab  <schwab@suse.de>
29295         [BZ #16153]
29296         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29297         terminating NUL in key length.
29299 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29301         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29302         Add artificial ODP entry for vDSO symbol for PPC64.
29303         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29304         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29306 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29308         [BZ #15374]
29309         * nss/getent.c (services_keys): Recognize services starting with digit.
29311 2013-11-06  David S. Miller  <davem@davemloft.net>
29313         [BZ #15985]
29314         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29315         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29317 2013-11-06  Will Newton  <will.newton@linaro.org>
29319         * manual/memory.texi (Malloc Examples): Remove register
29320         keyword from examples.
29322 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29324         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29326 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29328         [BZ #6981]
29329         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29330         depending on [__GCC_IEC_559 > 0].
29331         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29332         depending on [__GCC_IEC_559_COMPLEX > 0].
29334 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29336         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29337         to iso-639.def.
29339 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29341         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29343 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29345         [BZ #16112]
29346         * malloc/malloc (malloc_info): Do not handle first bin as
29347         special case.
29349 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29351         * locale/iso-639.def: Add Central Nahuatl (nhn).
29353 2013-11-01  Bruno Haible  <bruno@clisp.org>
29355         [BZ #7003]
29356         * manual/math.texi (BSD Random): Specify range upper bound as
29357         in POSIX.
29359 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29361         * locale/iso-639.def: Add Meadow Mari (mhr).
29363 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29365         [BZ #14752], [BZ #15763]
29366         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29367         Validate name.
29368         * rt/tst_shm.c: Add test for escaping directory.
29370 2013-10-31  Andreas Schwab  <schwab@suse.de>
29372         [BZ #15917]
29373         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29374         followed by 'x' as part of digit sequence.
29375         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29377 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29379         [BZ #16037]
29380         * configure.ac: allow GNU Make 4.0 and greater.
29381         * configure: Regenerated.
29383 2013-10-30  Will Newton  <will.newton@linaro.org>
29385         [BZ #16038]
29386         * malloc/hooks.c (memalign_check): Limit alignment to the
29387         maximum representable power of two.
29388         * malloc/malloc.c (__libc_memalign): Likewise.
29389         * malloc/tst-memalign.c (do_test): Add test for very
29390         large alignment values.
29391         * malloc/tst-posix_memalign.c (do_test): Likewise.
29393 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29395         [BZ #11087]
29396         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29397         (munmap_chunk): Likewise.
29398         (mremap_chunk): Likewise.
29400 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29402         [BZ #15799]
29403         * stdlib/div.c (div): Remove obsolete code.
29404         * stdlib/ldiv.c (ldiv): Likewise.
29405         * stdlib/lldiv.c (lldiv): Likewise.
29407 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29409         [BZ #16071]
29410         * nss/nss_files/files-XXX.c (get_contents_ret): New
29411         enumerator.
29412         (get_contents): New function.
29413         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29415 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29417         * configure.in: Moved to ...
29418         * configure.ac: ... here. Change reference to configure.in
29419         to configure.ac.
29420         * sysdeps/arm/preconfigure.ac: ... here.
29421         configure.in to configure.ac.
29422         * sysdeps/gnu/configure.in: Moved to ...
29423         * sysdeps/gnu/configure.ac: ... here.
29424         * sysdeps/i386/configure.in: Moved to ...
29425         * sysdeps/i386/configure.ac: ... here.
29426         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29427         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29428         * sysdeps/mach/configure.in: Moved to ...
29429         * sysdeps/mach/configure.ac: ... here.
29430         * sysdeps/mach/hurd/configure.in: Moved to ...
29431         * sysdeps/mach/hurd/configure.ac: ... here.
29432         * sysdeps/powerpc/configure.in: Moved to ...
29433         * sysdeps/powerpc/configure.ac: ... here.
29434         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29435         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29436         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29437         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29438         * sysdeps/s390/s390-32/configure.in: Moved to ...
29439         * sysdeps/s390/s390-32/configure.ac: ... here.
29440         * sysdeps/s390/s390-64/configure.in: Moved to ...
29441         * sysdeps/s390/s390-64/configure.ac: ... here.
29442         * sysdeps/sh/configure.in: Moved to ...
29443         * sysdeps/sh/configure.ac: ... here.
29444         * sysdeps/sparc/configure.in: Moved to ...
29445         * sysdeps/sparc/configure.ac: ... here.
29446         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29447         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29448         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29449         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29450         * sysdeps/x86_64/configure.in: Moved to ...
29451         * sysdeps/x86_64/configure.ac: ... here.
29452         * sysdeps/x86_64/preconfigure.in: Moved to ...
29453         * sysdeps/x86_64/preconfigure.ac: ... here.
29454         * aclocal.m4: Change reference to configure.in to configure.ac.
29455         * config.h.in: Likewise.
29456         * manual/install.texi: Likewise.
29457         * manual/maint.texi: Likewise.
29458         * Makefile: Likewise.
29459         * malloc/Makefile: Likewise.
29460         * nscd/Makefile: Likewise.
29461         * Makeconfig: Change reference to configure.in and
29462         preconfigure.in to configure.ac and preconfigure.ac
29463         respectively.
29464         * INSTALL: Regenerated.
29465         * configure: Likewise.
29466         * sysdeps/gnu/configure: Likewise.
29467         * sysdeps/i386/configure: Likewise.
29468         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29469         * sysdeps/mach/configure: Likewise.
29470         * sysdeps/mach/hurd/configure: Likewise.
29471         * sysdeps/powerpc/configure: Likewise.
29472         * sysdeps/powerpc/powerpc32/configure: Likewise.
29473         * sysdeps/powerpc/powerpc64/configure: Likewise.
29474         * sysdeps/s390/s390-32/configure: Likewise.
29475         * sysdeps/s390/s390-64/configure: Likewise.
29476         * sysdeps/sh/configure: Likewise.
29477         * sysdeps/sparc/configure: Likewise.
29478         * sysdeps/unix/sysv/linux/configure: Likewise.
29479         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29480         * sysdeps/x86_64/configure: Likewise.
29481         * sysdeps/x86_64/preconfigure: Likewise.
29483 2013-10-29  Andreas Schwab  <schwab@suse.de>
29485         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29487 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29489         * benchtests/pow-inputs: Add new inputs.
29491         * benchtests/exp-inputs: Add new inputs.
29493         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29494         conditional check for return value.
29495         (__cos32): Likewise.
29497 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29499         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29500         to provide a boost for large inputs with word alignment.
29501         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29502         implementation based on optimized PPC64 strcpy.
29503         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29504         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29505         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29506         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29508 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29510         [BZ #2801]
29511         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29513 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29515         [BZ #14876]
29516         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29517         * time/tst-strptime.c (day_tests): Add testcase.
29519 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29521         [BZ #14029]
29522         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29524 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29526         [BZ #16074]
29527         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29528         MAP_FAILED on error.
29530 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29532         [BZ #16072]
29533         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29534         heap for large requests.
29536 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29538         [BZ #9954]
29539         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29540         result if the result has no associated interface.
29541         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29542         interface for all 127.X.Y.Z addresses.
29544 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29546         * locale/iso-639.def: Add Ligurian (lij)
29548 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29550         [BZ #15825]
29551         * sunrpc/rpc_main.c: Document rpcgen -5.
29553 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29555         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29557 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29559         [BZ #10278]
29560         * posix/glob.c: Match only directories when trailing slash is present.
29561         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29562         (main): Add testcase.
29564 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29566         [BZ #15670]
29567         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29569 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29571         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29572         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29573         AUTH_DES and cindex for FIPS 140-2.
29574         (DES Encryption): Add cindex FIPS 46-3.
29576         * locale/locarchive.h (struct locarhandle): Add fname.
29577         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29578         if an optional argument was specified to --list-archive,
29579         otherwise NULL.
29580         * locale/programs/locarchive.c (show_archive_content): Take new
29581         argument fname and pass it via ah.fname to open_archive.
29582         * locale/programs/localedef.h: Update decl.
29583         (open_archive): If AH->fname is non-null, open that file
29584         rather than the default file name, and don't ignore ENOENT.
29585         (create_archive): Set AH.fname to NULL.
29586         (delete_locales_from_archive): Likewise.
29587         (add_locales_to_archive): Likewise.
29588         * locale/programs/locfile.c (write_all_categories): Likewise.
29590 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29591             Aldy Hernandez  <aldyh@redhat.com>
29593         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29594         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29595         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29596         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29597         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29598         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29599         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29600         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29601         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29602         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29603         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29604         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29605         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29606         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29607         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29608         Likewise.
29609         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29610         Likewise.
29611         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29612         Likewise.
29613         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29614         Likewise.
29615         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29616         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29617         Likewise.
29618         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29619         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29620         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29621         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29622         Likewise.
29623         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29624         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29625         * sysdeps/powerpc/preconfigure: Likewise.
29626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29627         Likewise.
29628         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29629         Replace contents of file by #include of <fenv_libc.h>.
29630         * sysdeps/powerpc/soft-fp/sfp-machine.h
29631         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29632         and <sys/prctl.h>.
29633         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29634         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29635         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29636         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29637         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29638         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29640         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29641         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29642         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29643         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29644         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29646         Allow copysignl PLT reference to be missing.
29648 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29649             Joseph Myers  <joseph@codesourcery.com
29651         [BZ #15948]
29652         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29653         single character.
29654         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29656 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29658         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29659         * elf/tst-tls1.c: Likewise.
29660         * elf/tst-tls10.h: Likewise.
29661         * elf/tst-tls14.c: Likewise.
29662         * elf/tst-tls2.c: Likewise.
29663         * elf/tst-tls3.c: Likewise.
29664         * elf/tst-tls4.c: Likewise.
29665         * elf/tst-tls5.c: Likewise.
29666         * elf/tst-tls6.c: Likewise.
29667         * elf/tst-tls7.c: Likewise.
29668         * elf/tst-tls8.c: Likewise.
29669         * elf/tst-tls9.c: Likewise.
29670         * elf/tst-tlsmod1.c: Likewise.
29671         * elf/tst-tlsmod13.c: Likewise.
29672         * elf/tst-tlsmod13a.c: Likewise.
29673         * elf/tst-tlsmod14a.c: Likewise.
29674         * elf/tst-tlsmod16a.c: Likewise.
29675         * elf/tst-tlsmod16b.c: Likewise.
29676         * elf/tst-tlsmod2.c: Likewise.
29677         * elf/tst-tlsmod3.c: Likewise.
29678         * elf/tst-tlsmod4.c: Likewise.
29679         * elf/tst-tlsmod5.c: Likewise.
29680         * elf/tst-tlsmod6.c: Likewise.
29682 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29684         [BZ #12486]
29685         * malloc/malloc.c: remove checks for statistics.
29687 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29689         [BZ #15277]
29690         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29691         * inet/tst-network.c: Add testcase.
29693 2013-10-17  Andreas Schwab  <schwab@suse.de>
29695         [BZ #15218]
29696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29697         to determine canonical name.
29699 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29701         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29702         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29703         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29704         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29706         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29707         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29708         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29709         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29710         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29711         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29712         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29713         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29714         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29715         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29716         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29717         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29718         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29719         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29720         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29721         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29722         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29723         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29724         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29725         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29726         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29727         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29728         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29729         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29730         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29731         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29732         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29733         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29734         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29735         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29736         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29737         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29738         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29739         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29740         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29741         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29742         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29743         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29744         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29745         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29746         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29747         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29748         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29749         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29750         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29751         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29752         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29753         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29754         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29755         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29756         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29757         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29758         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29760 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29762         [BZ #16041]
29763         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29764         make result into a quiet NaN.
29766 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29768         * soft-fp/adddf3.c: Fix horizontal whitespace.
29769         * soft-fp/addsf3.c: Likewise.
29770         * soft-fp/addtf3.c: Likewise.
29771         * soft-fp/divdf3.c: Likewise.
29772         * soft-fp/divsf3.c: Likewise.
29773         * soft-fp/divtf3.c: Likewise.
29774         * soft-fp/double.h: Likewise.
29775         * soft-fp/eqdf2.c: Likewise.
29776         * soft-fp/eqsf2.c: Likewise.
29777         * soft-fp/eqtf2.c: Likewise.
29778         * soft-fp/extenddftf2.c: Likewise.
29779         * soft-fp/extended.h: Likewise.
29780         * soft-fp/extendsfdf2.c: Likewise.
29781         * soft-fp/extendsftf2.c: Likewise.
29782         * soft-fp/extendxftf2.c: Likewise.
29783         * soft-fp/fixdfdi.c: Likewise.
29784         * soft-fp/fixdfsi.c: Likewise.
29785         * soft-fp/fixdfti.c: Likewise.
29786         * soft-fp/fixsfdi.c: Likewise.
29787         * soft-fp/fixsfsi.c: Likewise.
29788         * soft-fp/fixsfti.c: Likewise.
29789         * soft-fp/fixtfdi.c: Likewise.
29790         * soft-fp/fixtfsi.c: Likewise.
29791         * soft-fp/fixtfti.c: Likewise.
29792         * soft-fp/fixunsdfdi.c: Likewise.
29793         * soft-fp/fixunsdfsi.c: Likewise.
29794         * soft-fp/fixunsdfti.c: Likewise.
29795         * soft-fp/fixunssfdi.c: Likewise.
29796         * soft-fp/fixunssfsi.c: Likewise.
29797         * soft-fp/fixunssfti.c: Likewise.
29798         * soft-fp/fixunstfdi.c: Likewise.
29799         * soft-fp/fixunstfsi.c: Likewise.
29800         * soft-fp/fixunstfti.c: Likewise.
29801         * soft-fp/floatdidf.c: Likewise.
29802         * soft-fp/floatdisf.c: Likewise.
29803         * soft-fp/floatditf.c: Likewise.
29804         * soft-fp/floatsidf.c: Likewise.
29805         * soft-fp/floatsisf.c: Likewise.
29806         * soft-fp/floatsitf.c: Likewise.
29807         * soft-fp/floattidf.c: Likewise.
29808         * soft-fp/floattisf.c: Likewise.
29809         * soft-fp/floattitf.c: Likewise.
29810         * soft-fp/floatundidf.c: Likewise.
29811         * soft-fp/floatundisf.c: Likewise.
29812         * soft-fp/floatunditf.c: Likewise.
29813         * soft-fp/floatunsidf.c: Likewise.
29814         * soft-fp/floatunsisf.c: Likewise.
29815         * soft-fp/floatunsitf.c: Likewise.
29816         * soft-fp/floatuntidf.c: Likewise.
29817         * soft-fp/floatuntisf.c: Likewise.
29818         * soft-fp/floatuntitf.c: Likewise.
29819         * soft-fp/fmadf4.c: Likewise.
29820         * soft-fp/fmasf4.c: Likewise.
29821         * soft-fp/fmatf4.c: Likewise.
29822         * soft-fp/gedf2.c: Likewise.
29823         * soft-fp/gesf2.c: Likewise.
29824         * soft-fp/getf2.c: Likewise.
29825         * soft-fp/ledf2.c: Likewise.
29826         * soft-fp/lesf2.c: Likewise.
29827         * soft-fp/letf2.c: Likewise.
29828         * soft-fp/muldf3.c: Likewise.
29829         * soft-fp/mulsf3.c: Likewise.
29830         * soft-fp/multf3.c: Likewise.
29831         * soft-fp/negdf2.c: Likewise.
29832         * soft-fp/negsf2.c: Likewise.
29833         * soft-fp/negtf2.c: Likewise.
29834         * soft-fp/op-1.h: Likewise.
29835         * soft-fp/op-2.h: Likewise.
29836         * soft-fp/op-4.h: Likewise.
29837         * soft-fp/op-8.h: Likewise.
29838         * soft-fp/op-common.h: Likewise.
29839         * soft-fp/quad.h: Likewise.
29840         * soft-fp/single.h: Likewise.
29841         * soft-fp/soft-fp.h: Likewise.
29842         * soft-fp/sqrtdf2.c: Likewise.
29843         * soft-fp/sqrtsf2.c: Likewise.
29844         * soft-fp/sqrttf2.c: Likewise.
29845         * soft-fp/subdf3.c: Likewise.
29846         * soft-fp/subsf3.c: Likewise.
29847         * soft-fp/subtf3.c: Likewise.
29848         * soft-fp/truncdfsf2.c: Likewise.
29849         * soft-fp/trunctfdf2.c: Likewise.
29850         * soft-fp/trunctfsf2.c: Likewise.
29851         * soft-fp/trunctfxf2.c: Likewise.
29852         * soft-fp/unorddf2.c: Likewise.
29853         * soft-fp/unordsf2.c: Likewise.
29854         * soft-fp/unordtf2.c: Likewise.
29856 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29858         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29859         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29861 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29863         * elf/dl-libc.c: Clear initfini list after freeing.
29865 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29867         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29868         * soft-fp/addsf3.c: Likewise.
29869         * soft-fp/addtf3.c: Likewise.
29870         * soft-fp/divdf3.c: Likewise.
29871         * soft-fp/divsf3.c: Likewise.
29872         * soft-fp/divtf3.c: Likewise.
29873         * soft-fp/double.h: Likewise.
29874         * soft-fp/eqdf2.c: Likewise.
29875         * soft-fp/eqsf2.c: Likewise.
29876         * soft-fp/eqtf2.c: Likewise.
29877         * soft-fp/extenddftf2.c: Likewise.
29878         * soft-fp/extended.h: Likewise.
29879         * soft-fp/extendsfdf2.c: Likewise.
29880         * soft-fp/extendsftf2.c: Likewise.
29881         * soft-fp/extendxftf2.c: Likewise.
29882         * soft-fp/fixdfdi.c: Likewise.
29883         * soft-fp/fixdfsi.c: Likewise.
29884         * soft-fp/fixdfti.c: Likewise.
29885         * soft-fp/fixsfdi.c: Likewise.
29886         * soft-fp/fixsfsi.c: Likewise.
29887         * soft-fp/fixsfti.c: Likewise.
29888         * soft-fp/fixtfdi.c: Likewise.
29889         * soft-fp/fixtfsi.c: Likewise.
29890         * soft-fp/fixtfti.c: Likewise.
29891         * soft-fp/fixunsdfdi.c: Likewise.
29892         * soft-fp/fixunsdfsi.c: Likewise.
29893         * soft-fp/fixunsdfti.c: Likewise.
29894         * soft-fp/fixunssfdi.c: Likewise.
29895         * soft-fp/fixunssfsi.c: Likewise.
29896         * soft-fp/fixunssfti.c: Likewise.
29897         * soft-fp/fixunstfdi.c: Likewise.
29898         * soft-fp/fixunstfsi.c: Likewise.
29899         * soft-fp/fixunstfti.c: Likewise.
29900         * soft-fp/floatdidf.c: Likewise.
29901         * soft-fp/floatdisf.c: Likewise.
29902         * soft-fp/floatditf.c: Likewise.
29903         * soft-fp/floatsidf.c: Likewise.
29904         * soft-fp/floatsisf.c: Likewise.
29905         * soft-fp/floatsitf.c: Likewise.
29906         * soft-fp/floattidf.c: Likewise.
29907         * soft-fp/floattisf.c: Likewise.
29908         * soft-fp/floattitf.c: Likewise.
29909         * soft-fp/floatundidf.c: Likewise.
29910         * soft-fp/floatundisf.c: Likewise.
29911         * soft-fp/floatunsidf.c: Likewise.
29912         * soft-fp/floatunsisf.c: Likewise.
29913         * soft-fp/floatuntidf.c: Likewise.
29914         * soft-fp/floatuntisf.c: Likewise.
29915         * soft-fp/floatuntitf.c: Likewise.
29916         * soft-fp/fmadf4.c: Likewise.
29917         * soft-fp/fmasf4.c: Likewise.
29918         * soft-fp/fmatf4.c: Likewise.
29919         * soft-fp/gedf2.c: Likewise.
29920         * soft-fp/gesf2.c: Likewise.
29921         * soft-fp/getf2.c: Likewise.
29922         * soft-fp/ledf2.c: Likewise.
29923         * soft-fp/lesf2.c: Likewise.
29924         * soft-fp/letf2.c: Likewise.
29925         * soft-fp/muldf3.c: Likewise.
29926         * soft-fp/mulsf3.c: Likewise.
29927         * soft-fp/multf3.c: Likewise.
29928         * soft-fp/negdf2.c: Likewise.
29929         * soft-fp/negsf2.c: Likewise.
29930         * soft-fp/negtf2.c: Likewise.
29931         * soft-fp/op-1.h: Likewise.
29932         * soft-fp/op-2.h: Likewise.
29933         * soft-fp/op-4.h: Likewise.
29934         * soft-fp/op-8.h: Likewise.
29935         * soft-fp/op-common.h: Likewise.
29936         * soft-fp/quad.h: Likewise.
29937         * soft-fp/single.h: Likewise.
29938         * soft-fp/soft-fp.h: Likewise.
29939         * soft-fp/sqrtdf2.c: Likewise.
29940         * soft-fp/sqrtsf2.c: Likewise.
29941         * soft-fp/sqrttf2.c: Likewise.
29942         * soft-fp/subdf3.c: Likewise.
29943         * soft-fp/subsf3.c: Likewise.
29944         * soft-fp/subtf3.c: Likewise.
29945         * soft-fp/truncdfsf2.c: Likewise.
29946         * soft-fp/trunctfdf2.c: Likewise.
29947         * soft-fp/trunctfsf2.c: Likewise.
29948         * soft-fp/trunctfxf2.c: Likewise.
29949         * soft-fp/unorddf2.c: Likewise.
29950         * soft-fp/unordsf2.c: Likewise.
29951         * soft-fp/unordtf2.c: Likewise.
29953 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29955         [BZ #15672]
29956         * misc/error.c (error_tail): Fix possible buffer overflow.
29958 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29960         [BZ #13028]
29961         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29962         address.
29964 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29966         [BZ #832]
29967         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29968         testing pipefail option.
29970 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29972         * soft-fp/double.h: Indent preprocessor directives inside #if.
29973         * soft-fp/extended.h: Likewise.
29974         * soft-fp/op-2.h: Likewise.
29975         * soft-fp/op-4.h: Likewise.
29976         * soft-fp/op-common.h: Likewise.
29977         * soft-fp/quad.h: Likewise.
29978         * soft-fp/single.h: Likewise.
29979         * soft-fp/soft-fp.h: Likewise.
29981 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29983         * iconv/iconv_prog.c: Fix typos.
29984         * stdio-common/psiginfo-data.h: Likewise.
29986 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29988         [BZ #15764]
29989         * locale/setlocale.c: Fix typo.
29991 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29993         [BZ #16036]
29994         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29995         signaling NaN arguments.
29996         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29997         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29999         [BZ #14910]
30000         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30001         unordered operands.
30002         * soft-fp/gesf2.c (__gesf2): Likewise.
30003         * soft-fp/getf2.c (__getf2): Likewise.
30004         * soft-fp/ledf2.c (__ledf2): Likewise.
30005         * soft-fp/lesf2.c (__lesf2): Likewise.
30006         * soft-fp/letf2.c (__letf2): Likewise.
30008         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30009         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30010         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30011         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30012         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30013         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30014         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30015         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30016         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30017         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30018         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30019         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30020         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30021         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30022         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30023         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30024         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30025         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30026         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30027         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30028         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30029         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30030         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30031         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30032         * soft-fp/floattidf.c (__floattidf): Likewise.
30033         * soft-fp/floattisf.c (__floattisf): Likewise.
30034         * soft-fp/floattitf.c (__floattitf): Likewise.
30035         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30036         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30037         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30038         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30039         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30040         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30041         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30042         * soft-fp/gesf2.c (__gesf2): Likewise.
30043         * soft-fp/getf2.c (__getf2): Likewise.
30044         * soft-fp/ledf2.c (__ledf2): Likewise.
30045         * soft-fp/lesf2.c (__lesf2): Likewise.
30046         * soft-fp/letf2.c (__letf2): Likewise.
30048         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30049         Undefine and redefine.
30050         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30051         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30052         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30053         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30054         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30055         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30056         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30057         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30058         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30059         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30060         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30061         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30062         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30063         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30064         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30066         [BZ #16032]
30067         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30068         without decrementing exponent if mantissa >= that for the
30069         denominator, not >.
30070         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30071         denominator, not >.  Decrement exponent in < case instead of
30072         incrementing in >= case.
30073         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30074         without decrementing exponent if mantissa >= that for the
30075         denominator, not >.
30077         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30078         computing saturated result for unsigned overflow.
30080 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30081             Jeff Law  <law@redhat.com>
30083         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30084         (atan2Mp): Add systemtap probe marker.
30085         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30086         (__ieee754_log): Add systemtap probe marker.
30087         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30088         (atanMp): Add systemtap probe marker.
30089         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30090         (tanMp): Add systemtap probe marker.
30091         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30092         (__slowexp): Add systemtap probe marker.
30093         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30094         (__slowpow): Add systemtap probe marker.
30095         * manual/probes.texi: Document probes.
30097 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30099         [BZ #15362]
30100         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30101         written.
30102         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30103         written.
30104         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30105         written to buffer but not flushed.
30106         * libio/iofwrite_u.c:  Likewise.
30107         * libio/iopadn.c:  Return bytes returned even if EOF was
30108         encountered.
30109         * libio/iowpadn.c:  Likewise.
30110         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30111         if _IO_padn does not write the whole buffer.
30112         [!COMPILE_WPRINTF] (PAD): Likewise.
30114 2013-10-10  David S. Miller  <davem@davemloft.net>
30116         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30117         directory block.
30119 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30121         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30122         instead of FSF address.
30123         * soft-fp/fixdfti.c: Likewise.
30124         * soft-fp/fixsfti.c: Likewise.
30125         * soft-fp/fixtfti.c: Likewise.
30126         * soft-fp/fixunsdfti.c: Likewise.
30127         * soft-fp/fixunssfti.c: Likewise.
30128         * soft-fp/fixunstfti.c: Likewise.
30129         * soft-fp/floattidf.c: Likewise.
30130         * soft-fp/floattisf.c: Likewise.
30131         * soft-fp/floattitf.c: Likewise.
30132         * soft-fp/floatuntidf.c: Likewise.
30133         * soft-fp/floatuntisf.c: Likewise.
30134         * soft-fp/floatuntitf.c: Likewise.
30135         * soft-fp/trunctfxf2.c: Likewise.
30137         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30138         * soft-fp/fixdfti.c: Likewise.
30139         * soft-fp/fixsfti.c: Likewise.
30140         * soft-fp/fixtfti.c: Likewise.
30141         * soft-fp/fixunsdfti.c: Likewise.
30142         * soft-fp/fixunssfti.c: Likewise.
30143         * soft-fp/fixunstfti.c: Likewise.
30144         * soft-fp/floattidf.c: Likewise.
30145         * soft-fp/floattisf.c: Likewise.
30146         * soft-fp/floattitf.c: Likewise.
30147         * soft-fp/floatuntidf.c: Likewise.
30148         * soft-fp/floatuntisf.c: Likewise.
30149         * soft-fp/floatuntitf.c: Likewise.
30150         * soft-fp/trunctfxf2.c: Likewise.
30152 2013-10-10  David S. Miller  <davem@davemloft.net>
30154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30156 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30158         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30159         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30160         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30161         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30162         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30163         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30164         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30166         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30167         for NaNs before doing comparisons on argument.
30168         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30169         Likewise.
30171 2013-10-10  Will Newton  <will.newton@linaro.org>
30173         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30174         passed to _int_memalign does not overflow.
30176 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30178         * scripts/bench.pl: Add include-sources directive.
30179         * benchtests/README: Update documentation.
30181 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30183         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30184         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30185         instead of FP_INIT_ROUNDMODE.
30186         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30187         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30189         [BZ #16034]
30190         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30191         copy class of input value.
30192         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30193         not handle exceptions.
30194         * soft-fp/negsf2.c (__negsf2): Likewise.
30195         * soft-fp/negtf2.c (__negtf2): Likewise.
30196         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30198 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30200         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30201         semicolon.  From Linux kernel.
30203 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30205         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30207 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30209         [BZ #156]
30210         * manual/socket.texi: Added statement about buffer
30211         for gethostbyname2_r.
30213 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30215         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30216         Use .p2align directive instead, throughout.
30217         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30218         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30219         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30220         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30221         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30222         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30223         * sysdeps/x86_64/strchr.S: Likewise.
30224         * sysdeps/x86_64/strrchr.S: Likewise.
30226 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30228         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30230         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30232         * sysdeps/generic/math_private.h (__mpsin1): Remove
30233         declaration.
30234         (__mpcos1): Likewise.
30235         (__mpsin): New argument __range_reduce.
30236         (__mpcos): Likewise.
30237         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30238         (slow): Use __mpsin and __mpcos.
30239         (slow1): Likewise.
30240         (slow2): Likewise.
30241         (sloww): Likewise.
30242         (sloww1): Likewise.
30243         (sloww2): Likewise.
30244         (bsloww): Likewise.
30245         (bsloww1): Likewise.
30246         (bsloww2): Likewise.
30247         (cslow2): Likewise.
30248         (csloww): Likewise.
30249         (csloww1): Likewise.
30250         (csloww2): Likewise.
30251         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30252         range_reduce.  Merge in __mpsin1.
30253         (__mpcos): Likewise.
30254         (__mpsin1): Remove.
30255         (__mpcos1): Likewise.
30257 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30259         * locale/loadlocale.c (_nl_intern_locale_data): Use
30260         LOCFILE_ALIGNED_P.
30261         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30262         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30263         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30264         obstack data is appropriately aligned.
30265         (obstack_int32_grow_fast): Likewise.
30266         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30267         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30268         (add_locale_uint32_array): Likewise.
30270 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30272         * benchtests/Makefile: Remove ARGLIST and RET variables.
30273         ($(objpfx)bench-%.c): Pass only function name to the script.
30274         * benchtests/README: Update documentation.
30275         * benchtests/acos-inputs: Add new directives.
30276         * benchtests/acosh-inputs: Likewise.
30277         * benchtests/asin-inputs: Likewise.
30278         * benchtests/asinh-inputs: Likewise.
30279         * benchtests/atan-inputs: Likewise.
30280         * benchtests/atanh-inputs: Likewise.
30281         * benchtests/cos-inputs: Likewise.
30282         * benchtests/cosh-inputs: Likewise.
30283         * benchtests/exp-inputs: Likewise.
30284         * benchtests/log-inputs: Likewise.
30285         * benchtests/pow-inputs: Likewise.
30286         * benchtests/rint-inputs: Likewise.
30287         * benchtests/sin-inputs: Likewise.
30288         * benchtests/sinh-inputs: Likewise.
30289         * benchtests/tan-inputs: Likewise.
30290         * benchtests/tanh-inputs: Likewise.
30291         * scripts/bench.pl: Add support for new directives.
30293 2013-10-07  Alan Modra  <amodra@gmail.com>
30295         * README: Fix careless merge.
30297 2013-10-05  Alan Modra  <amodra@gmail.com>
30299         * NEWS: Mention powerpc64le support and bugs fixed.
30300         * README: Both big-endian and little-endian powerpc64 supported.
30302 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30304         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30305         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30306         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30307         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30309 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30311         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30312         match prototype.
30314 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30316         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30317         Move -mhard-float appending from
30318         ports/sysdeps/powerpc/powerpc32/Makefile.
30319         [$(with-fp) = yes] (ASFLAGS): Likewise.
30320         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30321         * sysdeps/powerpc/nofpu: Move directory from
30322         ports/sysdeps/powerpc/nofpu.
30323         * sysdeps/powerpc/soft-fp: Move directory from
30324         ports/sysdeps/powerpc/soft-fp.
30325         * sysdeps/powerpc/powerpc32/405: Move directory from
30326         ports/sysdeps/powerpc/powerpc32/405.
30327         * sysdeps/powerpc/powerpc32/440: Move directory from
30328         ports/sysdeps/powerpc/powerpc32/440.
30329         * sysdeps/powerpc/powerpc32/464: Move directory from
30330         ports/sysdeps/powerpc/powerpc32/464.
30331         * sysdeps/powerpc/powerpc32/476: Move directory from
30332         ports/sysdeps/powerpc/powerpc32/476.
30333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30334         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30336         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30338         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30340         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30342         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30343         * README: Update for powerpc-*-linux-gnu software floating point
30344         support in libc.
30346         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30347         case to powerpc/powerpc32*.
30348         * sysdeps/unix/sysv/linux/configure: Regenerated.
30350         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30351         (_FPU_MASK_OM): Define as 0x04.
30352         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30353         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30354         0x00c10080.
30355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30356         0x0000003c.
30357         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30360         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30361         getcontext_e500.
30362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30363         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30364         setcontext_e500.
30365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30366         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30367         and setcontext_e500.
30369 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30371         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30373 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30375         * manual/threads.texi (Default Thread Attributes): Fix typo.
30377 2013-10-04  Will Newton  <will.newton@linaro.org>
30379         * malloc/Makefile: Add tst-memalign.
30380         * malloc/tst-memalign.c: New file.
30382         * malloc/tst-posix_memalign.c: Add comments.
30383         (do_test): Add comments and call free on all potentially
30384         allocated pointers. Add space after cast.
30386         * malloc/tst-pvalloc.c: Add comments.
30387         (do_test): Add comments and call free on all potentially
30388         allocated pointers. Remove duplicate check for NULL pointer.
30389         Add space after cast.
30391         * malloc/tst-valloc.c: Add comments.
30392         (do_test): Add comments and call free on all potentially
30393         allocated pointers. Remove duplicate check for NULL pointer.
30394         Add space after cast.
30396 2013-10-04  Alan Modra  <amodra@gmail.com>
30398         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30399         Use stdint types in rather than __attribute__((mode())).
30400         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30402 2013-10-04  Alan Modra  <amodra@gmail.com>
30404         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30405         Correct handling of unaligned relocs for little-endian.
30406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30408 2013-10-04  Alan Modra  <amodra@gmail.com>
30410         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30411         * configure: Regenerate.
30412         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30413         * shlib-versions: Likewise.
30415 2013-10-04  Alan Modra  <amodra@gmail.com>
30417         * string/tester.c (test_memrchr): Increment reported test cycle.
30419 2013-10-04  Alan Modra  <amodra@gmail.com>
30421         * string/test-memcpy.c (do_one_test): When reporting errors, print
30422         string address and don't overrun end of string.
30424 2013-10-04  Alan Modra  <amodra@gmail.com>
30426         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30427         insrdi.  Make better use of reg selection to speed exit slightly.
30428         Schedule entry path a little better.  Remove useless "are we done"
30429         checks on entry to main loop.  Handle wrapping around zero address.
30430         Correct main loop count.  Handle single left-over word from main
30431         loop inline rather than by using loop_small.  Remove extra word
30432         case in loop_small caused by wrong loop count.  Add little-endian
30433         support.
30434         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30435         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30436         cache hint.
30437         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30438         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30439         support.  Avoid rlwimi.
30440         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30442 2013-10-04  Alan Modra  <amodra@gmail.com>
30444         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30445         insrdi.  Formatting.
30446         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30447         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30448         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30449         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30450         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30451         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30453 2013-10-04  Alan Modra  <amodra@gmail.com>
30455         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30456         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30457         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30458         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30459         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30460         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30461         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30462         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30463         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30464         use of regs.  Use power7 mtocrf.  Tidy function tails.
30466 2013-10-04  Alan Modra  <amodra@gmail.com>
30468         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30469         Formatting.  Consistently use rXXX register defines or rN defines.
30470         Use early exit labels that avoid restoring unused non-volatile regs.
30471         Make cr field use more consistent with rWORDn compares.  Rename
30472         regs used as shift registers for unaligned loop, using rN defines
30473         for short lifetime/multiple use regs.
30474         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30475         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30476         addi 1,1,64 to pop stack frame.  Simplify return value code.
30477         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30479 2013-10-04  Alan Modra  <amodra@gmail.com>
30481         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30482         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30483         rather than rlwimi.
30484         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30485         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30486         little-endian support.  Correct typos.
30487         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30488         rather than rlwimi.
30489         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30490         in loop and entry code to keep "and." results.
30491         (strchr): Add little-endian support.  Comment.  Move cntlzd
30492         earlier in tail.
30493         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30495 2013-10-04  Alan Modra  <amodra@gmail.com>
30497         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30498         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30499         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30500         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30502 2013-10-04  Alan Modra  <amodra@gmail.com>
30504         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30505         (rTMP): Define as r11.
30506         (strcmp): Add little-endian support.  Optimise tail.
30507         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30508         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30509         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30510         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30511         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30512         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30513         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30515 2013-10-04  Alan Modra  <amodra@gmail.com>
30517         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30518         little-endian support.  Remove unnecessary "are we done" tests.
30519         Handle "s" wrapping around zero and extremely large "size".
30520         Correct main loop count.  Handle single left-over word from main
30521         loop inline rather than by using small_loop.  Correct comments.
30522         Delete "zero" tail, use "end_max" instead.
30523         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30525 2013-10-04  Alan Modra  <amodra@gmail.com>
30527         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30528         support.  Don't branch over align.
30529         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30530         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30531         support.  Rearrange tmp reg use to suit.  Comment.
30532         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30534 2013-10-04  Alan Modra  <amodra@gmail.com>
30536         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30538 2013-10-04  Alan Modra  <amodra@gmail.com>
30540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30541         conditional form of branch and link when obtaining pc.
30542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30544 2013-10-04  Alan Modra  <amodra@gmail.com>
30546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30547         HIWORD/LOWORD.
30548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30551 2013-10-04  Alan Modra  <amodra@gmail.com>
30553         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30554         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30555         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30556         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30557         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30558         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30559         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30560         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30561         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30562         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30564 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30565             Alistair Popple <alistair@ozlabs.au.ibm.com>
30566             Alan Modra <amodra@gmail.com>
30568         [BZ #15723]
30569         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30570         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30571         _dl_hwcap access for little-endian.
30572         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30573         destroy vmx regs when saving unaligned.
30574         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30575         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30576         destroy vmx regs when saving unaligned.
30578 2013-10-04  Alan Modra  <amodra@gmail.com>
30580         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30581         Don't use a union to pack hi/low value.
30583 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30585         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30586         for little-endian.
30587         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30588         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30589         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30590         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30591         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30593 2013-10-04  Alan Modra  <amodra@gmail.com>
30595         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30596         constants to usual value for .cst8 section, and remove redundant
30597         high address load.
30598         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30599         constant for 0x1p52.  Load little-endian words of double from
30600         correct stack offsets.
30602 2013-10-04  Alan Modra  <amodra@gmail.com>
30604         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30605         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30606         words of double from correct stack offsets.
30607         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30608         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30609         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30610         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30611         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30612         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30613         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30614         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30615         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30616         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30617         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30618         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30619         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30620         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30621         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30622         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30623         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30625 2013-10-04  Alan Modra  <amodra@gmail.com>
30627         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30628         64-bit int/double union.
30629         (_FPU_SETCW): Likewise.
30630         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30631         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30633 2013-10-04  Alan Modra  <amodra@gmail.com>
30635         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30636         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30638 2013-10-04  Alan Modra  <amodra@gmail.com>
30640         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30641         use vector int constants.
30642         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30644 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30646         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30647         array with long long.
30648         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30649         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30650         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30651         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30652         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30653         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30654         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30655         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30656         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30657         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30658         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30659         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30660         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30662 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30664         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30665         (__signbit): Likewise.  Correct for little-endian.
30666         (__signbitl): Call __signbit.
30667         (lrint): Correct for little-endian.
30668         (lrintf): Call lrint.
30670 2013-10-04  Alan Modra  <amodra@gmail.com>
30672         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30673         union 32-bit int array member with 64-bit int array.
30674         (t515, tm256): Double rather than long double.
30675         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30677 2013-10-04  Alan Modra  <amodra@gmail.com>
30679         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30680         Delete.
30681         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30682         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30683         version of math_ldbl.h.
30685 2013-10-04  Alan Modra  <amodra@gmail.com>
30687         [BZ #15734], [BZ #15735]
30688         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30689         all uses of ieee875 long double macros and unions.  Simplify test
30690         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30691         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30692         normalize after ldbl_extract_mantissa, and don't add hidden bit
30693         already handled.  Don't treat low word of ieee854 mantissa like
30694         low word of IBM long double and mask off bit when testing for
30695         zero.
30696         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30697         all uses of ieee875 long double macros and unions.  Simplify tests
30698         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30699         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30700         two1022, instead use their values.  Recognise that tests for large
30701         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30702         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30703         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30704         test for 0.0L and nan.  Correct negation.
30705         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30706         ieee875 long double macros and unions.  Correct output for large
30707         magnitude x.  Correct absolute value calculation.
30708         (__erfcl): Likewise.
30709         * math/libm-test.inc: Add tests for errors discovered in IBM long
30710         double versions of fmodl, remainderl, erfl and erfcl.
30712 2013-10-04  Alan Modra  <amodra@gmail.com>
30714         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30715         all uses of ieee854 long double macros and unions.  Simplify tests
30716         for long doubles that are fully specified by the high double.
30717         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30718         Likewise.
30719         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30720         Remove dead code too.
30721         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30722         (__ieee754_ynl): Likewise.
30723         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30724         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30725         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30726         Remove dead code too.
30727         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30728         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30729         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30730         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30731         Simplify.
30732         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30733         Simplify.
30734         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30735         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30736         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30737         Comment on variable precision.
30738         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30739         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30740         Likewise.
30741         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30742         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30743         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30744         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30745         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30747 2013-10-04  Alan Modra  <amodra@gmail.com>
30749         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30750         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30751         all uses of ieee854 long double macros and unions.
30752         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30753         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30754         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30755         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30756         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30757         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30758         Likewise.
30759         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30760         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30761         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30762         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30763         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30764         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30765         Simplify sign and nan test too.
30766         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30767         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30768         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30769         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30770         Likewise.
30771         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30772         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30773         Likewise.
30774         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30775         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30776         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30777         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30778         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30779         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30781 2013-10-04  Alan Modra  <amodra@gmail.com>
30783         * stdio-common/printf_size.c (__printf_size): Don't use
30784         union ieee854_long_double in fpnum union.
30785         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30786         signbit macro to retrieve sign from long double.
30787         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30788         retrieve sign from long double.
30789         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30790         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30791         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30792         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30793         * math/test-misc.c (main): Don't use union ieee854_long_double.
30795 2013-10-04  Alan Modra  <amodra@gmail.com>
30797         [BZ #15680]
30798         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30799         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30800         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30801         calculation.  Remove unnecessary test for denormal exponent.
30802         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30803         Correct handling of denormals.  Avoid undefined shift behaviour.
30804         Correct normalisation of low mantissa when low double is denormal.
30805         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30806         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30807         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30808         Correct normalisation of low mantissa.  Test for overflow of high
30809         mantissa and normalise.
30810         (ldbl_nearbyint): Use more readable constant for two52.
30811         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30812         (__mpn_construct_long_double): Fix test for overflow of high
30813         mantissa and correct normalisation.  Avoid undefined shift.
30815 2013-10-04  Alan Modra  <amodra@gmail.com>
30817         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30818         (union ibm_extended_long_double): Define as an array of ieee754_double.
30819         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30820         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30821         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30822         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30823         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30824         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30825         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30826         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30827         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30828         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30829         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30831 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30833         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30834         page size instead of calling getpagesize.
30836         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30837         (LOCFILE_ALIGN_MASK): Likewise.
30838         (LOCFILE_ALIGN_UP): Likewise.
30839         (LOCFILE_ALIGNED_P): Likewise.
30840         * locale/programs/ld-collate.c (collate_output): Use the new
30841         macros instead of __alignof__ (int32_t).
30842         * locale/weight.h (findidx): Likewise.
30844 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30846         [BZ #431]
30847         * manual/string.texi: Fix strncat and wcsncat.
30849 2013-10-03  Brooks Moses  <bmoses@google.com>
30851         [BZ #15915]
30852         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30853         * Makerules: ...here, and adjust associated comments.
30855 2013-10-02  Will Newton  <will.newton@linaro.org>
30857         * malloc/Makefile: Add tst-pvalloc.
30858         * malloc/tst-pvalloc.c: New file.
30860 2013-10-02  Will Newton  <will.newton@linaro.org>
30862         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30863         improve test coverage.
30865 2013-10-02  Will Newton  <will.newton@linaro.org>
30867         * malloc/Makefile: Add tst-posix_memalign.
30868         * malloc/tst-posix_memalign.c: New file.
30870 2013-10-01  Eric Blake  <eblake@redhat.com>
30872         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30873         Use __THROWNL rather than __THROW on static functions.
30875 2013-09-30  Petr Machata  <pmachata@redhat.com>
30877         * elf/elf.h (R_AARCH64_ABS16): New macro.
30878         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30879         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30880         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30881         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30882         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30883         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30884         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30885         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30886         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30887         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30888         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30889         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30890         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30891         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30892         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30893         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30894         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30895         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30896         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30897         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30898         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30899         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30900         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30901         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30902         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30903         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30904         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30905         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30906         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30907         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30908         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30909         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30910         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30911         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30912         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30913         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30914         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30915         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30916         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30917         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30918         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30919         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30920         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30921         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30922         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30923         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30924         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30925         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30926         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30927         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30928         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30929         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30930         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30931         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30932         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30933         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30934         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30935         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30936         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30937         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30938         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30939         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30940         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30941         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30942         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30943         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30944         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30945         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30946         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30947         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30948         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30949         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30950         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30951         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30952         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30953         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30954         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30955         (R_AARCH64_TLSDESC_LDR): Likewise.
30956         (R_AARCH64_TLSDESC_ADD): Likewise.
30957         (R_AARCH64_TLSDESC_CALL): Likewise.
30959 2013-09-30  Andreas Schwab  <schwab@suse.de>
30961         [BZ #15048]
30962         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30963         the nss database lookup.
30964         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30967 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30969         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30971 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30973         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30974         ${Bash-specific parameter/pattern/string} parameter expansion.
30975         * sysdeps/unix/make-syscalls.sh: Likewise.
30977 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30979         * sysdeps/sh/stackguard-macros.h: New file.
30981 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30985         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30986         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30987         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30988         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30990 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30992         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30993         Fix thread ID register.
30995 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30997         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30998         [POSIX || UNIX98]: Require rather than permitting all symbols from
30999         <time.h>.
31000         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31001         element of struct sched_param.
31002         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31003         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31004         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31005         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31006         constant.
31008 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31010         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31011         argument calculation.
31013 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31015         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31016         Expect macro.
31017         [POSIX] (pthread_attr_t): Do not require type.
31018         [POSIX] (pthread_cond_t): Likewise.
31019         [POSIX] (pthread_condattr_t): Likewise.
31020         [POSIX] (pthread_key_t): Likewise.
31021         [POSIX] (pthread_mutex_t): Likewise.
31022         [POSIX] (pthread_mutexattr_t): Likewise.
31023         [POSIX] (pthread_once_t): Likewise.
31024         [POSIX] (pthread_t): Likewise.
31025         [POSIX-based standards] (pthread_atfork): Expect function.
31027 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31028             Richard Sandiford  <richard@codesourcery.com>
31030         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31031         (swap_endianness_p): New extern variable.
31032         (set_big_endian): New inline function.
31033         (maybe_swap_uint32): Likewise.
31034         (maybe_swap_uint32_array): Likewise.
31035         (maybe_swap_uint32_obstack): Likewise.
31036         * locale/programs/locfile.c: Include <stdbool.h>.
31037         (swap_endianness_p): New variable.
31038         (add_locale_uint32): Call maybe_swap_uint32.
31039         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31040         (write_locale_data): Call maybe_swap_uint32_array.
31041         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31042         maybe_swap_uint32.
31043         (obstack_int32_grow_fast): Likewise.
31044         (output_weightwc): Call maybe_swap_uint32_obstack.
31045         (collate_output): Likewise.
31046         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31047         (OPT_LITTLE_ENDIAN): Likewise.
31048         (options): Add --little-endian and --big-endian options.
31049         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31050         * locale/programs/locarchive.c: Include "locfile.h".
31051         (GET): New macro.
31052         (SET): Likewise.
31053         (INC): Likewise.
31054         (create_archive): Use the new macros to access fields of
31055         structures directly mapped from or written to locale archives.
31056         (oldlocrecentcmp): Likewise.
31057         (enlarge_archive): Likewise.
31058         (insert_name): Likewise.
31059         (add_alias): Likewise.
31060         (add_locale): Likewise.
31061         (delete_locales_from_archive): Likewise.
31062         (show_archive_content): Likewise.
31063         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31064         locale data.
31066 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31068         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31069         http://www.gnu.org/doc/freemanuals.texi.
31070         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31072 2013-09-24  Will Newton  <will.newton@linaro.org>
31074         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31075         macro.
31077 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31079         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31080         unsigned char.
31082 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31084         * manual/threads.texi (POSIX Threads): Fix a typo.
31086 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31088         [BZ #14547]
31089         * string/tst-strcoll-overflow.c: New test case.
31090         * string/Makefile (xtests): Add tst-strcoll-overflow.
31091         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31092         cache if string sizes may cause integer overflow.
31094         [BZ #14547]
31095         * string/strcoll_l.c (coll_seq): New members rule, idx,
31096         save_idx and back_us.
31097         (get_next_seq_nocache): New function.
31098         (do_compare_nocache): New function.
31099         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31100         when malloc fails.
31102 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31104         [BZ #15754]
31105         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31106         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31107         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31109         [BZ #15754]
31110         * elf/Makefile (tests): Add tst-ptrguard1.
31111         (tests-static): Add tst-ptrguard1-static.
31112         (tst-ptrguard1-ARGS): Define.
31113         (tst-ptrguard1-static-ARGS): Define.
31114         * elf/tst-ptrguard1.c: New file.
31115         * elf/tst-ptrguard1-static.c: New file.
31116         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31117         * sysdeps/i386/stackguard-macros.h: Likewise.
31118         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31119         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31120         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31121         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31122         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31123         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31125 2013-09-23  Hector Marco  <hecmargi@upv.es>
31126             Ismael Ripoll  <iripoll@disca.upv.es>
31127             Carlos O'Donell  <carlos@redhat.com>
31129         [BZ #15754]
31130         * sysdeps/generic/stackguard-macros.h: Define
31131         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31132         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31133         Define __pointer_chk_guard_local.
31134         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31135         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31137 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31139         [BZ #15859]
31140         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31142 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31144         * include/string.h (__ffs): Declare as hidden.
31145         * string/ffs.c (__ffs): Define as hidden.
31146         * sysdeps/i386/ffs.c (__ffs): Likewise.
31147         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31148         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31149         * sysdeps/s390/ffs.c (__ffs): Likewise.
31150         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31152 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31154         * NEWS: Mention malloc probes.
31156         * malloc/arena.c (new_heap): New memory_heap_new probe.
31157         (grow_heap): New memory_heap_more probe.
31158         (shrink_heap): New memory_heap_less probe.
31159         (heap_trim): New memory_heap_free probe.
31160         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31161         (systrim): New memory_sbrk_less probe.
31162         * manual/probes.texi: Document them.
31164         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31165         * manual/probes.texi: Document it.
31167         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31168         (__libc_realloc): Add memory_realloc_retry probe.
31169         (__libc_memalign): Add memory_memalign_retry probe.
31170         (__libc_valloc): Add memory_valloc_retry probe.
31171         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31172         (__libc_calloc): Add memory_calloc_retry probe.
31173         * manual/probes.texi: Document them.
31175         * malloc/arena.c (get_free_list): Add probe
31176         memory_arena_reuse_free_list.
31177         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31178         and memory_arena_reuse.
31179         (arena_get2) [!PER_THREAD]: Likewise.
31180         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31181         memory_arena_reuse_realloc.
31182         * manual/probes.texi: Document them.
31184         * malloc/malloc.c (__libc_free): Add
31185         memory_mallopt_free_dyn_thresholds probe.
31186         (__libc_mallopt): Add multiple memory_mallopt probes.
31187         * manual/probes.texi: Document them.
31189         * malloc/malloc.c: Include stap-probe.h.
31190         (__libc_mallopt): Add memory_mallopt probe.
31191         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31192         * manual/probes.texi: New.
31193         * manual/Makefile (chapters): Add probes.
31194         * manual/threads.texi: Set next node.
31196 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31198         [BZ #15963, #13985]
31199         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31200         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31201         Add `Chinese' to `nan' entry name.
31203 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31205         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31206         (POLYNOMIAL): Likewise.
31207         (TAYLOR_SINCOS): Likewise.
31208         (TAYLOR_SLOW): Likewise.
31209         (__sin): Use TAYLOR_SINCOS.
31210         (__cos): Likewise.
31211         (slow): Use TAYLOR_SLOW.
31212         (sloww): Likewise.
31213         (bsloww): Likewise.
31214         (csloww): Likewise.
31216 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31218         * stdlib/strtod_l.c: Fix buffer overrun.
31220 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31222         * benchtests/Makefile (bench): Add sincos.
31223         * benchtests/bench-sincos.c: New file.
31225         * math/libm-test.inc (cos_test_data): New test inputs.
31226         (sin_test_data): Likewise.
31228         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31229         macro.
31230         (__sin): Use it.
31231         (__cos): Likewise.
31232         (slow1): Likewise.
31233         (slow2): Likewise.
31234         (sloww1): Likewise.
31235         (sloww2): Likewise.
31236         (bsloww1): Likewise.
31237         (bsloww2): Likewise.
31238         (cslow2): Likewise.
31239         (csloww1): Likewise.
31240         (csloww2): Likewise.
31242         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31243         function.
31244         (__sin): Use it.
31245         (__cos): Likewise.
31247         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31248         gotos.
31249         (__cos): Likewise.
31251 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31253         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31254         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31255         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31256         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31257         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31258         * elf/cache.c (print_entry): Handle the new cache flags.
31260 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31261             Aldy Hernandez  <aldyh@redhat.com>
31263         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31264         Change condition to [_SOFT_FLOAT].
31265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31277         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31280         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31281         declaration.
31283 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31285         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31286         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31287         (__longjmp): Use LOAD_GP to load saved GPRs.
31288         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31289         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31290         (__sigsetjmp): Use SAVE_GP to save GPRs.
31292         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31293         Do not append -msoft-float.
31294         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31296 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31298         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31300 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31302         [BZ #15966]
31303         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31304         (_FPU_GETCW): Use initial "__" on variable and field names but not
31305         on macro parameter name.
31306         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31307         parentheses around reference to macro parameter.
31309 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31311         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31312         prototype.
31313         (ctype_startup): Use uint32_t in cast and sizeof for
31314         ctype->charnames.
31316 2013-09-11  Jia Liu  <proljc@gmail.com>
31318         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31319         __daddr_t_defined.
31320         [__FreeBSD__]: Likewise.
31322 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31325         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31326         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31327         (strchr): Remove __strchr_sse42 ifunc selection.
31328         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31329         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31331 2013-09-11  Will Newton  <will.newton@linaro.org>
31333         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31334         parameter to RES. Remove hardcoded 1000 value.
31335         * benchtests/bench-skeleton.c (main): Pass RES parameter
31336         to TIMING_INIT and multiply result by 1000.
31338 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31342 2013-09-11  Andreas Schwab  <schwab@suse.de>
31344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31345         if not defined.
31346         (O_TMPFILE) [__USE_GNU]: Define.
31347         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31348         Define.
31350 2013-09-11  Will Newton  <will.newton@linaro.org>
31352         [BZ #15857]
31353         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31354         does not overflow.
31356 2013-09-11  Will Newton  <will.newton@linaro.org>
31358         [BZ #15856]
31359         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31360         does not overflow.
31362 2013-09-11  Will Newton  <will.newton@linaro.org>
31364         [BZ #15855]
31365         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31366         does not overflow.
31368 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31370         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31371         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31372         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31373         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31374         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31376 2013-09-10  Allan McRae  <allan@archlinux.org>
31378         [BZ #15748]
31379         * manual/arith.texi (Parsing of Floats): Clarify
31380         cross-reference.
31382         [BZ #15849]
31383         * manual/install.texi (Running make install): Mention
31384         --enable-pt-chown.
31385         * INSTALL: Regenerated.
31387 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31389         * csu/init-first.c (_init): Remove the !SHARED condition around
31390         FPU control word initialization.
31391         * elf/dl-support.c (_dl_fpu_control): New variable.
31392         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31393         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31394         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31395         * math/test-fpucw-static.c: New file.
31396         * math/test-fpucw-ieee.c: New file.
31397         * math/test-fpucw-ieee-static.c: New file.
31398         * math/Makefile (tests): Add `test-fpucw-ieee' and
31399         `$(tests-static)'.
31400         (tests-static): New variable.
31401         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31402         dependency to...
31403         [($(build-shared),yes)]
31404         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31405         ... this.
31406         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31407         New dependency.
31409 2013-09-09  Allan McRae  <allan@archlinux.org>
31411         [BZ #15939]
31412         * manual/string.texi (Collation Functions): Fix typo in
31413         strcoll example.
31414         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31416         [BZ #15893]
31417         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31419         [BZ #15892]
31420         * libio/memstream.c (open_memstream): Fix memory leak.
31421         * libio/wmemstream.c (open_wmemstream): Likewise.
31423         [BZ #15895]
31424         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31426 2013-09-09  Will Newton  <will.newton@linaro.org>
31428         * malloc/Makefile: Add tst-realloc to tests.
31429         * malloc/tst-realloc.c: New file.
31431 2013-09-09  Allan McRae  <allan@archlinux.org>
31433         [BZ #15844]
31434         * COPYING: Update from GNU website to fix FSF address.
31435         * COPYING.LIB: Likewise.
31437 2013-09-06  David S. Miller  <davem@davemloft.net>
31439         * po/zh_TW.po: Update Chinese (traditional) translation from
31440         translation project.
31442 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31443             Joseph Myers  <joseph@codesourcery.com>
31445         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31446         "localeinfo.h".
31447         (obstack_chunk_alloc): New macro.
31448         (obstack_chunk_free): Likewise.
31449         (record_offset): New function.
31450         (init_locale_data): Likewise.
31451         (align_locale_data): Likewise.
31452         (add_locale_empty): Likewise.
31453         (add_locale_raw_data): Likewise.
31454         (add_locale_raw_obstack): Likewise.
31455         (add_locale_string): Likewise.
31456         (add_locale_wstring): Likewise.
31457         (add_locale_uint32): Likewise.
31458         (add_locale_uint32_array): Likewise.
31459         (add_locale_char): Likewise.
31460         (start_locale_structure): Likewise.
31461         (end_locale_structure): Likewise.
31462         (start_locale_prelude): Likewise.
31463         (end_locale_prelude): Likewise.
31464         (write_locale_data): Take locale_file structure rather than an
31465         iovec.
31466         * locale/programs/locfile.h: Include "obstack.h".
31467         (struct locale_file): Change to store locale file contents instead
31468         of header.
31469         (init_locale_data): New prototype.
31470         (align_locale_data): Likewise.
31471         (add_locale_empty): Likewise.
31472         (add_locale_raw_data): Likewise.
31473         (add_locale_raw_obstack): Likewise.
31474         (add_locale_string): Likewise.
31475         (add_locale_wstring): Likewise.
31476         (add_locale_uint32): Likewise.
31477         (add_locale_uint32_array): Likewise.
31478         (add_locale_char): Likewise.
31479         (start_locale_structure): Likewise.
31480         (end_locale_structure): Likewise.
31481         (start_locale_prelude): Likewise.
31482         (end_locale_prelude): Likewise.
31483         (write_locale_data): Update prototype.
31484         * locale/programs/3level.h (struct TABLE): Remove result field.
31485         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31486         Use new locale_file interface.
31487         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31488         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31489         * locale/programs/ld-address.c (address_output): Use new
31490         locale_file interface.
31491         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31492         NO_ADD_LOCALE.
31493         (collate_finish): Don't call collseq_table_finalize.
31494         (collate_output): Use new locale_file interface.
31495         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31496         in file.
31497         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31498         (TABLE): Move defines earlier in file.
31499         (ELEMENT): Likewise.
31500         (DEFAULT): Likewise.
31501         (wctrans_table_add): Move macro and inline function earlier in
31502         file.
31503         (struct wctype_table): Move type earlier in file.
31504         (add_locale_wctype_table): New static prototype.
31505         (struct locale_ctype_t): Use logical types instead of struct iovec
31506         pointers for members.
31507         (ctype_output): Use new locale_file interface.
31508         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31509         new locale_file interface.
31510         (allocate_arrays): Update for use of new locale_file interface.
31511         * locale/programs/ld-identification.c (identification_output): Use
31512         new locale_file interface.
31513         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31514         * locale/programs/ld-messages.c (messages_output): Likewise.
31515         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31516         * locale/programs/ld-name.c (name_output): Likewise.
31517         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31518         * locale/programs/ld-paper.c (paper_output): Likewise.
31519         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31520         * locale/programs/ld-time.c (time_output): Likewise.
31522 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31524         * benchtests/Makefile: Add memrchr benchmark.
31525         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31526         benchmark as memrchr.
31527         * benchtests/bench-memrchr-ifunc.c: New file.
31528         * benchtests/bench-memrchr.c: New file.
31530 2013-09-06   Will Newton  <will.newton@linaro.org>
31532         * benchtests/Makefile (string-bench): Add memcpy.
31534 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31535             Cong Wang  <amwang@redhat.com>
31537         [BZ #15850]
31538         * sysdeps/unix/sysv/linux/bits/in.h
31539         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31540         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31541         before __USE_KERNEL_IPV6_DEFS uses.
31542         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31543         IPPROTO_BEETPH.
31544         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31545         sockaddr_in6, or ipv6_mreq.
31547 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31549         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31550         memory access for final bytes in some large inputs.
31551         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31553 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31555         * string/test-memrchr.c: New file.
31556         * string/test-memrchr-ifunc.c: New file.
31557         * string/Makefile: Add new memrchr testcase.
31559 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31561         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31562         fanotify_init returns EPERM.
31564 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31566         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31567         errors.
31568         (top level): Treat second token from macro or constant entries for
31569         allowed headers as allowed.
31570         * include/complex.h: Condition internal declarations on
31571         [!_ISOMAC].
31572         * include/fenv.h: Condition include of <stdbool.h> and internal
31573         declarations on [!_ISOMAC].
31575 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31577         [BZ #15923]
31578         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31580 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31582         * configure.in (--enable-versioning): Remove configure option.
31583         (libc_cv_asm_symver_directive): Remove configure test.
31584         (libc_cv_ld_version_script_option): Likewise.
31585         (VERSIONING): Remove variable and AC_SUBST.
31586         (DO_VERSIONING): Remove AC_DEFINE.
31587         * configure: Regenerated.
31588         * config.h.in (DO_VERSIONING): Remove macro.
31589         * Makerules [$(versioning) = yes]: Change conditionals to
31590         [$(build-shared) = yes].
31591         * config.make.in (versioning): Remove variable.
31592         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31593         [$(build-shared) = yes].
31594         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31595         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31596         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31597         [$(build-shared) = yes].
31598         * extra-lib.mk [$(versioning) = yes]: Likewise.
31599         * hurd/Makefile [$(versioning) = yes]: Likewise.
31600         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31601         [SHARED].
31602         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31603         [SHARED].
31604         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31605         [SHARED && !NO_HIDDEN].
31606         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31607         [SHARED].
31608         [SHARED && DO_VERSIONING]: Likewise..
31609         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31610         [$(build-shared) = yes].
31611         * manual/install.texi (--disable-versioning): Remove
31612         documentation.
31613         * INSTALL: Regenerated.
31614         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31615         to [SHARED].
31616         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31617         [$(build-shared) = yes].
31618         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31619         * sysdeps/i386/i686/multiarch/strstr-c.c
31620         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31621         [SHARED && !NO_HIDDEN].
31622         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31623         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31624         * sysdeps/powerpc/powerpc32/dl-machine.c
31625         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31626         * sysdeps/powerpc/powerpc32/sysdep.h
31627         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31628         to [SHARED && PIC && !NO_HIDDEN].
31629         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31630         conditional to [SHARED].
31632 2013-09-04   Will Newton  <will.newton@linaro.org>
31634         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31635         * benchtests/bench-string.h: Include bench-timing.h instead
31636         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31637         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31638         call to HP_TIMING_DIFF_INIT.
31639         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31640         instead of hp-timing.h macros.
31641         * benchtests/bench-memchr.c: Likewise.
31642         * benchtests/bench-memcmp.c: Likewise.
31643         * benchtests/bench-memcpy.c: Likewise.
31644         * benchtests/bench-memmem.c: Likewise.
31645         * benchtests/bench-memmove.c: Likewise.
31646         * benchtests/bench-memset.c: Likewise.
31647         * benchtests/bench-rawmemchr.c: Likewise.
31648         * benchtests/bench-strcasecmp.c: Likewise.
31649         * benchtests/bench-strcasestr.c: Likewise.
31650         * benchtests/bench-strcat.c: Likewise.
31651         * benchtests/bench-strchr.c: Likewise.
31652         * benchtests/bench-strcmp.c: Likewise.
31653         * benchtests/bench-strcpy.c: Likewise.
31654         * benchtests/bench-strcpy_chk.c: Likewise.
31655         * benchtests/bench-strlen.c: Likewise.
31656         * benchtests/bench-strncasecmp.c: Likewise.
31657         * benchtests/bench-strncat.c: Likewise.
31658         * benchtests/bench-strncmp.c: Likewise.
31659         * benchtests/bench-strncpy.c: Likewise.
31660         * benchtests/bench-strnlen.c: Likewise.
31661         * benchtests/bench-strpbrk.c: Likewise.
31662         * benchtests/bench-strrchr.c: Likewise.
31663         * benchtests/bench-strspn.c: Likewise.
31664         * benchtests/bench-strstr.c: Likewise.
31666 2013-09-04  Will Newton  <will.newton@linaro.org>
31668         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31670 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31672         [BZ #15427]
31673         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31674         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31675         * math/libm-test.inc (lgamma_test_data): Add more tests.
31676         * sysdeps/i386/fpu/libm-test-ulps: Update.
31677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31679 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31681         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31683         Add ifunc.
31684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31685         Add strcmp-sse2-unaligned
31686         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31688 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31690         * Versions.def (libc): Add GLIBC_2.19.
31692 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31694         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31695         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31697 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31699         [BZ #14155]
31700         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31701         intermediate calculations in recurrence.
31702         (__ieee754_ynf): Likewise.
31703         * math/libm-test.inc (jn_test_data): Do not allow spurious
31704         underflow exception.  Add more tests.
31705         (yn_test_data): Add more tests.
31706         * sysdeps/i386/fpu/libm-test-ulps: Update.
31707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31709 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31711         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31713 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31715         * csu/init-first.c: Fix then/than typos.
31716         * locale/programs/ld-collate.c: Likewise.
31717         * locale/programs/linereader.h: Likewise.
31718         * manual/charset.texi: Likewise.
31719         * manual/filesys.texi: Likewise.
31720         * manual/stdio.texi: Likewise.
31721         * manual/string.texi: Likewise.
31722         * stdlib/fmtmsg.c: Likewise.
31723         * sysdeps/i386/stpncpy.S: Likewise.
31724         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31725         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31726         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31727         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31729 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31731         * elf/dl-open.c: Fix typos.
31732         * iconvdata/gbbig5.c: Likewise.
31733         * iconvdata/iso-2022-jp.c: Likewise.
31734         * iconv/gconv_int.h: Likewise.
31735         * iconv/loop.c: Likewise.
31736         * nis/rpcsvc/nis.h: Likewise.
31737         * resolv/ns_name.c: Likewise.
31738         * stdio-common/vfscanf.c: Likewise.
31739         * streams/stropts.h: Likewise.
31740         * sunrpc/rpc_thread.c: Likewise.
31741         * sysdeps/i386/strpbrk.S: Likewise.
31742         * sysdeps/ieee754/k_standard.c: Likewise.
31743         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31744         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31745         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31746         * sysdeps/mach/hurd/profil.c: Likewise.
31747         * sysdeps/s390/dl-procinfo.h: Likewise.
31748         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31749         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31750         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31751         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31752         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31754 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31756         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31757         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31759 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31761         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31762         aix specific files.
31763         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31764         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31765         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31766         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31767         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31768         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31769         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31770         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31772 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31773             Roland McGrath  <roland@hack.frob.com>
31775         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31776         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31778 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31780         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31781         __executable_start symbol instead of _start.
31783 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31785         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31786         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31787         Move macros to...
31788         * sysdeps/gnu/ldsodefs.h: ... this new file.
31790         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31791         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31792         instead of ELFOSABI_LINUX.
31794         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31795         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31796         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31797         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31798         Likewise.
31799         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31800         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31801         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31802         Likewise.
31803         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31804         (ibm_extended_long_double): Add ieee_nan member.
31805         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31806         (do_test): New function.
31808         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31809         TEST_TRUNC.
31810         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31811         functions, renamed from truncdfsf_test, trunctfsf_test,
31812         trunctfdf_test.
31813         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31814         functions.
31815         (do_test): Run all these.
31817 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31819         * argp/argp-help.c: Fix typos.
31820         * argp/argp-parse.c: Likewise.
31821         * debug/backtracesyms.c: Likewise.
31822         * elf/elf.h: Likewise.
31823         * malloc/malloc.c: Likewise.
31824         * nis/nis_print.c: Likewise.
31825         * resolv/res_comp.c: Likewise.
31826         * stdlib/stdlib.h: Likewise.
31827         * sunrpc/clnt_tcp.c: Likewise.
31828         * sunrpc/clnt_udp.c: Likewise.
31829         * sunrpc/clnt_unix.c: Likewise.
31830         * sysdeps/unix/bsd/ptsname.c: Likewise.
31831         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31832         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31834         Likewise.
31835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31836         Likewise.
31837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31838         Likewise.
31839         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31841 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31843         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31846 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31848         [BZ #15897]
31849         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31850         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31851         ($(objpfx)bug-dl-leaf): New rule.
31852         ($(objpfx)bug-dl-leaf.so): Likewise.
31853         ($(objpfx)bug-dl-leaf.out): Likewise.
31854         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31855         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31856         * dlfcn/bug-dl-leaf.c: New test.
31857         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31858         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31859         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31860         (dlclose): Likewise.
31861         (dlmopen): Likewise.
31863 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31865         * include/netdb.h [!_ISOMAC]:
31866         Don't include <tls.h>.
31867         (h_errno, __libc_h_errno): Move declaration and macros out of
31868         [_LIBC_REENTRANT].
31870         * include/resolv.h [_RESOLV_H_]:
31871         Don't include <tls.h>.
31872         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31873         * resolv/res_libc.c: Don't include <tls.h>.
31874         (_res): Use __attribute__ ((nocommon)) in place of
31875         __attribute__ ((section (".bss"))).
31877         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31878         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31880         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31882         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31883         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31885         * resolv/res_mkquery.c: Include <sys/time.h>.
31887         * inet/ifreq.c: Moved to ...
31888         * sysdeps/unix/ifreq.c: ... here.
31889         * inet/ifreq.c: New file, true stub version.
31891         * socket/sa_len.c: New file.
31892         * socket/Makefile (aux): Add it.
31893         * sysdeps/unix/sysv/linux/Makefile
31894         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31895         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31896         and #include <socket/sa_len.c>.
31897         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31898         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31900         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31901         * bits/socket.h: ... here.
31903         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31904         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31905         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31907 2013-08-27  Andreas Schwab  <schwab@suse.de>
31909         [BZ #15736]
31910         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31911         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31912         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31913         * string/test-strcasecmp.c (test_main): Run tests in several
31914         locales.
31915         * string/test-strncasecmp.c (test_main): Likewise.
31917         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31918         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31919         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31921         (__strncasecmp_ssse3) [PIC]: Likewise.
31923 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31925         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31927         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31928         instead of explicitly declaring xdecrypt.
31929         * nis/nss_nis/nis-publickey.c: Likewise.
31931 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31933         [BZ #15890]
31934         * nscd/aicache.c: Include res_hconf.h.
31935         (addhstaiX): Initialize res_hconf.
31937 2013-08-26  Andreas Schwab  <schwab@suse.de>
31939         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31940         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31942 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31944         * nscd/aicache.c (addhstaiX): Fix indentation.
31946 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31948         * configure.ac: Quote $build_pt_chown test.
31949         * configure: Regenerated.
31951 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31953         [BZ #15532]
31954         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31955         * math/s_cexpf.c (__cexpf): Likewise.
31956         * math/s_cexpl.c (__cexpl): Likewise.
31957         * math/libm-test.inc (cexp_test_data): Correct expected return
31958         value for NaN + i0.  Add another test.
31960 2013-08-22  David S. Miller  <davem@davemloft.net>
31962         * po/ca.po: Update Catalan translation from translation project.
31963         * po/uk.po: Add Ukrainian translations from translation project.
31965 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31967         [BZ #15797]
31968         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31969         is infinite, not alongside NaN test.
31970         * math/s_fdimf.c (__fdimf): Likewise.
31971         * math/s_fdiml.c (__fdiml): Likewise.
31972         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31973         errno is unchanged.
31975 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31977         * argp/argp-help.c: Fix typos.
31978         * crypt/speeds.c: Likewise.
31979         * csu/check_fds.c: Likewise.
31980         * elf/dl-load.c: Likewise.
31981         * elf/dl-open.c: Likewise.
31982         * elf/reldep3.c: Likewise.
31983         * elf/reldep.c: Likewise.
31984         * elf/sprof.c: Likewise.
31985         * iconv/iconv_charmap.c: Likewise.
31986         * iconv/skeleton.c: Likewise.
31987         * iconv/strtab.c: Likewise.
31988         * io/lockf64.c: Likewise.
31989         * libio/libioP.h: Likewise.
31990         * resolv/gai_notify.c: Likewise.
31991         * resolv/ns_name.c: Likewise.
31992         * resolv/ns_samedomain.c: Likewise.
31993         * resolv/res_send.c: Likewise.
31994         * stdlib/random.c: Likewise.
31995         * sunrpc/rpc/xdr.h: Likewise.
31996         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31997         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31998         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31999         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32000         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32001         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32002         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32003         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32004         * sysdeps/mach/hurd/check_fds.c: Likewise.
32005         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32006         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32007         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32008         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32009         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32010         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32011         * sysdeps/pthread/aio_notify.c: Likewise.
32012         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32013         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32014         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32015         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32016         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32018 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32020         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32021         version if bit_Slow_SSE4_2 is set.
32022         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32023         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32025 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32027         [BZ #15867]
32028         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32029         trampoline stack frame information.
32030         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32031         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32032         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32033         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32034         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32035         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32036         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32037         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32038         sa_flags value.
32039         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32040         interrupting a syscall and set with option SA_SIGINFO.
32042 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32044         [BZ #15531]
32045         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32046         argument is infinite.
32047         * math/s_cprojf.c (__cprojf): Likewise.
32048         * math/s_cprojl.c (__cprojl): Likewise.
32049         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32050         * math/libm-test.inc (cproj_test_data): Add more tests.
32052         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32054         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32055         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32056         size.  Use __ffs to determine corresponding shift.
32058 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32059             Roland McGrath  <roland@hack.frob.com>
32061         * Makefile (INSTALL): Remove trailing blank lines from output of
32062         makeinfo.
32064 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32066         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32067         Align 32 bit compat elf_greg to 8 bytes.
32069 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32071         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32073 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32075         * string/strcoll_l.c (coll_seq): New structure.
32076         (get_next_seq_cached): New function.
32077         (get_next_seq): New function.
32078         (do_compare): New function.
32079         (STRCOLL): Use GNU style definition.  Simplify implementation
32080         by using get_next_seq, get_next_seq_cached and do_compare.
32082 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32084         [BZ #14699]
32085         CVE-2013-4237
32086         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32087         member.
32088         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32089         member.
32090         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32091         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32092         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32093         conditional.
32094         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32095         GETDENTS_64BIT_ALIGNED.
32096         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32097         * manual/filesys.texi (Reading/Closing Directory): Document
32098         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32099         strongly.
32100         * manual/conf.texi (Limits for Files): Add portability note to
32101         NAME_MAX, PATH_MAX.
32102         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32104 2013-08-13  Andreas Schwab  <schwab@suse.de>
32106         [BZ #15749]
32107         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32108         of fabs.
32109         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32110         LDBL_MAX_EXP >= 16384]: Add tests for it.
32112 2013-08-12  David S. Miller  <davem@davemloft.net>
32114         * version.h (RELEASE): Set to "development".
32115         (VERSION): Set to "2.18.90".
32116         * NEWS: Add 2.19 section.
32118 2013-08-03  David S. Miller  <davem@davemloft.net>
32120         * po/ko.po: Update Korean translation from translation project.
32122 2013-08-01  David S. Miller  <davem@davemloft.net>
32124         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32125         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32126         Bilka.
32128 2013-07-30  David S. Miller  <davem@davemloft.net>
32130         * po/fr.po: Update French translation from translation project.
32132 2013-07-28  David S. Miller  <davem@davemloft.net>
32134         * po/cs.po: Update Czech translation from translation project.
32136         * po/sv.po: Update Swedish translation from translation project.
32138 2013-07-27  David S. Miller  <davem@davemloft.net>
32140         * po/eo.po: Update Esperanto translation from translation project.
32142         * po/vi.po: Update Vietnamese translation from translation project.
32144         * po/de.po: Update German translation from translation project.
32146 2013-07-26  David S. Miller  <davem@davemloft.net>
32148         * po/bg.po: Update Bulgarian translation from translation project.
32150         * po/nl.po: Update Dutch translation from translation project.
32151         * po/pl.po: Update Polish translation from translation project.
32152         * po/ru.po: Update Russian translation from translation project.
32154 2013-07-24  David S. Miller  <davem@davemloft.net>
32156         * po/libc.pot: Update.
32158 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32160         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32161         variable page size.
32162         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32163         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32164         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32166 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32168         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32170 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32171             Andreas Schwab  <schwab@suse.de>
32172             Roland McGrath  <roland@hack.frob.com>
32173             Joseph Myers  <joseph@codesourcery.com>
32174             Carlos O'Donell  <carlos@redhat.com>
32176         [BZ #15755]
32177         * config.h.in: Define HAVE_PT_CHOWN.
32178         * config.make.in (build-pt-chown): New variable.
32179         * configure.in (--enable-pt_chown): New configure option.
32180         * configure: Regenerate.
32181         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32182         build-pt-chown is enabled.
32183         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32184         pt_chown to fix pty ownership.
32185         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32186         CLOSE_ALL_FDS.
32187         * manual/install.texi (Configuring and compiling): Mention
32188         --enable-pt_chown. Add @findex for grantpt.
32189         * INSTALL: Regenerate.
32191 2013-07-20  David S. Miller  <davem@davemloft.net>
32193         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32194         difference between 32-bit and 64-bit.
32196 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32198         [BZ #15711]
32199         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32200         Avoid system header dependency with -ffreestanding.
32201         ($(objpfx)bits/syscall%d): Likewise.
32203 2013-07-13  David S. Miller  <davem@davemloft.net>
32205         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32206         underflows from atanl/atan2l due to bug 15319.
32207         (casinh_test_data): Likewise.
32209 2013-07-07  David S. Miller  <davem@davemloft.net>
32211         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32213 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32215         * sysdeps/i386/fpu/libm-test-ulps: Update.
32216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32218 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32220         * configure.in (--enable-lock-elision): Fix message text.
32221         * INSTALL: Regenerate.
32222         * configure: Regenerate.
32224 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32228 2013-07-03  Andreas Jaeger  <aj@suse.de>
32230         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32231         define.
32232         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32233         (ptrace_peeksiginfo_args): Add.
32234         (__ptrace_peeksiginfo_flags): Add.
32235         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32236         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32237         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32239 2013-07-03  Allan McRae  <allan@archlinux.org>
32241         * sysdeps/i386/fpu/libm-test-ulps: Update.
32243 2013-07-02  David S. Miller  <davem@davemloft.net>
32245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32247 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32251 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32253         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32256 2013-07-02  Andi Kleen <ak@linux.intel.com>
32258         * config.h.in (ENABLE_LOCK_ELISION): Add.
32259         * configure.in (--enable-lock-elision): Add option.
32260         * manual/install.texi: Document --enable lock elision.
32261         * configure: Regenerate
32262         * INSTALL: Regenerate.
32264 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32266         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32267         SSE4.2 strcasecmp for libc.a.
32268         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32270 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32272         [BZ #13304]
32273         * soft-fp/op-common.h (_FP_FMA): New macro.
32274         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32275         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32276         (_FP_MUL_MEAT_1_imm): ... here.
32277         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32278         (_FP_MUL_MEAT_1_wide): ... here.
32279         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32280         (_FP_MUL_MEAT_1_hard): ... here.
32281         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32282         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32283         (_FP_MUL_MEAT_2_wide): ... here.
32284         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32285         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32286         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32287         (_FP_MUL_MEAT_2_gmp): ... here.
32288         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32289         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32290         (_FP_MUL_MEAT_4_wide): ... here.
32291         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32292         (_FP_MUL_MEAT_4_gmp): ... here.
32293         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32294         (_FP_WFRACBITS_DW_S): Likewise.
32295         (_FP_WFRACXBITS_DW_S): Likewise.
32296         (_FP_HIGHBIT_DW_S): Likewise.
32297         (FP_FMA_S): Likewise.
32298         (_FP_FRAC_HIGH_DW_S): Likewise.
32299         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32300         (_FP_WFRACBITS_DW_D): Likewise.
32301         (_FP_WFRACXBITS_DW_D): Likewise.
32302         (_FP_HIGHBIT_DW_D): Likewise.
32303         (FP_FMA_D): Likewise.
32304         (_FP_FRAC_HIGH_DW_D): Likewise.
32305         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32306         (_FP_WFRACBITS_DW_E): Likewise.
32307         (_FP_WFRACXBITS_DW_E): Likewise.
32308         (_FP_HIGHBIT_DW_E): Likewise.
32309         (FP_FMA_E): Likewise.
32310         (_FP_FRAC_HIGH_DW_E): Likewise.
32311         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32312         (_FP_WFRACBITS_DW_Q): Likewise.
32313         (_FP_WFRACXBITS_DW_Q): Likewise.
32314         (_FP_HIGHBIT_DW_Q): Likewise.
32315         (FP_FMA_Q): Likewise.
32316         (_FP_FRAC_HIGH_DW_Q): Likewise.
32317         * soft-fp/fmasf4.c: New file.
32318         * soft-fp/fmadf4.c: Likewise.
32319         * soft-fp/fmatf4.c: Likewise.
32321 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32324         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32325         Silvermont.
32326         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32327         macro.
32328         (index_Slow_SSE4_2): Likewise.
32329         (index_Prefer_PMINUB_for_stringop): Likewise.
32330         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32331         bit_Slow_SSE4_2 is set.
32332         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32333         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32335 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32337         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32338         rtld_global._dl_hwcap2.
32339         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32340         POWER8.
32341         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32342         POWER8 feature descriptions defined in _dl_hwcap2.
32343         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32344         string handling for POWER8 feature bits.
32345         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32346         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32347         _dl_powerpc_cap_flags.
32348         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32349         * sysdeps/powerpc/rtld-global-offsets.sym
32350         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32351         _dl_hwcap2 in the rtld_global_ro structure.
32353 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32355         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32356         hardware capabilities in support of AT_HWCAP2.
32357         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32358         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32359         GLRO(dl_hwcap2).
32360         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32361         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32362         explicitly the unknown a_type display mechanism is used.
32363         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32364         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32365         struct member.
32366         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32367         to macro prototype for AT_HWCAP2 support.
32368         * sysdeps/i386/dl-procinfo.h: Likewise.
32369         * sysdeps/s390/dl-procinfo.h: Likewise.
32370         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32371         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32372         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32373         return -1 for unknown a_type display fallback.
32374         * sysdeps/sparc/dl-procinfo.h: Likewise.
32375         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32376         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32378 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32380         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32381         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32383 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32385         [BZ #12492]
32386         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32387         mprotect making __stack_prot writable.
32389 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32390             Joseph Myers  <joseph@codesourcery.com>
32392         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32393         as being properly aligned.
32395 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32397         * dlfcn/modstatic5.c: New file.
32398         * dlfcn/tststatic5.c: New file.
32399         * dlfcn/Makefile (tests): Add tststatic5.
32400         (tests-static): Likewise.
32401         (modules-names): Add modstatic5.
32402         (tststatic5-ENV): New variable.
32403         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32405         [BZ #15022]
32406         * elf/dl-support.c (_dl_main_map): New variable.
32407         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32408         (_dl_nns, _dl_load_adds): Set to 1.
32409         (_dl_initial_searchlist): Refer to _dl_main_map.
32410         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32411         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32412         call to _dl_get_origin.
32413         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32414         around call_map.
32415         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32416         * dlfcn/modstatic3.c: New file.
32417         * dlfcn/tststatic3.c: New file.
32418         * dlfcn/tststatic4.c: New file.
32419         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32420         (tests-static): Likewise.
32421         (modules-names): Add modstatic3.
32422         (tststatic3-ENV, tststatic4-ENV): New variables.
32423         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32424         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32426 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32428         * configure.in (CC): Require GCC version 4.4 or later.
32429         * configure: Regenerated.
32430         * manual/install.texi (Tools for Compilation): Update GCC version
32431         requirement.
32432         * INSTALL: Regenerated.
32434 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32436         [BZ #15674]
32437         * string/test-memcmp.c (check2): New.
32438         (main): Call check2.
32440         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32442 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32444         [BZ #15022]
32445         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32446         over to...
32447         (dl_open_worker) [!SHARED]: ... here.
32449 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32451         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32453 2013-06-25  Richard Henderson  <rth@redhat.com>
32455         * locale/programs/locarchive.c: Include <libc-internal.h>
32457 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32459         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32460         trailing whitespace removed.
32462 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32464         [BZ #10283]
32465         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32466         * locale/programs/locarchive.c: Include libc-mmap.h.
32467         (prepare_address_space): Take two new outputs (the mmap base and len).
32468         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32469         values.
32470         (create_archive): Declare new mmap base and len values for
32471         prepare_address_space, and store the result in ah.
32472         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32473         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32474         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32475         Declare new mmap base and len values for
32476         prepare_address_space, and store the result in new_ah.
32477         (open_archive): Declare new mmap base and len values for
32478         prepare_address_space, and store the result in ah.
32479         (close_archive): If ah->mmap_base is not NULL, use that and
32480         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32481         * sysdeps/generic/libc-mmap.h: New file.
32483 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32485         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32486         (ALIGN_UP): Likewise.
32487         (PTR_ALIGN_DOWN): Likewise.
32488         (PTR_ALIGN_UP): Likewise.
32490 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32492         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32493         entry mapped to PPC_PLATFORM_POWER8.
32494         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32495         POWER8.
32496         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32497         (_dl_string_platform): Add case for exporting platform position for
32498         POWER8.
32499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32500         search path to sysdeps/powerpc/powerpc32/power8 directory.
32501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32502         search path to sysdeps/powerpc/powerpc64/power8 directory.
32503         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32504         power7 directories.
32505         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32506         power7 directories.
32508 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32510         * INSTALL: Regenerate.
32512         * nscd/connections.c (nscd_init): Fix comment.
32514 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32516         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32518         [BZ #15667]
32519         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32520         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32522 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32524         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32525         DL_DST_REQ_STATIC.
32526         (DL_DST_REQ_STATIC): Remove macro.
32528 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32530         [BZ #7006]
32531         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32532         with a shift of 0 bits.
32534 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32536         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32537         $(tststatic-ENV).
32539 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32541         [BZ #15655]
32542         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32544 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32546         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32547         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32548         accepts -fno-tree-loop-distribute-patterns.
32549         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32550         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32551         recursive call.
32552         * string/memset.c (memset): Likewise.
32553         * string/test-memmove.c (simple_memmove): Disable loop transformation
32554         to library calls.
32555         * string/test-memset.c (simple_memset): Likewise.
32556         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32557         * benchtests/bench-memset.c (simple_memset): Likewise.
32558         * configure: Regenerated.
32560 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32562         * math/test-misc.c (main): Ignore fesetround failure when failures
32563         of subsequent rounding tests would be ignored.
32565         [BZ #15654]
32566         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32567         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32568         * math/fegetenv.c (__fegetenv): Return 0.
32569         * math/fegetexcept.c (fegetexcept): Return 0.
32570         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32571         FE_TONEAREST.
32572         * math/feholdexcpt.c (feholdexcept): Return 0.
32573         * math/fesetenv.c (__fesetenv): Return 0.
32574         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32575         argument FE_TONEAREST.
32576         * math/feupdateenv.c (__feupdateenv): Return 0.
32577         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32579 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32581         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32582         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32583         ($(objpfx)rtld-%.os rules): Use them.
32585 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32587         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32588         fields.
32590 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32592         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32593         length of target pattern, then descending length of dependency pattern.
32594         * configure.in (AWK): Require gawk 3.1.2 or newer.
32595         * manual/install.texi (Tools for Compilation): Say that we do.
32596         * configure: Regenerated.
32598         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32599         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32600         * scripts/sysd-rules.awk: ... this new script.
32601         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32602         than a glob-style pattern.
32604 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32606         * math/test-misc.c (main): Do not treat incorrectly rounded
32607         conversions as failure unless ROUNDING_TESTS passes.
32609 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32611         [BZ #15631]
32612         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32613         restore exception state around main square root computation, then
32614         check for inexactness explicitly.
32616         * math/libm-test.inc (fma_test_data): Add another test.
32618 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32620         * manual/threads.texi (Non-POSIX Extensions): New document
32621         node.  Document pthread_getattr_default_np and
32622         pthread_setattr_default_np.
32624         * Versions.def (libpthread): Add GLIBC_2.18.
32625         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32627         Likewise.
32628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32629         Likewise.
32630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32631         Likewise.
32632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32633         Likewise.
32634         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32635         Likewise.
32636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32637         Likewise.
32638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32639         Likewise.
32640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32641         Likewise.
32642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32643         Likewise.
32645 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32648         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32650 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32651             H.J. Lu  <hjl.tools@gmail.com>
32653         [BZ #15627]
32654         * sysdeps/x86_64/rtld-memset.c: Remove file.
32655         * sysdeps/x86_64/rtld-memset.S: New file.
32657 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32659         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32660         (test_in_one_mode): Take arguments for whether the rounding mode
32661         is supported for each floating-point type.
32662         (do_test): Pass new arguments to test_in_one_mode using
32663         ROUNDING_TESTS.
32665 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32667         * posix/tst-waitid.c (do_test): Distinguish different instances of
32668         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32669         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32670         before entering the kernel for waitpid.
32672 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32674         * NEWS: Fix note on clock function precision.  Text by Roland
32675         McGrath.
32677 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32679         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32680         it into place only when and if the sanity check passes.
32682 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32684         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32685         output for whether conversion result is exact.  Take argument
32686         indicating whether type is IBM long double.
32687         (round_for_all): Change need_exact field to ibm_ld.
32688         * stdlib/tst-strtod-round.c (struct exactness): New type.
32689         (struct test): Change bool ld_ok field to struct exactness exact.
32690         (TEST): Update all definitions for change to field.
32691         (tests): Regenerate array contents.
32692         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32693         field value.  Check for IBM long double here.
32694         (do_test): Update calls to test_in_one_mode.
32696 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32698         [BZ #12515]
32699         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32700         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32702 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32704         [BZ #15605]
32705         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32706         generated by the compiler on loop optimizations.
32707         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32708         general definitions.
32710 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32712         * math/bug-nextafter.c: Include <math-tests.h>.
32713         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32714         the relevant type.
32715         * math/bug-nexttoward.c: Include <math-tests.h>.
32716         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32717         the relevant type.
32718         * math/test-misc.c: Include <math-tests.h>.
32719         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32720         the relevant type.
32722 2013-06-12  Andreas Jaeger  <aj@suse.de>
32724         * po/ia.po: Update Interlingua translation from translation
32725         project.
32727 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32729         * include/fenv.h: Include stdbool.h.
32730         (struct rm_ctx): New structure.
32731         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32732         Define macro.
32733         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32734         (SET_RESTORE_ROUNDF): Likewise.
32735         (SET_RESTORE_ROUNDL): Likewise.
32736         (SET_RESTORE_ROUND_NOEX): Likewise.
32737         (SET_RESTORE_ROUND_NOEXF): Likewise.
32738         (SET_RESTORE_ROUND_NOEXL): Likewise.
32739         (SET_RESTORE_ROUND_53BIT): Likewise.
32740         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32741         (libc_feresetround_noexf_ctx): Likewise.
32742         (libc_feresetround_noexl_ctx): Likewise.
32743         (libc_feholdsetround_53bit_ctx): Likewise.
32744         (libc_feresetround_53bit_ctx): Likewise.
32745         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32746         (libc_feholdexcept_setround_sse_ctx): New function.
32747         (libc_fesetenv_sse_ctx): Likewise.
32748         (libc_feupdateenv_sse_ctx): Likewise.
32749         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32750         (libc_feholdexcept_setround_387_ctx): Likewise.
32751         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32752         (libc_feholdsetround_387_prec_ctx): Likewise.
32753         (libc_feholdsetround_387_ctx): Likewise.
32754         (libc_feholdsetround_387_53bit_ctx): Likewise.
32755         (libc_feholdsetround_sse_ctx): Likewise.
32756         (libc_feresetround_sse_ctx): Likewise.
32757         (libc_feresetround_387_ctx): Likewise.
32758         (libc_feupdateenv_387_ctx): Likewise.
32759         (libc_feholdexcept_setroundf_ctx): Define macro.
32760         (libc_fesetenvf_ctx): Likewise.
32761         (libc_feupdateenvf_ctx): Likewise.
32762         (libc_feholdsetroundf_ctx): Likewise.
32763         (libc_feresetroundf_ctx): Likewise.
32764         (libc_feholdexcept_setround_ctx): Likewise.
32765         (libc_fesetenv_ctx): Likewise.
32766         (libc_feupdateenv_ctx): Likewise.
32767         (libc_feholdsetround_ctx): Likewise.
32768         (libc_feresetround_ctx): Likewise.
32769         (libc_feholdexcept_setroundl_ctx): Likewise.
32770         (libc_feupdateenvl_ctx): Likewise.
32771         (libc_feholdsetroundl_ctx): Likewise.
32772         (libc_feresetroundl_ctx): Likewise.
32773         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32774         (libc_feresetround_53bit_ctx): Likewise.
32776 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32778         * locale/iso-639.def: Convert to UTF-8.
32780 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32782         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32783         (EXCEPTION_TESTS_double): Likewise.
32784         (EXCEPTION_TESTS_long_double): Likewise.
32785         (EXCEPTION_TESTS): Likewise.
32786         * math/libm-test.inc (test_exceptions): Only test exceptions if
32787         EXCEPTION_TESTS (FLOAT).
32789 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32791         * benchtests/Makefile (string-bench): Add strcpy_chk and
32792         stpcpy_chk.
32793         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32794         * benchtests/bench-stpcpy_chk.c: New file.
32795         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32796         * benchtests/bench-strcpy_chk.c: New file.
32797         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32798         code.
32799         (do_test): Likewise.
32801 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32803         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32804         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32805         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32806         with tabs where appropriate.
32807         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32808         dl-procinfo.h.
32809         [PPC_PLATFORM_PPC440]: Likewise.
32810         [PPC_PLATFORM_PPC464]: Likewise.
32811         [PPC_PLATFORM_PPC476]: Likewise.
32812         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32813         ppc464, and ppc476 platform strings merging from ports/
32814         dl-procinfo.h.
32816 2013-06-11  Andreas Schwab  <schwab@suse.de>
32818         [BZ #14991]
32819         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32820         (from_ucs4_idx): Regenerate.
32821         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32822         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32823         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32824         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32825         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32826         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32827         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32828         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32829         from FROM_LOOP and TO_LOOP specific macros.
32830         (BODY): Handle combining characters.
32831         * iconvdata/BIG5HKSCS.irreversible: Update.
32832         * iconvdata/BIG5HKSCS.precomposed: New file.
32833         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32834         characters.
32835         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32837 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32839         * include/sys/time.h: Fix indentation and add copyright header.
32841         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32842         (do_test): Likewise.
32843         * string/test-memchr.c (do_one_test): Likewise.
32844         (do_test): Likewise.
32845         * string/test-memcmp.c (do_one_test): Likewise.
32846         (do_test): Likewise.
32847         * string/test-memcpy.c (do_one_test): Likewise.
32848         (do_test): Likewise.
32849         * string/test-memmem.c (do_one_test): Likewise.
32850         (do_test): Likewise.
32851         (do_random_tests): Likewise.
32852         * string/test-memmove.c (do_one_test): Likewise.
32853         (do_test): Likewise.
32854         * string/test-memset.c (do_one_test): Likewise.
32855         (do_test): Likewise.
32856         * string/test-rawmemchr.c (do_one_test): Likewise.
32857         (do_test): Likewise.
32858         * string/test-strcasecmp.c (do_one_test): Likewise.
32859         (do_test): Likewise.
32860         * string/test-strcasestr.c (do_one_test): Likewise.
32861         (do_test): Likewise.
32862         * string/test-strcat.c (do_one_test): Likewise.
32863         (do_test): Likewise.
32864         * string/test-strchr.c (do_one_test): Likewise.
32865         (do_test): Likewise.
32866         * string/test-strcmp.c (do_one_test): Likewise.
32867         (do_test): Likewise.
32868         * string/test-strcpy.c (do_one_test): Likewise.
32869         (do_test): Likewise.
32870         * string/test-string.h: Likewise.
32871         (test_init): Likewise.
32872         * string/test-strlen.c (do_one_test): Likewise.
32873         (do_test): Likewise.
32874         * string/test-strncasecmp.c (do_one_test): Likewise.
32875         (do_test): Likewise.
32876         * string/test-strncat.c (do_one_test): Likewise.
32877         (do_test): Likewise.
32878         * string/test-strncmp.c (do_one_test): Likewise.
32879         (do_test_limit): Likewise.
32880         (do_test): Likewise.
32881         * string/test-strncpy.c (do_one_test): Likewise.
32882         (do_test): Likewise.
32883         * string/test-strnlen.c (do_one_test): Likewise.
32884         (do_test): Likewise.
32885         * string/test-strpbrk.c (do_one_test): Likewise.
32886         (do_test): Likewise.
32887         * string/test-strrchr.c (do_one_test): Likewise.
32888         (do_test): Likewise.
32889         * string/test-strspn.c (do_one_test): Likewise.
32890         (do_test): Likewise.
32891         * string/test-strstr.c (do_one_test): Likewise.
32892         (do_test): Likewise.
32894         * benchtests/Makefile (string-bench): Add string benchmarks.
32895         * benchtests/bench-bcopy-ifunc.c: New file.
32896         * benchtests/bench-bcopy.c: New file.
32897         * benchtests/bench-bzero-ifunc.c: New file.
32898         * benchtests/bench-bzero.c: New file.
32899         * benchtests/bench-memccpy-ifunc.c: New file.
32900         * benchtests/bench-memccpy.c: New file.
32901         * benchtests/bench-memchr-ifunc.c: New file.
32902         * benchtests/bench-memchr.c: New file.
32903         * benchtests/bench-memcmp-ifunc.c: New file.
32904         * benchtests/bench-memcmp.c: New file.
32905         * benchtests/bench-memmem-ifunc.c: New file.
32906         * benchtests/bench-memmem.c: New file.
32907         * benchtests/bench-memmove-ifunc.c: New file.
32908         * benchtests/bench-memmove.c: New file.
32909         * benchtests/bench-mempcpy-ifunc.c: New file.
32910         * benchtests/bench-mempcpy.c: New file.
32911         * benchtests/bench-memset-ifunc.c: New file.
32912         * benchtests/bench-memset.c: New file.
32913         * benchtests/bench-rawmemchr-ifunc.c: New file.
32914         * benchtests/bench-rawmemchr.c: New file.
32915         * benchtests/bench-stpcpy-ifunc.c: New file.
32916         * benchtests/bench-stpcpy.c: New file.
32917         * benchtests/bench-stpncpy-ifunc.c: New file.
32918         * benchtests/bench-stpncpy.c: New file.
32919         * benchtests/bench-strcasecmp-ifunc.c: New file.
32920         * benchtests/bench-strcasecmp.c: New file.
32921         * benchtests/bench-strcasestr-ifunc.c: New file.
32922         * benchtests/bench-strcasestr.c: New file.
32923         * benchtests/bench-strcat-ifunc.c: New file.
32924         * benchtests/bench-strcat.c: New file.
32925         * benchtests/bench-strchr-ifunc.c: New file.
32926         * benchtests/bench-strchr.c: New file.
32927         * benchtests/bench-strchrnul-ifunc.c: New file.
32928         * benchtests/bench-strchrnul.c: New file.
32929         * benchtests/bench-strcmp-ifunc.c: New file.
32930         * benchtests/bench-strcmp.c: New file.
32931         * benchtests/bench-strcpy-ifunc.c: New file.
32932         * benchtests/bench-strcpy.c: New file.
32933         * benchtests/bench-strcspn-ifunc.c: New file.
32934         * benchtests/bench-strcspn.c: New file.
32935         * benchtests/bench-strlen-ifunc.c: New file.
32936         * benchtests/bench-strlen.c: New file.
32937         * benchtests/bench-strncasecmp-ifunc.c: New file.
32938         * benchtests/bench-strncasecmp.c: New file.
32939         * benchtests/bench-strncat-ifunc.c: New file.
32940         * benchtests/bench-strncat.c: New file.
32941         * benchtests/bench-strncmp-ifunc.c: New file.
32942         * benchtests/bench-strncmp.c: New file.
32943         * benchtests/bench-strncpy-ifunc.c: New file.
32944         * benchtests/bench-strncpy.c: New file.
32945         * benchtests/bench-strnlen-ifunc.c: New file.
32946         * benchtests/bench-strnlen.c: New file.
32947         * benchtests/bench-strpbrk-ifunc.c: New file.
32948         * benchtests/bench-strpbrk.c: New file.
32949         * benchtests/bench-strrchr-ifunc.c: New file.
32950         * benchtests/bench-strrchr.c: New file.
32951         * benchtests/bench-strspn-ifunc.c: New file.
32952         * benchtests/bench-strspn.c: New file.
32953         * benchtests/bench-strstr-ifunc.c: New file.
32954         * benchtests/bench-strstr.c: New file.
32956         * benchtests/Makefile: Disable parallel execution of targets.
32957         (string-bench): Add memcpy.
32958         (benchset): New variable to store a list of benchmark sets.
32959         (bench-func): Renamed from bench.
32960         (bench-set): New target.
32961         (bench): Depend on bench-func and bench-set.
32962         * benchtests/README: Add section on benchmark sets.
32963         * benchtests/bench-memcpy-ifunc.c: New file.
32964         * benchtests/bench-memcpy.c: New file.
32965         * benchtests/bench-string.h: New file.
32967 2013-06-11  Andreas Schwab  <schwab@suse.de>
32969         [BZ #15577]
32970         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32971         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32972         values in the triple.
32973         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32974         terminator in the group key.
32976 2013-06-11  Andreas Jaeger  <aj@suse.de>
32978         * po/zh_TW.po: Update Chinese (traditional) translation from
32979         translation project.
32981 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32983         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32984         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32985         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32986         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32987         (clock_getcpuclockid): Likewise.
32988         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32989         Add weak_alias and libc_hidden_def.
32990         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32991         * rt/clock_gettime.c (clock_gettime): Rename to
32992         __clock_gettime.  Add weak_alias and libc_hidden_def.
32993         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32994         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32995         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32996         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32997         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32998         Likewise.
32999         * rt/clock_settime.c (clock_settime): Rename to
33000         __clock_settime.  Add weak_alias and libc_hidden_def.
33001         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33003 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33005         * mach/err_boot.sub: Remove trailing whitespace.
33006         * mach/err_ipc.sub: Likewise.
33007         * mach/err_mach.sub: Likewise.
33009         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33010         (ROUNDING_TESTS_double): Likewise.
33011         (ROUNDING_TESTS_long_double): Likewise.
33012         (ROUNDING_TESTS): Likewise.
33013         * math/libm-test.inc: Include <math-tests.h>.
33014         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33015         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33016         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33017         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33019 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33021         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33022         of assigning.
33024 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33026         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33027         otherwise empty TRANS lines.
33028         * sysdeps/gnu/errlist.c: Regenerated.
33030         * catgets/gencat.c (error_print): Use (void) in function
33031         definition.
33032         * crypt/crypt_util.c (__init_des): Likewise.
33033         * crypt/speeds.c (Stop): Likewise.
33034         (main): Likewise.
33035         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33036         * inet/ruserpass.c (token): Likewise.
33037         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33038         * intl/localealias.c (extend_alias_table): Likewise.
33039         * intl/plural-exp.c (init_germanic_plural): Likewise.
33040         * libio/fcloseall.c (__fcloseall): Likewise.
33041         * libio/genops.c (_IO_flush_all): Likewise.
33042         (_IO_flush_all_linebuffered): Likewise.
33043         (_IO_cleanup): Likewise.
33044         (_IO_iter_begin): Likewise.
33045         (_IO_iter_end): Likewise.
33046         (_IO_list_lock): Likewise.
33047         (_IO_list_unlock): Likewise.
33048         (_IO_list_resetlock): Likewise.
33049         * libio/getchar.c (getchar): Likewise.
33050         * libio/getchar_u.c (getchar_unlocked): Likewise.
33051         * libio/getwchar.c (getwchar): Likewise.
33052         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33053         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33054         * login/getpt.c (__getpt): Likewise.
33055         * login/tst-utmp.c (main): Likewise.
33056         * malloc/hooks.c (__malloc_check_init): Likewise.
33057         * malloc/malloc.c (__malloc_stats): Likewise.
33058         * malloc/mtrace.c (tr_break): Likewise.
33059         (mtrace): Likewise.
33060         (muntrace): Likewise.
33061         * misc/fstab.c (endfsent): Likewise.
33062         * misc/getclktck.c (__getclktck): Likewise.
33063         * misc/getdtsz.c (__getdtablesize): Likewise.
33064         * misc/gethostid.c (gethostid): Likewise.
33065         * misc/getpagesize.c (__getpagesize): Likewise.
33066         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33067         (__get_nprocs): Likewise.
33068         (__get_phys_pages): Likewise.
33069         (__get_avphys_pages): Likewise.
33070         * misc/getttyent.c (getttyent): Likewise.
33071         (setttyent): Likewise.
33072         (endttyent): Likewise.
33073         * misc/getusershell.c (getusershell): Likewise.
33074         (endusershell): Likewise.
33075         (setusershell): Likewise.
33076         (initshells): Likewise.
33077         * misc/hsearch.c (__hdestroy): Likewise.
33078         * misc/sync.c (sync): Likewise.
33079         * misc/syslog.c (closelog_internal): Likewise.
33080         (closelog): Likewise.
33081         * misc/ttyslot.c (ttyslot): Likewise.
33082         * misc/vhangup.c (vhangup): Likewise.
33083         * posix/fork.c (__fork): Likewise.
33084         * posix/getegid.c (__getegid): Likewise.
33085         * posix/geteuid.c (__geteuid): Likewise.
33086         * posix/getgid.c (__getgid): Likewise.
33087         * posix/getpid.c (__getpid): Likewise.
33088         * posix/getppid.c (__getppid): Likewise.
33089         * posix/getuid.c (__getuid): Likewise.
33090         * posix/pause.c (pause): Likewise.
33091         * posix/setpgrp.c (setpgrp): Likewise.
33092         * posix/setsid.c (__setsid): Likewise.
33093         * posix/test-vfork.c (noop): Likewise.
33094         * resolv/gethnamaddr.c (_endhtent): Likewise.
33095         (_gethtent): Likewise.
33096         (ht_endhostent): Likewise.
33097         (gethostent): Likewise.
33098         (dns_service): Likewise.
33099         * stdlib/drand48.c (drand48): Likewise.
33100         * stdlib/lrand48.c (lrand48): Likewise.
33101         * stdlib/mrand48.c (mrand48): Likewise.
33102         * stdlib/rand.c (rand): Likewise.
33103         * stdlib/random.c (__random): Likewise.
33104         * stdlib/setenv.c (clearenv): Likewise.
33105         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33106         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33107         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33108         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33109         (__get_nprocs): Likewise.
33110         (__get_phys_pages): Likewise.
33111         (__get_avphys_pages): Likewise.
33112         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33113         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33114         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33115         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33116         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33117         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33118         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33119         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33120         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33121         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33122         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33123         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33124         * sysdeps/posix/clock.c (clock): Likewise.
33125         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33126         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33127         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33128         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33129         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33130         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33131         (__get_nprocs_conf): Likewise.
33132         (__get_phys_pages): Likewise.
33133         (__get_avphys_pages): Likewise.
33134         * time/clock.c (clock): Likewise.
33135         * time/tzset.c (__tzname_max): Likewise.
33137 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33139         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33140         (__bswap_32): Do not use "register".
33141         * crypt/crypt.c (_ufc_doit_r): Likewise.
33142         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33143         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33144         * gmon/gmon.c (__monstartup): Likewise.
33145         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33146         * hurd/hurdmalloc.c (more_memory): Likewise.
33147         (malloc): Likewise.
33148         (free): Likewise.
33149         (realloc): Likewise.
33150         (malloc_fork_prepare): Likewise.
33151         (malloc_fork_parent): Likewise.
33152         (malloc_fork_child): Likewise.
33153         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33154         (_svcauth_des): Likewise.
33155         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33156         * inet/inet_net.c (inet_network): Likewise.
33157         * inet/inet_netof.c (inet_netof): Likewise.
33158         * inet/rcmd.c (__validuser2_sa): Likewise.
33159         * io/fts.c (fts_open): Likewise.
33160         (fts_load): Likewise.
33161         (fts_close): Likewise.
33162         (fts_read): Likewise.
33163         (fts_children): Likewise.
33164         (fts_build): Likewise.
33165         (fts_stat): Likewise.
33166         (fts_sort): Likewise.
33167         (fts_alloc): Likewise.
33168         (fts_lfree): Likewise.
33169         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33170         (_IO_file_xsgetn): Likewise.
33171         (_IO_file_xsgetn_mmap): Likewise.
33172         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33173         (_IO_cookie_write): Likewise.
33174         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33175         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33176         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33177         * malloc/obstack.c (_obstack_begin): Likewise.
33178         (_obstack_begin_1): Likewise.
33179         (_obstack_newchunk): Likewise.
33180         (_obstack_allocated_p): Likewise.
33181         (obstack_free): Likewise.
33182         (_obstack_memory_used): Likewise.
33183         * misc/getttyent.c (getttynam): Likewise.
33184         (getttyent): Likewise.
33185         (skip): Likewise.
33186         (value): Likewise.
33187         * misc/getusershell.c (initshells): Likewise.
33188         * misc/syslog.c (__vsyslog_chk): Likewise.
33189         * misc/ttyslot.c (ttyslot): Likewise.
33190         * nis/nis_hash.c (__nis_hash): Likewise.
33191         * posix/fnmatch_loop.c (FCT): Likewise.
33192         * posix/getconf.c (print_all): Likewise.
33193         (main): Likewise.
33194         * posix/getopt.c (exchange): Likewise.
33195         * posix/glob.c (globfree): Likewise.
33196         (prefix_array): Likewise.
33197         (__glob_pattern_type): Likewise.
33198         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33199         (NS_GET32): Likewise.
33200         (NS_PUT16): Likewise.
33201         (NS_PUT32): Likewise.
33202         * resolv/gethnamaddr.c (getanswer): Likewise.
33203         (gethostbyname2): Likewise.
33204         (gethostbyaddr): Likewise.
33205         (_gethtent): Likewise.
33206         (_gethtbyname2): Likewise.
33207         (_gethtbyaddr): Likewise.
33208         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33209         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33210         * resolv/res_init.c (__res_vinit): Likewise.
33211         (net_mask): Likewise.
33212         * resolv/res_mkquery.c (outchar): Likewise.
33213         (PRINT): Likewise.
33214         * stdio-common/printf_fp.c (outchar): Likewise.
33215         (PRINT): Likewise.
33216         * stdio-common/printf_fphex.c (outchar): Likewise.
33217         (PRINT): Likewise.
33218         * stdio-common/printf_size.c (outchar): Likewise.
33219         (PRINT): Likewise.
33220         * stdio-common/test_rdwr.c (main): Likewise.
33221         * stdio-common/tfformat.c (matches): Likewise.
33222         * stdio-common/vfprintf.c (outchar): Likewise.
33223         (printf_unknown): Likewise.
33224         (buffered_vfprintf): Likewise.
33225         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33226         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33227         (ReadFile): Likewise.
33228         * stdlib/qsort.c (SWAP): Likewise.
33229         (_quicksort): Likewise.
33230         * stdlib/setenv.c (__add_to_environ): Likewise.
33231         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33232         * stdlib/strtol_l.c (__strtol_l): Likewise.
33233         * stdlib/tst-strtod.c (main): Likewise.
33234         * stdlib/tst-strtol.c (main): Likewise.
33235         * stdlib/tst-strtoll.c (main): Likewise.
33236         * string/bits/string2.h (__strcmp_cc): Likewise.
33237         (__strcmp_cg): Likewise.
33238         (__strcspn_c1): Likewise.
33239         (__strcspn_c2): Likewise.
33240         (__strcspn_c3): Likewise.
33241         (__strspn_c1): Likewise.
33242         (__strspn_c2): Likewise.
33243         (__strspn_c3): Likewise.
33244         (__strsep_1c): Likewise.
33245         (__strsep_2c): Likewise.
33246         (__strsep_3c): Likewise.
33247         * string/memccpy.c (__memccpy): Likewise.
33248         * string/stpcpy.c (__stpcpy): Likewise.
33249         * string/strcmp.c (strcmp): Likewise.
33250         * string/strrchr.c (strrchr): Likewise.
33251         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33252         Likewise.
33253         * sysdeps/mach/hurd/getcwd.c
33254         (_hurd_canonicalize_directory_name_internal): Likewise.
33255         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33256         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33257         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33258         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33259         Likewise, in both definitions.
33260         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33261         definitions.
33262         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33263         64] (__bswap_64): Likewise.
33264         * time/test_time.c (main): Likewise.
33265         * time/tzfile.c (__tzfile_read): Likewise.
33266         (__tzfile_compute): Likewise.
33267         * time/tzset.c (__tzset_parse_tz): Likewise.
33268         (tzset_internal): Likewise.
33269         (compute_change): Likewise.
33270         * wcsmbs/wcscat.c (__wcscat): Likewise.
33271         * wcsmbs/wcschr.c (wcschr): Likewise.
33272         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33273         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33274         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33275         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33276         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33277         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33278         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33279         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33280         * wcsmbs/wmemset.c (wmemset): Likewise.
33282 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33284         * scripts/config.guess: Update to version 2013-05-16.
33285         * scripts/config.sub: Update to version 2013-04-24.
33286         * scripts/install-sh: Update to version 2011-11-20.07.
33287         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33288         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33290 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33292         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33293         * elf/sln.c: Likewise.
33294         * hurd/hurd/ioctl.h: Likewise.
33295         * hurd/hurdmalloc.c: Likewise.
33296         * hurd/xattr.c: Likewise.
33297         * include/shlib-compat.h: Likewise.
33298         * inet/ruserpass.c: Likewise.
33299         * libio/iofgets_u.c: Likewise.
33300         * libio/iofgetws_u.c: Likewise.
33301         * locale/programs/ld-identification.c: Likewise.
33302         * locale/programs/ld-time.c: Likewise.
33303         * mach/msg-destroy.c: Likewise.
33304         * nss/nss_files/files-netgrp.c: Likewise.
33305         * resolv/res_data.c: Likewise.
33306         * soft-fp/op-1.h: Likewise.
33307         * soft-fp/op-2.h: Likewise.
33308         * soft-fp/op-4.h: Likewise.
33309         * soft-fp/op-common.h: Likewise.
33310         * stdio-common/printf_fphex.c: Likewise.
33311         * stdlib/strtod_l.c: Likewise.
33312         * sunrpc/rpc/clnt.h: Likewise.
33313         * sysdeps/generic/framestate.c: Likewise.
33314         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33315         * sysdeps/i386/bsd-setjmp.S: Likewise.
33316         * sysdeps/i386/__longjmp.S: Likewise.
33317         * sysdeps/i386/setjmp.S: Likewise.
33318         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33319         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33320         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33321         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33322         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33323         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33324         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33325         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33326         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33327         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33328         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33329         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33330         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33331         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33332         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33333         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33334         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33335         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33336         * sysdeps/ieee754/support.c: Likewise.
33337         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33338         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33339         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33340         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33341         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33342         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33343         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33344         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33345         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33346         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33347         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33348         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33349         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33350         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33351         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33352         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33353         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33356 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33358         * posix/transbug.c: Remove executable mode.
33360 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33362         * crypt/speeds.c: Remove trailing whitespace.
33363         * dlfcn/default.c: Likewise.
33364         * elf/ifuncdep2.c: Likewise.
33365         * elf/ifuncmain1.c: Likewise.
33366         * elf/ifuncmain1vis.c: Likewise.
33367         * elf/testobj.h: Likewise.
33368         * elf/tst-stackguard1.c: Likewise.
33369         * gmon/sys/gmon.h: Likewise.
33370         * hurd/hurdmsg.c: Likewise.
33371         * hurd/new-fd.c: Likewise.
33372         * hurd/ports-get.c: Likewise.
33373         * iconvdata/ibm1008_420.c: Likewise.
33374         * inet/tst-getni1.c: Likewise.
33375         * inet/tst-getni2.c: Likewise.
33376         * libio/ioungetc.c: Likewise.
33377         * libio/wfiledoalloc.c: Likewise.
33378         * manual/libm-err-tab.pl: Likewise.
33379         * math/w_dremf.c: Likewise.
33380         * misc/ftruncate.c: Likewise.
33381         * posix/bug-glob2.c: Likewise.
33382         * posix/tst-pcre.c: Likewise.
33383         * posix/wait4.c: Likewise.
33384         * resolv/README: Likewise.
33385         * resolv/res_debug.h: Likewise.
33386         * resolv/tst-inet_ntop.c: Likewise.
33387         * setjmp/bug269-setjmp.c: Likewise.
33388         * soft-fp/extended.h: Likewise.
33389         * soft-fp/op-1.h: Likewise.
33390         * soft-fp/op-2.h: Likewise.
33391         * soft-fp/op-4.h: Likewise.
33392         * soft-fp/op-8.h: Likewise.
33393         * soft-fp/testit.c: Likewise.
33394         * stdio-common/bug16.c: Likewise.
33395         * stdlib/random.c: Likewise.
33396         * sunrpc/rpcsvc/rquota.x: Likewise.
33397         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33398         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33399         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33400         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33401         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33402         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33403         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33404         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33405         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33406         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33407         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33408         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33409         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33410         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33411         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33412         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33413         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33414         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33415         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33416         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33417         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33418         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33419         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33420         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33421         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33422         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33423         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33424         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33425         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33426         * sysdeps/ieee754/s_lib_version.c: Likewise.
33427         * sysdeps/mach/hurd/check_fds.c: Likewise.
33428         * sysdeps/mach/hurd/getsockname.c: Likewise.
33429         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33430         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33431         * sysdeps/powerpc/bits/link.h: Likewise.
33432         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33433         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33434         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33435         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33436         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33437         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33438         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33439         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33440         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33441         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33442         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33443         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33444         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33445         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33446         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33447         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33448         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33449         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33450         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33451         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33452         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33453         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33454         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33455         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33456         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33457         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33458         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33459         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33460         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33461         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33462         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33463         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33464         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33465         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33466         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33467         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33468         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33469         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33470         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33471         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33472         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33473         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33474         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33475         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33476         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33477         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33478         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33479         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33480         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33481         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33482         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33483         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33484         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33485         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33486         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33487         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33488         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33489         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33490         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33491         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33492         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33493         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33494         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33495         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33496         * sysdeps/powerpc/sysdep.h: Likewise.
33497         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33498         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33499         * sysdeps/sh/dl-trampoline.S: Likewise.
33500         * sysdeps/sh/memset.S: Likewise.
33501         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33502         * sysdeps/sh/strlen.S: Likewise.
33503         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33504         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33505         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33506         * sysdeps/sparc/sparc32/rem.S: Likewise.
33507         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33508         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33509         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33510         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33511         * sysdeps/sparc/sparc32/urem.S: Likewise.
33512         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33513         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33514         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33515         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33516         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33517         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33518         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33519         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33520         * sysdeps/unix/bsd/times.c: Likewise.
33521         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33522         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33526         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33527         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33528         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33529         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33530         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33531         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33532         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33533         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33534         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33535         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33536         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33537         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33538         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33539         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33540         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33541         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33542         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33543         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33544         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33545         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33546         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33547         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33548         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33549         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33550         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33551         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33552         * sysdeps/x86_64/strcspn.S: Likewise.
33554 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33556         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33557         generated file.  Regenerate properly from gen-translit.pl.
33558         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33559         locale/C-translit.h.
33561 2013-06-05  Andreas Schwab  <schwab@suse.de>
33563         [BZ #15100]
33564         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33565         week as 6 instead of -1.
33566         * time/tst-strptime.c (day_tests): Add test case.
33568 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33570         * sysdeps/generic/math_private.h
33571         (libc_feholdexcept_setround_53bit): Replace with
33572         libc_feholdsetround_53bit.
33573         (libc_feupdateenv_53bit): Replace with
33574         libc_feresetround_53bit.
33575         (SET_RESTORE_ROUND_53BIT): Adjust.
33577 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33579         * string/test-strchrnul.c: Add copyright header.
33581         * posix/tst-getaddrinfo4.c: Increase test timeout.
33583 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33585         [BZ #15536]
33586         * math/libm-test.inc (MAX_EXP): Remove
33587         (MIN_EXP): Define.
33588         (ulp): Use MIN_EXP - MANT_DIG.
33589         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33591 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33593         * po/be.po: Revert last change.
33594         * po/zh_CN.po: Likewise.
33595         * po/header.pot: Likewise.
33597 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33599         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33600         link-libc-deps to empty as target-specific variable.
33601         * Makerules (link-libc-args): New variable.
33602         (libc-for-link): Likewise.
33603         (link-libc-deps): Likewise.
33604         (lib%.so): Depend on $(link-libc-deps).  Link with
33605         $(link-libc-args).
33606         (build-module): Link with $(link-libc-args).
33607         (build-module-asneeded): Likewise.
33608         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33609         list of objects.
33610         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33611         target-specific variable.
33612         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33613         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33614         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33615         libc.
33616         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33617         libc and ld.so.
33618         ($(objpfx)libpcprofile.so): Likewise.
33619         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33620         libc_nonshared.a.
33621         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33622         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33623         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33624         $(link-libc-deps).
33625         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33626         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33627         * login/Makefile ($(objpfx)libutil.so): Likewise.
33628         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33629         * math/Makefile ($(objpfx)libm.so): Likewise.
33630         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33631         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33632         variable instead of depending directly on libc.
33633         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33634         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33635         $(link-libc-deps).
33636         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33637         libc.
33638         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33639         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33640         ($(objpfx)libanl.so): Likewise.
33641         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33642         ld.so.
33643         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33644         $(link-libc-deps).
33645         * sysdeps/i386/fpu/Makefile: Remove file.
33646         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33647         ($(objpfx)libm.so): Remove dependency on ld.so.
33649 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33651         [BZ # 15553]
33652         * nis/yp_xdr.c (XDRMAXNAME): Define.
33653         (XDRMAXRECORD): Define.
33654         (xdr_domainname): Use XDRMAXNAME.
33655         (xdr_mapname): Likewise.
33656         (xdr_peername): Likewise.
33657         (xdr_keydat): Use XDRMAXRECORD.
33658         (xdr_valdat): Likewise.
33660 2013-05-30  Jeff Law  <law@redhat.com>
33662         [BZ #14256]
33663         * manual/errno.texi (ESTALE): Update to account for more than
33664         just NFS file systems.
33665         * sysdeps/gnu/errlist.c: Regenerated.
33667 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33669         [BZ #15465]
33670         * elf/Makefile (tests): Add tst-null-argv.
33671         (modules-names):  Add tst-null-argv-lib.
33672         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33673         (tst-null-argv-ENV): Set environment for tst-null-argv.
33674         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33675         (RTLD_PROGNAME): New macro.
33676         * elf/tst-null-argv.c: New test case.
33677         * elf/tst-null-argv-lib.c: Library for test case.
33678         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33679         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33680         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33681         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33682         * elf/dl-init.c (call_init): Likewise.
33683         (_dl_init): Likewise.
33684         * elf/dl-load.c (print_search_path): Likewise.
33685         (_dl_map_object): Likewise.
33686         * elf/dl-lookup.c (do_lookup_x): Likewise.
33687         (add_dependency): Likewise.
33688         (_dl_lookup_symbol_x): Likewise.
33689         (_dl_debug_bindings): Likewise.
33690         * elf/dl-open.c (_dl_show_scope): Likewise.
33691         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33692         * elf/dl-version.c (match_symbol): Likewise.
33693         (_dl_check_map_versions): Likewise.
33694         * elf/rtld.c (dl_main): Likewise.
33695         (print_unresolved): Use RTLD_PROGNAME.
33696         (print_missing_version): Likewise.
33697         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33698         (elf_machine_rela): Likewise.
33699         * sysdeps/powerpc/powerpc32/dl-machine.c
33700         (__process_machine_rela): Likewise.
33701         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33702         Likewise.
33703         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33704         Likewise.
33705         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33706         Likewise.
33707         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33708         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33709         Likewise.
33710         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33711         Likewise.
33712         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33714 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33716         * po/be.po: Add descriptive title.
33717         * po/zh_CN.po: Likewise.
33718         * po/header.pot: Likewise.
33720 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33722         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33723         error message.
33724         (enlarge_archive): Likewise.
33726 2013-05-28  Ben North  <ben@redfrontdoor.org>
33728         * manual/arith.texi (frexp): It is the magnitude of the return
33729         value which lies in [0.5, 1), not the return value itself.
33731 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33735 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33737         * stdio-common/bug26.c (main): Correct fscanf template.
33739         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33740         declare _dl_skip_args.
33742         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33743         Don't declare.
33745         * manual/platform.texi: Add missing @end deftypefun.
33747 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33749         [BZ #15529]
33750         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33751         bit of mantissa of 2^16382.
33752         * math/libm-test.inc (hypot_test_data): Add more tests.
33754         * math/libm-test.inc: Add drem and pow10 to list of tested
33755         functions.
33756         (pow10_test): New function.
33757         (drem_test): Likewise.
33758         (drem_test_tonearest): Likewise.
33759         (drem_test_towardzero): Likewise.
33760         (drem_test_downward): Likewise.
33761         (drem_test_upward): Likewise.
33762         (main): Call the new functions.
33764         * math/libm-test.inc (finite_test_data): Remove.
33765         (finite_test): Run tests from isfinite_test_data.
33766         (gamma_test_data): Remove.
33767         (gamma_test): Run tests from lgamma_test_data.
33768         * sysdeps/i386/fpu/libm-test-ulps: Update.
33769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33771 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33773         * manual/platform.texi: Add PowerPC PPR function set documentation.
33774         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33775         implementation.
33777 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33779         * math/libm-test.inc (MAX_EXP): Define.
33780         (ULPDIFF): Define.
33781         (ulp): New function.
33782         (check_float_internal): Use ULPDIFF.
33783         (cpow_test): Disable failing test.
33784         (check_ulp): Test ulp() implemetnation.
33785         (main): Call check_ulp before starting tests.
33787 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33789         * math/gen-libm-test.pl (generate_testfile): Do not handle
33790         START_DATA and END_DATA.
33791         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33792         END_DATA.
33793         (acos_tonearest_test_data): Likewise.
33794         (acos_towardzero_test_data): Likewise.
33795         (acos_downward_test_data): Likewise.
33796         (acos_upward_test_data): Likewise.
33797         (acosh_test_data): Likewise.
33798         (asin_test_data): Likewise.
33799         (asin_tonearest_test_data): Likewise.
33800         (asin_towardzero_test_data): Likewise.
33801         (asin_downward_test_data): Likewise.
33802         (asin_upward_test_data): Likewise.
33803         (asinh_test_data): Likewise.
33804         (atan_test_data): Likewise.
33805         (atanh_test_data): Likewise.
33806         (atan2_test_data): Likewise.
33807         (cabs_test_data): Likewise.
33808         (cacos_test_data): Likewise.
33809         (cacosh_test_data): Likewise.
33810         (carg_test_data): Likewise.
33811         (casin_test_data): Likewise.
33812         (casinh_test_data): Likewise.
33813         (catan_test_data): Likewise.
33814         (catanh_test_data): Likewise.
33815         (cbrt_test_data): Likewise.
33816         (ccos_test_data): Likewise.
33817         (ccosh_test_data): Likewise.
33818         (ceil_test_data): Likewise.
33819         (cexp_test_data): Likewise.
33820         (cimag_test_data): Likewise.
33821         (clog_test_data): Likewise.
33822         (clog10_test_data): Likewise.
33823         (conj_test_data): Likewise.
33824         (copysign_test_data): Likewise.
33825         (cos_test_data): Likewise.
33826         (cos_tonearest_test_data): Likewise.
33827         (cos_towardzero_test_data): Likewise.
33828         (cos_downward_test_data): Likewise.
33829         (cos_upward_test_data): Likewise.
33830         (cosh_test_data): Likewise.
33831         (cosh_tonearest_test_data): Likewise.
33832         (cosh_towardzero_test_data): Likewise.
33833         (cosh_downward_test_data): Likewise.
33834         (cosh_upward_test_data): Likewise.
33835         (cpow_test_data): Likewise.
33836         (cproj_test_data): Likewise.
33837         (creal_test_data): Likewise.
33838         (csin_test_data): Likewise.
33839         (csinh_test_data): Likewise.
33840         (csqrt_test_data): Likewise.
33841         (ctan_test_data): Likewise.
33842         (ctan_tonearest_test_data): Likewise.
33843         (ctan_towardzero_test_data): Likewise.
33844         (ctan_downward_test_data): Likewise.
33845         (ctan_upward_test_data): Likewise.
33846         (ctanh_test_data): Likewise.
33847         (ctanh_tonearest_test_data): Likewise.
33848         (ctanh_towardzero_test_data): Likewise.
33849         (ctanh_downward_test_data): Likewise.
33850         (ctanh_upward_test_data): Likewise.
33851         (erf_test_data): Likewise.
33852         (erfc_test_data): Likewise.
33853         (exp_test_data): Likewise.
33854         (exp_tonearest_test_data): Likewise.
33855         (exp_towardzero_test_data): Likewise.
33856         (exp_downward_test_data): Likewise.
33857         (exp_upward_test_data): Likewise.
33858         (exp10_test_data): Likewise.
33859         (exp2_test_data): Likewise.
33860         (expm1_test_data): Likewise.
33861         (fabs_test_data): Likewise.
33862         (fdim_test_data): Likewise.
33863         (finite_test_data): Likewise.
33864         (floor_test_data): Likewise.
33865         (fma_test_data): Likewise.
33866         (fma_towardzero_test_data): Likewise.
33867         (fma_downward_test_data): Likewise.
33868         (fma_upward_test_data): Likewise.
33869         (fmax_test_data): Likewise.
33870         (fmin_test_data): Likewise.
33871         (fmod_test_data): Likewise.
33872         (fpclassify_test_data): Likewise.
33873         (frexp_test_data): Likewise.
33874         (gamma_test_data): Likewise.
33875         (hypot_test_data): Likewise.
33876         (ilogb_test_data): Likewise.
33877         (isfinite_test_data): Likewise.
33878         (isgreater_test_data): Likewise.
33879         (isgreaterequal_test_data): Likewise.
33880         (isinf_test_data): Likewise.
33881         (isless_test_data): Likewise.
33882         (islessequal_test_data): Likewise.
33883         (islessgreater_test_data): Likewise.
33884         (isnan_test_data): Likewise.
33885         (isnormal_test_data): Likewise.
33886         (issignaling_test_data): Likewise.
33887         (isunordered_test_data): Likewise.
33888         (j0_test_data): Likewise.
33889         (j1_test_data): Likewise.
33890         (jn_test_data): Likewise.
33891         (ldexp_test_data): Likewise.
33892         (lgamma_test_data): Likewise.
33893         (lrint_test_data): Likewise.
33894         (lrint_tonearest_test_data): Likewise.
33895         (lrint_towardzero_test_data): Likewise.
33896         (lrint_downward_test_data): Likewise.
33897         (lrint_upward_test_data): Likewise.
33898         (llrint_test_data): Likewise.
33899         (llrint_tonearest_test_data): Likewise.
33900         (llrint_towardzero_test_data): Likewise.
33901         (llrint_downward_test_data): Likewise.
33902         (llrint_upward_test_data): Likewise.
33903         (log_test_data): Likewise.
33904         (log10_test_data): Likewise.
33905         (log1p_test_data): Likewise.
33906         (log2_test_data): Likewise.
33907         (logb_test_data): Likewise.
33908         (logb_downward_test_data): Likewise.
33909         (lround_test_data): Likewise.
33910         (llround_test_data): Likewise.
33911         (modf_test_data): Likewise.
33912         (nearbyint_test_data): Likewise.
33913         (nextafter_test_data): Likewise.
33914         (nexttoward_test_data): Likewise.
33915         (pow_test_data): Likewise.
33916         (pow_tonearest_test_data): Likewise.
33917         (pow_towardzero_test_data): Likewise.
33918         (pow_downward_test_data): Likewise.
33919         (pow_upward_test_data): Likewise.
33920         (remainder_test_data): Likewise.
33921         (remainder_tonearest_test_data): Likewise.
33922         (remainder_towardzero_test_data): Likewise.
33923         (remainder_downward_test_data): Likewise.
33924         (remainder_upward_test_data): Likewise.
33925         (remquo_test_data): Likewise.
33926         (rint_test_data): Likewise.
33927         (rint_tonearest_test_data): Likewise.
33928         (rint_towardzero_test_data): Likewise.
33929         (rint_downward_test_data): Likewise.
33930         (rint_upward_test_data): Likewise.
33931         (round_test_data): Likewise.
33932         (scalb_test_data): Likewise.
33933         (scalbn_test_data): Likewise.
33934         (scalbln_test_data): Likewise.
33935         (signbit_test_data): Likewise.
33936         (sin_test_data): Likewise.
33937         (sin_tonearest_test_data): Likewise.
33938         (sin_towardzero_test_data): Likewise.
33939         (sin_downward_test_data): Likewise.
33940         (sin_upward_test_data): Likewise.
33941         (sincos_test_data): Likewise.
33942         (sinh_test_data): Likewise.
33943         (sinh_tonearest_test_data): Likewise.
33944         (sinh_towardzero_test_data): Likewise.
33945         (sinh_downward_test_data): Likewise.
33946         (sinh_upward_test_data): Likewise.
33947         (sqrt_test_data): Likewise.
33948         (tan_test_data): Likewise.
33949         (tan_tonearest_test_data): Likewise.
33950         (tan_towardzero_test_data): Likewise.
33951         (tan_downward_test_data): Likewise.
33952         (tan_upward_test_data): Likewise.
33953         (tanh_test_data): Likewise.
33954         (tgamma_test_data): Likewise.
33955         (trunc_test_data): Likewise.
33956         (y0_test_data): Likewise.
33957         (y1_test_data): Likewise.
33958         (yn_test_data): Likewise.
33959         (significand_test_data): Likewise.
33961         * math/gen-libm-test.pl (@functions): Remove variable.
33962         (generate_testfile): Don't handle START and END lines.
33963         * math/libm-test.inc (START): New macro.
33964         (END): Likewise.
33965         (END_COMPLEX): Likewise.
33966         (acos_test): Use END macro without arguments.
33967         (acos_test_tonearest): Likewise.
33968         (acos_test_towardzero): Likewise.
33969         (acos_test_downward): Likewise.
33970         (acos_test_upward): Likewise.
33971         (acosh_test): Likewise.
33972         (asin_test): Likewise.
33973         (asin_test_tonearest): Likewise.
33974         (asin_test_towardzero): Likewise.
33975         (asin_test_downward): Likewise.
33976         (asin_test_upward): Likewise.
33977         (asinh_test): Likewise.
33978         (atan_test): Likewise.
33979         (atanh_test): Likewise.
33980         (atan2_test): Likewise.
33981         (cabs_test): Likewise.
33982         (cacos_test): Use END_COMPLEX macro without arguments.
33983         (cacosh_test): Likewise.
33984         (carg_test): Use END macro without arguments.
33985         (casin_test): Use END_COMPLEX macro without arguments.
33986         (casinh_test): Likewise.
33987         (catan_test): Likewise.
33988         (catanh_test): Likewise.
33989         (cbrt_test): Use END macro without arguments.
33990         (ccos_test): Use END_COMPLEX macro without arguments.
33991         (ccosh_test): Likewise.
33992         (ceil_test): Use END macro without arguments.
33993         (cexp_test): Use END_COMPLEX macro without arguments.
33994         (cimag_test): Use END macro without arguments.
33995         (clog_test): Use END_COMPLEX macro without arguments.
33996         (clog10_test): Likewise.
33997         (conj_test): Likewise.
33998         (copysign_test): Use END macro without arguments.
33999         (cos_test): Likewise.
34000         (cos_test_tonearest): Likewise.
34001         (cos_test_towardzero): Likewise.
34002         (cos_test_downward): Likewise.
34003         (cos_test_upward): Likewise.
34004         (cosh_test): Likewise.
34005         (cosh_test_tonearest): Likewise.
34006         (cosh_test_towardzero): Likewise.
34007         (cosh_test_downward): Likewise.
34008         (cosh_test_upward): Likewise.
34009         (cpow_test): Use END_COMPLEX macro without arguments.
34010         (cproj_test): Likewise.
34011         (creal_test): Use END macro without arguments.
34012         (csin_test): Use END_COMPLEX macro without arguments.
34013         (csinh_test): Likewise.
34014         (csqrt_test): Likewise.
34015         (ctan_test): Likewise.
34016         (ctan_test_tonearest): Likewise.
34017         (ctan_test_towardzero): Likewise.
34018         (ctan_test_downward): Likewise.
34019         (ctan_test_upward): Likewise.
34020         (ctanh_test): Likewise.
34021         (ctanh_test_tonearest): Likewise.
34022         (ctanh_test_towardzero): Likewise.
34023         (ctanh_test_downward): Likewise.
34024         (ctanh_test_upward): Likewise.
34025         (erf_test): Use END macro without arguments.
34026         (erfc_test): Likewise.
34027         (exp_test): Likewise.
34028         (exp_test_tonearest): Likewise.
34029         (exp_test_towardzero): Likewise.
34030         (exp_test_downward): Likewise.
34031         (exp_test_upward): Likewise.
34032         (exp10_test): Likewise.
34033         (exp2_test): Likewise.
34034         (expm1_test): Likewise.
34035         (fabs_test): Likewise.
34036         (fdim_test): Likewise.
34037         (finite_test): Likewise.
34038         (floor_test): Likewise.
34039         (fma_test): Likewise.
34040         (fma_test_towardzero): Likewise.
34041         (fma_test_downward): Likewise.
34042         (fma_test_upward): Likewise.
34043         (fmax_test): Likewise.
34044         (fmin_test): Likewise.
34045         (fmod_test): Likewise.
34046         (fpclassify_test): Likewise.
34047         (frexp_test): Likewise.
34048         (gamma_test): Likewise.
34049         (hypot_test): Likewise.
34050         (ilogb_test): Likewise.
34051         (isfinite_test): Likewise.
34052         (isgreater_test): Likewise.
34053         (isgreaterequal_test): Likewise.
34054         (isinf_test): Likewise.
34055         (isless_test): Likewise.
34056         (islessequal_test): Likewise.
34057         (islessgreater_test): Likewise.
34058         (isnan_test): Likewise.
34059         (isnormal_test): Likewise.
34060         (issignaling_test): Likewise.
34061         (isunordered_test): Likewise.
34062         (j0_test): Likewise.
34063         (j1_test): Likewise.
34064         (jn_test): Likewise.
34065         (ldexp_test): Likewise.
34066         (lgamma_test): Likewise.
34067         (lrint_test): Likewise.
34068         (lrint_test_tonearest): Likewise.
34069         (lrint_test_towardzero): Likewise.
34070         (lrint_test_downward): Likewise.
34071         (lrint_test_upward): Likewise.
34072         (llrint_test): Likewise.
34073         (llrint_test_tonearest): Likewise.
34074         (llrint_test_towardzero): Likewise.
34075         (llrint_test_downward): Likewise.
34076         (llrint_test_upward): Likewise.
34077         (log_test): Likewise.
34078         (log10_test): Likewise.
34079         (log1p_test): Likewise.
34080         (log2_test): Likewise.
34081         (logb_test): Likewise.
34082         (logb_test_downward): Likewise.
34083         (lround_test): Likewise.
34084         (llround_test): Likewise.
34085         (modf_test): Likewise.
34086         (nearbyint_test): Likewise.
34087         (nextafter_test): Likewise.
34088         (nexttoward_test): Likewise.
34089         (pow_test): Likewise.
34090         (pow_test_tonearest): Likewise.
34091         (pow_test_towardzero): Likewise.
34092         (pow_test_downward): Likewise.
34093         (pow_test_upward): Likewise.
34094         (remainder_test): Likewise.
34095         (remainder_test_tonearest): Likewise.
34096         (remainder_test_towardzero): Likewise.
34097         (remainder_test_downward): Likewise.
34098         (remainder_test_upward): Likewise.
34099         (remquo_test): Likewise.
34100         (rint_test): Likewise.
34101         (rint_test_tonearest): Likewise.
34102         (rint_test_towardzero): Likewise.
34103         (rint_test_downward): Likewise.
34104         (rint_test_upward): Likewise.
34105         (round_test): Likewise.
34106         (scalb_test): Likewise.
34107         (scalbn_test): Likewise.
34108         (scalbln_test): Likewise.
34109         (signbit_test): Likewise.
34110         (sin_test): Likewise.
34111         (sin_test_tonearest): Likewise.
34112         (sin_test_towardzero): Likewise.
34113         (sin_test_downward): Likewise.
34114         (sin_test_upward): Likewise.
34115         (sincos_test): Likewise.
34116         (sinh_test): Likewise.
34117         (sinh_test_tonearest): Likewise.
34118         (sinh_test_towardzero): Likewise.
34119         (sinh_test_downward): Likewise.
34120         (sinh_test_upward): Likewise.
34121         (sqrt_test): Likewise.
34122         (tan_test): Likewise.
34123         (tan_test_tonearest): Likewise.
34124         (tan_test_towardzero): Likewise.
34125         (tan_test_downward): Likewise.
34126         (tan_test_upward): Likewise.
34127         (tanh_test): Likewise.
34128         (tgamma_test): Likewise.
34129         (trunc_test): Likewise.
34130         (y0_test): Likewise.
34131         (y1_test): Likewise.
34132         (yn_test): Likewise.
34133         (significand_test): Likewise.
34135 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34137         [BZ #15381]
34138         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34140 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34142         [BZ #14894]
34143         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34144         __ppc_mdoio and __ppc_mdoom.
34145         * manual/platform.texi: Document new functions __ppc_yield,
34146         __ppc_mdoio and __ppc_mdoom.
34148 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34150         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34151         (main): Mention "tls" pseudo-hwcap is legacy.
34152         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34154 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34156         * math/gen-libm-test.pl (parse_args): Output only string of
34157         arguments as text for test name, not full call or descriptions of
34158         tests for extra outputs.
34159         (generate_testfile): Do not pass function name to parse_args.
34160         Generate this_func variable from START.
34161         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34162         field to arg_str.
34163         (struct test_ff_f_data): Likewise.
34164         (test_ff_f_data_nexttoward): Likewise.
34165         (struct test_fi_f_data): Likewise.
34166         (struct test_fl_f_data): Likewise.
34167         (struct test_if_f_data): Likewise.
34168         (struct test_fff_f_data): Likewise.
34169         (struct test_c_f_data): Likewise.
34170         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34171         (struct test_fF_f1_data): Likewise.
34172         (struct test_ffI_f1_data): Likewise.
34173         (struct test_c_c_data): Rename test_name field to arg_str.
34174         (struct test_cc_c_data): Likewise.
34175         (struct test_f_i_data): Likewise.
34176         (struct test_ff_i_data): Likewise.
34177         (struct test_f_l_data): Likewise.
34178         (struct test_f_L_data): Likewise.
34179         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34180         and extra2_name.
34181         (COMMON_TEST_SETUP): New macro.
34182         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34183         (COMMON_TEST_CLEANUP): Likewise.
34184         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34185         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34186         macros.
34187         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34188         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34189         macros.
34190         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34191         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34192         cleanup macros.
34193         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34194         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34195         macros.
34196         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34197         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34198         macros.
34199         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34200         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34201         cleanup macros.
34202         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34203         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34204         cleanup macros.
34205         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34206         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34207         cleanup macros.
34208         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34209         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34210         macros.
34211         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34212         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34213         macros.
34214         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34215         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34216         macros.
34217         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34218         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34219         cleanup macros.
34220         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34221         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34222         cleanup macros.
34223         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34224         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34225         macros.
34226         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34227         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34228         cleanup macros.
34229         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34230         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34231         macros.
34232         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34233         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34234         macros.
34235         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34236         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34237         cleanup macros.
34238         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34240 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34242         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34243         to _sifields.sigfault.
34244         (si_addr_lsb): Define new macro.
34245         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34246         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34247         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34249 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34251         [BZ #15441]
34252         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34253         returns -1.
34254         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34255         null return -1.
34256         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34257         loading the domain.
34259 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34261         * math/gen-libm-test.pl (parse_args): Do not include expected
34262         result in test name.
34263         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34264         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34265         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34266         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34267         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34270 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34272         * benchtests/Makefile: Sort function entries.
34274         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34275         tanh, asinh, acosh, atanh.
34276         * benchtests/acos-inputs: New file.
34277         * benchtests/acosh-inputs: New file.
34278         * benchtests/asin-inputs: New file.
34279         * benchtests/asinh-inputs: New file.
34280         * benchtests/atanh-inputs: New file.
34281         * benchtests/cosh-inputs: New file.
34282         * benchtests/log-inputs: New file.
34283         * benchtests/sinh-inputs: New file.
34284         * benchtests/tanh-inputs: New file.
34286 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34288         [BZ #15339]
34289         * posix/tst-getaddrinfo4.c: New test.
34290         * posix/Makefile (tests): Add it.
34292 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34294         [BZ #15339]
34295         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34296         when no services were used.
34297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34298         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34300 2013-05-21  Andreas Schwab  <schwab@suse.de>
34302         [BZ #15014]
34303         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34304         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34305         successful.
34306         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34307         redundant variable declarations and reallocation of buffer when
34308         parsing as IPv6 address.  Always set NSS status when called from
34309         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34310         buffer too small.  Correct computation of needed size.
34311         * nss/Makefile (tests): Add test-digits-dots.
34312         * nss/test-digits-dots.c: New test.
34314 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34316         * benchtests/Makefile: Remove instructions for adding
34317         benchmark tests.
34318         * benchtests/README: New file to explain how to execute and
34319         enhance the benchmark tests.
34321 2013-05-21  Andreas Schwab  <schwab@suse.de>
34323         [BZ #15493]
34324         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34325         * setjmp/tst-sigsetjmp.c: New test.
34327 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34329         * sysdeps/x86_64/memset.S (memset): New implementation.
34330         (__bzero): Likewise.
34331         (__memset_tail): New function.
34333 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34335         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34336         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34337         __memcpy_sse2_unaligned ifunc selection.
34338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34339         Add memcpy-sse2-unaligned.S.
34340         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34341         Add: __memcpy_sse2_unaligned.
34343 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34345         [BZ #15490]
34346         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34347         math_force_eval before restoring floating-point envrionment.
34348         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34349         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34350         Likewise.
34351         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34352         <math_private.h>.
34353         (__nearbyintl): Use math_force_eval before restoring
34354         floating-point environment.
34355         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34357         * math/gen-libm-test.pl (special_functions): Remove.
34358         (parse_args): Don't handle TEST_extra.  Handle functions with no
34359         return value.
34360         * math/libm-test.inc (struct test_sincos_data): Replace with
34361         struct test_fFF_11_data.
34362         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34363         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34364         (sincos_test_data): Change element type to struct
34365         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34366         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34367         RUN_TEST_LOOP_sincos.
34368         * math/README.libm-test: Don't mention special handling of
34369         individual functions.
34370         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34371         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34372         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34373         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34374         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34377         * math/gen-libm-test.pl (get_variable): Remove function.
34378         (parse_args): Don't show pointer parameters to call in test
34379         names.  Use "extra output N" in test names for extra outputs
34380         rather than naming variables.
34382 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34384         [BZ #15488]
34385         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34386         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34387         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34388         double tests.
34389         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34390         disable.
34391         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34392         check_long_double.
34394         * math/gen-libm-test.pl (@tests): Remove variable.
34395         ($count): Likewise.
34396         (new_test): Remove function.
34397         (show_exceptions): New function.
34398         (special_functions): Use show_exceptions instead of new_test.
34399         (parse_args): Likewise.
34400         (generate_testfile): Pass only function name in generated call to
34401         print_max_error or print_complex_max_error.
34402         (get_ulps): Do not handle complex tests specially.
34403         (output_test): Rename to ...
34404         (get_all_ulps_for_test): ... this.  Return a string rather than
34405         printing to a file.  Require ulps to be present.
34406         (output_ulps): Generate arrays rather than #defines.
34407         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34408         (struct ulp_data): New type.
34409         (BUILD_COMPLEX_ULP): Remove macro.
34410         (compare_ulp_data): New function.
34411         (find_ulps): Likewise.
34412         (find_test_ulps): Likewise.
34413         (find_function_ulps): Likewise.
34414         (find_complex_function_ulps): Likewise.
34415         (print_max_error): Determine allowed ulps using
34416         find_function_ulps.
34417         (print_complex_max_error): Determine allowed ulps using
34418         find_complex_function_ulps.
34419         (check_float_internal): Determine max ulps using find_test_ulps.
34420         (check_float): Do not take max_ulp parameter.  Update call to
34421         check_float_internal.
34422         (check_complex): Likewise.
34423         (check_int): Do not take max_ulp parameter.
34424         (check_long): Likewise.
34425         (check_bool): Likewise.
34426         (check_longlong): Likewise.
34427         (struct test_f_f_data): Remove max_ulp field.
34428         (struct test_ff_f_data): Likewise.
34429         (struct test_ff_f_data_nexttoward): Likewise.
34430         (struct test_fi_f_data): Likewise.
34431         (struct test_fl_f_data): Likewise.
34432         (struct test_if_f_data): Likewise.
34433         (struct test_fff_f_data): Likewise.
34434         (struct test_c_f_data): Likewise.
34435         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34436         (struct test_fF_f1_data): Likewise.
34437         (struct test_ffI_f1_data): Likewise.
34438         (struct test_c_c_data): Remove max_ulp field.
34439         (struct test_cc_c_data): Likewise.
34440         (struct test_f_i_data): Likewise.
34441         (struct test_ff_i_data): Likewise.
34442         (struct test_f_l_data): Likewise.
34443         (struct test_f_L_data): Likewise.
34444         (struct test_sincos_data): Likewise.
34445         (RUN_TEST_f_f): Do not handle ulps.
34446         (RUN_TEST_LOOP_f_f): Likewise.
34447         (RUN_TEST_2_f): Likewise.
34448         (RUN_TEST_LOOP_2_f): Likewise.
34449         (RUN_TEST_fff_f): Likewise.
34450         (RUN_TEST_LOOP_fff_f): Likewise.
34451         (RUN_TEST_c_f): Likewise.
34452         (RUN_TEST_LOOP_c_f): Likewise.
34453         (RUN_TEST_f_f1): Likewise.
34454         (RUN_TEST_LOOP_f_f1): Likewise.
34455         (RUN_TEST_fF_f1): Likewise.
34456         (RUN_TEST_LOOP_fF_f1): Likewise.
34457         (RUN_TEST_fI_f1): Likewise.
34458         (RUN_TEST_LOOP_fI_f1): Likewise.
34459         (RUN_TEST_ffI_f1): Likewise.
34460         (RUN_TEST_LOOP_ffI_f1): Likewise.
34461         (RUN_TEST_c_c): Likewise.
34462         (RUN_TEST_LOOP_c_c): Likewise.
34463         (RUN_TEST_cc_c): Likewise.
34464         (RUN_TEST_LOOP_cc_c): Likewise.
34465         (RUN_TEST_f_i): Likewise.
34466         (RUN_TEST_LOOP_f_i): Likewise.
34467         (RUN_TEST_f_i_tg): Likewise.
34468         (RUN_TEST_LOOP_f_i_tg): Likewise.
34469         (RUN_TEST_ff_i_tg): Likewise.
34470         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34471         (RUN_TEST_f_b): Likewise.
34472         (RUN_TEST_LOOP_f_b): Likewise.
34473         (RUN_TEST_f_b_tg): Likewise.
34474         (RUN_TEST_LOOP_f_b_tg): Likewise.
34475         (RUN_TEST_f_l): Likewise.
34476         (RUN_TEST_LOOP_f_l): Likewise.
34477         (RUN_TEST_f_L): Likewise.
34478         (RUN_TEST_LOOP_f_L): Likewise.
34479         (RUN_TEST_sincos): Likewise.
34480         (RUN_TEST_LOOP_sincos): Likewise.
34482 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34484         [BZ #15480]
34485         [BZ #15485]
34486         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34487         main case of finite arguments, set rounding mode to FE_TONEAREST
34488         and discard exceptions.
34489         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34490         exceptions.
34491         (remainder_tonearest_test_data): New variable.
34492         (remainder_test_tonearest): New function.
34493         (remainder_towardzero_test_data): New variable.
34494         (remainder_test_towardzero): New function.
34495         (remainder_downward_test_data): New variable.
34496         (remainder_test_downward): New function.
34497         (remainder_upward_test_data): New variable.
34498         (remainder_test_upward): New function.
34499         (main): Call the new test functions.
34501         * math/libm-test.inc (struct test_f_f1_data): Remove field
34502         extra_init.
34503         (struct test_fF_f1_data): Likewise.
34504         (struct test_ffI_f1_data): Likewise.
34505         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34506         based on value of EXTRA_EXPECTED.
34507         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34508         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34509         EXTRA_VAR based on value of EXTRA_EXPECTED.
34510         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34511         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34512         EXTRA_VAR based on value of EXTRA_EXPECTED.
34513         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34514         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34515         EXTRA_VAR based on value of EXTRA_EXPECTED.
34516         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34517         * math/gen-libm-test.pl (parse_args): Don't output initializers
34518         for extra output values.
34520         * math/libm-test.inc (check_int): Expect result to be exactly
34521         equal to expected value and do not handle ulps.
34522         (check_long): Likewise.
34523         (check_longlong): Likewise.
34525         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34526         exceptions.
34527         (cimag_test_data): Likewise.
34528         (conj_test_data): Likewise.
34529         (copysign_test_data): Likewise.
34530         (cproj_test_data): Likewise.
34531         (creal_test_data): Likewise.
34532         (fabs_test_data): Likewise.
34533         (fdim_test_data): Likewise.
34534         (finite_test_data): Likewise.
34535         (floor_test_data): Likewise.
34536         (fmax_test_data): Likewise.
34537         (fmin_test_data): Likewise.
34538         (fmod_test_data): Likewise.
34539         (fpclassify_test_data): Likewise.
34540         (frexp_test_data): Likewise.
34541         (ilogb_test_data): Likewise.
34542         (isfinite_test_data): Likewise.
34543         (isgreater_test_data): Likewise.
34544         (isgreaterequal_test_data): Likewise.
34545         (isinf_test_data): Likewise.
34546         (isless_test_data): Likewise.
34547         (islessequal_test_data): Likewise.
34548         (islessgreater_test_data): Likewise.
34549         (isnan_test_data): Likewise.
34550         (isnormal_test_data): Likewise.
34551         (issignaling_test_data): Likewise.
34552         (isunordered_test_data): Likewise.
34553         (ldexp_test_data): Likewise.
34554         (lrint_test_data): Likewise.
34555         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34556         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34557         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34558         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34559         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34560         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34561         test input.
34562         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34563         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34564         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34565         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34566         that test input.
34567         (lrint_downward_test_data): Test for "inexact" exceptions.
34568         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34569         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34570         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34571         test input.
34572         (lrint_upward_test_data): Test for "inexact" exceptions.
34573         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34574         test input.
34575         (llrint_test_data): Test for "inexact" exceptions.
34576         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34577         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34578         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34579         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34580         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34581         (llrint_downward_test_data): Test for "inexact" exceptions.
34582         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34583         (llrint_upward_test_data): Test for "inexact" exceptions.
34584         (logb_test_data): Likewise.
34585         (logb_downward_test_data): Likewise.
34586         (nextafter_test_data): Likewise.
34587         (nexttoward_test_data): Likewise.
34588         (remainder_test_data): Likewise.
34589         (remquo_test_data): Likewise.
34590         (scalbn_test_data): Likewise.
34591         (scalbln_test_data): Likewise.
34592         (signbit_test_data): Likewise.
34593         (sqrt_test_data): Likewise.
34594         (significand_test_data): Likewise.
34596 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34598         [BZ #15424]
34599         * benchtests/bench-modf.c (struct args): Mark arg0 as
34600         volatile.
34601         * scripts/bench.pl: Mark members of struct args as volatile.
34603 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34605         [BZ # 15497]
34606         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34607         negative infinity on POWER6 or lower.
34608         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34610 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34612         [BZ #15442]
34613         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34614         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34615         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34616         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34617         (_FP_SETQNAN): New macro.
34618         (_FP_SETQNAN_SEMIRAW): Likewise.
34619         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34620         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34621         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34622         (FP_EXTEND): Use _FP_FRAC_SNANP.
34623         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34624         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34625         into account.
34626         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34627         New macro.
34628         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34629         Likewise.
34631 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34633         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34634         with DIVIDE_BY_ZERO_EXCEPTION.
34635         (gamma_test_data): Likewise.
34636         (lgamma_test_data): Likewise.
34637         (log_test_data): Likewise.
34638         (log10_test_data): Likewise.
34639         (log2_test_data): Likewise.
34640         (tgamma_test_data): Likewise.
34642         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34643         (acos_test_tonearest): Likewise.
34644         (acos_test_towardzero): Likewise.
34645         (acos_test_downward): Likewise.
34646         (acos_test_upward): Likewise.
34647         (acosh_test): Likewise.
34648         (asin_test): Likewise.
34649         (asin_test_tonearest): Likewise.
34650         (asin_test_towardzero): Likewise.
34651         (asin_test_downward): Likewise.
34652         (asin_test_upward): Likewise.
34653         (asinh_test): Likewise.
34654         (atan_test): Likewise.
34655         (atanh_test): Likewise.
34656         (atan2_test): Likewise.
34657         (cabs_test): Likewise.
34658         (cacos_test): Likewise.
34659         (cacosh_test): Likewise.
34660         (casin_test): Likewise.
34661         (casinh_test): Likewise.
34662         (catan_test): Likewise.
34663         (catanh_test): Likewise.
34664         (cbrt_test): Likewise.
34665         (ccos_test): Likewise.
34666         (ccosh_test): Likewise.
34667         (cexp_test): Likewise.
34668         (clog_test): Likewise.
34669         (clog10_test): Likewise.
34670         (cos_test): Likewise.
34671         (cos_test_tonearest): Likewise.
34672         (cos_test_towardzero): Likewise.
34673         (cos_test_downward): Likewise.
34674         (cos_test_upward): Likewise.
34675         (cosh_test): Likewise.
34676         (cosh_test_tonearest): Likewise.
34677         (cosh_test_towardzero): Likewise.
34678         (cosh_test_downward): Likewise.
34679         (cosh_test_upward): Likewise.
34680         (cpow_test): Likewise.
34681         (csin_test): Likewise.
34682         (csinh_test): Likewise.
34683         (csqrt_test): Likewise.
34684         (ctan_test): Likewise.
34685         (ctan_test_tonearest): Likewise.
34686         (ctan_test_towardzero): Likewise.
34687         (ctan_test_downward): Likewise.
34688         (ctan_test_upward): Likewise.
34689         (ctanh_test): Likewise.
34690         (ctanh_test_tonearest): Likewise.
34691         (ctanh_test_towardzero): Likewise.
34692         (ctanh_test_downward): Likewise.
34693         (ctanh_test_upward): Likewise.
34694         (erf_test): Likewise.
34695         (erfc_test): Likewise.
34696         (exp_test): Likewise.
34697         (exp_test_tonearest): Likewise.
34698         (exp_test_towardzero): Likewise.
34699         (exp_test_downward): Likewise.
34700         (exp_test_upward): Likewise.
34701         (exp10_test): Likewise.
34702         (exp2_test): Likewise.
34703         (expm1_test): Likewise.
34704         (fmod_test): Likewise.
34705         (gamma_test): Likewise.
34706         (hypot_test): Likewise.
34707         (j0_test): Likewise.
34708         (j1_test): Likewise.
34709         (jn_test): Likewise.
34710         (lgamma_test): Likewise.
34711         (log_test): Likewise.
34712         (log10_test): Likewise.
34713         (log1p_test): Likewise.
34714         (log2_test): Likewise.
34715         (logb_test_downward): Likewise.
34716         (pow_test): Likewise.
34717         (pow_test_tonearest): Likewise.
34718         (pow_test_towardzero): Likewise.
34719         (pow_test_downward): Likewise.
34720         (pow_test_upward): Likewise.
34721         (remainder_test): Likewise.
34722         (remquo_test): Likewise.
34723         (sin_test): Likewise.
34724         (sin_test_tonearest): Likewise.
34725         (sin_test_towardzero): Likewise.
34726         (sin_test_downward): Likewise.
34727         (sin_test_upward): Likewise.
34728         (sincos_test): Likewise.
34729         (sinh_test): Likewise.
34730         (sinh_test_tonearest): Likewise.
34731         (sinh_test_towardzero): Likewise.
34732         (sinh_test_downward): Likewise.
34733         (sinh_test_upward): Likewise.
34734         (sqrt_test): Likewise.
34735         (tan_test): Likewise.
34736         (tan_test_tonearest): Likewise.
34737         (tan_test_towardzero): Likewise.
34738         (tan_test_downward): Likewise.
34739         (tan_test_upward): Likewise.
34740         (tanh_test): Likewise.
34741         (tgamma_test): Likewise.
34742         (y0_test): Likewise.
34743         (y1_test): Likewise.
34744         (yn_test): Likewise.
34746         * math/gen-libm-test.pl (adjust_arg): Remove function.
34747         (special_function): Remove argument $in_func.  Only handle
34748         generating output for tables of tests, not inside functions.
34749         (parse_args): Likewise.
34750         (generate_testfile): Remove variable $in_func.  Update call to
34751         parse_args.
34752         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34753         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34754         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34755         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34756         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34757         (MAX_VALUE_INIT): Rename macro to max_value.
34758         (MIN_VALUE_INIT): Rename macro to min_value.
34759         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34760         (plus_zero): Remove variable.
34761         (minus_zero): Likewise.
34762         (plus_infty): Likewise.
34763         (minus_infty): Likewise.
34764         (qnan_value): Likewise.
34765         (max_value): Likewise.
34766         (min_value): Likewise.
34767         (min_subnorm_value): Likewise.
34769 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34771         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34772         uint64_t or uint32_t usage.
34773         * crypt/sha256-block.c: Likewise.
34774         * crypt/sha256-crypt.c: Likewise.
34775         * crypt/sha256.c: Likewise.
34776         * crypt/sha512-block.c: Likewise.
34777         * crypt/sha512-crypt.c: Likewise.
34778         * crypt/sha512.c: Likewise.
34779         * debug/backtrace-tst.c: Likewise.
34780         * debug/pcprofiledump.c: Likewise.
34781         * elf/cache.c: Likewise.
34782         * elf/dl-cache.c: Likewise.
34783         * elf/dl-misc.c: Likewise.
34784         * elf/dl-profile.c: Likewise.
34785         * elf/dl-support.c: Likewise.
34786         * elf/ldconfig.c: Likewise.
34787         * elf/sprof.c: Likewise.
34788         * iconv/dummy-repertoire.c: Likewise.
34789         * iconv/iconv_charmap.c: Likewise.
34790         * iconv/skeleton.c: Likewise.
34791         * iconvdata/8bit-generic.c: Likewise.
34792         * iconvdata/cp737.h: Likewise.
34793         * iconvdata/cp775.h: Likewise.
34794         * iconvdata/ibm1008.h: Likewise.
34795         * iconvdata/ibm1025.h: Likewise.
34796         * iconvdata/ibm1046.h: Likewise.
34797         * iconvdata/ibm1097.h: Likewise.
34798         * iconvdata/ibm1112.h: Likewise.
34799         * iconvdata/ibm1122.h: Likewise.
34800         * iconvdata/ibm1123.h: Likewise.
34801         * iconvdata/ibm1124.h: Likewise.
34802         * iconvdata/ibm1129.h: Likewise.
34803         * iconvdata/ibm1130.h: Likewise.
34804         * iconvdata/ibm1132.h: Likewise.
34805         * iconvdata/ibm1133.h: Likewise.
34806         * iconvdata/ibm1137.h: Likewise.
34807         * iconvdata/ibm1140.h: Likewise.
34808         * iconvdata/ibm1141.h: Likewise.
34809         * iconvdata/ibm1142.h: Likewise.
34810         * iconvdata/ibm1143.h: Likewise.
34811         * iconvdata/ibm1144.h: Likewise.
34812         * iconvdata/ibm1145.h: Likewise.
34813         * iconvdata/ibm1146.h: Likewise.
34814         * iconvdata/ibm1147.h: Likewise.
34815         * iconvdata/ibm1148.h: Likewise.
34816         * iconvdata/ibm1149.h: Likewise.
34817         * iconvdata/ibm1153.h: Likewise.
34818         * iconvdata/ibm1154.h: Likewise.
34819         * iconvdata/ibm1155.h: Likewise.
34820         * iconvdata/ibm1156.h: Likewise.
34821         * iconvdata/ibm1157.h: Likewise.
34822         * iconvdata/ibm1158.h: Likewise.
34823         * iconvdata/ibm1160.h: Likewise.
34824         * iconvdata/ibm1161.h: Likewise.
34825         * iconvdata/ibm1162.h: Likewise.
34826         * iconvdata/ibm1163.h: Likewise.
34827         * iconvdata/ibm1164.h: Likewise.
34828         * iconvdata/ibm1166.h: Likewise.
34829         * iconvdata/ibm1167.h: Likewise.
34830         * iconvdata/ibm12712.h: Likewise.
34831         * iconvdata/ibm1390.h: Likewise.
34832         * iconvdata/ibm1399.h: Likewise.
34833         * iconvdata/ibm16804.h: Likewise.
34834         * iconvdata/ibm4517.h: Likewise.
34835         * iconvdata/ibm4899.h: Likewise.
34836         * iconvdata/ibm4909.h: Likewise.
34837         * iconvdata/ibm4971.h: Likewise.
34838         * iconvdata/ibm5347.h: Likewise.
34839         * iconvdata/ibm803.h: Likewise.
34840         * iconvdata/ibm856.h: Likewise.
34841         * iconvdata/ibm901.h: Likewise.
34842         * iconvdata/ibm902.h: Likewise.
34843         * iconvdata/ibm9030.h: Likewise.
34844         * iconvdata/ibm9066.h: Likewise.
34845         * iconvdata/ibm921.h: Likewise.
34846         * iconvdata/ibm922.h: Likewise.
34847         * iconvdata/ibm9448.h: Likewise.
34848         * iconvdata/isiri-3342.h: Likewise.
34849         * iconvdata/jis0201.h: Likewise.
34850         * include/link.h: Likewise.
34851         * include/netdb.h: Likewise.
34852         * inet/check_native.c: Likewise.
34853         * inet/check_pf.c: Likewise.
34854         * inet/getipv4sourcefilter.c: Likewise.
34855         * inet/getnameinfo.c: Likewise.
34856         * inet/getsourcefilter.c: Likewise.
34857         * inet/htonl.c: Likewise.
34858         * inet/setipv4sourcefilter.c: Likewise.
34859         * inet/setsourcefilter.c: Likewise.
34860         * inet/test-inet6_opt.c: Likewise.
34861         * inet/tst-network.c: Likewise.
34862         * locale/C-collate.c: Likewise.
34863         * locale/C-ctype.c: Likewise.
34864         * locale/C-time.c: Likewise.
34865         * locale/C-translit.h: Likewise.
34866         * locale/loadarchive.c: Likewise.
34867         * locale/programs/3level.h: Likewise.
34868         * locale/programs/charmap.c: Likewise.
34869         * locale/programs/charmap.h: Likewise.
34870         * locale/programs/ld-address.c: Likewise.
34871         * locale/programs/ld-collate.c: Likewise.
34872         * locale/programs/ld-ctype.c: Likewise.
34873         * locale/programs/ld-identification.c: Likewise.
34874         * locale/programs/ld-measurement.c: Likewise.
34875         * locale/programs/ld-messages.c: Likewise.
34876         * locale/programs/ld-monetary.c: Likewise.
34877         * locale/programs/ld-name.c: Likewise.
34878         * locale/programs/ld-numeric.c: Likewise.
34879         * locale/programs/ld-paper.c: Likewise.
34880         * locale/programs/ld-telephone.c: Likewise.
34881         * locale/programs/ld-time.c: Likewise.
34882         * locale/programs/linereader.c: Likewise.
34883         * locale/programs/locale.c: Likewise.
34884         * locale/programs/locarchive.c: Likewise.
34885         * locale/programs/locfile.h: Likewise.
34886         * locale/programs/repertoire.c: Likewise.
34887         * locale/programs/simple-hash.c: Likewise.
34888         * locale/programs/simple-hash.h: Likewise.
34889         * malloc/memusage.c: Likewise.
34890         * malloc/memusagestat.c: Likewise.
34891         * nis/nis_defaults.c: Likewise.
34892         * nis/nis_hash.c: Likewise.
34893         * nis/nis_print.c: Likewise.
34894         * nis/nis_xdr.c: Likewise.
34895         * nscd/connections.c: Likewise.
34896         * nscd/hstcache.c: Likewise.
34897         * nscd/nscd_gethst_r.c: Likewise.
34898         * nscd/nscd_getserv_r.c: Likewise.
34899         * nscd/nscd_helper.c: Likewise.
34900         * nscd/servicescache.c: Likewise.
34901         * nss/makedb.c: Likewise.
34902         * nss/nss_db/db-XXX.c: Likewise.
34903         * nss/nss_db/db-initgroups.c: Likewise.
34904         * nss/nss_db/db-netgrp.c: Likewise.
34905         * nss/nss_files/files-network.c: Likewise.
34906         * nss/nss_files/files-parse.c: Likewise.
34907         * posix/bug-regex5.c: Likewise.
34908         * posix/fnmatch_loop.c: Likewise.
34909         * posix/regcomp.c: Likewise.
34910         * posix/regexec.c: Likewise.
34911         * posix/tst-rfc3484-2.c: Likewise.
34912         * posix/tst-rfc3484-3.c: Likewise.
34913         * posix/tst-rfc3484.c: Likewise.
34914         * resolv/nss_dns/dns-canon.c: Likewise.
34915         * resolv/nss_dns/dns-network.c: Likewise.
34916         * resolv/res_init.c: Likewise.
34917         * resolv/res_mkquery.c: Likewise.
34918         * resolv/tst-aton.c: Likewise.
34919         * stdlib/cxa_atexit.c: Likewise.
34920         * stdlib/cxa_finalize.c: Likewise.
34921         * stdlib/gen-fpioconst.c: Likewise.
34922         * stdlib/strtol_l.c: Likewise.
34923         * string/tst-endian.c: Likewise.
34924         * sunrpc/auth_des.c: Likewise.
34925         * sunrpc/clnt_udp.c: Likewise.
34926         * sunrpc/rtime.c: Likewise.
34927         * sunrpc/svcauth_des.c: Likewise.
34928         * sunrpc/xdr.c: Likewise.
34929         * sunrpc/xdr_intXX_t.c: Likewise.
34930         * sunrpc/xdr_rec.c: Likewise.
34931         * sysdeps/generic/ldconfig.h: Likewise.
34932         * sysdeps/generic/ldsodefs.h: Likewise.
34933         * sysdeps/generic/memusage.h: Likewise.
34934         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34935         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34936         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34937         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34938         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34939         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34940         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34941         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34942         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34943         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34944         * sysdeps/posix/getaddrinfo.c: Likewise.
34945         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34946         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34947         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34948         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34949         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34950         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34951         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34952         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34953         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34954         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34955         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34956         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34957         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34958         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34959         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34960         * sysdeps/x86_64/dl-tls.h: Likewise.
34961         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34962         * time/alt_digit.c: Likewise.
34963         * time/era.c: Likewise.
34964         * wcsmbs/tst-c16c32-1.c: Likewise.
34966 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34968         * math/libm-test.inc (struct test_sincos_data): New type.
34969         (RUN_TEST_LOOP_sincos): New macro.
34970         (sincos_test_data): New variable.
34971         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34973 2013-05-16  Richard Henderson  <rth@redhat.com>
34975         * math/atest-exp2.c (LIMB64): New macro.
34976         (CONSTSZ): New macro.
34977         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34978         (hexdig): Move ...
34979         (print_mpn_fp): ... to function scope.
34980         (read_mpn_hex): Remove.
34981         (get_log2): Remove.
34982         (exp2_mpn): Use mp_log2.
34983         (main): Use mp_exp1.
34985 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34987         * math/libm-test.inc: Remove comment about not testing "inexact"
34988         exceptions.
34989         (INEXACT_EXCEPTION): New macro.
34990         (NO_INEXACT_EXCEPTION): Likewise.
34991         (INVALID_EXCEPTION_OK): Update value.
34992         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34993         (OVERFLOW_EXCEPTION_OK): Likewise.
34994         (UNDERFLOW_EXCEPTION_OK): Likewise.
34995         (IGNORE_ZERO_INF_SIGN): Likewise.
34996         (ERRNO_UNCHANGED): Likewise.
34997         (ERRNO_EDOM): Likewise.
34998         (ERRNO_ERANGE): Likewise.
34999         (test_exceptions): Handle testing "inexact" exceptions.
35000         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35001         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35002         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35003         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35004         INEXACT_EXCEPTION.
35005         (rint_towardzero_test_data): Likewise.
35006         (rint_downward_test_data): Likewise.
35007         (rint_upward_test_data): Likewise.
35009         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35010         with OVERFLOW_EXCEPTION.
35011         (exp10_test_data): Likewise.
35012         (exp2_test_data): Likewise.
35013         (expm1_test_data): Likewise.
35014         (lgamma_test_data): Likewise.
35015         (pow_test_data): Likewise.
35016         (tgamma_test_data): Likewise.
35017         (yn_test_data): Remove duplicate test of overflow.
35019         * math/libm-test.inc (struct test_cc_c_data): New type.
35020         (RUN_TEST_LOOP_cc_c): New macro.
35021         (cpow_test_data): New variable.
35022         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35024         * math/libm-test.inc (struct test_f_L_data): New type.
35025         (RUN_TEST_LOOP_f_L): New macro.
35026         (llrint_test_data): New variable.
35027         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35028         (llrint_tonearest_test_data): New variable.
35029         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35030         (llrint_towardzero_test_data): New variable.
35031         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35032         (llrint_downward_test_data): New variable.
35033         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35034         (llrint_upward_test_data): New variable.
35035         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35036         (llround_test_data): New variable.
35037         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35039 2013-05-13  Peter Collingbourne  <pcc@google.com>
35041         * math/atest-exp2.c (get_log2): Remove const attribute.
35043 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35045         * math/libm-test.inc (struct test_f_l_data): New type.
35046         (RUN_TEST_LOOP_f_l): New macro.
35047         (lrint_test_data): New variable.
35048         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35049         (lrint_tonearest_test_data): New variable.
35050         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35051         (lrint_towardzero_test_data): New variable.
35052         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35053         (lrint_downward_test_data): New variable.
35054         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35055         (lrint_upward_test_data): New variable.
35056         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35057         (lround_test_data): New variable.
35058         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35060 2013-05-15  Peter Collingbourne  <pcc@google.com>
35062         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35063         (EXTRACT_WORDS64) Use where appropriate.
35064         (INSERT_WORDS64) Likewise.
35066         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35067         constraints with x constraints.
35068         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35070         * malloc/obstack.c (_obstack_compat): Add initializer.
35072 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35074         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35075         si_trapno and add si_addr_lsb to _sifields.sigfault.
35076         (si_trapno): Remove macro.
35077         (si_addr_lsb): Define new macro.
35078         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35080 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35082         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35083         instead of TEST_f_l.
35084         (llrint_test_tonearest): Likewise.
35085         (llrint_test_towardzero): Likewise.
35086         (llrint_test_downward): Likewise.
35087         (llrint_test_upward): Likewise.
35088         (llround_test): Likewise.
35090         * math/libm-test.inc (struct test_f_i_data): Add comment.
35091         (RUN_TEST_LOOP_f_b): New macro.
35092         (RUN_TEST_LOOP_f_b_tg): Likewise.
35093         (finite_test_data): New variable.
35094         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35095         (isfinite_test_data): New variable.
35096         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35097         (isinf_test_data): New variable.
35098         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35099         (isnan_test_data): New variable.
35100         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35101         (isnormal_test_data): New variable.
35102         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35103         (issignaling_test_data): New variable.
35104         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35105         (signbit_test_data): New variable.
35106         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35108         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35109         with INVALID_EXCEPTION.
35110         (acosh_test_data): Likewise.
35111         (asin_test_data): Likewise.
35112         (atanh_test_data): Likewise.
35113         (fmod_test_data): Likewise.
35114         (log_test_data): Likewise.
35115         (log10_test_data): Likewise.
35116         (log2_test_data): Likewise.
35117         (pow_test_data): Likewise.
35118         (sqrt_test_data): Likewise.
35119         (y0_test_data): Likewise.
35120         (y1_test_data): Likewise.
35121         (yn_test_data): Likewise.
35123         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35124         function contents.
35126         * math/libm-test.inc (struct test_ff_i_data): New type.
35127         (RUN_TEST_LOOP_ff_i_tg): New macro.
35128         (isgreater_test_data): New variable.
35129         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35130         (isgreaterequal_test_data): New variable.
35131         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35132         (isless_test_data): New variable.
35133         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35134         (islessequal_test_data): New variable.
35135         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35136         (islessgreater_test_data): New variable.
35137         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35138         (isunordered_test_data): New variable.
35139         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35141 2013-05-14  David S. Miller  <davem@davemloft.net>
35143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35145 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35147         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35149         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35150         extra_test to int.
35151         (struct test_f_i_data): Change type of max_ulp to int.
35153         * math/libm-test.inc (test_ffI_f1_data): New type.
35154         (RUN_TEST_LOOP_ffI_f1): New macro.
35155         (remquo_test_data): New variable.
35156         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35158         * setjmp/tst-setjmp-fp.c: New file.
35159         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35160         (link-libm): New variable.
35161         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35163         * math/libm-test.inc (struct test_f_i_data): New type.
35164         (RUN_TEST_LOOP_f_i): New macro.
35165         (RUN_TEST_LOOP_f_i_tg): Likewise.
35166         (fpclassify_test_data): New variable.
35167         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35168         (ilogb_test_data): New variable.
35169         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35171         * math/libm-test.inc (scalbln_test): Correct function name in END
35172         call.
35174         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35175         (RUN_TEST_LOOP_fI_f1): New macro.
35176         (frexp_test_data): New variable.
35177         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35179         * math/libm-test.inc (struct test_fF_f1_data): New type.
35180         (RUN_TEST_LOOP_fF_f1): New macro.
35181         (modf_test_data): New variable.
35182         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35184         * math/libm-test.inc (struct test_f_f1_data): New type.
35185         (RUN_TEST_LOOP_f_f1): New macro.
35186         (gamma_test_data): New variable.
35187         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35188         (lgamma_test_data): New variable.
35189         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35191 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35193         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35194         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35195         (main): Comment "tls" pseudo-hwcap.
35197 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35199         * math/libm-test.inc (struct test_fl_f_data): New type.
35200         (RUN_TEST_LOOP_fl_f): New variable.
35201         (scalbln_test_data): New variable.
35202         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35204         * math/libm-test.inc (struct test_fi_f_data): New type.
35205         (RUN_TEST_LOOP_fi_f): New macro.
35206         (ldexp_test_data): New variable.
35207         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35208         (scalbn_test_data): New variable.
35209         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35211         * math/libm-test.inc (struct test_c_f_data): New type.
35212         (RUN_TEST_LOOP_c_f): New macro.
35213         (cabs_test_data): New variable.
35214         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35215         (carg_test_data): New variable.
35216         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35217         (cimag_test_data): New variable.
35218         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35219         (creal_test_data): New variable.
35220         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35222         * math/libm-test.inc (struct test_if_f_data): New type.
35223         (RUN_TEST_LOOP_if_f): New macro.
35224         (jn_test_data): New variable.
35225         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35226         (yn_test_data): New variable.
35227         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35229         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35231 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35233         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35234         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35236 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35238         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35239         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35240         (bench-deps): Add bench-timing.h.
35241         * benchtests-bench-skeleton.c: Include bench-timing.h.
35242         (main): Use TIMING_* macros instead of clock_gettime.
35243         * benchtests/bench-timing.h: New file.
35245         [BZ #14582]
35246         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35247         Renamed from _LIB_VERSION.
35248         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35250 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35252         * math/libm-test.inc (struct test_fff_f_data): New type.
35253         (RUN_TEST_LOOP_fff_f): New macro.
35254         (fma_test_data): New variable.
35255         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35256         (fma_towardzero_test_data): New variable.
35257         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35258         (fma_downward_test_data): New variable.
35259         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35260         (fma_upward_test_data): New variable.
35261         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35263         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35264         (struct test_c_c_data): New type.
35265         (RUN_TEST_LOOP_c_c): New macro.
35266         (cacos_test_data): New variable.
35267         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35268         (cacosh_test_data): New variable.
35269         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35270         (casin_test_data): New variable.
35271         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35272         (casinh_test_data): New variable.
35273         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35274         (catan_test_data): New variable.
35275         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35276         (catanh_test_data): New variable.
35277         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35278         (ccos_test_data): New variable.
35279         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35280         (ccosh_test_data): New variable.
35281         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35282         (cexp_test_data): New variable.
35283         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35284         (clog_test_data): New variable.
35285         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35286         (clog10_test_data): New variable.
35287         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35288         (conj_test_data): New variable.
35289         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35290         (cproj_test_data): New variable.
35291         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35292         (csin_test_data): New variable.
35293         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35294         (csinh_test_data): New variable.
35295         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35296         (csqrt_test_data): New variable.
35297         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35298         (ctan_test_data): New variable.
35299         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35300         (ctan_tonearest_test_data): New variable.
35301         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35302         (ctan_towardzero_test_data): New variable.
35303         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35304         (ctan_downward_test_data): New variable.
35305         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35306         (ctan_upward_test_data): New variable.
35307         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35308         (ctanh_test_data): New variable.
35309         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35310         (ctanh_tonearest_test_data): New variable.
35311         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35312         (ctanh_towardzero_test_data): New variable.
35313         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35314         (ctanh_downward_test_data): New variable.
35315         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35316         (ctanh_upward_test_data): New variable.
35317         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35318         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35319         of BUILD_COMPLEX.
35321         * math/libm-test.inc (struct test_ff_f_data): New type.
35322         (struct test_ff_f_data_nexttoward): Likewise.
35323         (RUN_TEST_LOOP_2_f): New macro.
35324         (RUN_TEST_LOOP_ff_f): Likewise.
35325         (atan2_test_data): New variable.
35326         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35327         (copysign_test_data): New variable.
35328         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35329         (fdim_test_data): New variable.
35330         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35331         (fmax_test_data): New variable.
35332         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35333         (fmin_test_data): New variable.
35334         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35335         (fmod_test_data): New variable.
35336         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35337         (hypot_test_data): New variable.
35338         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35339         (nextafter_test_data): New variable.
35340         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35341         (nexttoward_test_data): New variable.
35342         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35343         (pow_test_data): New variable.
35344         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35345         (pow_tonearest_test_data): New variable.
35346         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35347         (pow_towardzero_test_data): New variable.
35348         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35349         (pow_downward_test_data): New variable.
35350         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35351         (pow_upward_test_data): New variable.
35352         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35353         (remainder_test_data): New variable.
35354         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35355         (scalb_test_data): New variable.
35356         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35357         * sysdeps/i386/fpu/libm-test-ulps: Update.
35359 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35361         * math/libm-test.inc (fma_test): Use max_value instead of local
35362         variable fltmax.
35363         (nextafter_test): Likewise.
35365         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35366         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35367         (acos_downward_test_data): New variable.
35368         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35369         (acos_upward_test_data): New variable.
35370         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35371         (acosh_test_data): New variable.
35372         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35373         (asin_test_data): New variable.
35374         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35375         (asin_tonearest_test_data): New variable.
35376         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35377         (asin_towardzero_test_data): New variable.
35378         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35379         (asin_downward_test_data): New variable.
35380         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35381         (asin_upward_test_data): New variable.
35382         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35383         (asinh_test_data): New variable.
35384         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35385         (atan_test_data): New variable.
35386         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35387         (atanh_test_data): New variable.
35388         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35389         (cbrt_test_data): New variable.
35390         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35391         (ceil_test_data): New variable.
35392         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35393         (cos_test_data): New variable.
35394         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35395         (cos_tonearest_test_data): New variable.
35396         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35397         (cos_towardzero_test_data): New variable.
35398         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35399         (cos_downward_test_data): New variable.
35400         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35401         (cos_upward_test_data): New variable.
35402         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35403         (cosh_test_data): New variable.
35404         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35405         (cosh_tonearest_test_data): New variable.
35406         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35407         (cosh_towardzero_test_data): New variable.
35408         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35409         (cosh_downward_test_data): New variable.
35410         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35411         (cosh_upward_test_data): New variable.
35412         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35413         (erf_test_data): New variable.
35414         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35415         (erfc_test_data): New variable.
35416         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35417         (exp_test_data): New variable.
35418         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35419         (exp_tonearest_test_data): New variable.
35420         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35421         (exp_towardzero_test_data): New variable.
35422         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35423         (exp_downward_test_data): New variable.
35424         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35425         (exp_upward_test_data): New variable.
35426         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35427         (exp10_test_data): New variable.
35428         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35429         (exp2_test_data): New variable.
35430         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35431         (expm1_test_data): New variable.
35432         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35433         (fabs_test_data): New variable.
35434         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35435         (floor_test_data): New variable.
35436         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35437         (j0_test_data): New variable.
35438         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35439         (j1_test_data): New variable.
35440         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35441         (log_test_data): New variable.
35442         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35443         (log10_test_data): New variable.
35444         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35445         (log1p_test_data): New variable.
35446         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35447         (log2_test_data): New variable.
35448         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35449         (logb_test_data): New variable.
35450         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35451         (logb_downward_test_data): New variable.
35452         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35453         (nearbyint_test_data): New variable.
35454         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35455         (rint_test_data): New variable.
35456         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35457         (rint_tonearest_test_data): New variable.
35458         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35459         (rint_towardzero_test_data): New variable.
35460         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35461         (rint_downward_test_data): New variable.
35462         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35463         (rint_upward_test_data): New variable.
35464         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35465         (round_test_data): New variable.
35466         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35467         (sin_test_data): New variable.
35468         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35469         (sin_tonearest_test_data): New variable.
35470         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35471         (sin_towardzero_test_data): New variable.
35472         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35473         (sin_downward_test_data): New variable.
35474         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35475         (sin_upward_test_data): New variable.
35476         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35477         (sinh_test_data): New variable.
35478         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35479         (sinh_tonearest_test_data): New variable.
35480         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35481         (sinh_towardzero_test_data): New variable.
35482         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35483         (sinh_downward_test_data): New variable.
35484         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35485         (sinh_upward_test_data): New variable.
35486         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35487         (sqrt_test_data): New variable.
35488         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35489         (tan_test_data): New variable.
35490         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35491         (tan_tonearest_test_data): New variable.
35492         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35493         (tan_towardzero_test_data): New variable.
35494         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35495         (tan_downward_test_data): New variable.
35496         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35497         (tan_upward_test_data): New variable.
35498         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35499         (tanh_test_data): New variable.
35500         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35501         (tgamma_test_data): New variable.
35502         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35503         (trunc_test_data): New variable.
35504         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35505         (y0_test_data): New variable.
35506         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35507         (y1_test_data): New variable.
35508         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35509         (significand_test_data): New variable.
35510         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35512 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35514         [BZ #12387]
35515         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35517 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35519         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35521 2013-05-10  Andreas Jaeger  <aj@suse.de>
35523         [BZ #15448]
35524         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35525         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35527 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35529         * math/gen-libm-test.pl (adjust_arg): New function.
35530         (special_functions): Handle generating output in both functions
35531         and arrays.
35532         (parse_args): Likewise.
35533         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35534         $in_func argument to parse_args.
35535         * math/libm-test.inc (struct test_f_f_data): New type.
35536         (IF_ROUND_INIT_): New macro.
35537         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35538         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35539         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35540         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35541         (ROUND_RESTORE_): Likewise.
35542         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35543         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35544         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35545         (ROUND_RESTORE_FE_UPWARD): Likewise.
35546         (RUN_TEST_LOOP_f_f): New macro.
35547         (acos_test_data): New variable.
35548         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35549         (acos_tonearest_test_data): New variable.
35550         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35552 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35554         * benchtests/bench-skeleton.c (startup): Fix coding style.
35556 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35558         [BZ #6809]
35559         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35560         negative infinity argument.
35561         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35562         negative infinity argument.
35563         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35564         negative infinity argument.
35565         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35566         domain errors.
35568 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35570         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35571         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35572         * iconv/iconv_prog.c (main): Likewise.
35573         * locale/programs/charmap-dir.c (charmap_readdir)
35574         (fopen_uncompressed): Likewise.
35575         * locale/programs/locfile.c (siblings_uncached)
35576         (write_locale_data): Use lstat64 instead of lstat.
35577         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35578         stat.
35580 2013-05-10  Andreas Jaeger  <aj@suse.de>
35582         [BZ #15395]
35583         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35584         localization.
35585         Include <locale.h>.
35587 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35589         * elf/dl-close.c (_dl_close_worker): Add comments.
35591 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35593         [BZ #15359]
35594         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35595         high part of pi/2.
35596         (__ieee754_rem_pio2l): Update comments.
35598         [BZ #15429]
35599         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35600         high part of pi/2.
35601         (__ieee754_rem_pio2l): Update comments.
35603         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35604         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35606         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35607         M_PI_4l.
35609         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35610         (M_PI_34_LOG10El): Likewise.
35611         (M_PI2_LOG10El): Likewise.
35612         (M_PI4_LOG10El): Likewise.
35613         (M_PI_LOG10El): Likewise.
35615 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35619 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35621         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35622         (MINUS_ZERO_INIT): Likewise.
35623         (PLUS_INFTY_INIT): Likewise.
35624         (MINUS_INFTY_INIT): Likewise.
35625         (QNAN_VALUE_INIT): Likewise.
35626         (MAX_VALUE_INIT): Likewise.
35627         (MIN_VALUE_INIT): Likewise.
35628         (MIN_SUBNORM_VALUE_INIT): Likewise.
35629         (plus_zero): Initialize with PLUS_ZERO_INIT.
35630         (minus_zero): Initialize with MINUS_ZERO_INIT.
35631         (plus_infty): Initialize with PLUS_INFTY_INIT.
35632         (minus_infty): Initialize with MINUS_INFTY_INIT.
35633         (qnan_value): Initialize with QNAN_VALUE_INIT.
35634         (max_value): Initialize with MAX_VALUE_INIT.
35635         (min_value): Initialize with MIN_VALUE_INIT.
35636         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35638         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35639         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35640         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35641         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35643         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35644         (RUN_TEST_2_f): Likewise.
35645         (RUN_TEST_ff_f): Likewise.
35646         (RUN_TEST_fi_f): Likewise.
35647         (RUN_TEST_fl_f): Likewise.
35648         (RUN_TEST_fff_f): Likewise.
35649         (RUN_TEST_c_f): Likewise.
35650         (RUN_TEST_f_f1): Likewise.
35651         (RUN_TEST_fF_f1): Likewise.
35652         (RUN_TEST_fI_f1): Likewise.
35653         (RUN_TEST_ffI_f1): Likewise.
35654         (RUN_TEST_c_c): Likewise.
35655         (RUN_TEST_cc_c): Likewise.
35656         (RUN_TEST_f_i): Likewise.
35657         (RUN_TEST_f_i_tg): Likewise.
35658         (RUN_TEST_ff_i_tg): Likewise.
35659         (RUN_TEST_f_b): Likewise.
35660         (RUN_TEST_f_b_tg): Likewise.
35661         (RUN_TEST_f_l): Likewise.
35662         (RUN_TEST_f_L): Likewise.
35663         (RUN_TEST_sincos): Likewise.
35664         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35665         whether to show exceptions.  Do not include ");\n" in return
35666         value.
35667         (special_functions): Output call to RUN_TEST_sincos instead of
35668         check_float calls.  Update calls to new_test.
35669         (parse_args): Output call to single RUN_TEST_* macro instead of
35670         check_* calls and other assignments.  Update calls to new_test.
35672         [BZ #2546]
35673         [BZ #2560]
35674         [BZ #5159]
35675         [BZ #15426]
35676         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35677         input to result for tgamma overflow.
35678         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35679         (gamma_coeff): New variable.
35680         (NCOEFF): New macro.
35681         (gamma_positive): New function.
35682         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35683         underflow here.  Use gamma_positive instead of exp (lgamma) for
35684         other arguments.
35685         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35686         (gamma_coeff): New variable.
35687         (NCOEFF): New macro.
35688         (gammaf_positive): New function.
35689         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35690         underflow here.  Use gamma_positive instead of exp (lgamma) for
35691         other arguments.
35692         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35693         (gamma_coeff): New variable.
35694         (NCOEFF): New macro.
35695         (gammal_positive): New function.
35696         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35697         underflow here.  Use gamma_positive instead of exp (lgamma) for
35698         other arguments.
35699         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35700         (gamma_coeff): New variable.
35701         (NCOEFF): New macro.
35702         (gammal_positive): New function.
35703         (__ieee754_gammal_r): Handle positive infinity, overflow and
35704         underflow here.  Handle NaN the same as positive infinity.  Remove
35705         check x < 0xffffffff for negative integers.  Use gamma_positive
35706         instead of exp (lgamma) for other arguments.
35707         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35708         (gamma_coeff): New variable.
35709         (NCOEFF): New macro.
35710         (gammal_positive): New function.
35711         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35712         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35713         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35714         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35715         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35716         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35717         * sysdeps/generic/math_private.h (__gamma_productf): New
35718         prototype.
35719         (__gamma_product): Likewise.
35720         (__gamma_productl): Likewise.
35721         * math/Makefile (libm-calls): Add gamma_product.
35722         * math/libm-test.inc (tgamma_test): Add more tests.
35723         * sysdeps/i386/fpu/libm-test-ulps: Update.
35724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35726 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35728         * benchtests/bench-skeleton.c (main): Preheat CPU.
35730 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35732         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35734 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35736         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35737         and _dl_skip_args_internal.
35739 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35741         * manual/message.texi (Message Translation): Talk about users.
35742         Message to key mapping impacts design.
35744 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35746         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35748         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35750         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35751         * sysdeps/wordsize-64/glob64.c: ... here.
35753         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35754         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35755         New macros.
35757         * debug/getlogin_r_chk.c: Moved to ...
35758         * login/getlogin_r_chk.c: ... here.
35759         * debug/Makefile (routines): Move getlogin_r_chk to ...
35760         * login/Makefile (routines): ... here.
35761         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35762         * login/Versions (libc: GLIBC_2.4): ... here.
35764         * io/poll.c (__poll): Renamed from poll.
35765         Add libc_hidden_def.
35766         (poll): Define as weak alias.
35768         * debug/ptsname_r_chk.c: Moved to ...
35769         * login/ptsname_r_chk.c: ... here.
35770         * debug/Makefile (routines): Move ptsname_r_chk to ...
35771         * login/Makefile (routines): ... here.
35772         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35773         * login/Versions (libc: GLIBC_2.4): ... here.
35775         * posix/getlogin.c: Moved to ...
35776         * login/getlogin.c: ... here.
35777         * posix/getlogin_r.c: Moved to ...
35778         * login/getlogin_r.c: ... here.
35779         * posix/getlogin_r.c: Moved to ...
35780         * login/getlogin_r.c: ... here.
35781         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35782         * login/Makefile (routines): ... here.
35783         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35784         * login/Versions (libc: GLIBC_2.0): ... here.
35786         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35787         (setrlimit): Define as weak alias.
35789         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35790         Call __ names for open, ftruncate, and close.
35791         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35792         (truncate): Define as weak alias.
35794 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35796         * math/gen-libm-test.pl (parse_args): Initialize x before each
35797         test of frexp, modf and remquo.
35799         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35800         test signgam value.
35802 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35804         [BZ #15418]
35805         [BZ #15419]
35806         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35807         internal tests.
35808         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35810 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35812         * elf/dl-writev.h: New file.
35813         * elf/dl-misc.c: Include it.
35814         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35815         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35817 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35819         * math/libm-test.inc (noXFails): Remove variable.
35820         (noXPasses): Likewise.
35821         (BUILD_COMPLEX_INT): Remove macro.
35822         (print_screen): Remove xfail argument.
35823         (print_screen_max_error): Likewise.
35824         (update_stats): Likewise.
35825         (print_max_error): Likewise.  Update calls to other affected
35826         functions.
35827         (print_complex_max_error): Likewise.
35828         (test_single_exception): Update calls to print_screen.
35829         (test_single_errno): Likewise.
35830         (check_float_internal): Remove xfail argument.  Update calls to
35831         other affected functions.
35832         (check_float): Likewise.
35833         (check_complex): Likewise.
35834         (check_int): Likewise.
35835         (check_long): Likewise.
35836         (check_bool): Likewise.
35837         (check_longlong): Likewise.
35838         (main): Don't print noXFails and noXPasses.
35839         * math/gen-libm-test.pl (top level): Don't mention expected
35840         failure handling in comment.
35841         (new_test): Don't handle expected failures.
35842         (parse_args): Don't mention expected failure handling in comment.
35843         (generate_testfile): Don't handle expected failures.
35844         (parse_ulps): Likewise.
35845         (print_ulps_file): Likewise.
35846         (get_failure): Remove function.
35847         (output_test): Don't handle expected failures.
35848         * make/README.libm-test: Don't mention expected failure handling.
35850         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35851         (minus_zero): Likewise.
35852         (plus_infty): Likewise.
35853         (minus_infty): Likewise.
35854         (qnan_value): Likewise.
35855         (max_value): Likewise.
35856         (min_value): Likewise.
35857         (min_subnorm_value): Likewise.
35858         (initialize): Do not initialize those variables dynamically.
35860 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35862         * io/open.c (__open_2): Moved to ...
35863         * io/open_2.c: ... this new file.
35864         * io/open64.c (__open64_2): Moved to ...
35865         * io/open64_2.c: ... this new file.
35866         * io/openat.c (__openat_2): Moved to ...
35867         * io/openat_2.c: ... this new file.
35868         * io/openat64.c (__openat64_2): Moved to ...
35869         * io/openat64_2.c: ... this new file.
35870         * io/Makefile (routines): Add them.
35871         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35872         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35873         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35874         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35875         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35876         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35877         (__openat64): Add hidden_ver.
35878         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35879         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35881         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35882         Separately conditionalize setting of GLRO(dl_sysinfo) so
35883         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35884         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35886 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35888         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35889         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35890         definition.
35891         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35892         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35893         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35894         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35895         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35897 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35899         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35900         test signgam value.
35902         * math/libm-test.inc (hypot_test): Do not use
35903         IGNORE_ZERO_INF_SIGN.
35905 2013-05-03  Andreas Jaeger  <aj@suse.de>
35907         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35908         Linux 3.9.
35909         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35910         (PF_MAX): Adjust for VSOCK change.
35912 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35916 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35918         [BZ #15264]
35919         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35920         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35921         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35923 2013-05-02  David S. Miller  <davem@davemloft.net>
35925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35927 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35929         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35931 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35933         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35935 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35937         [BZ #14952]
35938         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35939         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35940         Use __attribute__ ((__gnu_inline__)).
35941         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35942         Don't use __attribute__ ((__gnu_inline__)).
35944 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35946         [BZ #15423]
35947         * math/s_catan.c (__catan): Handle small real or imaginary part of
35948         input specially to avoid spurious underflow.
35949         * math/s_catanf.c (__catanf): Likewise.
35950         * math/s_catanh.c (__catanh): Likewise.
35951         * math/s_catanhf.c (__catanhf): Likewise.
35952         * math/s_catanhl.c (__catanhl): Likewise.
35953         * math/s_catanl.c (__catanl): Likewise.
35954         * math/libm-test.inc (catan_test): Add more tests.
35955         (catanh_test): Likewise.
35956         * sysdeps/i386/fpu/libm-test-ulps: Update.
35957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35959 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35963 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35965         [BZ #15416]
35966         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35967         accurately for denominator in atan2.
35968         * math/s_catanf.c (__catanf): Likewise.
35969         * math/s_catanh.c (__catanh): Likewise.
35970         * math/s_catanhf.c (__catanhf): Likewise.
35971         * math/s_catanhl.c (__catanhl): Likewise.
35972         * math/s_catanl.c (__catanl): Likewise.
35973         * math/libm-test.inc (catan_test): Add more tests.
35974         (catanh_test): Likewise.
35975         * sysdeps/i386/fpu/libm-test-ulps: Update.
35976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35978 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35980         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35982         * benchtests/Makefile (bench): Remove slow benchmarks.
35983         * benchtests/atan-inputs: Add slow benchmark inputs.
35984         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35985         (BENCH_FUNC): Accept variant offset.
35986         (VARIANT): Define.
35987         * benchtests/bench-skeleton.c (main): Run benchmark for each
35988         variant.
35989         * benchtests/cos-inputs: Add slow benchmark inputs.
35990         * benchtests/exp-inputs: Likewise.
35991         * benchtests/pow-inputs: Likewise.
35992         * benchtests/sin-inputs: Likewise.
35993         * benchtests/slowatan-inputs: Remove.
35994         * benchtests/slowatan.c: Remove.
35995         * benchtests/slowcos-inputs: Remove.
35996         * benchtests/slowcos.c: Remove.
35997         * benchtests/slowexp-inputs: Remove.
35998         * benchtests/slowexp.c: Remove.
35999         * benchtests/slowpow-inputs: Remove.
36000         * benchtests/slowpow.c: Remove.
36001         * benchtests/slowsin-inputs: Remove.
36002         * benchtests/slowsin.c: Remove.
36003         * benchtests/slowtan-inputs: Remove.
36004         * benchtests/slowtan.c: Remove.
36005         * benchtests/tan-inputs: Add slow benchmark inputs.
36006         * scripts/bench.pl: Parse comments and directives.
36008         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36009         in CPPFLAGS.
36010         ($(objpfx)bench-%.c): Remove *-ITER.
36011         * benchtests/bench-modf.c: Remove definition of ITER.
36012         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36013         (main): Loop for DURATION seconds instead of fixed number of
36014         iterations.
36015         * scripts/bench.pl: Don't expect iterations in parameters.
36017 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36019         * io/fchdir.c (__fchdir): Renamed from fchdir.
36020         (fchdir): Define as weak alias.
36022 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36024         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36025         (ERRNO_EDOM): Likewise.
36026         (ERRNO_ERANGE): Likewise.
36027         (noErrnoTests): New variable.
36028         (init_max_error): Set errno to 0.
36029         (test_single_errno): New function.
36030         (test_errno): Likewise.
36031         (check_float_internal): Call test_errno.  Set errno to 0.
36032         (check_complex): Refer to errno tests in comment.
36033         (check_int): Call test_errno.  Set errno to 0.
36034         (check_long): Likewise.
36035         (check_bool): Likewise.
36036         (check_longlong): Likewise.
36037         (cos_test): Use ERRNO_* flags for errno tests instead of
36038         check_int.
36039         (expm1_test): Likewise.
36040         (fmod_test): Likewise.
36041         (ilogb_test): Likewise.
36042         (lgamma_test): Likewise.
36043         (pow_test): Likewise.
36044         (remainder_test): Likewise.
36045         (sin_test): Likewise.
36046         (tan_test): Likewise.
36047         (yn_test): Likewise.
36048         (initialize): Set errno to 0.
36049         (main): Print number of errno tests.
36050         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36052 2013-04-29  Andreas Jaeger  <aj@suse.de>
36054         [BZ #15084]
36055         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36056         and RES_USEVC.
36058         [BZ #15085]
36059         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36060         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36061         unimplemented.
36063         [BZ #15380]
36064         * stdlib/random.c (__initstate): Return NULL if
36065         __initstate fails.
36067         [BZ #15086]
36068         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36069         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36070         RES_SNGLKUPREOP.
36072 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36076 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36078         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36079         of individual tests.
36080         (casin_test): Likewise.
36081         (casinh_test): Likewise.
36083 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36085         [BZ #15409]
36086         * math/s_catan.c (__catan): Handle arguments with large real or
36087         imaginary part separately without squaring.
36088         * math/s_catanf.c (__catanf): Likewise.
36089         * math/s_catanh.c (__catanh): Likewise.
36090         * math/s_catanhf.c (__catanhf): Likewise.
36091         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36092         and redefine.
36093         (__catanhl): Handle arguments with large real or imaginary part
36094         separately without squaring.
36095         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36096         and redefine.
36097         (__catanl): Handle arguments with large real or imaginary part
36098         separately without squaring.
36099         * math/libm-test.inc (catan_test): Add more tests.
36100         (catanh_test): Likewise.
36101         * sysdeps/i386/fpu/libm-test-ulps: Update.
36102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36104 2013-04-27  Andreas Jaeger  <aj@suse.de>
36106         [BZ #15007]
36107         * stdlib/stdlib.h: Update guards for qecvt.
36108         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36109         <stdlib.h>.
36111 2013-04-27  Allan McRae  <allan@archlinux.org>
36113         * sysdeps/i386/fpu/libm-test-ulps: Update.
36115 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36117         [BZ #15406]
36118         * math/s_catan.c: Include <float.h>.
36119         (__catan): Ensure underflow exception occurs for underflowed
36120         result.
36121         * math/s_catanf.c: Include <float.h>.
36122         (__catanf): Ensure underflow exception occurs for underflowed
36123         result.
36124         * math/s_catanh.c: Include <float.h>.
36125         (__catanh): Ensure underflow exception occurs for underflowed
36126         result.
36127         * math/s_catanhf.c: Include <float.h>.
36128         (__catanhf): Ensure underflow exception occurs for underflowed
36129         result.
36130         * math/s_catanhl.c: Include <float.h>.
36131         (__catanhl): Ensure underflow exception occurs for underflowed
36132         result.
36133         * math/s_catanl.c: Include <float.h>.
36134         (__catanl): Ensure underflow exception occurs for underflowed
36135         result.
36136         * math/libm-test.inc (catan_test): Add more tests.
36137         (catanh_test): Likewise.
36139         [BZ #15405]
36140         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36141         underflowed result.
36142         * math/s_ccoshf.c (__ccoshf): Likewise.
36143         * math/s_ccoshl.c (__ccoshl): Likewise.
36144         * math/s_csin.c (__csin): Likewise.
36145         * math/s_csinf.c (__csinf): Likewise.
36146         * math/s_csinh.c (__csinh): Likewise.
36147         * math/s_csinhf.c (__csinhf): Likewise.
36148         * math/s_csinhl.c (__csinhl): Likewise.
36149         * math/s_csinl.c (__csinl): Likewise.
36150         * math/libm-test.inc (ccos_test): Add more tests.
36151         (ccosh_test): Likewise.
36152         (csin_test): Likewise.
36153         (csinh_test): Likewise.
36155 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36157         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36158         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36159         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36160         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36161         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36162         powerpc/power5+/fpu folders.
36163         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36166 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36170 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36172         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36173         additions to variable.
36174         [$(config-machine) = x86_64] (modules-names): Likewise.
36175         ($(objpfx)tst-audit3): Remove dependency.
36176         ($(objpfx)tst-audit3.out): Likewise.
36177         ($(objpfx)tst-audit4): Likewise.
36178         ($(objpfx)tst-audit4.out): Likewise.
36179         ($(objpfx)tst-audit5): Likewise.
36180         ($(objpfx)tst-audit5.out): Likewise.
36181         ($(objpfx)tst-audit6): Likewise.
36182         ($(objpfx)tst-audit6.out): Likewise.
36183         ($(objpfx)tst-audit7): Likewise.
36184         ($(objpfx)tst-audit7.out): Likewise.
36185         (tst-audit3-ENV): Remove variable.
36186         (tst-audit4-ENV): Likewise.
36187         (tst-audit5-ENV): Likewise.
36188         (tst-audit6-ENV): Likewise.
36189         (tst-audit7-ENV): Likewise.
36190         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36191         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36192         addition to variable.
36193         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36194         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36195         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36196         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36197         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36198         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36199         tst-audit3, tst-audit4 and tst-audit5.
36200         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36201         tst-audit6 and tst-audit7.
36202         [$(subdir) = elf] (modules-names): Add audit modules for those
36203         tests.
36204         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36205         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36206         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36207         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36208         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36209         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36210         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36211         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36212         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36213         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36214         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36215         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36216         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36217         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36218         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36219         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36220         Likewise.
36221         [$(subdir) = elf && $(config-cflags-avx) = yes]
36222         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36223         [$(subdir) = elf && $(config-cflags-avx) = yes]
36224         (CFLAGS-tst-auditmod4a.c): Likewise.
36225         [$(subdir) = elf && $(config-cflags-avx) = yes]
36226         (CFLAGS-tst-auditmod4b.c): Likewise.
36227         [$(subdir) = elf && $(config-cflags-avx) = yes]
36228         (CFLAGS-tst-auditmod6b.c): Likewise.
36229         [$(subdir) = elf && $(config-cflags-avx) = yes]
36230         (CFLAGS-tst-auditmod6c.c): Likewise.
36231         [$(subdir) = elf && $(config-cflags-avx) = yes]
36232         (CFLAGS-tst-auditmod7b.c): Likewise.
36233         * elf/tst-audit3.c: Move to ...
36234         * sysdeps/x86_64/tst-audit3.c: ... here.
36235         * elf/tst-audit4.c: Move to ...
36236         * sysdeps/x86_64/tst-audit4.c: ... here.
36237         * elf/tst-audit5.c: Move to ...
36238         * sysdeps/x86_64/tst-audit5.c: ... here.
36239         * elf/tst-audit6.c: Move to ...
36240         * sysdeps/x86_64/tst-audit6.c: ... here.
36241         * elf/tst-audit7.c: Move to ...
36242         * sysdeps/x86_64/tst-audit7.c: ... here.
36243         * elf/tst-auditmod3a.c: Move to ...
36244         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36245         * elf/tst-auditmod3b.c: Move to ...
36246         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36247         * elf/tst-auditmod4a.c: Move to ...
36248         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36249         * elf/tst-auditmod4b.c: Move to ...
36250         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36251         * elf/tst-auditmod5a.c: Move to ...
36252         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36253         * elf/tst-auditmod5b.c: Move to ...
36254         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36255         * elf/tst-auditmod6a.c: Move to ...
36256         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36257         * elf/tst-auditmod6b.c: Move to ...
36258         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36259         * elf/tst-auditmod6c.c: Move to ...
36260         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36261         * elf/tst-auditmod7a.c: Move to ...
36262         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36263         * elf/tst-auditmod7b.c: Move to ...
36264         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36266 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36268         [BZ #15366]
36269         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36270         define unconditionally.
36271         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36272         define unconditionally.
36273         (INT8_C, INT16_C, etc.): Likewise.
36275 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36277         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36278         __ehdr_start with hidden visibility.
36280         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36282 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36284         * math/libm-test.inc (cos_test): Use accurate hex constants.
36285         (sincost_test): Likewise.
36287 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36289         * math/libm-test.inc (catan_test): Add more tests.
36290         (catanh_test): Likewise.
36292         * math/s_catanf.c (__catanf): Use suffixed floating-point
36293         constants.
36294         * math/s_catanhf.c (__catanhf): Likewise.
36295         * math/s_catanhl.c (__catanhl): Likewise.
36296         * math/s_catanl.c (__catanl): Likewise.
36298         [BZ #15394]
36299         * math/s_catan.c (__catan): Calculate imaginary part of result
36300         with log1p not log unless computing log of number close to 0.
36301         * math/s_catanf.c (__catanf): Likewise.
36302         * math/s_catanl.c (__catanl): Likewise.
36303         * math/s_catanh.c (__catanh): Calculate real part of result with
36304         log1p not log unless computing log of number close to 0.
36305         * math/s_catanhf.c (__catanhf): Likewise.
36306         * math/s_catanhl.c (__catanhl): Likewise.
36307         * math/libm-test.inc (catan_test): Add more tests.
36308         (catanh_test): Likewise.
36309         * sysdeps/i386/fpu/libm-test-ulps: Update.
36310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36312 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36314         * benchtests/Makefile: Mention files in which fast and slow
36315         paths of math functions are implemented.
36317 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36319         * sysdeps/posix/timespec_get.c: New file.
36321 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36323         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36324         POWER.
36325         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36326         for POWER.
36327         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36328         powerpc/power5/fpu folders.
36329         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36330         * benchtests/Makefile: Add modf testcase.
36331         * benchtests/bench-modf.c: New file: Benchmark test for mo
36333 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36335         [BZ #14888]
36336         * time/Makefile (tests): Add tst-strptime-whitespace.
36337         * time/strptime_l.c (get_number): Use ISSPACE.
36338         (__strptime_internal): Likewise.
36339         * time/tst-strptime-whitespace.c: New test case.
36341 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36343         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36344         member.
36345         (_nss_files_init): Set it here.
36347 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36349         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36350         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36351         unsigned.
36353 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36355         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36357 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36359         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36360         size just once.
36362 2013-04-21  David S. Miller  <davem@davemloft.net>
36364         * po/ru.po: Update Russion translation from translation project.
36366 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36368         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36369         and setfsgid.
36371 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36373         * configure.in: Remove i386 configure warning. Remove i386 case.
36374         * configure: Regenerate.
36375         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36376         Add example to error message.
36377         * sysdeps/i386/configure: Regenerate.
36379 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36381         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36382         slowtan.
36383         * benchtests/cos-inputs: New file.
36384         * benchtests/slowcos-inputs: New file.
36385         * benchtests/slowcos.c: New file.
36386         * benchtests/slowtan-inputs: New file.
36387         * benchtests/slowtan.c: New file.
36388         * benchtests/tan-inputs: New file.
36390 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36392         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36393         considered kosher.
36395 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36397         * benchtests/Makefile: Include cppflags-iterator.mk to add
36398         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36400         * Makefile.in (bench-clean): New target.
36401         * benchtests/Makefile (bench-clean): Likewise.
36403 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36405         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36407 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36409         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36411 2013-04-15  Andreas Schwab  <schwab@suse.de>
36413         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36414         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36415         * nscd/pwdcache.c (cache_addpw): Likewise.
36416         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36417         more than recsize.
36419 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36421         * benchtests/Makefile (bench): Write all output to
36422         bench-out.tmp together.
36424 2013-04-15  Andreas Schwab  <schwab@suse.de>
36426         * nscd/nscd.c (main): Don't fork again after closing files.
36428 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36430         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36432         * benchtests/Rules (bench-deps): Collect dependencies into a
36433         single variable.  Add Makefile to dependencies.
36434         ($(objpfx)bench-%.c): Depend on bench-deps.
36436 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36437             Xavier Roche  <roche+kml2@exalead.com>
36439         [BZ #15361]
36440         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36441         just that it's a file descriptor.
36442         * manual/llio.texi (Synchronizing AIO Operations): Update description
36443         for EBADF error from aio_fsync.
36445 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36447         * Rules (bench): Move target definition...
36448         * benchtests/Makefile: ... here.
36450 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36452         * math/libm-test.inc (cos_test): Fix PI/2 test.
36453         (sincos_test): Likewise.
36454         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36455         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36457 2013-04-11  Andreas Schwab  <schwab@suse.de>
36459         [BZ #13988]
36460         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36461         accept exponent character only when digits were seen.
36462         * stdio-common/Makefile (tests): Add bug26.
36463         * stdio-common/bug26.c: New file.
36465         [BZ #14293]
36466         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36467         non-freeable.
36469 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36471         * Makeconfig (rtld-prefix): Define built linker prefix.
36472         * Rules (run-bench): Use it.
36473         * math/Makefile (run-regen-ulps): Likewise.
36475         * Rules (bench): Remove eval.
36477 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36478             Roland McGrath  <roland@hack.frob.com>
36479             Ondrej Bilka  <neleai@seznam.cz>
36481         [BZ #15346]
36482         * time/getdate.c: Include ctype.h and alloca.h.
36483         (__getdate_r): Trim leading and trailing spaces of input.
36484         * time/tst-getdate.c (tests): Add tests with leading and
36485         trailing spaces.
36487 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36489         [BZ #14280]
36490         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36491         when computing value.
36493 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36495         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36496         Use testrun.sh to run libm tests.
36498         [BZ #15309]
36499         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36501 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36503         [BZ #15264]
36504         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36506 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36508         * Makefile.in (regen-ulps): New target.
36509         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36510         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36511         [ifneq (no,$(PERL)] (regen-ulps): New target.
36512         [ifeq (no,$(PERL)] (regen-ulps): New target.
36513         * math/libm-test.inc (ulps_file_name): Define.
36514         (output_dir): New variable.
36515         (options): Add "output-dir" option.
36516         (parse_opt): Handle 'o' case.
36517         (main): If output_dir is non-NULL use it as a prefix
36518         otherwise use "".
36519         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36521 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36523         [BZ #10060, #10062]
36524         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36525         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36526         fail configure if __sync_val_compare_and_swap is not inlined.
36527         * sysdeps/i386/configure: Regenerate.
36528         * configure.in: Build for i686 when configured for i386.
36529         * configure: Regenerate.
36530         * README: Remove i386 reference.
36532 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36534         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36535         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36537 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36539         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36540         (lmsnanval): New variables.
36541         (F): Add conversion tests.
36542         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36543         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36545         * stdio-common/tstdiomisc.c (F): Properly collect individual
36546         tests' results.
36548         [BZ #14686, #15336]
36549         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36550         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36551         Instead, use input NaN values or generate a qNaN by arithmetic
36552         operation.  Also fix bugs to comply with the standard.
36553         * math/libm-test.inc (remainder_test): Add more tests.
36555         [BZ #15335, #15342]
36556         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36557         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36558         input NaN values or generate a qNaN by arithmetic operation.
36560         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36561         unreachable code.
36563         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36564         definitions.
36566 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36568         [BZ #14478]
36569         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36570         underflowed result.
36571         * math/s_cexpf.c (__cexpf): Likewise.
36572         * math/s_cexpl.c (__cexpl): Likewise.
36573         * math/libm-test.inc (cexp_test): Add more tests.
36575 2013-04-03  Andreas Schwab  <schwab@suse.de>
36577         [BZ #15330]
36578         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36579         order arrays from heap if bigger than alloca cutoff.
36581 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36583         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36584         (SNAN_TESTS_double): Refer to GCC PR56831.
36585         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36586         GCC PR56828.
36588 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36590         * Rules (bench): Move bench.out after the run is complete.
36592         * Rules (bench): Echo currently running benchmark.
36594         * benchtests/Makefile (bench): Add atan and slowatan.
36595         * benchtests/atan-inputs: New file.
36596         * benchtests/slowatan-inputs: New file.
36597         * benchtests/slowatan.c: New file.
36599         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36600         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36601         its value.
36603         [BZ #15305]
36604         * sysdeps/unix/sysv/linux/kernel-features.h
36605         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36606         __ASSUME_XFS_RESTRICTED_CHOWN.
36607         * sysdeps/unix/sysv/linux/pathconf.c
36608         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36609         Save and restore errno.
36611 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36613         [BZ #15327]
36614         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36615         arguments using __kernel_casinh.
36616         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36617         arguments using __kernel_casinhf.
36618         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36619         arguments using __kernel_casinhl.
36620         * math/libm-test.inc (cacosh_test): Add more tests.
36621         * sysdeps/i386/fpu/libm-test-ulps: Update.
36622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36624 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36626         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36627         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36629         * bench/Makefile (bench): Add sin and slowsin.
36630         * benchtests/sin-inputs: New file.
36631         * benchtests/slowsin-inputs: New file.
36632         * benchtests/slowsin.c: New file.
36634         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36635         (bench): Add slowexp and slowpow.
36636         (exp-ITER): Increase iterations.
36637         (pow-ITER): Likewise.
36638         * benchtests/exp-inputs: Change input.
36639         * benchtests/pow-inputs: Likewise.
36640         * benchtests/slowexp-inputs: New file.
36641         * benchtests/slowexp.c: New file.
36642         * benchtests/slowpow-inputs: New file.
36643         * benchtests/slowpow.c: New file.
36645 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36647         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36648         instructions.
36649         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36650         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36651         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36652         * benchtests/Makefile: Add rint benchtest.
36653         * benchtests/rint-inputs: Input for rint benchtest.
36655 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36657         * Versions.def (libm): Add GLIBC_2.18.
36658         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36659         hidden libm prototypes.
36660         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36661         * math/Makefile (libm-calls): Add s_issignaling.
36662         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36663         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36664         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36665         declaration.
36666         * math/math.h [__USE_GNU] (issignaling): New macro.
36667         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36668         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36669         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36670         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36671         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36672         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36673         * manual/arith.texi (issignaling): New section.
36674         * manual/libm-err-tab.pl (@all_functions): Update comment.
36675         * math/gen-libm-test.pl (parse_args): Apply special handling for
36676         issignaling.
36677         * math/libm-test.inc (print_float, issignaling_test): New
36678         functions.
36679         (check_float_internal): Add issignaling checks.
36680         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36681         default definition.
36682         * sysdeps/powerpc/math-tests.h: New file.
36683         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36684         tests.
36685         * math/test-snan.c (TEST_FUNC): Likewise.
36687 2013-03-30  David S. Miller  <davem@davemloft.net>
36689         * po/de.po: Update from translation team.
36691 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36693         [BZ #10357]
36694         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36695         imaginary part less than 1.0 and real part less than 0.5
36696         specially.
36697         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36698         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36699         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36700         (cacos_test): Add more tests.
36701         (casin_test): Likewise.
36702         (casinh_test): Likewise.
36703         * sysdeps/i386/fpu/libm-test-ulps: Update.
36704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36706 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36708         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36709         ONE with its value.
36711         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36712         (__pow_mp): Replace ONE and MONE with their values.
36713         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36714         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36715         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36716         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36717         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36718         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36720         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36722         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36723         (__pow_mp): Replace ZERO and MZERO with their values.
36724         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36725         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36726         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36727         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36728         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36729         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36730         (__sqr): Likewise.
36732         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36734         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36736 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36738         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36739         Declare with __attribute__ ((weak)).
36740         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36741         Call __call_tls_dtors only if it's not NULL.
36743 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36745         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36746         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36747         magic __ehdr_start linker symbol if it's defined.
36748         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36749         them up here if it was already done.
36751         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36752         (_dl_aux_init): Use const in cast when setting it.
36753         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36754         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36755         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36757         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36758         Declare them here.
36759         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36760         * csu/libc-tls.c: Nor here.
36761         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36763         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36764         (__libc_message): Never call vsyslog.
36766 2013-03-28  Alan Modra  <amodra@gmail.com>
36768         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36769         Define as empty.
36770         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36771         Likewise.
36773 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36775         [BZ #15214]
36776         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36777         underflow.
36778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36780 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36782         [BZ #15304]
36783         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36784         Don't add gid passed as argument.
36786         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36788 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36790         [BZ #15307]
36791         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36792         imaginary part between 1.0 and 1.5 and real part less than 0.5
36793         specially.
36794         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36795         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36796         * math/libm-test.inc (cacos_test): Add more tests.
36797         (casin_test): Likewise.
36798         (casinh_test): Likewise.
36799         * sysdeps/i386/fpu/libm-test-ulps: Update.
36800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36802 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36804         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36805         constants.
36806         (norm): Likewise.
36807         (denorm): Likewise.
36808         (__dbl_mp): Likewise.
36809         (add_magnitudes): Likewise.
36810         (sub_magnitudes): Likewise.
36811         (__add): Likewise.
36812         (__sub): Likewise.
36813         (__mul): Likewise.
36814         (__sqr): Likewise.
36815         (__inv): Likewise.
36816         (__dvd): Likewise.
36818         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36819         commented code.
36820         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36821         (__dubcos): Likewise.
36822         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36823         (__ieee754_acos): Likewise.
36824         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36825         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36826         (__exp1): Likewise.
36827         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36828         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36829         (log1): Likewise.
36830         (my_log2): Likewise.
36831         (checkint): Likewise.
36832         * sysdeps/ieee754/dbl-64/e_remainder.c
36833         (__ieee754_remainder): Likewise.
36834         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36835         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36836         (bsloww): Likewise.
36837         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36839         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36840         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36841         MANTISSA_STORE_T to store computations on mantissa.  Use
36842         macros for rounding and division.
36843         (denorm): Likewise.
36844         (__dbl_mp): Likewise.
36845         (add_magnitudes): Likewise.
36846         (sub_magnitudes): Likewise.
36847         (__mul): Likewise.
36848         (__sqr): Likewise.
36849         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36850         powers of two in terms of TWOPOW macro.
36851         (mp_no): Make type of mantissa as MANTISSA_T.
36852         [!RADIXI]: Define RADIXI.
36853         [!TWO52]: Define TWO52.
36854         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36856 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36858         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36859         llroundl symbol when building for PPC32.
36861 2013-03-24  Mark H Weaver  <mhw@netris.org>
36863         * manual/arith.texi (Normalization Functions): Fix prototypes for
36864         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36866 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36868         [BZ #13889]
36869         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36870         high value to check if expl overflow.
36871         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36872         to check for underflow and overflow.
36873         * math/libm-test.inc: Add exp test.
36875 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36877         [BZ #11120]
36878         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36879         with NOT_IN_libc.
36881 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36883         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36884         symbol.
36886 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36888         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36889         wrap blocks consisting of several statements.
36891         * sysdeps/generic/math-tests.h: New file.
36892         * sysdeps/i386/fpu/math-tests.h: Likewise.
36893         * math/test-snan.c: Include it.
36894         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36896 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36898         [BZ #15285]
36899         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36900         (__ieee754_j0l): Do not improve calculations using cos of twice
36901         input for inputs above LDBL_MAX / 2.0L.
36902         (__ieee754_y0l): Likewise.
36903         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36904         (__ieee754_j1l): Do not improve calculations using cos of twice
36905         input for inputs above LDBL_MAX / 2.0L.
36906         (__ieee754_y1l): Likewise.
36907         * math/libm-test.inc (j0_test): Add another test.
36908         (j1_test): Likewise.
36909         (y0_test): Likewise.
36910         (y1_test): Likewise.
36911         * sysdeps/i386/fpu/libm-test-ulps: Update.
36913 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36915         * Rules ($(objpfx)bench-%.c): Include code from a C source
36916         file.
36918 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36920         [BZ #15287]
36921         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36922         imaginary part 1.0 and real part less than 0.5 specially.
36923         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36924         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36925         * math/libm-test.inc (cacos_test): Add more tests.
36926         (casin_test): Likewise.
36927         (casinh_test): Likewise.
36928         * sysdeps/i386/fpu/libm-test-ulps: Update.
36929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36931 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36933         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36934         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36936 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36938         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36939         * config.make.in (config-cflags-sse4): Remove variable.
36940         (config-cflags-avx): Likewise.
36941         (config-cflags-sse2avx): Likewise.
36942         (config-cflags-novzeroupper): Likewise.
36943         (config-asflags-i686): Likewise.
36944         (have-mfma4): Likewise.
36945         (have-as-vis3): Likewise.
36946         (MIG): Likewise.
36947         * configure.in (MIG): Do not AC_SUBST.
36948         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36949         (libc_cv_cc_sse4): Do not AC_SUBST.
36950         (libc_cv_cc_avx): Likewise.
36951         (libc_cv_cc_sse2avx): Likewise.
36952         (libc_cv_cc_novzeroupper): Likewise.
36953         (libc_cv_cc_fma4): Likewise.
36954         (libc_cv_as_i686): Likewise.
36955         (libc_cv_sparc_as_vis3): Likewise.
36956         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36957         LIBC_CONFIG_VAR.
36958         (config-asflags-i686): Likewise.
36959         (config-cflags-avx): Likewise.
36960         (config-cflags-sse2avx): Likewise.
36961         (have-mfma4): Likewise.
36962         (config-cflags-novzeroupper): Likewise.
36963         * sysdeps/mach/configure.in (MIG): Likewise.
36964         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36965         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36966         LIBC_CONFIG_VAR.
36967         (config-cflags-avx): Likewise.
36968         (config-cflags-sse2avx): Likewise.
36969         (have-mfma4): Likewise.
36970         (config-cflags-novzeroupper): Likewise.
36971         * configure: Regenerated.
36972         * sysdeps/i386/configure: Likewise.
36973         * sysdeps/mach/configure: Likewise.
36974         * sysdeps/sparc/configure: Likewise.
36975         * sysdeps/x86_64/configure: Likewise.
36977 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36979         [BZ #14812]
36980         * locale/programs/localedef.c (options): Put N_ translation marker
36981         on argument names, not just descriptions.
36983 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36985         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36987 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36989         [BZ #14176]
36990         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36992 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36994         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36995         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36996         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36997         [!BEFORE_ABORT] (before_abort): New function.
36998         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36999         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37000         (writev_for_fatal): New function.
37001         (WRITEV_FOR_FATAL): New macro; call that.
37002         (backtrace_and_maps): New function.
37003         (BEFORE_ABORT): New macro; call that.
37004         (struct str_list): Type removed.
37005         (__libc_message, __libc_fatal): Functions removed.
37006         Include <sysdeps/posix/libc_fatal.c> instead.
37008 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37010         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37011         constants.
37012         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37013         double constants.
37015 2013-03-19  Andreas Schwab  <schwab@suse.de>
37017         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37018         * sysdeps/gnu/configure: Regenerate.
37020         * configure.in: Substitute libc_cv_rtlddir.
37021         * configure: Regenerate.
37022         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37023         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37024         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37025         * elf/Makefile (install-others, CFLAGS-interp.c)
37026         (ldso_install, common-ldd-rewrite): Likewise.
37027         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37028         $(inst_slibdir)/$(rtld-installed-name).
37029         * scripts/rellns-sh: Add -p option.
37030         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37031         for source.
37033 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37035         * manual/nptl.texi: Renamed to ...
37036         * manual/threads.texi: ... this.
37037         * manual/Makefile (chapters): Update.
37039 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37041         [BZ #14812]
37042         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37043         on argument names, not just descriptions.
37044         * malloc/memusagestat.c (options): Likewise.
37045         * nss/getent.c (options): Likewise.
37047 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37049         [BZ #14812]
37050         * iconv/iconv_prog.c (options): Put N_ translation marker
37051         on argument names, not just descriptions.
37052         * iconv/iconvconfig.c (options): Likewise.
37054 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37056         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37057         implementation which is faster on all x86_64 architectures.
37058         Tested on AMD, Intel Nehalem, SNB, IVB.
37059         * sysdeps/x86_64/strnlen.S: Likewise.
37061         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37062         Remove all multiarch strlen and strnlen versions.
37063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37064         Remove strlen and strnlen related parts.
37066         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37067         Inline strlen part.
37068         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37070         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37071         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37072         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37073         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37074         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37075         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37077 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37079         * manual/memory.texi (Malloc Tunable Parameters):
37080         Sort parameters alphabetically. Add comments for missing entries.
37082 2013-03-17  David S. Miller  <davem@davemloft.net>
37084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37086 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37088         [BZ #15283]
37089         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37090         for arguments at most half maximum finite value.
37091         * math/libm-test.inc (j0_test): Add more tests.
37092         (j1_test): Likewise.
37093         (y0_test): Likewise.
37094         (y1_test): Likewise.
37095         * sysdeps/i386/fpu/libm-test-ulps: Update.
37096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37098         [BZ #14155]
37099         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37100         1 / x and functions P and Q for arguments above 0x1p256L.
37101         (__ieee754_y0l): Likewise.
37102         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37103         (__ieee754_y1l): Likewise.
37104         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37105         (j1_test): Likewise.
37106         (y0_test): Likewise.
37107         (y1_test): Likewise.
37109 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37111         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37112         variable.
37114 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37116         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37117         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37118         zero since it's initialized to EXEC_PAGESIZE.
37120         * sysdeps/unix/sysv/linux/ldsodefs.h
37121         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37122         * sysdeps/generic/ldsodefs.h: ... here.
37124 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37126         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37128         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37129         math/test-snan.c.
37130         * math/test-snan.c: Renamed from
37131         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37132         * math/Makefile (tests): Add test-snan.
37133         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37134         test-powerpc-snan.
37136         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37137         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37138         functions.
37139         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37140         __builtin_nan family of functions.
37141         * math/libm-test.inc (initialize): Initialize qnan_value with
37142         __builtin_nan family of functions.
37143         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37144         Remove variables.
37145         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37146         Remove functions.
37147         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37148         storage class.  Initialize qNaN_var and sNaN_var with
37149         __builtin_nan and __builtin_nans families of functions,
37150         respectively.
37152         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37153         (sqrt_test): Remove duplicate test with qNaN input.
37154         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37155         (round_test, signbit_test, significand_test): Note missing +/-Inf
37156         as well as qNaN tests.
37158         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37159         qNaN_var.  Fix a few strings, too.
37160         * math/libm-test.inc (nan_value): Rename to qnan_value.
37161         * math/gen-libm-test.pl (%beautify): Adjust to that.
37162         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37163         * math/test-misc.c (main): Likewise.
37164         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37165         to __qnan_bytes, and __qnan_union, respectively.
37166         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37167         Likewise.
37168         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37169         and lqnanval, respectively.
37170         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37171         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37172         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37173         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37175         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37176         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37177         doubles.
37179         * math/test-misc.c (main): Fix copy'n'pastos.
37180         * misc/tst-efgcvt.c (special): Likewise.
37182         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37183         Remove declarations.
37185 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37187         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37188         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37189         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37190         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37192 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37194         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37195         macro to return vdso values correctly in IFUNC implementations.
37196         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37197         Optimization by using IFUNC.
37199 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37200             Richard Henderson  <rth@redhat.com>
37201             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37203         * Makefile.in (bench): New target.
37204         * NEWS: Mention the benchmark framework.
37205         * Rules (bench): Likewise.
37206         (binaries-bench): Generate binaries for functions to
37207         benchmark.
37208         * benchtests/Makefile: New makefile for benchmark tests.
37209         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37210         programs.
37211         * benchtests/exp-inputs: New input file for EXP function.
37212         * benchtests/pow-inputs: New input file for POW function.
37213         * scripts/bench.pl: New script to generate source files for
37214         benchmark programs.
37216 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37218         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37219         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37220         computations on mantissa.  Use macros for rounding and
37221         division.
37222         (denorm): Likewise.
37223         (__dbl_mp): Likewise.
37224         (add_magnitudes): Likewise.
37225         (sub_magnitudes): Likewise.
37226         (__mul): Likewise.
37227         (__sqr): Likewise.
37228         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37229         powers of two in terms of TWOPOW macro.
37230         (mp_no): Make type of mantissa as MANTISSA_T.
37231         [!RADIXI]: Define RADIXI.
37232         [!TWO52]: Define TWO52.
37233         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37235         * manual/nptl.texi (cindex): Modify threads to pthreads.
37237 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37239         * sysdeps/x86_64/preconfigure: Regenerated.
37241 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37243         [BZ #14155]
37244         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37245         0x1p28 and above.
37246         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37247         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37248         0x1p28 and above.
37249         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37250         * math/libm-test.inc (j0_test): Do not allow one spurious
37251         underflow exception.
37252         (y1_test): Likewise.
37254 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37256         * manual/Makefile (chapters): Add nptl.
37257         * manual/debug.texi (Debugging Support): Add link to Threads
37258         chapter.
37259         * manual/nptl.texi: New file.
37261         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37263 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37265         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37266         for non-NULL pointer before the memory validity test. Pointed
37267         out by Holger Brunck <holger.brunck@keymile.com>.
37269 2013-03-13  Andreas Schwab  <schwab@suse.de>
37271         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37272         instead of .os.
37274 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37276         * timezone/zic.c: Update from tzcode 2013b.
37278 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37280         * manual/install.texi (Configuring and compiling):
37281         Mention i686 and i586.
37282         * INSTALL: Regenerate.
37284 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37286         * sysdeps/init_array/elf-init.c: New file.
37287         * csu/elf-init.c
37288         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37289         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37291         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37292         __gmon_start__ as global, but as static with a .preinit_array pointer.
37293         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37294         * sysdeps/init_array/crti.S: New file, empty except for comments.
37295         * sysdeps/init_array/crtn.S: Likewise.
37297 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37299         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37300         definining bcopy.
37301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37302         Remove Prefer_SSE_for_memop.
37303         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37304         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37305         HAS_PREFER_SSE_FOR_MEMOP.
37306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37307         memset-x86-64.
37308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37309         Remove bzero, memset ifunc support.
37310         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37311         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37312         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37313         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37315 2013-03-11  Andreas Schwab  <schwab@suse.de>
37317         [BZ #15234]
37318         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37319         by SHLIB_COMPAT.
37320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37321         (GLIBC_2.16): Remove pthread_atfork.
37323 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37325         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37326         (ptestcases.h): Likewise.
37328 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37330         * Makeconfig ($(common-objpfx)config.status): Depend on
37331         sysdeps/*/preconfigure{,.in} too.
37333 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37335         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37336         (__free_hook): Use void * instead of __malloc_ptr_t.
37337         (__malloc_hook): Likewise.
37338         (__realloc_hook): Likewise.
37339         (__memalign_hook): Likewise.
37340         (__after_morecore_hook): Likewise.
37341         * malloc/arena.c (save_malloc_hook): Likewise.
37342         (save_free_hook): Likewise.
37343         * malloc/hooks.c (malloc_hook_ini): Likewise.
37344         (realloc_hook_ini): Likewise.
37345         (memalign_hook_ini): Likewise.
37346         * malloc/malloc.c (malloc_hook_ini): Likewise.
37347         (realloc_hook_ini): Likewise.
37348         (memalign_hook_ini): Likewise.
37349         (__free_hook): Likewise.
37350         (__malloc_hook): Likewise.
37351         (__realloc_hook): Likewise.
37352         (__memalign_hook): Likewise.
37353         (__libc_malloc): Likewise.
37354         (__libc_free): Likewise.
37355         (__libc_realloc): Likewise.
37356         (__libc_memalign): Likewise.
37357         (__libc_valloc): Likewise.
37358         (__libc_pvalloc): Likewise.
37359         (__libc_calloc): Likewise.
37360         (__posix_memalign): Likewise.
37361         * malloc/morecore.c (__sbrk): Likewise.
37362         (__default_morecore): Likewise.
37364         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37366         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37367         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37368         __malloc_ptrdiff_t.
37370         * malloc/malloc.h (__malloc_size_t): Remove macro.
37371         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37372         __malloc_size_t.
37373         (old_memalign_hook): Likewise.
37374         (old_realloc_hook): Likewise.
37375         (struct hdr): Likewise.
37376         (flood): Likewise.
37377         (mallochook): Likewise.
37378         (memalignhook): Likewise.
37379         (reallochook): Likewise.
37380         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37381         (tr_old_realloc_hook): Likewise.
37382         (tr_old_memalign_hook): Likewise.
37383         (tr_mallochook): Likewise.
37384         (tr_reallochook): Likewise.
37385         (tr_memalignhook): Likewise.
37387 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37389         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37390         default_ldbl_pack and using as default implementation.
37391         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37392         implementation.
37393         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37394         redundant definition.
37395         (ldbl_insert_mantissa): Likewise.
37396         (ldbl_canonicalize): Likewise.
37397         (ldbl_nearbyint): Likewise.
37398         (ldbl_pack): Rename to ldbl_pack_ppc.
37399         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37400         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37401         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37403 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37406         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37407         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37408         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37410         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37411         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37412         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37414 2013-03-07  Andreas Jaeger  <aj@suse.de>
37416         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37417         bits/mman-linux.h.
37419 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37421         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37422         Include mpa.h and declare __MPEXP.
37423         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37424         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37425         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37426         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37427         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37428         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37429         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37431         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37432         (__slowpow): Use long double EXPL and LOGL functions to
37433         compute POW.
37434         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37435         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37436         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37437         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37438         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37439         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37442         intermediate variable to calculate exponent.
37443         (__sqr): Likewise.
37444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37445         Likewise.
37446         (__sqr): Likewise.
37448         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37449         [!NO__SQR]: Define __sqr.
37450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37451         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37452         sysdeps/ieee754/dbl-64/mpa.c.
37453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37455         [BZ #12723]
37456         * posix/Makefile (tests): Add tst-pathconf.
37457         * posix/tst-pathconf.c: New test case.
37458         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37459         _PC_PIPE_BUF.
37460         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37462 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37464         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37466 2013-03-06  Andreas Jaeger  <aj@suse.de>
37468         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37469         definition via __MAP_ANONYMOUS.
37471         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37472         it's not part of Linux headers.
37474         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37475         (MAP_HUGE_MASK): Define.
37477         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37478         Define.
37479         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37480         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37481         Define.
37482         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37483         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37484         Define.
37485         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37486         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37487         Define.
37488         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37490         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37491         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37492         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37493         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37494         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37495         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37497         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37498         Handle f2fs.
37500         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37501         Handle f2fs and efivarfs.
37503         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37504         f2fs.
37506         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37507         (EFIVARFS_MAGIC): Add.
37508         (F2FS_LINK_MAX): Add.
37510 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37512         * stdio-common/vfprintf.c: Replace __builtin_expect with
37513         __glibc_unlikely.
37515 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37517         [BZ #13550]
37518         * sysdeps/generic/bp-sym.h: Remove file.
37519         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37520         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37521         <bp-sym.h> and <bp-asm.h>.
37522         (__longjmp): Don't use BP_SYM.
37523         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37524         and <bp-asm.h>.
37525         (memcpy): Don't use BP_SYM.
37526         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37527         <bp-sym.h> and <bp-asm.h>.
37528         (memcpy): Don't use BP_SYM.
37529         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37530         <bp-asm.h>.
37531         (memcpy): Don't use BP_SYM.
37532         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37533         <bp-asm.h>.
37534         (memset): Don't use BP_SYM.
37535         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37536         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37537         (__bzero): Don't use BP_SYM.
37538         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37539         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37540         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37541         <bp-sym.h> and <bp-asm.h>.
37542         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37543         pointers.
37544         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37545         <bp-sym.h> and <bp-asm.h>.
37546         (memcpy): Don't use BP_SYM.
37547         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37548         <bp-sym.h> and <bp-asm.h>.
37549         (memset): Don't use BP_SYM.
37550         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37551         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37552         (__bzero): Don't use BP_SYM.
37553         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37554         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37555         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37556         <bp-sym.h> and <bp-asm.h>.
37557         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37558         pointers.
37559         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37560         <bp-sym.h> and <bp-asm.h>.
37561         (memcpy): Don't use BP_SYM.
37562         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37563         <bp-sym.h> and <bp-asm.h>.
37564         (memset): Don't use BP_SYM.
37565         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37566         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37567         (__bzero): Don't use BP_SYM.
37568         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37569         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37570         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37571         <bp-sym.h> and <bp-asm.h>.
37572         (__memchr): Don't use BP_SYM.
37573         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37574         <bp-sym.h> and <bp-asm.h>.
37575         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37576         pointers.
37577         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37578         <bp-sym.h> and <bp-asm.h>.
37579         (memcpy): Don't use BP_SYM.
37580         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37581         <bp-sym.h> and <bp-asm.h>.
37582         (__mempcpy): Don't use BP_SYM.
37583         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37584         <bp-sym.h> and <bp-asm.h>.
37585         (__memrchr): Don't use BP_SYM.
37586         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37587         <bp-sym.h> and <bp-asm.h>.
37588         (memset): Don't use BP_SYM.
37589         (__bzero): Likewise.
37590         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37591         <bp-sym.h> and <bp-asm.h>.
37592         (__rawmemchr): Don't use BP_SYM.
37593         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37594         <bp-sym.h> and <bp-asm.h>.
37595         (__STRCMP): Don't use BP_SYM.
37596         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37597         <bp-sym.h> and <bp-asm.h>.
37598         (strchr): Don't use BP_SYM.
37599         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37600         <bp-sym.h> and <bp-asm.h>.
37601         (__strchrnul): Don't use BP_SYM.
37602         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37603         <bp-sym.h> and <bp-asm.h>.
37604         (strlen): Don't use BP_SYM.
37605         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37606         <bp-sym.h> and <bp-asm.h>.
37607         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37608         pointers.
37609         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37610         <bp-sym.h> and <bp-asm.h>.
37611         (__strnlen): Don't use BP_SYM.
37612         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37613         <bp-sym.h> and <bp-asm.h>.
37614         (__GI__setjmp): Don't use BP_SYM.
37615         (_setjmp): Likewise.
37616         (__sigsetjmp): Likewise.
37617         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37618         (L(start_addresses)): Don't use BP_SYM.
37619         (_start): Likewise.
37620         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37621         <bp-asm.h>.
37622         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37623         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37624         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37625         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37626         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37627         <bp-asm.h>.
37628         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37629         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37630         about bounded pointers.
37631         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37632         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37633         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37634         <bp-asm.h>.
37635         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37636         about bounded pointers.  Remove GKM FIXME comments.
37637         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37638         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37639         <bp-asm.h>.
37640         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37641         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37642         Remove GKM FIXME comments.
37643         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37644         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37645         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37646         <bp-asm.h>.
37647         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37648         about bounded pointers.  Remove GKM FIXME comment.
37649         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37650         and <bp-asm.h>.
37651         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37652         pointers.
37653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37654         <bp-sym.h> and <bp-asm.h>.
37655         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37657         <bp-sym.h> and <bp-asm.h>.
37658         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37659         comment.
37661 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37663         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37664         call free(NULL).
37666 2013-03-05  David S. Miller  <davem@davemloft.net>
37668         * po/es.po: Update from translation team.
37670 2013-03-05  Andreas Jaeger  <aj@suse.de>
37672         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37673         <bits/mman-linux.h>.
37674         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37675         is fine.
37676         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37677         <bits/mman-linux.h> to end of file.
37678         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37679         is fine.
37680         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37681         <bits/mman-linux.h> to end of file.
37682         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37683         is fine.
37684         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37685         <bits/mman-linux.h> to end of file.
37687         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37688         (MCL_CURRENT, MCL_FUTURE): Define here.
37690 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37692         [BZ #15232]
37693         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37694         attribute_hidden.
37695         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37697 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37699         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37700         fourth parameter needed for rt_sigprocmask syscall.
37701         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37702         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37703         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37704         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37705         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37706         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37708 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37710         [BZ #13550]
37711         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37712         comment about bounded pointers.
37713         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37714         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37716 2013-03-04  Andreas Jaeger  <aj@suse.de>
37718         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37719         common definitions.
37721         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37722         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37723         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37724         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37725         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37726         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37728 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37730         [BZ #15055]
37731         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37732         __ieee754_sqrl instead of __sqrl.
37734 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37736         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37737         * sysdeps/powerpc/fpu_control.h: ... here.
37738         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37739         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37740         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37741         * sysdeps/powerpc/bits/mathinline.h: ... here.
37743 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37745         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37746         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37747         to just [NEED_DL_SYSINFO_DSO].
37748         * elf/dl-support.c: Likewise.
37749         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37750         * elf/rtld.c (dl_main): Likewise.
37751         * elf/setup-vdso.h (setup_vdso): Likewise.
37752         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37753         * sysdeps/unix/sysv/linux/dl-sysdep.c
37754         (_dl_discover_osversion): Likewise.
37756 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37758         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37759         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37761 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37763         * NEWS: Mention libm performance improvements and non-x86 PI
37764         futex support.
37766         * csu/libc-start.c (__pthread_initialize_minimal): Change
37767         function arguments.
37768         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37770 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37772         [BZ #13550]
37773         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37774         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37775         <bp-sym.h> and <bp-asm.h>.
37776         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37777         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37778         and <bp-asm.h>.
37779         (memcpy): Don't use BP_SYM.
37780         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37781         <bp-asm.h>.
37782         (__mpn_add_n): Don't use BP_SYM.
37783         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37784         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37785         and <bp-asm.h>.
37786         (__mpn_addmul_1): Don't use BP_SYM.
37787         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37788         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37789         <bp-sym.h>.
37790         (_setjmp): Don't use BP_SYM.
37791         (__novmx_setjmp): Likewise.
37792         (__GI__setjmp): Likewise.
37793         (__vmx_setjmp): Likewise.
37794         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37795         <bp-sym.h>.
37796         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37797         (__bzero): Don't use BP_SYM.
37798         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37799         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37800         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37801         <bp-sym.h> and <bp-asm.h>.
37802         (memcpy): Don't use BP_SYM.
37803         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37804         <bp-sym.h> and <bp-asm.h>.
37805         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37806         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37807         <bp-sym.h> and <bp-asm.h>.
37808         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37809         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37810         <bp-asm.h>.
37811         (__mpn_lshift): Don't use BP_SYM.
37812         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37813         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37814         <bp-asm.h>.
37815         (memset): Don't use BP_SYM.
37816         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37817         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37818         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37819         <bp-asm.h>.
37820         (__mpn_mul_1): Don't use BP_SYM.
37821         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37822         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37823         <bp-sym.h> and <bp-asm.h>.
37824         (memcmp): Don't use BP_SYM.
37825         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37826         <bp-sym.h> and <bp-asm.h>.
37827         (memcpy): Don't use BP_SYM.
37828         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37829         <bp-sym.h> and <bp-asm.h>.
37830         (memset): Don't use BP_SYM.
37831         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37832         <bp-sym.h> and <bp-asm.h>.
37833         (strncmp): Don't use BP_SYM.
37834         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37835         <bp-sym.h> and <bp-asm.h>.
37836         (memcpy): Don't use BP_SYM.
37837         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37838         <bp-sym.h> and <bp-asm.h>.
37839         (memset): Don't use BP_SYM.
37840         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37841         <bp-sym.h> and <bp-asm.h>.
37842         (__memchr): Don't use BP_SYM.
37843         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37844         <bp-sym.h> and <bp-asm.h>.
37845         (memcmp): Don't use BP_SYM.
37846         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37847         <bp-sym.h> and <bp-asm.h>.
37848         (memcpy): Don't use BP_SYM.
37849         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37850         <bp-sym.h> and <bp-asm.h>.
37851         (__mempcpy): Don't use BP_SYM.
37852         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37853         <bp-sym.h> and <bp-asm.h>.
37854         (__memrchr): Don't use BP_SYM.
37855         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37856         <bp-sym.h> and <bp-asm.h>.
37857         (memset): Don't use BP_SYM.
37858         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37859         <bp-sym.h> and <bp-asm.h>.
37860         (__rawmemchr): Don't use BP_SYM.
37861         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37862         <bp-sym.h> and <bp-asm.h>.
37863         (__STRCMP): Don't use BP_SYM.
37864         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37865         <bp-sym.h> and <bp-asm.h>.
37866         (strchr): Don't use BP_SYM.
37867         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37868         <bp-sym.h> and <bp-asm.h>.
37869         (__strchrnul): Don't use BP_SYM.
37870         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37871         <bp-sym.h> and <bp-asm.h>.
37872         (strlen): Don't use BP_SYM.
37873         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37874         <bp-sym.h> and <bp-asm.h>.
37875         (strncmp): Don't use BP_SYM.
37876         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37877         <bp-sym.h> and <bp-asm.h>.
37878         (__strnlen): Don't use BP_SYM.
37879         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37880         <bp-asm.h>.
37881         (__mpn_rshift): Don't use BP_SYM.
37882         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37883         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37884         <bp-sym.h> and <bp-asm.h>.
37885         (__sigsetjmp): Don't use BP_SYM.
37886         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37887         (L(start_addresses)): Don't use BP_SYM.
37888         (_start): Likewise.
37889         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37890         <bp-asm.h>.
37891         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37892         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37893         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37894         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37895         <bp-asm.h>.
37896         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37897         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37898         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37899         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37900         <bp-asm.h>.
37901         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37902         comments.
37903         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37904         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37905         <bp-asm.h>.
37906         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37907         FIXME comments.
37908         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37909         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37910         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37911         <bp-asm.h>.
37912         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37913         comment.
37914         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37915         and <bp-asm.h>.
37916         (strncmp): Don't use BP_SYM,
37917         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37918         <bp-asm.h>.
37919         (__mpn_sub_n): Don't use BP_SYM.
37920         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37921         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37922         and <bp-asm.h>.
37923         (__mpn_submul_1): Don't use BP_SYM.
37924         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37926         <bp-sym.h> and <bp-asm.h>.
37927         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37929         <bp-sym.h> and <bp-asm.h>.
37930         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37931         comment.
37933 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37936         Use ZK to minimize writes to Z.
37937         (sub_magnitudes): Simplify code a bit.
37938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37939         Use ZK to minimize writes to Z.
37940         (sub_magnitudes): Simplify code a bit.
37942 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37944         * csu/gmon-start.c: Add special exception to license text.
37946 2013-02-27  Richard Henderson  <rth@redhat.com>
37948         * scripts/config.guess: Update from config.git.
37949         * scripts/config.sub: Likewise.
37951 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37953         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37955         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37957         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37959         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37961         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37963 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37965         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37966         [$(build-shared = yes].
37968 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37970         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37971         (__mul): Reduce iterations for calculating mantissa.
37973         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37974         MPTWO.
37975         (__mpranred): Likewise.
37977         [BZ #15160]
37978         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37979         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37981 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37983         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37984         Define __attribute__.
37986 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37988         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37989         unused.
37990         * posix/regex_internal.h (__attribute): Remove.
37991         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37992         (re_string_context_at): Likewise.
37993         (bitset_not): Use __attribute__ and mark function as possibly
37994         unused.
37995         (bitset_merge): Likewise.
37996         (bitset_mask): Likewise.
37997         (re_string_char_size_at): Likewise.
37998         (re_string_wchar_at): Likewise.
37999         (re_string_elem_size_at): Likewise.
38001 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38003         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38004         code.
38005         (cc32): Likewise.
38007         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38008         (__acr): Likewise.
38009         (__cpy): Likewise.
38010         (norm): Likewise.
38011         (denorm): Likewise.
38012         (__dbl_mp): Likewise.
38013         (add_magnitudes): Likewise.
38014         (sub_magnitudes): Likewise.
38015         (__mul): Likewise.
38016         (__inv): Likewise.
38018         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38019         style.
38021         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38022         style.
38024         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38025         code.
38027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38028         up changes with default code.
38029         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38030         Likewise.
38032 2013-02-24  Allan McRae  <allan@archlinux.org>
38034         * manual/socket.texi (The Internet Namespace): Order menu items
38035         to match that in the file.
38037         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38038         node listing of the info page menu.
38040 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38042         [BZ #13550]
38043         * sysdeps/i386/bp-asm.h: Remove file.
38044         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38045         (PARMS): Do not use macros from bp-asm.h.
38046         (S1): Likewise.
38047         (S2): Likewise.
38048         (SIZE): Likewise.
38049         (__mpn_add_n): Do not use BP_SYM
38050         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38051         "bp-asm.h".
38052         (PARMS): Do not use macros from bp-asm.h.
38053         (S1): Likewise.
38054         (SIZE): Likewise.
38055         (__mpn_addmul_1): Do not use BP_SYM
38056         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38057         "bp-asm.h".
38058         (PARMS): Do not use macros from bp-asm.h.
38059         (SIGMSK): Likewise.
38060         (_setjmp): Likewise.  Do not use BP_SYM.
38061         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38062         "bp-asm.h".
38063         (PARMS): Do not use macros from bp-asm.h.
38064         (SIGMSK): Likewise.
38065         (setjmp): Likewise.  Do not use BP_SYM.
38066         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38067         "bp-asm.h".
38068         (PARMS): Do not use macros from bp-asm.h.
38069         (__frexp): Do not use BP_SYM.
38070         (frexp): Likewise.
38071         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38072         "bp-asm.h".
38073         (PARMS): Do not use macros from bp-asm.h.
38074         (__frexpf): Do not use BP_SYM.
38075         (frexpf): Likewise.
38076         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38077         "bp-asm.h".
38078         (PARMS): Do not use macros from bp-asm.h.
38079         (__frexpl): Do not use BP_SYM.
38080         (frexpl): Likewise.
38081         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38082         "bp-asm.h".
38083         (PARMS): Do not use macros from bp-asm.h.
38084         (__remquo): Do not use BP_SYM.
38085         (remquo): Likewise.
38086         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38087         "bp-asm.h".
38088         (PARMS): Do not use macros from bp-asm.h.
38089         (__remquof): Do not use BP_SYM.
38090         (remquof): Likewise.
38091         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38092         "bp-asm.h".
38093         (PARMS): Do not use macros from bp-asm.h.
38094         (__remquol): Do not use BP_SYM.
38095         (remquol): Likewise.
38096         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38097         "bp-asm.h".
38098         (PARMS): Do not use macros from bp-asm.h.
38099         (DEST): Likewise.
38100         (SRC): Likewise.
38101         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38102         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38103         "bp-asm.h".
38104         (PARMS): Do not use macros from bp-asm.h.
38105         (strlen): Do not use BP_SYM.
38106         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38107         "bp-asm.h".
38108         (PARMS): Do not use macros from bp-asm.h.
38109         (S1): Likewise.
38110         (S2): Likewise.
38111         (SIZE): Likewise.
38112         (__mpn_add_n): Do not use BP_SYM.
38113         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38114         "bp-asm.h".
38115         (PARMS): Do not use macros from bp-asm.h.
38116         (S1): Likewise.
38117         (SIZE): Likewise.
38118         (__mpn_addmul_1): Do not use BP_SYM.
38119         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38120         weak_alias.
38121         (bzero): Likewise.
38122         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38123         "bp-asm.h".
38124         (PARMS): Do not use macros from bp-asm.h.
38125         (S): Likewise.
38126         (SIZE): Likewise.
38127         (__mpn_lshift): Do not use BP_SYM.
38128         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38129         "bp-asm.h".
38130         (PARMS): Do not use macros from bp-asm.h.
38131         (DEST): Likewise.
38132         (SRC): Likewise.
38133         (LEN): Likewise.
38134         (memcpy): Likewise.  Do not use BP_SYM.
38135         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38136         libc_hidden_def and weak_alias.
38137         (mempcpy): Do not use BP_SYM in weak_alias.
38138         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38139         "bp-asm.h".
38140         (PARMS): Do not use macros from bp-asm.h.
38141         (DEST): Likewise.
38142         (LEN): Likewise.
38143         [!BZERO_P] (CHR): Likewise.
38144         (memset): Likewise.  Do not use BP_SYM.
38145         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38146         "bp-asm.h".
38147         (PARMS): Do not use macros from bp-asm.h.
38148         (S1): Likewise.
38149         (SIZE): Likewise.
38150         (__mpn_mul_1): Do not use BP_SYM.
38151         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38152         "bp-asm.h".
38153         (PARMS): Do not use macros from bp-asm.h.
38154         (S): Likewise.
38155         (SIZE): Likewise.
38156         (__mpn_rshift): Do not use BP_SYM.
38157         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38158         "bp-asm.h".
38159         (PARMS): Do not use macros from bp-asm.h.
38160         (STR): Likewise.
38161         (CHR): Likewise.
38162         (strchr): Likewise.  Do not use BP_SYM.
38163         (index): Do not use BP_SYM in weak_alias.
38164         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38165         "bp-asm.h".
38166         (PARMS): Do not use macros from bp-asm.h.
38167         (DEST): Likewise.
38168         (SRC): Likewise.
38169         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38170         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38171         "bp-asm.h".
38172         (PARMS): Do not use macros from bp-asm.h.
38173         (strlen): Do not use BP_SYM.
38174         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38175         "bp-asm.h".
38176         (PARMS): Do not use macros from bp-asm.h.
38177         (S1): Likewise.
38178         (S2): Likewise.
38179         (SIZE): Likewise.
38180         (__mpn_sub_n): Do not use BP_SYM.
38181         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38182         "bp-asm.h".
38183         (PARMS): Do not use macros from bp-asm.h.
38184         (S1): Likewise.
38185         (SIZE): Likewise.
38186         (__mpn_submul_1): Do not use BP_SYM.
38187         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38188         "bp-asm.h".
38189         (PARMS): Do not use macros from bp-asm.h.
38190         (S1): Likewise.
38191         (S2): Likewise.
38192         (SIZE): Likewise.
38193         (__mpn_add_n): Do not use BP_SYM.
38194         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38195         weak_alias.
38196         (bzero): Likewise.
38197         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38198         "bp-asm.h".
38199         (PARMS): Do not use macros from bp-asm.h.
38200         (BLK2): Likewise.
38201         (LEN): Likewise.
38202         (memcmp): Do not use BP_SYM.
38203         (bcmp): Do not use BP_SYM in weak_alias.
38204         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38205         "bp-asm.h".
38206         (PARMS): Do not use macros from bp-asm.h.
38207         (DEST): Likewise.
38208         (SRC): Likewise.
38209         (LEN): Likewise.
38210         (memcpy): Likewise.  Do not use BP_SYM.
38211         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38212         "bp-asm.h".
38213         (PARMS): Do not use macros from bp-asm.h.
38214         (DEST): Likewise.
38215         (SRC): Likewise.
38216         (LEN): Likewise.
38217         (memmove): Likewise.  Do not use BP_SYM.
38218         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38219         "bp-asm.h".
38220         (PARMS): Do not use macros from bp-asm.h.
38221         (DEST): Likewise.
38222         (SRC): Likewise.
38223         (LEN): Likewise.
38224         (__mempcpy): Likewise.  Do not use BP_SYM.
38225         (mempcpy): Do not use BP_SYM in weak_alias.
38226         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38227         "bp-asm.h".
38228         (PARMS): Do not use macros from bp-asm.h.
38229         (DEST): Likewise.
38230         (LEN): Likewise.
38231         [!BZERO_P] (CHR): Likewise.
38232         (memset): Likewise.  Do not use BP_SYM.
38233         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38234         "bp-asm.h".
38235         (PARMS): Do not use macros from bp-asm.h.
38236         (STR2): Likewise.
38237         (strcmp): Do not use BP_SYM.
38238         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38239         "bp-asm.h".
38240         (PARMS): Do not use macros from bp-asm.h.
38241         (STR): Likewise.
38242         (DELIM): Likewise.
38243         [USE_AS_STRTOK_R] (SAVE): Likewise.
38244         (FUNCTION): Likewise.  Do not use BP_SYM.
38245         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38246         aliases.
38247         (strtok_r): Likewise.
38248         (__GI___strtok_r): Likewise.
38249         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38250         (PARMS): Do not use macros from bp-asm.h.
38251         (S): Likewise.
38252         (SIZE): Likewise.
38253         (__mpn_lshift): Do not use BP_SYM.
38254         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38255         (PARMS): Do not use macros from bp-asm.h.
38256         (STR): Likewise.
38257         (CHR): Likewise.
38258         (__memchr): Do not use BP_SYM.
38259         (memchr): Do not use BP_SYM in weak_alias.
38260         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38261         (PARMS): Do not use macros from bp-asm.h.
38262         (BLK2): Likewise.
38263         (LEN): Likewise.
38264         (memcmp): Do not use BP_SYM.
38265         (bcmp): Do not use BP_SYM in weak_alias.
38266         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38267         (PARMS): Do not use macros from bp-asm.h.
38268         (S1): Likewise.
38269         (SIZE): Likewise.
38270         (__mpn_mul_1): Do not use BP_SYM.
38271         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38272         "bp-asm.h".
38273         (PARMS): Do not use macros from bp-asm.h.
38274         (STR): Likewise.
38275         (CHR): Likewise.
38276         (__rawmemchr): Do not use BP_SYM.
38277         (rawmemchr): Do not use BP_SYM in weak_alias.
38278         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38279         (PARMS): Do not use macros from bp-asm.h.
38280         (S): Likewise.
38281         (SIZE): Likewise.
38282         (__mpn_rshift): Do not use BP_SYM.
38283         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38284         (PARMS): Do not use macros from bp-asm.h.
38285         (SIGMSK): Likewise.
38286         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38287         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38288         (_start): Do not use BP_SYM.
38289         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38290         (PARMS): Do not use macros from bp-asm.h.
38291         (DEST): Likewise.
38292         (SRC): Likewise.
38293         (__stpcpy): Likewise.  Do not use BP_SYM.
38294         (stpcpy): Do not use BP_SYM in weak_alias.
38295         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38296         "bp-asm.h".
38297         (PARMS): Do not use macros from bp-asm.h.
38298         (DEST): Likewise.
38299         (SRC): Likewise.
38300         (LEN): Likewise.
38301         (__stpncpy): Likewise.  Do not use BP_SYM.
38302         (stpncpy): Do not use BP_SYM in weak_alias.
38303         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38304         (PARMS): Do not use macros from bp-asm.h.
38305         (STR): Likewise.
38306         (CHR): Likewise.
38307         (strchr): Likewise.  Do not use BP_SYM.
38308         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38309         "bp-asm.h".
38310         (PARMS): Do not use macros from bp-asm.h.
38311         (STR): Likewise.
38312         (CHR): Likewise.
38313         (__strchrnul): Likewise.  Do not use BP_SYM.
38314         (strchrnul): Do not use BP_SYM in weak_alias.
38315         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38316         "bp-asm.h".
38317         (PARMS): Do not use macros from bp-asm.h.
38318         (STOP): Likewise.
38319         (strcspn): Do not use BP_SYM.
38320         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38321         "bp-asm.h".
38322         (PARMS): Do not use macros from bp-asm.h.
38323         (STR): Likewise.
38324         (STOP): Likewise.
38325         (strpbrk): Likewise.  Do not use BP_SYM.
38326         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38327         "bp-asm.h".
38328         (PARMS): Do not use macros from bp-asm.h.
38329         (STR): Likewise.
38330         (CHR): Likewise.
38331         (strrchr): Likewise.  Do not use BP_SYM.
38332         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38333         (PARMS): Do not use macros from bp-asm.h.
38334         (SKIP): Likewise.
38335         (strspn): Do not use BP_SYM.
38336         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38337         (PARMS): Do not use macros from bp-asm.h.
38338         (STR): Likewise.
38339         (DELIM): Likewise.
38340         (SAVE): Likewise.
38341         (FUNCTION): Likewise.  Do not use BP_SYM.
38342         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38343         aliases.
38344         (strtok_r): Likewise.
38345         (__GI___strtok_r): Likewise.
38346         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38347         (PARMS): Do not use macros from bp-asm.h.
38348         (S1): Likewise.
38349         (S2): Likewise.
38350         (SIZE): Likewise.
38351         (__mpn_sub_n): Do not use BP_SYM.
38352         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38353         "bp-asm.h".
38354         (PARMS): Do not use macros from bp-asm.h.
38355         (S1): Likewise.
38356         (SIZE): Likewise.
38357         (__mpn_submul_1): Do not use BP_SYM.
38358         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38359         <bp-sym.h>.
38360         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38361         and <bp-asm.h>.
38362         (PARMS): Do not use macros from bp-asm.h.
38363         (FLAGS): Likewise.
38364         (PTID): Likewise.
38365         (TLS): Likewise.
38366         (CTID): Likewise.
38367         (__clone): Do not use BP_SYM.
38368         (clone): Do not use BP_SYM in weak_alias.
38369         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38370         and <bp-asm.h>.
38371         (PARMS): Do not use macros from bp-asm.h.
38372         (LEN): Likewise.
38373         (__mmap64): Do not use BP_SYM.
38374         (mmap64): Do not use BP_SYM in weak_alias.
38375         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38376         <bp-sym.h> and <bp-asm.h>.
38377         (PARMS): Do not use macros from bp-asm.h.
38378         (__posix_fadvise64_l64): Do not use BP_SYM.
38379         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38380         (PARMS): Do not use macros from bp-asm.h.
38381         (NSOPS): Likewise.
38382         (semtimedop): Do not use BP_SYM.
38383         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38384         and <bp-asm.h>.
38386 2013-02-21  Allan McRae  <allan@archlinux.org>
38388         * manual/message.texi (Charset conversion in gettext):
38389         Move @end statement to beginning of line.
38391 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38394         static.
38395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38396         Likewise.
38398         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38399         (denorm): Likewise.
38400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38403 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38405         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38406         tail-call to the resolved function if pltexit isn't needed.
38408 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38411         or Y being zero as being unlikely.
38412         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38413         Likewise.
38415 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38417         * manual/nss.texi (System Databases and Name Service Switch):
38418         Remove frobnicate @pxref.
38420 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38422         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38423         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38425 2013-02-20  Petr Machata  <pmachata@redhat.com>
38427         * elf/elf.h (R_ARM_TARGET1): New macro.
38428         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38429         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38430         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38431         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38432         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38433         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38434         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38435         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38436         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38437         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38438         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38439         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38440         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38441         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38442         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38443         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38444         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38445         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38446         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38447         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38448         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38449         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38450         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38451         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38452         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38453         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38454         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38455         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38456         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38457         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38458         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38459         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38460         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38461         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38462         (R_ARM_THM_GOT_BREL12): Likewise.
38463         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38464         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38465         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38466         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38467         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38468         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38469         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38470         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38471         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38473 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38475         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38476         __attribute_used__ to __attribute__ ((unused)).
38478 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38480         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38481         powerpc mpa.c.
38482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38483         comment formatting.
38484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38486 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38488         [BZ #13550]
38489         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38490         Remove macro.
38491         (ENTER): Remove both macro definitions.
38492         (LEAVE): Likewise.
38493         (CHECK_BOUNDS_LOW): Likewise.
38494         (CHECK_BOUNDS_HIGH): Likewise.
38495         (CHECK_BOUNDS_BOTH): Likewise.
38496         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38497         (RETURN_BOUNDED_POINTER): Likewise.
38498         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38499         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38500         (POP_ERRNO_LOCATION_RETURN): Likewise.
38501         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38502         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38503         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38504         macros.
38505         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38506         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38507         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38508         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38509         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38510         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38511         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38512         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38513         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38514         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38515         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38516         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38517         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38518         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38519         removed macros.
38520         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38521         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38522         macros.
38523         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38524         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38525         * sysdeps/i386/i586/memset.S (memset): Likewise.
38526         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38527         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38528         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38529         macros.
38530         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38531         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38532         Change uses of L(2) to L(out).
38533         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38534         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38535         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38536         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38537         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38538         removed macros.
38539         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38540         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38541         macros.
38542         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38543         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38544         (RETURN): Do not use macro LEAVE.
38545         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38546         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38547         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38548         * sysdeps/i386/i686/memset.S (memset): Likewise.
38549         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38550         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38551         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38552         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38553         Likewise.
38554         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38555         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38556         L(1_2) and L(1_3) into L(1).
38557         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38558         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38559         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38560         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38561         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38562         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38563         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38564         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38565         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38566         macros.
38567         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38568         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38569         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38570         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38571         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38572         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38573         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38574         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38575         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38576         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38577         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38578         * sysdeps/i386/strspn.S (strspn): Likewise.
38579         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38580         conditional code.
38581         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38582         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38583         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38584         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38585         L(1_3) into L(1_1).
38586         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38587         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38588         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38589         macros.
38590         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38592 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38594         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38595         macro.
38597 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38599         * math/atest-exp.c (exp_mpn): Remove ROUND.
38600         * math/atest-exp2.c (exp_mpn): Likewise.
38601         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38603         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38604         * stdlib/tst-tls-atexit-lib.c: Likewise.
38605         * stdlib/tst-tls-atexit.c: Likewise.
38607 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38609         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38610         and __attribute_alloc_size__.
38612 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38614         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38615         __attribute_alloc_size__.
38616         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38617         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38619 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38621         * include/programs/xmalloc.h: New file.
38622         * catgets/gencat.c: Include it.
38623         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38624         * elf/pldd.c: Likewise.
38625         * iconv/iconv_charmap.c: Likewise.
38626         * iconv/iconvconfig.c: Likewise.
38627         * iconv/strtab.c: Likewise.
38628         * locale/programs/locale.c: Likewise.
38629         * locale/programs/localedef.h: Likewise.
38630         * locale/programs/simple-hash.c: Likewise.
38631         * nscd/nscd.h: Likewise.
38632         * nss/makedb.c: Likewise.
38633         * sysdeps/generic/ldconfig.h: Likewise.
38635 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38637         * Versions.def: Add GLIBC_2.18.
38638         * include/link.h (struct link_map): New member l_tls_dtor_count.
38639         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38640         (__call_tls_dtors): Likewise.
38641         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38642         __cxa_thread_atexit_impl.
38643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38644         Likewise.
38645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38646         Likewise.
38647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38648         Likewise.
38649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38650         Likewise.
38651         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38653         Likewise.
38654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38655         Likewise.
38656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38658         Likewise.
38659         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38660         (tests): Add test case tst-tls-atexit.
38661         (modules-names): Add shared library for tst-tls-atexit.
38662         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38663         (GLIBC_PRIVATE): Add __call_tls_dtors.
38664         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38665         for libstdc++.
38666         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38667         * stdlib/tst-tls-atexit.c: New test case.
38668         * stdlib/tst-tls-atexit-lib.c: New test case.
38670         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38672         * elf/Versions (ld): Add _dl_find_dso_for_object.
38673         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38674         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38675         (dl_open_worker): Use _dl_find_dso_for_object.
38676         * elf/dl-sym.c (do_sym): Likewise.
38677         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38679 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38681         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38682         Syntactic changes only.
38683         (_dl_runtime_profile): Do a tail-call to the resolved function.
38685 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38687         [BZ #13550]
38688         * sysdeps/x86_64/bp-asm.h: Remove file.
38689         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38690         <bp-sym.h> and <bp-asm.h>.
38691         (__clone): Do not use BP_SYM.
38692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38693         <bp-sym.h> and <bp-asm.h>.
38694         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38695         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38696         "bp-asm.h".
38697         (_setjmp): Do not use BP_SYM.
38698         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38699         "bp-asm.h".
38700         (setjmp): Do not use BP_SYM.
38701         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38702         libc_hidden_def.
38703         (mempcpy): Do not use BP_SYM in weak_alias.
38704         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38705         "bp-asm.h".
38706         (strchr): Do not use BP_SYM.
38707         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38708         "bp-asm.h".
38709         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38710         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38711         (_start): Do not use BP_SYM.
38712         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38713         "bp-asm.h".
38714         (strcat): Do not use BP_SYM.
38715         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38716         "bp-asm.h".
38717         (STRCMP): Do not use BP_SYM.
38718         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38719         "bp-asm.h".
38720         (STRCPY): Do not use BP_SYM.
38721         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38722         "bp-asm.h".
38723         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38724         "bp-asm.h".
38725         (FUNCTION): Do not use BP_SYM.
38726         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38727         weak_alias.
38728         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38730 2013-02-17  Andreas Jaeger  <aj@suse.de>
38732         * time/Versions: Sort entries.
38733         * string/Versions: Likewise.
38734         * resolv/Versions: Likewise.
38735         * posix/Versions: Likewise.
38736         * iconv/Versions: Likewise.
38737         * elf/Versions: Likewise.
38738         * wcsmbs/Versions: Likewise.
38740 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38742         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38743         loop termination condition.
38745         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38746         variable to calculate EZ.
38747         (__sqr): Likewise.
38749         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38750         the lower precision input.
38752 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38754         [BZ #13550]
38755         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38756         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38757         (run-via-rtld-prefix): Do not handle %-bp tests.
38758         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38759         (all-object-suffixes): Remove .ob.
38760         (bppfx): Remove variable.
38761         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38762         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38763         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38764         [$(build-bounded) = yes] (libtype.ob): Likewise.
38765         * Makerules (elide-routines.ob): Remove variable.
38766         (do-tests-clean): Do not handle *-bp.out.
38767         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38768         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38769         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38770         (tests): Do not include $(tests-bp.out).
38771         (xtests): Do not include $(xtests-bp.out).
38772         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38773         [$(build-bounded) = yes] ($(addprefix
38774         $(objpfx),$(binaries-bounded))): Remove rule.
38775         ($(objpfx)%-bp.out): Remove rule.
38776         * config.make.in (build-bounded): Remove variable.
38777         * crypt/Makefile [$(build-bounded) = yes]
38778         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38779         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38780         append to variable.
38781         [$(build-bounded) = yes] (install-lib): Likewise.
38782         [$(build-bounded) = yes] (generated): Likewise.
38783         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38784         Remove rule.
38785         * intl/Makefile [$(build-bounded) = yes]
38786         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38787         * math/Makefile [$(build-bounded) = yes]
38788         ($(tests:%=$(objpfx)%-bp): Likewise.
38789         * misc/Makefile [$(build-bounded) = yes]
38790         ($(objpfx)tst-tsearch-bp): Likewise.
38791         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38792         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38793         Remove dependency.
38794         * string/Makefile (o-objects.ob): Remove variable.
38795         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38796         (CFLAGS-.ob): Remove variable.
38797         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38798         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38799         both definitions of variable.
38800         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38801         (ASFLAGS-.ob): Remove variable.
38803 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38805         [BZ #13550]
38806         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38807         Remove __BOUNDED_POINTERS__ from condition.
38808         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38809         * string/bits/string2.h [!__NO_STRING_INLINES &&
38810         !__BOUNDED_POINTERS__]: Likewise.
38811         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38812         Likewise.
38813         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38814         Remove conditional code.
38815         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38816         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38817         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38818         condition.
38820         [BZ #13550]
38821         * csu/libc-start.c: Do not include <bp-sym.h>.
38822         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38823         * elf/dl-open.c: Do not include <bp-sym.h>.
38824         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38825         * math/fegetenv.c: Do not include <bp-sym.h>.
38826         (fegetenv): Do not use BP_SYM in versioned symbols.
38827         * nptl/sysdeps/pthread/bits/libc-lockP.h
38828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38829         <bp-sym.h>.
38830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38831         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38833         (__pthread_mutex_destroy): Likewise.
38834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38835         (__pthread_mutex_lock): Likewise.
38836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38837         (__pthread_mutex_trylock): Likewise.
38838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38839         (__pthread_mutex_unlock): Likewise.
38840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38841         (__pthread_mutexattr_init): Likewise.
38842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38843         (__pthread_mutexattr_destroy): Likewise.
38844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38845         (__pthread_mutexattr_settype): Likewise.
38846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38847         (__pthread_rwlock_init): Likewise.
38848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38849         (__pthread_rwlock_destroy): Likewise.
38850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38851         (__pthread_rwlock_rdlock): Likewise.
38852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38853         (__pthread_rwlock_tryrdlock): Likewise.
38854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38855         (__pthread_rwlock_wrlock): Likewise.
38856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38857         (__pthread_rwlock_trywrlock): Likewise.
38858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38859         (__pthread_rwlock_unlock): Likewise.
38860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38861         (__pthread_key_create): Likewise.
38862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38863         (__pthread_setspecific): Likewise.
38864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38865         (__pthread_getspecific): Likewise.
38866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38867         Likewise.
38868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38869         (_pthread_cleanup_push_defer): Likewise.
38870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38871         (_pthread_cleanup_pop_restore): Likewise.
38872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38873         (pthread_setcancelstate): Likewise.
38874         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38875         <bp-sym.h>.
38876         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38877         (memchr): Do not use BP_SYM in weak_alias.
38878         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38879         (fegetenv): Do not use BP_SYM in versioned symbols.
38880         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38881         (fesetenv): Do not use BP_SYM in versioned symbols.
38882         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38883         (feupdateenv): Do not use BP_SYM in versioned symbols.
38884         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38885         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38886         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38887         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38888         (open64): Do not use BP_SYM in weak_alias.
38889         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38890         (fegetenv): Do not use BP_SYM in versioned symbols.
38891         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38892         (fesetenv): Do not use BP_SYM in versioned symbols.
38893         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38894         (feupdateenv): Do not use BP_SYM in versioned symbols.
38895         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38896         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38897         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38898         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38899         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38900         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38901         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38902         <bp-sym.h>.
38903         (__libc_start_main): Do not use BP_SYM.
38905 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38908         redundant return line.
38909         (norm): Likewise.
38910         (denorm): Likewise.
38911         (dbl_mp): Likewise.
38912         (sub_magnitudes): Likewise.
38913         (__add): Likewise.
38914         (__sub): Likewise.
38915         (__mul): Likewise.
38916         (__inv): Likewise.
38917         (__dvd): Likewise.
38918         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38919         (norm): Likewise.
38920         (denorm): Likewise.
38921         (dbl_mp): Likewise.
38922         (sub_magnitudes): Likewise.
38923         (__add): Likewise.
38924         (__sub): Likewise.
38925         (__mul): Likewise.
38926         (__inv): Likewise.
38927         (__dvd): Likewise.
38929         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38930         instead of __mul.
38931         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38932         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38933         (cc32): Likewise.
38935         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38936         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38937         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38938         of __mul for squares.
38939         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38940         function
38941         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38942         Likewise.
38943         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38944         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38946 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38948         [BZ #13550]
38949         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38950         code.
38951         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38952         prototype or function definition.  Rename ubp_* variables and
38953         parameters.  Remove argv definitions conditional on
38954         [__BOUNDED_POINTERS__].
38955         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38956         * elf/dl-runtime.c (_dl_fixup): Likewise.
38957         * include/set-hooks.h (RUN_HOOK): Likewise.
38958         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38959         definition.
38960         * string/strcpy.c (strcpy): Do not use __unbounded.
38961         * sysdeps/generic/frame.h (struct layout): Likewise.
38962         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38963         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38964         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38965         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38966         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38967         (__backtrace): Likewise.
38968         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38969         use __ptrvalue.
38970         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38971         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38972         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38973         Likewise.
38974         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38975         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38976         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38977         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38978         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38979         Do not use __unbounded.
38980         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38981         Rename __unboundedrlimits parameter to rlimits in prototype.
38982         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38983         Do not use __unbounded.
38984         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38985         not use __ptrvalue.
38986         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38987         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38988         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38989         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38990         __ptrvalue or __unbounded.
38991         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38992         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38993         use __unbounded.
38994         (__new_msgctl): Do not use __ptrvalue.
38995         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38996         __unbounded.
38997         (__libc_msgrcv): Do not use __ptrvalue.
38998         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38999         startup_info): Do not use __unbounded.
39000         (__libc_start_main): Likewise.  Rename ubp_* variables and
39001         parameters.  Remove argv definitions conditional on
39002         [__BOUNDED_POINTERS__].
39003         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39004         __ptrvalue.
39005         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39006         use __unbounded.
39007         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39008         or __ptrvalue.
39009         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39010         use __unbounded.
39011         (__new_shmctl): Do not use __ptrvalue.
39012         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39013         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39014         Likewise.
39015         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39016         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39017         (__libc_sigaction): Likewise.
39018         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39019         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39020         Likewise.
39021         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39023 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39025         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39027         * string/mempcpy.c: Implement by calling memcpy.
39029 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39031         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39034         evaluation.
39036         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39037         values in the mantissa.
39039         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39040         minimize writes to Z.
39041         (sub_magnitudes): Simplify code a bit.
39043 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39045         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39046         from the message.  The linker prefixes all warnings with that already.
39048 2013-02-12  Andreas Schwab  <schwab@suse.de>
39050         [BZ #15078]
39051         * posix/regexec.c (extend_buffers): Add parameter min_len.
39052         (check_matching): Pass minimum needed length.
39053         (clean_state_log_if_needed): Likewise.
39054         (get_subexp): Likewise.
39055         * posix/Makefile (tests): Add bug-regex34.
39056         (bug-regex34-ENV): Define.
39057         * posix/bug-regex34.c: New file.
39059         [BZ #11561]
39060         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39061         elements compare against the byte sequence of it, not its name.
39062         * posix/Makefile (tests): Add bug-regex35.
39063         (bug-regex35-ENV): Define.
39064         * posix/bug-regex35.c: New file.
39066 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39068         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39069         comment.
39070         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39071         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39072         (CHECK_EOL): Add undef.
39074 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39076         * bits/stdlib-bsearch.h: New file.
39077         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39078         * stdlib/stdlib.h: Likewise.
39080 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39082         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39083         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39084         declaration.
39085         * manual/search.texi (Array Search Function): Add missing const in
39086         lfind prototype.
39087         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39088         declaration to use rlim_t.
39089         (Basic Scheduling Functions): Remove erroneous const from
39090         sched_getparam prototype.  Remove erroneous * from
39091         sched_get_priority_max and sched_get_priority_min prototypes.
39092         (Resource Usage): Fix summary @comment on vtimes to refer to
39093         sys/vtimes.h rather than vtimes.h.
39094         Add missing *s in vtimes prototype.
39095         (Limits on Resources): Fix ulimit prototype to return long int.
39096         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39097         prototypes to use long int rather than double.
39098         (BSD Random): Fix initstate and setstate to use char *, not void *.
39099         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39100         prototype to make second argument 'struct aiocb64 *const[]'.
39101         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39102         (Status of AIO Operations): Remove erroneous const in aio_return and
39103         aio_return64 prototypes.
39104         (Synchronizing I/O): Fix sync prototype to return void.
39105         * manual/startup.texi (Suboptions): Remove an erroneous const in
39106         getsubopt prototype.
39107         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39108         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39109         use size_t rather than int.
39110         (Scanning All Users): Likewise for getpwent_r.
39111         (Setting Groups): Add missing const to setgroups prototype.
39112         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39113         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39114         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39115         'const void *' rather than 'const char *'.
39116         (Host Address Functions): Likewise for inet_ntop.
39117         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39118         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39119         ssize_t for return value.
39120         (Sending Data): Likewise for send, sendto, sendmsg.
39121         (Socket Option Functions): Add a missing const in setsockopt prototype.
39122         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39123         use wchar_t for the argument.
39124         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39125         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39126         take no arguments.
39127         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39128         double/float/long double for second argument.
39129         Fix return types of significand, significandf, significandl.
39130         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39131         argument in fchmod prototype.
39132         (File Owner): Use uid_t and gid_t in fchown prototype.
39133         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39134         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39135         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39136         use 'const struct dirent **' as argument types to CMP function pointer
39137         argument.
39138         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39139         (File Times): Fix summary magic @comment for struct utimbuf and utime
39140         to refer to utime.h, not time.h.
39141         * manual/string.texi (Argz Functions): Add missing const in
39142         argz_extract and argz_next prototypes.
39143         (Finding Tokens in a String): Likewise for basename.
39144         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39145         (Copying and Concatenation): Fix typo in wmemmove prototype.
39146         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39147         (Signal Stack): Remove erroneous const in sigstack prototype.
39148         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39149         prototype.
39150         (Simple Calendar Time): Likewise for stime.
39151         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39152         prototype.
39153         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39154         say sys/sysctl.h instead.
39155         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39156         and vsyslog prototypes.
39158 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39160         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39161         Remove.
39163 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39165         * misc/sys/mman.h: Fix typo in mremap comment.
39167 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39169         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39170         the '\0' terminator.
39172 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39174         [BZ #13550]
39175         * debug/segfault.c: Don't include <bp-checks.h>.
39176         * sysdeps/generic/bp-checks.h: Remove file.
39177         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39178         (__GETDENTS): Don't use CHECK_N.
39179         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39180         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39181         (__getgroups): Don't use CHECK_N.
39182         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39183         (setgroups): Don't use CHECK_N.
39184         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39185         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39186         (__libc_msgrcv): Don't use CHECK_N.
39187         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39188         (__libc_msgsnd): Don't use CHECK_N.
39189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39190         <bp-checks.h>.
39191         (__libc_pread): Don't use CHECK_N.
39192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39193         include <bp-checks.h>.
39194         (__libc_pread64): Don't use CHECK_N.
39195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39196         include <bp-checks.h>.
39197         (__libc_pwrite): Don't use CHECK_N.
39198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39199         include <bp-checks.h>.
39200         (__libc_pwrite64): Don't use CHECK_N.
39201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39202         <bp-checks.h>.
39203         (__libc_pread): Don't use CHECK_N.
39204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39205         include <bp-checks.h>.
39206         (__libc_pread64): Don't use CHECK_N.
39207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39208         include <bp-checks.h>.
39209         (__libc_pwrite): Don't use CHECK_N.
39210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39211         include <bp-checks.h>.
39212         (__libc_pwrite64): Don't use CHECK_N.
39213         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39214         (do_pread): Don't use CHECK_N.
39215         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39216         (do_pread64): Don't use CHECK_N.
39217         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39218         (do_pwrite): Don't use CHECK_N.
39219         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39220         (do_pwrite64): Don't use CHECK_N.
39221         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39222         (__libc_readv): Don't use CHECK_N.
39223         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39224         (semop): Don't use CHECK_N.
39225         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39226         <bp-checks.h>.
39227         (semtimedop): Don't use CHECK_N.
39228         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39229         (__libc_pread): Don't use CHECK_N.
39230         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39231         <bp-checks.h>.
39232         (__libc_pread64): Don't use CHECK_N.
39233         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39234         <bp-checks.h>.
39235         (__libc_pwrite): Don't use CHECK_N.
39236         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39237         <bp-checks.h>.
39238         (__libc_pwrite64): Don't use CHECK_N.
39239         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39240         <bp-checks.h>.
39241         (__libc_msgrcv): Don't use CHECK_N.
39242         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39243         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39244         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39245         (__libc_writev): Don't use CHECK_N.
39247 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39249         * string/strcpy.c: Removed unused variable.
39251         * Makeconfig (+sysdep-includes): Define with := rather than =.
39252         Use an existing include/ subdir of each sysdeps dir before it.
39254 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39256         * nscd/connection.c (register_traced_file): Comment function.
39257         [HAVE_INOTIFY] (union __inev): Define.
39258         [HAVE_INOTIFY] (inotify_check_files): New function.
39259         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39260         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39261         clear_db_cache.
39262         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39264 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39266         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39267         loaded if not already and that a failure is permanent.
39269 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39271         [BZ #15006]
39272         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39273         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39275 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39277         [BZ #13550]
39278         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39279         (CHECK_1_NULL_OK): Likewise.
39280         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39281         (__fxstat): Do not use CHECK_1.
39282         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39283         <bp-checks.h>.
39284         (___fxstat64): Do not use CHECK_1.
39285         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39286         <bp-checks.h>.
39287         (__fxstatat): Do not use CHECK_1.
39288         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39289         <bp-checks.h>.
39290         (__fxstatat64): Do not use CHECK_1.
39291         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39292         <bp-checks.h>.
39293         (__fxstat): Do not use CHECK_1.
39294         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39295         <bp-checks.h>.
39296         (__fxstatat): Do not use CHECK_1.
39297         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39298         <bp-checks.h>.
39299         (__getresgid): Do not use CHECK_1.
39300         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39301         <bp-checks.h>.
39302         (__getresuid): Do not use CHECK_1.
39303         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39304         <bp-checks.h>.
39305         (__lxstat): Do not use CHECK_1.
39306         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39307         <bp-checks.h>.
39308         (__old_msgctl): Do not use CHECK_1.
39309         (__new_msgctl): Likewise.
39310         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39311         <bp-checks.h>.
39312         (__new_setrlimit): Do not use CHECK_1.
39313         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39314         <bp-checks.h>.
39315         (__old_shmctl): Do not use CHECK_1.
39316         (__new_shmctl): Likewise.
39317         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39318         <bp-checks.h>.
39319         (__xstat): Do not use CHECK_1.
39320         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39321         (__lxstat): Do not use CHECK_1.
39322         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39323         <bp-checks.h>.
39324         (___lxstat64): Do not use CHECK_1.
39325         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39326         (__old_msgctl): Do not use CHECK_1.
39327         (__new_msgctl): Likewise.
39328         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39329         <bp-checks.h>.
39330         (__gettimeofday): Do not use CHECK_1.
39331         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39332         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39333         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39334         <bp-checks.h>.
39335         (__gettimeofday): Do not use CHECK_1.
39336         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39337         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39338         (__new_shmctl): Do not use CHECK_1.
39339         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39340         <bp-checks.h>.
39341         (do_sigtimedwait): Do not use CHECK_1.
39342         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39343         <bp-checks.h>.
39344         (do_sigwaitinfo): Do not use CHECK_1.
39345         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39346         <bp-checks.h>.
39347         (msgctl): Do not use CHECK_1.
39348         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39349         <bp-checks.h>.
39350         (shmctl): Do not use CHECK_1.
39351         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39352         (ustat): Do not use CHECK_1.
39353         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39354         <bp-checks.h>.
39355         (__fxstat): Do not use CHECK_1.
39356         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39357         <bp-checks.h>.
39358         (__fxstatat): Do not use CHECK_1.
39359         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39360         <bp-checks.h>.
39361         (__lxstat): Do not use CHECK_1.
39362         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39363         <bp-checks.h>.
39364         (__xstat): Do not use CHECK_1.
39365         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39366         (__xstat): Do not use CHECK_1.
39367         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39368         (___xstat64): Do not use CHECK_1.
39370         [BZ #13550]
39371         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39372         definitions.
39373         (CHECK_BOUNDS_HIGH): Likewise.
39374         * string/strcpy.c: Do not include <bp-checks.h>.
39375         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39377 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39379         * nscd/nscd-client.h (__nscd_drop_map_ref):
39380         Add __attribute__ ((unused)).
39381         * nis/nss-nisplus.h (niserr2nss): Likewise.
39383         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39384         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39386         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39387         Remove inline keyword.
39388         * include/rounding-mode.h (round_away): Likewise.
39389         * libio/wfileops.c (adjust_wide_data): Likewise.
39390         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39391         (__m128i_strloadu_tolower): Likewise.
39392         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39393         (__m128i_strloadu_tolower): Likewise.
39394         * time/mktime.c (ydhms_diff): Likewise.
39395         * locale/elem-hash.h (elem_hash): Likewise.
39396         * locale/setlocale.c (setdata): Likewise.
39397         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39398         (re_string_wchar_at): Likewise.
39399         (bitset_not, bitset_merge, bitset_mask): Likewise.
39400         [!(__GNUC__ > 3)] (inline): Remove macro.
39401         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39402         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39403         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39404         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39405         * string/memcmp.c (memcmp_bytes): Likewise.
39406         * locale/programs/locarchive.c (compute_hashval): Likewise.
39407         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39408         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39409         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39410         * nss/getent.c (print_rpc, print_protocols): Likewise.
39411         (print_passwd, print_group, print_aliases): Likewise.
39412         * nis/nss-nisplus.h (niserr2nss): Likewise.
39413         * nscd/connections.c (restart_p): Likewise.
39414         Change return type to bool.
39416 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39418         * Makeconfig (all-Depend-files): Add existing
39419         $(sorted-subdirs:=/Depend) files.
39420         (all-subdirs): Remove nss.
39421         * sysdeps/unix/inet/Subdirs: Add it here instead.
39422         * hesiod/Depend: New file.
39424         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39425         instead of calling alloca.
39427         * io/lseek.c (__lseek): Rename to __libc_lseek.
39428         Define __lseek as an alias.
39430         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39432 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39434         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39435         else clause and remove check for non-standard endianness.
39437 2013-02-04  David S. Miller  <davem@davemloft.net>
39439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39441 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39443         [BZ #13550]
39444         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39445         (__ubp_memchr): Remove prototype.
39446         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39447         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39448         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39449         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39450         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39451         Remove alias.
39452         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39453         (__ubp_memchr): Likewise.
39454         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39455         (__ubp_memchr): Likewise.
39456         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39457         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39458         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39459         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39460         CHECK_STRING.
39461         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39462         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39463         (__getcwd): Do not use CHECK_STRING.
39464         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39465         <bp-checks.h>.
39466         (__real_chown): Do not use CHECK_STRING.
39467         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39468         <bp-checks.h>.
39469         (fchownat): Do not use CHECK_STRING.
39470         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39471         CHECK_STRING.
39472         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39473         <bp-checks.h>.
39474         (__lchown): Do not use CHECK_STRING.
39475         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39476         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39477         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39478         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39480         include <bp-checks.h>.
39481         (truncate64): Do not use CHECK_STRING.
39482         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39483         <bp-checks.h>.
39484         (__real_chown): Do not use CHECK_STRING.
39485         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39486         <bp-checks.h>.
39487         (__lchown): Do not use CHECK_STRING.
39488         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39489         <bp-checks.h>.
39490         (__chown): Do not use CHECK_STRING.
39491         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39492         <bp-checks.h>.
39493         (truncate64): Do not use CHECK_STRING.
39494         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39495         Likewise.
39496         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39497         (__xmknod): Do not use CHECK_STRING.
39498         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39499         <bp-checks.h>.
39500         (__xmknodat): Do not use CHECK_STRING.
39501         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39502         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39504 2013-02-04  Andreas Schwab  <schwab@suse.de>
39506         [BZ #14142]
39507         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39508         * include/netdb.h: Likewise for h_errno.
39509         * elf/tst-stackguard1.c: Include <tls.h>.
39511 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39513         * elf/link.h (struct link_map): Extend the l_addr comment.
39514         * include/link.h (struct link_map): Likewise.
39516 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39518         [BZ #13550]
39519         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39520         (BOUNDED_1): Remove macro.
39521         * debug/backtrace.c: Don't include <bp-checks.h>.
39522         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39523         (__backtrace): Likewise.
39524         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39525         <bp-checks.h>.
39526         (__backtrace): Don't use BOUNDED_1.
39527         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39528         <bp-checks.h>.
39529         (__backtrace): Don't use BOUNDED_1.
39530         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39531         (__backtrace): Don't use BOUNDED_1.
39532         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39533         (shmat): Don't use BOUNDED_N.
39535 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39537         [BZ #13550]
39538         * sysdeps/generic/bp-start.h: Remove file.
39539         * csu/libc-start.c: Don't include <bp-start.h>.
39540         (LIBC_START_MAIN): Set up __environ directly instead of using
39541         INIT_ARGV_and_ENVIRON.
39542         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39543         <bp-start.h>.
39545         [BZ #13550]
39546         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39547         definitions.
39548         (CHECK_FCNTL): Likewise.
39549         (CHECK_N_PAGES): Likewise.
39551         [BZ #13550]
39552         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39553         definitions.
39554         (CHECK_SIGSET_NULL_OK): Likewise.
39555         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39556         <bp-checks.h>.
39557         (sigpending): Don't use CHECK_SIGSET.
39558         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39559         <bp-checks.h>.
39560         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39561         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39562         <bp-checks.h>.
39563         (do_sigsuspend): Don't use CHECK_SIGSET.
39564         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39565         use CHECK_SIGSET.
39566         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39567         (do_sigwait): Don't use CHECK_SIGSET.
39568         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39569         use CHECK_SIGSET.
39570         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39571         include <bp-checks.h>.
39572         (sigpending): Don't use CHECK_SIGSET.
39573         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39574         include <bp-checks.h>.
39575         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39576         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39577         <bp-checks.h>.
39578         (sigpending): Don't use CHECK_SIGSET.
39579         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39580         <bp-checks.h>.
39581         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39583         [BZ #13550]
39584         * sysdeps/generic/bp-semctl.h: Remove file.
39585         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39586         <bp-checks.h> and <bp-semctl.h>.
39587         (__old_semctl): Don't use CHECK_SEMCTL.
39588         (__new_semctl): Likewise.
39589         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39590         and <bp-semctl.h>.
39591         (__old_semctl): Don't use CHECK_SEMCTL.
39592         (__new_semctl): Likewise.
39593         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39594         <bp-checks.h> and <bp-semctl.h>.
39595         (__old_semctl): Don't use CHECK_SEMCTL.
39596         (__new_semctl): Likewise.
39597         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39598         <bp-checks.h> and <bp-semctl.h>.
39599         (semctl): Don't use CHECK_SEMCTL.
39601         [BZ #13550]
39602         * Makerules (elide-bp-thunks): Remove variable.
39603         (elide-routines.oS): Don't use $(elide-bp-thunks).
39604         (elide-routines.os): Likewise.
39605         (elide-routines.o): Likewise.
39606         (elide-routines.op): Likewise.
39607         (elide-routines.og): Likewise.
39608         (objects): Don't use $(bp-thunks).
39609         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39610         include.
39611         (common-generated): Do not add s-proto-bp.d.
39612         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39613         (int): Likewise.
39614         (typ): Likewise.
39615         Do not generate makefile rules for bounded-pointer thunks.
39616         * sysdeps/generic/bp-thunks.h: Remove file.
39617         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39618         * sysdeps/unix/s-proto-bp.S: Likewise.
39620         [BZ #15062]
39621         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39622         parts of result separately when argument is not close to line from
39623         -i to i and one part of argument is small.
39624         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39625         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39626         * math/libm-test.inc (cacos_test): Add more tests.
39627         (casin_test): Likewise.
39628         (casinh_test): Likewise.
39629         * sysdeps/i386/fpu/libm-test-ulps: Update.
39630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39632 2013-01-31  David S. Miller  <davem@davemloft.net>
39634         * po/de.po: Update from translation team.
39636 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39638         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39640 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39642         * configure.in (_AC_PROG_CC_C89): New definition.
39643         * configure: Regenerate.
39645         * configure.in (AC_PROG_CPP): New definition.
39646         * configure: Regenerate.
39648 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39650         * debug/tst-backtrace.h: New file.
39651         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39652         (ret): Remove variable.
39653         (x): Likewise.
39654         (FAIL): Remove macro.
39655         (NO_INLINE): Likewise.
39656         (fn1): Use match function instead of strstr.
39657         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39658         (ret): Remove variable.
39659         (x): Likewise.
39660         (FAIL): Remove macro.
39661         (NO_INLINE): Likewise.
39662         (fn): Use match function instead of strstr.
39663         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39664         (ret): Remove variable.
39665         (x): Likewise.
39666         (FAIL): Remove macro.
39667         (NO_INLINE): Likewise.
39668         (handle_signal): Use match function instead of strstr.
39669         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39670         (ret): Remove variable.
39671         (x): Likewise.
39672         (FAIL): Remove macro.
39673         (NO_INLINE): Likewise.
39674         (handle_signal): Use match function instead of strstr.
39676 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39678         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39680 2013-01-23  David S. Miller  <davem@davemloft.net>
39682         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39683         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39684         argument of CAS if possible.
39685         * sysdeps/sparc/sparc64/bits/atomic.h
39686         (__arch_compare_and_exchange_val_32_acq): Likewise.
39687         (__arch_compare_and_exchange_val_64_acq): Likewise.
39689 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39691         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39692         * sysdeps/posix/ulimit.c: ... this.
39693         Include <limits.h>.
39694         * sysdeps/unix/bsd/ulimit.c: Remove file.
39696 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39698         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39699         (LDFLAGS-tst-array5): Likewise.
39701 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39703         [BZ #15036]
39704         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39705         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39706         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39707         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39709 2013-01-21  David S. Miller  <davem@davemloft.net>
39711         * sysdeps/sparc/backtrace.c: New file.
39712         * sysdeps/sparc/sparc32/backtrace.h: New file.
39713         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39714         * sysdeps/sparc/sparc64/backtrace.h: New file.
39715         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39716         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39717         -funwind-tables.
39719 2013-01-21  Andreas Schwab  <schwab@suse.de>
39721         [BZ #15020]
39722         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39723         closed its stdout.
39725 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39728         "mpa2.h".
39729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39731 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39732             Mark Mitchell  <mark@codesourcery.com>
39733             Tom de Vries  <tom@codesourcery.com>
39734             Paul Pluzhnikov  <ppluzhnikov@google.com>
39736         * debug/tst-backtrace2.c: New file.
39737         * debug/tst-backtrace3.c: Likewise.
39738         * debug/tst-backtrace4.c: Likewise.
39739         * debug/tst-backtrace5.c: Likewise.
39740         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39741         (CFLAGS-tst-backtrace3.c): Likewise.
39742         (CFLAGS-tst-backtrace4.c): Likewise.
39743         (CFLAGS-tst-backtrace5.c): Likewise.
39744         (LDFLAGS-tst-backtrace2): Likewise.
39745         (LDFLAGS-tst-backtrace3): Likewise.
39746         (LDFLAGS-tst-backtrace4): Likewise.
39747         (LDFLAGS-tst-backtrace5): Likewise.
39748         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39749         tst-backtrace4 and tst-backtrace5.
39751 2013-01-18  Anton Blanchard  <anton@samba.org>
39752             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39754         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39755         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39756         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39757         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39759         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39760         "+r" and remove output regs list as redundant.  Add explicit inline
39761         asm to specify register of return val to work around compiler codegen
39762         bug.  Remove (int) cast on return value.  Add return type parameter to
39763         use in macro so that this macro does not truncate return value for
39764         64-bit values.
39765         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39766         pass to INTERNAL_VSYSCALL_NCS.
39767         (INLINE_VSYSCALL): Add 'long int' as return type to
39768         INTERNAL_VSYSCALL_NCS macro invocation.
39769         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39770         INTERNAL_VSYSCALL_NCS macro invocation.
39771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39773 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39775         [BZ #14496]
39776         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39777         Fix application of SIMD FP exception mask.
39779         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39780         mp_no from a power of two.
39781         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39782         __mpexp_twomm1.  Use __pow_mp.
39784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39785         multiplication.
39787 2013-01-17  David S. Miller  <davem@davemloft.net>
39789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39791 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39793         [BZ #15023]
39794         * include/complex.h: Condition contents on [!_COMPLEX_H].
39795         (__kernel_casinhf): New prototype.
39796         (__kernel_casinh): Likewise.
39797         (__kernel_casinhl): Likewise.
39798         * math/Makefile (libm_calls): Add k_casinh.
39799         * math/k_casinh.c: New file.
39800         * math/k_casinhf.c: Likewise.
39801         * math/k_casinhl.c: Likewise.
39802         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39803         finite nonzero arguments.
39804         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39805         finite nonzero arguments.
39806         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39807         finite nonzero arguments.
39808         * math/s_casinh.c: Do not include <float.h>.
39809         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39810         * math/s_casinhf.c: Do not include <float.h>.
39811         (__casinhf): Move code for finite nonzero arguments to
39812         k_casinhf.c.
39813         * math/s_casinhl.c: Do not include <float.h>.
39814         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39815         redefine.
39816         (__casinhl): Move code for finite nonzero arguments to
39817         k_casinhl.c.
39818         * math/libm-test.inc (cacos_test): Add more tests.
39819         * sysdeps/i386/fpu/libm-test-ulps: Update.
39820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39822 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39824         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39825         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39826         [!HAVE_MREMAP]: Remove [defined linux] case.
39827         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39829 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39831         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39833 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39835         * elf/elf.h (R_386_SIZE32): New relocation.
39836         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39837         R_386_SIZE32.
39838         (elf_machine_rela): Likewise.
39839         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39840         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39842 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39844         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39845         (FP_FAST_FMA): Do not define.
39846         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39847         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39848         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39849         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39850         !_SOFT_FLOAT]: Likewise.
39851         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39852         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39853         value.
39854         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39855         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39856         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39857         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39858         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39859         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39860         file.
39862 2013-01-16  Andreas Schwab  <schwab@suse.de>
39864         [BZ #14327]
39865         * include/stdlib.h (__mktemp): Add declaration.
39866         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39867         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39869 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39871         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39872         definitions.
39873         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39874         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39875         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39876         definitions here.
39877         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39878         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39879         definitions.
39880         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39881         and ONE.
39882         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39883         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39884         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39885         definitions.
39886         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39887         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39888         definitions.
39889         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39891         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39893 2013-01-15  David S. Miller  <davem@davemloft.net>
39895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39896         trunc{,f} to libm-sysdep_routes.
39897         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39899         file.
39900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39902         file.
39903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39904         file.
39905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39907         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39908         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39909         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39910         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39911         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39912         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39915         nearbyint{,f} to libm-sysdep_routes.
39916         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39918         New file.
39919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39920         file.
39921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39922         New file.
39923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39924         file.
39925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39927         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39928         file.
39929         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39930         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39931         file.
39932         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39933         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39934         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39936         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39937         libc_feholdexcept and libc_fesetenv.
39939 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39941         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39943 2013-01-14  David S. Miller  <davem@davemloft.net>
39945         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39946         (SPARC_ASM_VIS2_IFUNC): Likewise.
39947         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39949         use of 'siam' instruction.
39950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39951         Likewise.
39952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39953         Likewise.
39954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39955         Likewise.
39956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39957         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39959         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39961         file.
39962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39963         file.
39964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39965         file.
39966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39967         file.
39968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39973         new VIS2 routines.
39974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39977         Likewise.
39978         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39979         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39981         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39983         routines to libm-sysdep_routines.
39984         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39987         fdim/fdimf to libm-sysdep_routines.
39988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39989         file.
39990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39992         file.
39993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39996         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39997         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39998         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39999         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40001 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40003         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40004         to optimize copies.
40006         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40010         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40011         local variable MPTWO.
40012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40013         Likewise.
40015 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40017         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40018         GLOB_NOESCAPE.
40020 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40022         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40024 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40026         * manual/pattern.texi (glob_t): Document gl_flags.
40027         (glob64_t): Likewise.
40029 2013-01-11  David S. Miller  <davem@davemloft.net>
40031         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40032         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40033         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40034         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40035         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40036         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40037         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40038         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40039         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40040         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40041         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40042         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40043         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40045         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40046         sparc V9 rather than using V8 code.
40047         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40048         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40050         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40051         Move to...
40052         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40053         Here.
40055 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40057         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40058         not in the main loop.
40059         * configure: Regenerated.
40061 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40063         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40064         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40065         to just #else.
40066         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40067         [!__GLIBC_HAVE_LONG_LONG] case.
40068         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40069         condition to just #else.
40070         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40071         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40072         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40073         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40074         unconditional.
40075         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40076         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40077         #elif condition to just #else.
40078         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40079         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40080         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40081         #elif condition to just #else.
40083 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40085         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40086         (EF_MIPS_ARCH_64): Fix value.
40087         (EF_MIPS_ARCH_32R2): New.
40088         (EF_MIPS_ARCH_64R2): New.
40090 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40092         * Makeconfig (+link-pie-before-libc): New.
40093         (+link-pie-after-libc): Likewise.
40094         (+link-pie-tests): Likewise.
40095         (+link-pie): Rewritten.
40096         (link-before-libc): Remove $(config-LDFLAGS).
40097         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40098         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40099         (config-LDFLAGS): Renamed to ...
40100         (rtld-LDFLAGS): This.
40101         (rtld-tests-LDFLAGS): New macro.
40102         (link-libc-rpath-link): Likewise.
40103         (link-libc-tests-rpath-link): Likewise.
40104         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40105         (link-libc): Prepand $(link-libc-rpath-link).
40106         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40107         (test-program-prefix): New macro.
40108         (test-via-rtld-prefix): Likewise.
40109         (test-program-cmd): Likewise.
40110         (host-test-program-cmd): Likewise.
40111         * Makefile ($(common-objpfx)testrun.sh): Replace
40112         $(run-program-prefix) with $(test-program-prefix).
40113         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40114         $(rtld-LDFLAGS).
40115         ($(common-objpfx)shlib.lds): Likewise.
40116         (build-module-helper): Likewise.
40117         ($(common-objpfx)format.lds): Likewise.
40118         * Rules (binaries-pie-tests): New.
40119         (binaries-pie-notests): Likewise.
40120         (binaries-pie): Rewritten.
40121         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40122         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40123         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40124         (make-test-out): Replace $(host-built-program-cmd) with
40125         $(host-test-program-cmd).
40126         * config.make.in (build-hardcoded-path-in-tests): New variable.
40127         * configure.in (--enable-hardcoded-path-in-tests): New configure
40128         option.
40129         (hardcoded_path_in_tests): New AC_SUBST.
40130         * configure: Regenerated.
40131         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40132         $(built-program-cmd) with $(test-program-cmd).
40133         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40134         (test_program_cmd): This.
40135         * elf/Makefile ($(objpfx)order.out): Run test with
40136         $(test-program-prefix).
40137         ($(objpfx)order2.out): Likewise.
40138         ($(objpfx)tst-initorder.out): Likewise.
40139         ($(objpfx)tst-initorder2.out): Likewise.
40140         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40141         $(test-program-cmd).
40142         ($(objpfx)tst-array1-static.out): Likewise.
40143         ($(objpfx)tst-array2.out): Likewise.
40144         ($(objpfx)tst-array3.out): Likewise.
40145         ($(objpfx)tst-array4.out): Likewise.
40146         ($(objpfx)tst-array5.out): Likewise.
40147         ($(objpfx)tst-array5-static.out): Likewise.
40148         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40149         $(test-program-cmd).
40150         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40151         $(run-program-prefix) with $(test-program-prefix).
40152         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40153         (test_program_prefix): This.
40154         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40155         $(run-program-prefix) with $(test-program-prefix).
40156         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40157         (test_program_prefix): This.
40158         * iconvdata/tst-tables.sh: Likewise.
40159         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40160         $(run-program-prefix) with $(test-program-prefix).
40161         ($(objpfx)tst-translit.out): Likewise.
40162         ($(objpfx)tst-gettext2.out): Likewise.
40163         ($(objpfx)tst-gettext4.out): Likewise.
40164         ($(objpfx)tst-gettext6.out): Likewise.
40165         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40166         (test_program_prefix): This.
40167         * intl/tst-gettext2.sh: Likewise.
40168         * intl/tst-gettext4.sh  Likewise.
40169         * intl/tst-gettext6.sh: Likewise.
40170         * intl/tst-translit.sh: Likewise.
40171         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40172         with $(test-program-cmd).
40173         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40174         $(run-program-prefix) with $(test-program-prefix).
40175         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40176         (test_program_prefix): This.
40177         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40178         $(run-program-prefix) with $(test-program-prefix).
40179         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40180         (test_program_prefix): This.
40181         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40182         * posix/Makefile ($(objpfx)globtest.out): Replace
40183         $(run-via-rtld-prefix) and $(test-wrapper) with
40184         $(test-program-prefix) and $(test-via-rtld-prefix).
40185         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40186         $(test-program-prefix).
40187         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40188         $(host-test-program-cmd).
40189         (tst-spawn-ARGS): Likewise.
40190         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40191         $(test-program-prefix).
40192         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40193         (test_via_rtld_prefix): This.
40194         (test_wrapper): Renamed to ...
40195         (test_program_prefix): This.
40196         (run_program_prefix): Replaced by test_program_prefix.
40197         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40198         (test_program_prefix): This.
40199         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40200         with $(host-test-program-cmd).
40201         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40202         $(run-program-prefix) with $(test-program-prefix).
40203         ($(objpfx)tst-printf.out): Likewise.
40204         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40205         $(test-program-cmd).
40206         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40207         (test_program_prefix): This.
40208         * stdio-common/tst-unbputc.sh: Likewise.
40209         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40210         $(run-program-prefix) with $(test-program-prefix).
40211         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40212         (test_program_prefix): This.
40213         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40214         $(built-program-cmd) with $(test-program-cmd).
40216 2013-01-11  Andreas Jaeger  <aj@suse.de>
40218         [BZ #15003]
40219         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40220         value. Sync with Linux 3.7.
40222 2013-01-10  David S. Miller  <davem@davemloft.net>
40224         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40225         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40226         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40228 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40230         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40231         never set.
40232         * configure: Regenerated.
40234 2013-01-10  David S. Miller  <davem@davemloft.net>
40236         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40237         sparc V9 rather than using V8 code.
40238         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40239         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40241 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40243         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40244         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40245         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40246         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40247         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40248         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40249         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40250         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40251         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40252         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40253         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40254         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40255         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40256         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40257         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40258         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40259         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40260         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40261         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40262         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40263         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40264         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40265         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40266         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40267         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40268         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40269         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40271 2013-01-10  David S. Miller  <davem@davemloft.net>
40273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40275 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40277         * posix/Makefile (tests-static): New variable.
40278         (tests): Add $(tests-static).
40279         (tst-exec-static-ARGS): New variable.
40280         (tst-spawn-static-ARGS): Likewise.
40281         * posix/tst-exec-static.c: New file.
40282         * posix/tst-spawn-static.c: Likewise.
40283         * posix/tst-exec.c: Support run directly.
40284         * posix/tst-spawn.c: Likewise.
40286 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40288         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40289         long.
40290         * math/bits/mathcalls.h (llrint): Likewise.
40291         (llround): Likewise.
40292         * stdlib/stdlib.h (struct drand48_data): Likewise.
40293         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40294         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40295         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40296         Likewise.
40297         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40298         Likewise.
40299         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40300         (elf_greg_t): Likewise.
40301         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40302         (__jmp_buf): Likewise.
40303         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40304         definitions.
40305         (llrint): Likewise, for all definitions.
40306         (llrintl): Likewise.
40308         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40309         Remove [__GNUC__] condition.
40310         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40311         condition to just [__USE_ISOC99].
40312         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40314 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40316         [BZ #14200]
40317         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40318         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40319         defined.
40320         (_POSIX_V6_ILP32_OFF32): Likewise.
40321         (_XBS5_ILP32_OFF32): Likewise.
40322         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40323         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40325 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40327         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40329         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40330         doubles __mpexp_twomm1.  Adjust usage.
40331         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40332         Remove.
40334 2013-01-10  Andreas Schwab  <schwab@suse.de>
40336         [BZ #14964]
40337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40338         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40340 2013-01-09  David S. Miller  <davem@davemloft.net>
40342         [BZ #15003]
40343         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40344         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40345         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40346         (TCP_FASTOPEN): Define.
40347         (tcp_repair_opt): New structure.
40348         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40349         enum values.
40350         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40351         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40352         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40353         (tcp_cookie_transactions): New structure.
40355 2013-01-09  Anton Blanchard  <anton@samba.org>
40357         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40358         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40359         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40360         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40362 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40364         * include/features.h (__USE_ANSI): Remove.
40366 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40368         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40370         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40372 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40374         * sysdeps/s390/fpu/libm-test-ulps: Update.
40376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40378         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40379         (__acr): Likewise.
40380         (__cpy): Likewise.
40381         (norm): Likewise.
40382         (denorm): Likewise.
40383         (__mp_dbl): Likewise.
40384         (__dbl_mp): Likewise.
40385         (add_magnitudes): Likewise.
40386         (sub_magnitudes): Likewise.
40387         (__add): Likewise.
40388         (__sub): Likewise.
40389         (__mul): Likewise.
40390         (__inv): Likewise.
40391         (__dvd): Likewise.
40392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40393         (__acr): Likewise.
40394         (__cpy): Likewise.
40395         (norm): Likewise.
40396         (denorm): Likewise.
40397         (__mp_dbl): Likewise.
40398         (__dbl_mp): Likewise.
40399         (add_magnitudes): Likewise.
40400         (sub_magnitudes): Likewise.
40401         (__add): Likewise.
40402         (__sub): Likewise.
40403         (__mul): Likewise.
40404         (__inv): Likewise.
40405         (__dvd): Likewise.
40406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40407         (__acr): Likewise.
40408         (__cpy): Likewise.
40409         (norm): Likewise.
40410         (denorm): Likewise.
40411         (__mp_dbl): Likewise.
40412         (__dbl_mp): Likewise.
40413         (add_magnitudes): Likewise.
40414         (sub_magnitudes): Likewise.
40415         (__add): Likewise.
40416         (__sub): Likewise.
40417         (__mul): Likewise.
40418         (__inv): Likewise.
40419         (__dvd): Likewise.
40421 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40423         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40424         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40425         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40426         2 && __USE_EXTERN_INLINES]: Likewise.
40428 2013-01-08  Andreas Jaeger  <aj@suse.de>
40430         [BZ# 14985]
40431         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40432         Remove.
40433         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40434         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40436 2013-01-07  Anton Blanchard  <anton@samba.org>
40438         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40439         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40440         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40441         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40442         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40443         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40444         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40445         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40447         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40448         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40449         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40450         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40452         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40453         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40454         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40455         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40456         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40457         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40458         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40459         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40460         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40461         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40462         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40463         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40464         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40465         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40466         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40467         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40468         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40470         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40471         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40472         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40473         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40474         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40475         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40476         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40477         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40478         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40479         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40480         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40482 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40484         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40485         (__MALLOC_PMT): Likewise.
40486         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40487         [__GNUC__], only on [_LIBC].
40488         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40489         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40490         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40491         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40492         forward declaration.
40493         (realloc_hook_ini): Likewise.
40494         (memalign_hook_ini): Likewise.
40495         (__libc_memalign): Do not use __MALLOC_PMT in variable
40496         declaration.
40497         (__libc_valloc): Likewise.
40498         (__libc_pvalloc): Likewise.
40499         (__libc_calloc): Likewise.
40500         (__posix_memalign): Likewise.
40502         [BZ #14996]
40503         * math/s_casinh.c: Include <float.h>.
40504         (__casinh): Do not do computation with squaring and square root
40505         for large arguments.
40506         * math/s_casinhf.c: Include <float.h>.
40507         (__casinhf): Do not do computation with squaring and square root
40508         for large arguments.
40509         * math/s_casinhl.c: Include <float.h>.
40510         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40511         (__casinhl): Do not do computation with squaring and square root
40512         for large arguments.
40513         * math/libm-test.inc (casin_test): Add more tests.
40514         (casinh_test): Likewise.
40515         * sysdeps/i386/fpu/libm-test-ulps: Update.
40516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40518 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40520         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40521         (__x86_64_raw_data_cache_size): Likewise.
40522         (__x86_64_data_cache_size_half): Likewise.
40523         (__x86_64_raw_data_cache_size_half): Likewise.
40524         (__x86_64_shared_cache_size): Likewise.
40525         (__x86_64_raw_shared_cache_size): Likewise.
40526         (__x86_64_shared_cache_size_half): Likewise.
40527         (__x86_64_raw_shared_cache_size_half): Likewise.
40528         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40529         to ...
40530         (__x86_data_cache_size): This.
40531         (__x86_64_raw_data_cache_size): Renamed to ...
40532         (__x86_raw_data_cache_size): This.
40533         (__x86_64_data_cache_size_half): Renamed to ...
40534         (__x86_data_cache_size_half): This.
40535         (__x86_64_raw_data_cache_size_half): Renamed to ...
40536         (__x86_raw_data_cache_size_half): This.
40537         (__x86_64_shared_cache_size): Renamed to ...
40538         (__x86_shared_cache_size): This.
40539         (__x86_64_raw_shared_cache_size): Renamed to ...
40540         (__x86_raw_shared_cache_size): This.
40541         (__x86_64_shared_cache_size_half): Renamed to ...
40542         (__x86_shared_cache_size_half): This.
40543         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40544         (__x86_raw_shared_cache_size_half): This.
40545         * sysdeps/x86_64/memcpy.S: Updated.
40546         * sysdeps/x86_64/memset.S: Likewise.
40547         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40548         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40549         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40551 2013-01-04  David S. Miller  <davem@davemloft.net>
40553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40555 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40557         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40558         1 to avoid redefinition warning.
40559         (__USE_GNU): Don't define.
40560         (init_signaling_nan): Protoize.
40562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40564 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40566         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40567         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40568         (__cpymn): Likewise.
40569         (norm): Remove commented code.
40570         (denorm): Likewise.
40571         (__mp_dbl): Likewise.
40572         (__inv): Likewise.
40573         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40574         (__cpymn): Likewise.
40575         (norm): Remove commented code.
40576         (denorm): Likewise.
40577         (__mp_dbl): Likewise.
40578         (__inv): Likewise.
40580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40581         mp_no value for 1.0 and 2.0.
40582         (norm): Use RADIXI instead of radixi.d.
40583         (denorm): Likewise.
40584         (__mul): Use 0.0 instead of zero.d.
40585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40586         mp_no value for 1.0 and 2.0.
40587         (norm): Use RADIXI instead of radixi.d.
40588         (denorm): Likewise.
40589         (__mul): Use 0.0 instead of zero.d.
40591 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40593         [BZ #14994]
40594         * math/s_casinh.c (__casinh): Reduce finite argument to first
40595         quadrant then set signs of results at the end.
40596         * math/s_casinhf.c (__casinhf): Likewise.
40597         * math/s_casinhl.c (__casinhl): Likewise.
40598         * math/libm-test.inc (casin_test): Add more tests.
40599         (casinh_test): Likewise.
40600         * sysdeps/i386/fpu/libm-test-ulps: Update.
40601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40603 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40605         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40607         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40609         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40610         declarations.
40611         (denorm): Likewise.
40612         (__mp_dbl): Likewise.
40613         (__inv): Likewise.
40615         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40616         and adjust the header comment.
40618         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40619         variable name from declaration.
40621 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40624         Initialize COMMON_CPUID_INDEX_7 element.
40625         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40626         (CPUID_RTM): Likewise.
40627         (HAS_RTM): Likewise.
40628         (COMMON_CPUID_INDEX_7): New enum.
40630 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40632         [BZ #14981]
40633         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40634         size is zero, record memory as freed.
40636 2013-01-03  Andreas Jaeger  <aj@suse.de>
40638         * po/ia.po: Add new Interlingua translation.
40640 2012-01-03  Allan McRae  <allan@archlinux.org>
40642         * locale/programs/localedef.c: Fix description of '--posix' flag.
40644 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40646         * NEWS: Update dates in second copyright notice.
40647         * README: Update copyright dates in example.
40648         * manual/libc.texinfo: Update copyright dates.
40649         * scripts/test-installation.pl: Update copyright date in --version
40650         output.
40652         * hurd/ctty-input.c: Fix copyright notice formatting.
40653         * hurd/ctty-output.c: Likewise.
40654         * hurd/dtable.c: Likewise.
40655         * hurd/hurd-raise.c: Likewise.
40656         * hurd/hurdprio.c: Likewise.
40657         * hurd/msgportdemux.c: Likewise.
40658         * misc/sys/file.h: Likewise.
40659         * misc/sys/ioctl.h: Likewise.
40660         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40661         * sysdeps/mach/hurd/chdir.c: Likewise.
40662         * sysdeps/mach/hurd/fchdir.c: Likewise.
40663         * sysdeps/mach/hurd/rename.c: Likewise.
40664         * sysdeps/mach/hurd/rmdir.c: Likewise.
40665         * sysdeps/mach/hurd/seekdir.c: Likewise.
40666         * sysdeps/mach/hurd/setsid.c: Likewise.
40667         * sysdeps/posix/wait3.c: Likewise.
40669         * All files with FSF copyright notices: Update copyright dates
40670         using scripts/update-copyrights.
40671         * intl/plural.c: Regenerated.
40672         * locale/programs/charmap-kw.h: Likewise.
40673         * locale/programs/locfile-kw.h: Likewise.
40675 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40677         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40678         four values.
40680         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40681         calculation loop and add branch prediction.
40683         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40684         check access beyond bounds of m1np.
40686         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40687         MPTWO.
40688         (__inv): Remove local variable MPTWO to use the global
40689         constant.
40690         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40691         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40692         variable MPTWO.
40693         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40694         MP3HALFS static const.
40696 2013-01-01  David S. Miller  <davem@davemloft.net>
40698         * po/ca.po: Update from translation team.
40700 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40702         * scripts/update-copyrights: New file.
40703         * Makeconfig: Reformat copyright notice.
40704         * ctype/ctype.h: Likewise.
40705         * debug/swprintf_chk.c: Likewise.
40706         * elf/dl-cache.c: Likewise.
40707         * elf/dl-debug.c: Likewise.
40708         * elf/dl-object.c: Likewise.
40709         * grp/initgroups.c: Likewise.
40710         * hurd/Makefile: Likewise.
40711         * hurd/hurd/signal.h: Likewise.
40712         * hurd/hurdfault.c: Likewise.
40713         * hurd/hurdioctl.c: Likewise.
40714         * hurd/hurdlookup.c: Likewise.
40715         * hurd/intr-msg.c: Likewise.
40716         * iconv/gconv_open.c: Likewise.
40717         * libio/swprintf.c: Likewise.
40718         * locale/lc-ctype.c: Likewise.
40719         * locale/nl_langinfo.c: Likewise.
40720         * mach/Machrules: Likewise.
40721         * mach/Makefile: Likewise.
40722         * malloc/obstack.h: Likewise.
40723         * manual/Makefile: Likewise.
40724         * manual/tsort.awk: Likewise.
40725         * misc/bits/stab.def: Likewise.
40726         * nis/nis_print_group_entry.c: Likewise.
40727         * nis/nis_table.c: Likewise.
40728         * nis/nss_compat/compat-pwd.c: Likewise.
40729         * nis/nss_compat/compat-spwd.c: Likewise.
40730         * po/Makefile: Likewise.
40731         * posix/fnmatch.c: Likewise.
40732         * posix/regex.h: Likewise.
40733         * resolv/Makefile: Likewise.
40734         * resolv/nss_dns/dns-network.c: Likewise.
40735         * resolv/res_hconf.c: Likewise.
40736         * scripts/gen-sorted.awk: Likewise.
40737         * soft-fp/soft-fp.h: Likewise.
40738         * stdio-common/printf.h: Likewise.
40739         * stdlib/monetary.h: Likewise.
40740         * stdlib/random.c: Likewise.
40741         * stdlib/random_r.c: Likewise.
40742         * sysdeps/generic/Makefile: Likewise.
40743         * sysdeps/gnu/Makefile: Likewise.
40744         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40745         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40746         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40747         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40748         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40749         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40750         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40751         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40752         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40753         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40754         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40755         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40756         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40757         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40758         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40759         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40760         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40761         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40762         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40763         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40764         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40765         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40766         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40767         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40768         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40769         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40770         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40771         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40772         * sysdeps/mach/hurd/errnos.awk: Likewise.
40773         * sysdeps/mach/hurd/fork.c: Likewise.
40774         * sysdeps/mach/hurd/getcwd.c: Likewise.
40775         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40776         * sysdeps/mach/hurd/mmap.c: Likewise.
40777         * sysdeps/mach/hurd/utimes.c: Likewise.
40778         * sysdeps/mach/hurd/xmknod.c: Likewise.
40779         * sysdeps/posix/profil.c: Likewise.
40780         * sysdeps/posix/readdir_r.c: Likewise.
40781         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40782         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40783         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40784         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40786         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40787         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40788         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40790         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40791         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40792         * sysdeps/pthread/lio_listio.c: Likewise.
40793         * sysdeps/sparc/dl-procinfo.h: Likewise.
40794         * sysdeps/unix/i386/sysdep.S: Likewise.
40795         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40796         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40797         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40798         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40800         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40801         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40802         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40803         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40804         * sysdeps/wordsize-32/divdi3.c: Likewise.
40805         * time/sys/time.h: Likewise.
40806         * wcsmbs/Makefile: Likewise.
40808 2013-01-01  David S. Miller  <davem@davemloft.net>
40810         * po/fr.po: Update from translation team.
40812         * catgets/gencat.c: Update copyright year.
40813         * csu/version.c: Likewise.
40814         * debug/catchsegv.sh: Likewise.
40815         * debug/pcprofiledump.c: Likewise.
40816         * debug/xtrace.sh: Likewise.
40817         * elf/ldconfig.c: Likewise.
40818         * elf/ldd.bash.in: Likewise.
40819         * elf/pldd.c: Likewise.
40820         * elf/sotruss.ksh: Likewise.
40821         * elf/sprof.c: Likewise.
40822         * iconv/iconv_prog.c: Likewise.
40823         * iconv/iconvconfig.c: Likewise.
40824         * locale/programs/locale.c: Likewise.
40825         * locale/programs/localedef.c: Likewise.
40826         * login/programs/pt_chown.c: Likewise.
40827         * malloc/memusage.sh: Likewise.
40828         * malloc/memusagestat.c: Likewise.
40829         * malloc/mtrace.pl: Likewise.
40830         * nscd/nscd.c: Likewise.
40831         * nss/getent.c: Likewise.
40832         * nss/makedb.c: Likewise.
40833         * posix/getconf.c: Likewise.
40835 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40837         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40838         numbers.
40840 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40842         * math/bits/mathcalls.h (modf): Use __nonnull.
40844 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40846         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40847         (split): Use macro CN instead of the bare value.
40848         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40849         could be used.
40850         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40851         instead of the bare value.
40852         (power1): Likewise.
40854 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40856         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40857         __ATAN_TWOM.
40858         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40860         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40861         their values.
40862         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40863         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40864         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40865         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40867 2012-12-28  Andreas Jaeger  <aj@suse.de>
40869         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40870         values are from Linux 3.7.
40872         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40873         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40875 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40877         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40878         TRUE case.
40880         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40881         (norm): Likewise.
40882         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40883         variables with preprocessor constants.
40884         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40885         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40886         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40888 2012-12-27  Bruno Haible  <bruno@clisp.org>
40890         [BZ #14317]
40891         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40892         only if needed.
40894 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40896         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40897         and use variable directly.
40898         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40900         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40901         MPONE.
40902         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40903         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40904         variable MPONE.
40905         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40907         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40908         include directive.  Remove local variable MPONE.
40909         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40910         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40911         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40913 2012-12-25  David S. Miller  <davem@davemloft.net>
40915         * version.h (RELEASE): Set to "development".
40916         (VERSION): Set to "2.17.90".
40917         * NEWS: Add 2.18 section.
40919 2012-12-21  David S. Miller  <davem@davemloft.net>
40921         * po/hr.po: Update from translation team.
40923 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40925         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40927 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40929         * NEWS:  Mention new memcpy for MIPS.
40931 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40933         * manual/contrib.texi (Contributors): Spelling correction.
40935 2012-12-15  David S. Miller  <davem@davemloft.net>
40937         * po/ru.po: Update from translation team.
40939 2012-12-13  David S. Miller  <davem@davemloft.net>
40941         * NEWS: Mention IFUNC testsuite enhancements.
40943         * po/pl.po: Update from translation team.
40944         * po/bg.po: Likewise.
40946         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40947         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40949 2012-12-11  David S. Miller  <davem@davemloft.net>
40951         * po/sv.po: Update from translation team.
40953         * po/vi.po: Update from translation team.
40955         * po/cs.po: Update from translation team.
40957         * po/de.po: Update from translation team.
40958         * po/eo.po: Likewise.
40959         * po/nl.po: Likewise.
40961 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40963         [BZ #14246]
40964         * manual/argp.texi (Argp Helper Functions): Move node to follow
40965         Argp Parsing State.
40967         [BZ #14872]
40968         * manual/conf.texi (Limits on File System Capacity): Mention if
40969         terminating null is included in the max size.
40971 2012-12-10  Andreas Jaeger  <aj@suse.de>
40973         * po/cs.po: Update from translation team.
40975 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40977         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40978         void pointer and cast to uintptr_t.
40979         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40980         path.
40981         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40982         * sysdeps/s390/s390-64/memset.S: Likewise.
40984 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40986         [BZ #14833]
40987         * menual/message.texi (Message Translation): Fix typos.
40988         (Helper programs for gettext): Likewise.
40990 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40992         [BZ #14898]
40993         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40994         Change to -1.
40996 2012-12-07  David S. Miller  <davem@davemloft.net>
40998         * po/libc.pot: Update.
41000 2012-12-07  Richard Henderson  <rth@redhat.com>
41002         [BZ #10114]
41003         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41004         normal/normal case to before the switch.
41005         (_FP_DIV): Likewise.
41007 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41008             Mike Frysinger  <vapier@gentoo.org>
41010         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41011         check for __NR_fadvise64_64.
41013 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41015         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41016         0, not just to plain "0" as a statement.
41017         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41018         with cw.
41020 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41022         * NEWS: Use sourceware.org in Bugzilla URL.
41024 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41027         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41029         * stdio-common/tst-put-error.c (do_test): Add newline to the
41030         padded test to ensure flush.
41032 2012-12-05  Jeff Law  <law@redhat.com>
41034         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41036 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41038         * README: Don't refer to ports add-on as distributed separately.
41039         Mention AArch64 in list of systems supported in the ports add-on.
41041         * LICENSES: Add more non-FSF copyright and license notices.
41043         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41044         ((unused)).
41046         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41048         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41049         10000 as width of padded output.
41051 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41053         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41055         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41056         variable LX with __attribute__ ((unused)).
41057         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41058         Likewise.
41059         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41060         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41062         with __attribute__ ((unused)).
41064 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41066         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41068 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41070         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41071         (CFLAGS-nldbl-acos.c): New variable.
41072         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41073         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41074         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41075         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41076         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41077         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41078         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41079         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41080         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41081         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41082         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41083         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41084         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41085         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41086         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41087         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41088         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41089         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41090         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41091         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41092         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41093         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41094         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41095         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41096         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41097         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41098         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41099         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41100         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41101         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41102         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41103         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41104         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41105         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41106         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41107         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41108         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41109         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41110         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41111         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41112         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41113         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41114         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41115         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41116         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41117         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41118         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41119         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41120         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41121         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41122         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41123         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41124         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41125         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41126         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41127         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41128         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41129         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41130         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41131         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41132         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41133         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41134         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41135         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41136         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41137         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41138         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41139         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41140         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41141         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41142         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41143         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41144         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41145         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41146         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41147         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41148         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41149         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41150         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41151         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41152         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41153         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41154         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41155         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41156         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41157         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41158         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41159         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41160         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41161         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41162         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41163         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41164         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41165         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41166         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41167         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41168         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41171         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41173         [BZ #14914]
41174         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41175         whole low double instead of just low 47 bits when splitting values
41176         into two parts.
41178 2012-12-03  Allan McRae  <allan@archlinux.org>
41180         * manual/stdio.texi (Predefined Printf Handlers): Remove
41181         @hsep and @vsep usage.
41183 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41185         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41186         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41188 2012-12-03  Jeff Law  <law@redhat.com>
41190         * time/sys/time.h (settimeofday): Do not mark TV argument
41191         as __nonnull.
41193 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41195         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41196         when currently writing and seek to current position when not.
41197         * libio/Makefile (tests): Remove bug-fclose1.
41198         * libio/bug-fclose1.c: Delete.
41200 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41202         * manual/arith.texi (feenableexcept): Fix typo.
41203         (fedisableexcept): Likewise.
41205 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41207         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41208         second, differently-typed declaration, rather than a cast.
41210 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41212         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41213         * include/rpc/svc.h: ... here.
41215 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41217         [BZ #13013]
41218         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41219         depending n and resplen2 to catch cases where answer
41220         equals answerp2.
41222 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41224         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41225         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41227 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41229         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41231 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41233         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41235 2012-11-28  Jeff Law  <law@redhat.com>
41237         [BZ #13761]
41238         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41239         dataset_temporary.  Track alloca usage into alloca_used.
41240         If dataset is large allocate and release it via malloc/free.
41242 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41244         [BZ #14197]
41245         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41247 2012-11-28  David S. Miller  <davem@davemloft.net>
41249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41251 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41253         [BZ #14803]
41254         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41255         of pi/2 rounded to nearest to 64 bits.
41256         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41257         nearest to 64 bits.
41258         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41259         bits.
41261 2012-11-28  Jeff Law <law@redhat.com>
41262             Martin Osvald <mosvald@redhat.com>
41264         [BZ #14889]
41265         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41266         * sunrpc/svc.c: Include time.h.
41267         (__svc_accept_failed): New function.
41268         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41269         any reason other than EINTR, call __svc_accept_failed.
41270         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41271         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41273 2012-11-28  Andreas Schwab  <schwab@suse.de>
41275         * scripts/abilist.awk: Also handle indirect functions in .opd
41276         section.
41278 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41280         [BZ #13881]
41281         * sysdeps/x86/fpu/powl_helper.c: New file.
41282         * sysdeps/x86/fpu/Makefile: Likewise.
41283         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41284         (p3): New object.
41285         (__ieee754_powl): Use __powl_helper for finite arguments except
41286         integer exponents below 8.
41287         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41288         (p3): New object.
41289         (__ieee754_powl): Use __powl_helper for finite arguments except
41290         integer exponents below 8.
41291         * math/libm-test.inc (pow_test): Add more tests and enable some
41292         previously disabled tests.
41293         * sysdeps/i386/fpu/libm-test-ulps: Update.
41294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41296 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41297             Carlos O'Donell  <carlos_odonell@mentor.com>
41299         * nss/makedb.c (is_prime): Assert that input is odd and greater
41300         than 4.  Note that fact in a comment too.
41301         (next_prime): Add 4 to input.
41303 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41305         [BZ #11741]
41306         * libio/Makefile (tests): Add test case tst-fwrite-error.
41307         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41308         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41309         * libio/tst-fwrite-error.c: New test case.
41311 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41313         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41314         before casting to void *.
41315         * include/libc-internal.h (__pointer_type): New macro.
41316         (__integer_if_pointer_type_sub): Likewise.
41317         (__integer_if_pointer_type): Likewise.
41318         (cast_to_integer): Likewise.
41319         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41320         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41321         before casting to atomic64_t.
41322         (atomic_exchange_acq): Likewise.
41323         (__arch_exchange_and_add_body): Likewise.
41324         (__arch_add_body): Likewise.
41325         (atomic_add_negative): Likewise.
41326         (atomic_add_zero): Likewise.
41328 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41330         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41331         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41332         (add_fdes): Likewise.
41333         (linear_search_fdes): Likewise.
41334         (binary_search_unencoded_fdes): Likewise.
41336 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41338         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41340 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41342         * configure.in: Autodetect C++ header directories.
41343         * configure: Regenerated.
41345 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41347         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41349 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41353 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41355         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41356         LDBL_MANT_DIG == 106]: Disable some tests.
41357         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41358         Likewise.
41359         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41360         Likewise.
41362         [BZ #14871]
41363         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41364         input for small inputs.  Return +/- pi/2 for large inputs.
41365         * math/libm-test.inc (atan_test): Add more tests.
41367         * sysdeps/generic/unwind-dw2-fde-glibc.c
41368         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41369         __attribute__ ((unused)).
41371         [BZ #14645]
41372         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41373         x * y if x and y are nonzero and z is zero.
41375         [BZ #14811]
41376         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41377         nonzero exponents with absolute value below 0x1p-117 to +/-
41378         0x1p-117.
41380         [BZ #14869]
41381         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41382         up arguments below 2**-450, not just those below 2**-500.
41383         * math/libm-test.inc (hypot_test): Add another test.
41385         [BZ #14868]
41386         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41387         Return a+b for ratio over 2**120, not 2**60.
41388         * math/libm-test.inc (hypot_test): Add another test.
41390         * math/libm-test.inc (clog_test): Use
41391         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41392         (clog10_test): Likewise.
41394         [BZ #6778]
41395         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41397 2012-11-22  Andreas Schwab  <schwab@suse.de>
41399         * sysdeps/i386/fpu/libm-test-ulps: Update.
41401 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41403         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41404         printf output with newline.
41406 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41408         [BZ #14865]
41409         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41410         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41411         -z nodlopen, -z initfirst and -z execstack support.
41412         * configure: Regenerated.
41414         * elf/elf.h (DF_1_NODIRECT): New macro.
41415         (DF_1_IGNMULDEF): Likewise.
41416         (DF_1_NOKSYMS): Likewise.
41417         (DF_1_NOHDR): Likewise.
41418         (DF_1_EDITED): Likewise.
41419         (DF_1_NORELOC): Likewise.
41420         (DF_1_SYMINTPOSE): Likewise.
41421         (DF_1_GLOBAUDIT): Likewise.
41422         (DF_1_SINGLETON): Likewise.
41423         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41424         DT_1_SUPPORTED_MASK bits.
41425         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41427 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41429         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41431 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41433         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41434         macro.
41436         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41437         (sendmmsg): Move declarations...
41438         * socket/sys/socket.h: ... here.
41439         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41440         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41441         include it from...
41442         * socket/recvmmsg.c: ... this new file.
41443         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41444         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41445         definition of __sendmmsg hidden.
41446         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41447         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41448         Move ENOSYS stub into and include it from...
41449         * socket/sendmmsg.c: ... this new file.
41450         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41451         (sysdep_routines): Move recvmmsg and sendmmsg...
41452         * socket/Makefile (routines): ... here.
41453         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41454         (GLIBC_PRIVATE): Add __sendmmsg.
41455         * include/sys/socket.h (__sendmmsg): Add declarations.
41456         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41457         sendmmsg.
41459 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41461         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41462         variable I1 with __attribute__ ((unused)).
41463         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41465 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41467         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41468         DUMMY variables with __attribute__ ((unused)).
41470         * bits/byteswap.h: Include <bits/types.h>.
41471         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41473 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41475         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41476         string_t.  Do not manually set errno.
41477         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41478         length with __strnlen.  Make sure to both set errno and return it on
41479         failure.
41481 2012-11-19  David S. Miller  <davem@davemloft.net>
41483         With help from Joseph Myers.
41484         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41485         very large arguments properly.
41486         * math/libm-test.inc (atan_test): New tests.
41487         (atan2_test): New tests.
41488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41491 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41493         [BZ #14856]
41494         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41495         Define to 3.
41497         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41498         [POSIX] (EADDRNOTAVAIL): Likewise.
41499         [POSIX] (EAFNOSUPPORT): Likewise.
41500         [POSIX] (EALREADY): Likewise.
41501         [POSIX] (ECONNABORTED): Likewise.
41502         [POSIX] (ECONNREFUSED): Likewise.
41503         [POSIX] (ECONNRESET): Likewise.
41504         [POSIX] (EDESTADDRREQ): Likewise.
41505         [POSIX] (EDQUOT): Likewise.
41506         [POSIX] (EHOSTUNREACH): Likewise.
41507         [POSIX] (EIDRM): Likewise.
41508         [POSIX] (EISCONN): Likewise.
41509         [POSIX] (ELOOP): Likewise.
41510         [POSIX] (EMULTIHOP): Likewise.
41511         [POSIX] (ENETDOWN): Likewise.
41512         [POSIX] (ENETUNREACH): Likewise.
41513         [POSIX] (ENOBUFS): Likewise.
41514         [POSIX] (ENODATA): Likewise.
41515         [POSIX] (ENOLINK): Likewise.
41516         [POSIX] (ENOMSG): Likewise.
41517         [POSIX] (ENOPROTOOPT): Likewise.
41518         [POSIX] (ENOSR): Likewise.
41519         [POSIX] (ENOSTR): Likewise.
41520         [POSIX] (ENOTCONN): Likewise.
41521         [POSIX] (ENOTSOCK): Likewise.
41522         [POSIX] (EOPNOTSUPP): Likewise.
41523         [POSIX] (EOVERFLOW): Likewise.
41524         [POSIX] (EPROTO): Likewise.
41525         [POSIX] (EPROTONOSUPPORT): Likewise.
41526         [POSIX] (EPROTOTYPE): Likewise.
41527         [POSIX] (ESTALE): Likewise.
41528         [POSIX] (ETIME): Likewise.
41529         [POSIX] (ETXTBSY): Likewise.
41530         [POSIX] (EWOULDBLOCK): Likewise.
41531         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41532         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41533         [POSIX] (SEEK_CUR): Likewise.
41534         [POSIX] (SEEK_END): Likewise.
41535         [POSIX || UNIX98] (mode_t): Do not require.
41536         [POSIX] (off_t): Likewise.
41537         [POSIX] (pid_t): Likewise.
41538         [POSIX] (sys/stat.h): Do not allow header.
41539         [POSIX] (unistd.h): Likewise.
41540         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41541         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41542         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41543         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41544         require.
41545         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41546         sigevent): Specify elements.
41547         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41548         entry.
41549         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41550         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41552         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41553         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41554         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41555         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41556         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41557         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41558         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41559         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41560         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41561         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41562         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41563         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41564         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41565         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41566         Likewise.
41567         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41568         Likewise.
41569         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41570         Likewise.
41571         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41572         Likewise.
41573         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41574         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41575         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41576         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41577         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41578         Specify lower bound on value.
41579         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41580         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41581         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41582         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41583         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41584         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41585         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41586         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41587         value.
41588         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41589         as optional.
41590         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41591         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41592         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41593         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41594         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41595         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41596         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41597         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41598         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41599         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41600         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41601         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41602         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41603         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41604         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41605         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41606         entry.
41607         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41608         optional.
41609         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41610         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41611         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41612         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41613         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41614         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41615         Likewise.
41616         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41617         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41618         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41619         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41620         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41621         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41622         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41623         as optional.
41624         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41625         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41626         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41627         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41628         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41629         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41630         specify as optional.
41631         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41632         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41633         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41634         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41635         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41636         [XPG3] (NL_LANGMAX): Likewise.
41637         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41638         [POSIX || XPG3] (NL_NMAX): Likewise.
41639         [POSIX || XPG3] (NL_SETMAX): Likewise.
41640         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41641         [XPG3] (NZERO): Likewise.
41642         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41643         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41644         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41645         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41646         (REG_ERANGE): Expect.
41647         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41648         optional-constant.
41649         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41650         Use (void) in prototype.
41651         [POSIX] (*_t): Allow.
41652         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41653         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41654         (WRDE_BADVAL): Expect.
41656         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41657         expect.
41658         [XPG3 || XPG4] (O_RSYNC): Likewise.
41659         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41660         Likewise.
41661         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41662         [XPG3 || XPG4] (sigqueue): Likewise.
41663         [XPG3 || XPG4] (sigtimedwait): Likewise.
41664         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41665         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41666         [XPG3 || XPG4] (vsnprintf): Likewise.
41667         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41668         Likewise.
41669         [XPG3 || XPG4] (blksize_t): Likewise.
41670         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41671         Likewise.
41672         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41673         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41674         [XPG3 || XPG4] (struct itimerspec): Likewise.
41675         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41676         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41677         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41678         [XPG3 || XPG4] (clockid_t): Likewise.
41679         [XPG3 || XPG4] (timer_t): Likewise.
41680         [XPG3 || XPG4] (clock_getres): Likewise.
41681         [XPG3 || XPG4] (clock_gettime): Likewise.
41682         [XPG3 || XPG4] (clock_settime): Likewise.
41683         [XPG3 || XPG4] (nanosleep): Likewise.
41684         [XPG3 || XPG4] (timer_create): Likewise.
41685         [XPG3 || XPG4] (timer_delete): Likewise.
41686         [XPG3 || XPG4] (timer_gettime): Likewise.
41687         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41688         [XPG3 || XPG4] (timer_settime): Likewise.
41689         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41690         [XPG3 || XPG4] (getlogin_r): Likewise.
41691         [XPG3 || XPG4] (pread): Likewise.
41692         [XPG3 || XPG4] (pthread_atfork): Likewise.
41693         [XPG3 || XPG4] (pwrite): Likewise.
41695         [BZ #14835]
41696         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41697         <bits/siginfo.h>.
41699 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41701         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41702         finalizing MALLSTREAM.
41704         * sysdeps/mach/hurd/syncfs.c: New file.
41706 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41708         [BZ #14719]
41709         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41710         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41711         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41712         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41713         (_nss_dns_gethostbyname4_r): Likewise.
41714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41715         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41717 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41719         [BZ #13763]
41720         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41722 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41724         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41725         * elf/cache.c (print_entry): Print ",AArch64" for
41726         FLAG_AARCH64_LIB64
41728         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41729         * elf/cache.c (print_entry): Print ",hard-float" for
41730         FLAG_ARM_LIBHF.
41732 2012-11-18  David S. Miller  <davem@davemloft.net>
41734         With help from Joseph Myers.
41735         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41736         cutoff to 2**-13.
41737         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41738         cutoff to 2**-25.
41739         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41740         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41741         small.
41742         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41743         * math/libm-test.inc (y0_test): New tests.
41744         (y1_test): New tests.
41745         * sysdeps/i386/fpu/libm-test-ulps: Update.
41746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41749 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41751         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41752         64-bit targets.
41753         * configure: Regenerated.
41755 2012-11-17  David S. Miller  <davem@davemloft.net>
41757         [BZ #14811]
41758         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41759         nonzero exponents with absolute value below 0x1p-128 to +/-
41760         0x1p-128.
41762 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41764         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41766         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41768         * posix/getconf-speclist.c: New file.
41769         * posix/posix-envs.def: Likewise.
41770         * posix/confstr.c (START_ENV_GROUP): New macro.
41771         (END_ENV_GROUP): Likewise.
41772         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41773         (KNOWN_PRESENT_ENV_STRING): Likewise.
41774         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41775         (UNKNOWN_ENVIRONMENT): Likewise.
41776         (confstr): Include posix-envs.def instead of handling
41777         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41778         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41779         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41780         (END_ENV_GROUP): Likewise.
41781         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41782         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41783         (UNKNOWN_ENVIRONMENT): Likewise.
41784         (__sysconf): Include posix-envs.def instead of handling associated
41785         cases directly here.
41786         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41787         preprocessing getconf-speclist.c rather than running getconf or
41788         generating empty file.
41790 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41792         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41794 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41796         [BZ #14672]
41797         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41799 2012-11-16  David S. Miller  <davem@davemloft.net>
41801         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41802         smaller than LDBL_EPSILON/2.0L, just return xm1.
41804 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41806         * elf/tst-array1.c (init): Set constructor priority to 1000.
41807         (fini): Set destructor priority to 1000.
41808         * elf/tst-array2dep.c: Likewise.
41810 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41812         [BZ #11741]
41813         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41814         (_IO_new_file_xsputn): Also return EOF if none of the input
41815         data was written when overflow failed.
41816         * libio/iopadn.c (_IO_padn): Likewise.
41817         * libio/iowpadn.c (_IO_wpadn): Likewise.
41818         * stdio-common/tst-put-error.c: Add copyright notice.
41819         (do_test): Add case for printing padded string.
41820         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41821         _IO_padn returned error.
41822         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41823         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41824         return EOF.
41826 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41828         * libio/libioP.h: Add comment note that the references to C++
41829         bits are now obsolete.
41831 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41833         * math/libm-test.inc (check_complex): Use asprintf.
41835 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41837         * debug/pcprofiledump.c (print_version): Update copyright year.
41838         * malloc/memusagestat.c (print_version): Likewise.
41840 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41842         [BZ #14831]
41843         * elf/Makefile (tests): Add tst-audit8.
41844         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41845         ($(objpfx)tst-audit8.out): New target.
41846         (tst-audit8-ENV): New variable.
41847         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41848         audit if l_reloc_result is NULL.
41849         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41850         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41851         * elf/tst-audit8.c: New file.
41853 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41855         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41856         * misc/Makefile (CFLAGS-select.c): Define.
41857         * posix/Makefile (CFLAGS-pause.c): Define.
41859 2012-11-13  David S. Miller  <davem@davemloft.net>
41861         * crypt/Makefile: Move test targets after toplevel Rules
41862         inclusion.  Grab any necessary sysdep routines when linking.
41863         * crypt/md5.c (md5_process_block): Remove define, we will always
41864         name it __md5_process_block.
41865         (md5_finish_ctx): Update md5_process_block call.
41866         (md5_stream): Likewise.
41867         (md5_process_bytes): Likewise.
41868         (md5_process_block): Rename to __md5_process_block and move to ...
41869         * crypt/md5-block.c: ... here.
41870         * crypt/sha256.c (sha256_process_block): Move to ...
41871         * crypt/sha256-block.c: ... here.
41872         * crypt/sha512.c (sha512_process_block): Move to ...
41873         * crypt/sha512-block.c: ... here.
41874         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41875         path.
41876         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41877         * sysdeps/sparc/sparc64/multiarch/Makefile
41878         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41879         crypt subdir.
41880         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41881         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41882         multiarch changes.
41883         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41884         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41885         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41886         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41887         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41888         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41889         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41890         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41891         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41892         file.
41893         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41894         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41895         file.
41896         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41898 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41900         * timezone/tzselect.ksh: Update from tzcode git revision
41901         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41902         * timezone/zdump.c: Likewise.
41903         * timezone/zic.c: Likewise.
41904         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41905         in TZVERSION setting, not $(PKGVERSION).
41906         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41907         REPORT_BUGS_TO settings.
41909         [BZ #14838]
41910         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41911         macro.
41913 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41915         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41916         detection to immediately after _FP_ROUND().
41917         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41918         bits are 0.
41920 2012-11-11  David S. Miller  <davem@davemloft.net>
41922         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41923         inttypes.h
41924         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41925         __close rather than their public counterparts.
41927 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41929         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41930         file.
41931         [UNIX98] (sem_timedwait): Do not expect.
41932         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41933         [XPG4 || UNIX98] (sockatmark): Do not expect.
41934         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41935         (clock_getcpuclockid): Do not expect.
41936         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41937         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41938         Do not expect.
41939         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41940         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41941         [UNIX98] (vwscanf): Likewise.
41942         [UNIX98] (vswscanf): Likewise.
41944 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41946         * timezone/version.h: Remove file.
41947         * timezone/README: Do not refer to version.h.
41948         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41949         $(objpfx)version.h.
41950         ($(objpfx)zdump.o): Likewise.
41951         ($(objpfx)version.h): New target.
41953         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41954         2012i.
41955         * timezone/README: Don't mention modification to tzselect.ksh.
41956         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41957         work on unmodified tzselect.ksh.  Substitute version numbers in
41958         tzselect.ksh.
41960         * Makefile (format-me): Remove.
41961         (INSTALL): Adjust indentation.  Use commands directly instead of
41962         using $(format-me).
41964         * aclocal.m4 (ACX_PKGVERSION): New macro.
41965         (ACX_BUGURL): Likewise.
41966         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41967         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41968         (REPORT_BUGS_TO): Likewise.
41969         * configure: Regenerated.
41970         * config.h.in (PKGVERSION): New macro.
41971         (REPORT_BUGS_TO): Likewise.
41972         * config.make.in (PKGVERSION): New variable.
41973         (PKGVERSION_TEXI): Likewise.
41974         (REPORT_BUGS_TO): Likewise.
41975         (REPORT_BUGS_TEXI): Likewise.
41976         * Makefile (format-me): Use -I$(common-objpfx)manual.
41977         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41978         ($(common-objpfx)manual/%): New target.
41979         (manual/%): Remove target.
41980         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41981         (print_version): Use PKGVERSION.
41982         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41983         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41984         and REPORT_BUGS_TO.
41985         ($(objpfx)xtrace): Likewise.
41986         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41987         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41988         (print_version): Use PKGVERSION.
41989         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41990         (do_version): Use PKGVERSION.
41991         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41992         REPORT_BUGS_TO.
41993         (common-ldd-rewrite): Likewise.
41994         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41995         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41996         (print_version): Use PKGVERSION.
41997         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41998         * elf/pldd.c (argp_program_bug_address): Remove variable.
41999         (more_help): New function.
42000         (argp): Use more_help.
42001         (print_version): Use PKGVERSION.
42002         * elf/sln.c (main): Use PKGVERSION.
42003         (usage): Use REPORT_BUGS_TO.
42004         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42005         (top level): Use PKGVERSION.
42006         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42007         (print_version): Use PKGVERSION.
42008         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42009         (print_version): Use PKGVERSION.
42010         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42011         (print_version): Use PKGVERSION.
42012         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42013         (print_version): Use PKGVERSION.
42014         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42015         (print_version): Use PKGVERSION.
42016         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42017         (print_version): Use PKGVERSION.
42018         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42019         and BUGURL.
42020         ($(objpfx)memusage): Likewise.
42021         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42022         (do_version): Use PKGVERSION.
42023         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42024         (print_version): Use PKGVERSION.
42025         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42026         ($PKGVERSION): New variable.
42027         ($REPORT_BUGS_TO): Likewise.
42028         (usage): Use $REPORT_BUGS_TO.
42029         (top level): Use $PKGVERSION.
42030         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42031         ($(objpfx)pkgvers.texi): New rule.
42032         ($(objpfx)stamp-pkgvers): Likewise.
42033         * manual/install.texi: Include pkgvers.texi.
42034         (--with-pkgversion): Document new configure option.
42035         (--with-bugurl): Likewise.
42036         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42037         than necessarily for this particular distribution.  Use
42038         REPORT_BUGS_TO for where to report bugs.
42039         * INSTALL: Regenerated.
42040         * manual/libc.texinfo: Include pkgvers.texi.
42041         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42042         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42043         (print_version): Use PKGVERSION.
42044         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42045         (print_version): Use PKGVERSION.
42046         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42047         (print_version): Use PKGVERSION.
42048         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42049         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42050         macro.
42051         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42052         (print_version): Use PKGVERSION.
42053         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42054         (print_version): Use PKGVERSION.
42055         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42056         and PKGVERSION.
42058         * timezone/checktab.awk: Update from tzcode 2012i.
42059         * timezone/ialloc.c: Likewise.
42060         * timezone/private.h: Likewise.
42061         * timezone/scheck.c: Likewise.
42062         * timezone/tzfile.h: Likewise.
42063         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42064         (TZVERSION): Hardcode tzcode version number.
42065         * timezone/zdump.c: Update from tzcode 2012i.
42066         * timezone/zic.c: Likewise.
42067         * timezone/version.h: New file.
42068         * timezone/README: Describe version.h.  Update upstream location.
42070         [BZ #14824]
42071         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42072         (mktemp): Enable declaration.
42073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42074         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42075         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42076         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42077         Likewise.
42078         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42079         Likewise.
42080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42081         Likewise.
42082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42083         Likewise.
42084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42085         Likewise.
42086         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42087         Likewise.
42089         [BZ #14821]
42090         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42091         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42092         for copies of such integer values.
42093         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42094         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42096 2012-11-09  Andreas Jaeger  <aj@suse.de>
42098         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42099         definitions and declarations that are provided by
42100         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42102 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42104         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42105         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42106         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42107         definition.
42109 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42111         * elf/elf.h: Update comment before AArch64 relocations.
42113 2012-11-07  David S. Miller  <davem@davemloft.net>
42115         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42116         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42117         (__start_context): Declare.
42118         (__makecontext_ret): Delete.
42119         (__makecontext): Hook up __start_context instead of
42120         __makecontext_ret.
42121         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42122         (sysdep_routines): Add __start_context when in stdlib.
42124 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42126         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42127         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42128         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42129         hardcoded "nm".
42130         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42131         (READELF): New variable.  Use it instead of hardcoded "readelf".
42133 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42135         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42136         * sysdeps/x86/Makefile: Here.
42137         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42138         * sysdeps/x86/tst-xmmymm.sh: This.
42140 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42142         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42143         expectations.
42144         [UNIX98] (pthread_barrier_t): Do not expect.
42145         [UNIX98] (pthread_barrierattr_t): Likewise.
42146         [UNIX98] (pthread_spinlock_t): Likewise.
42147         [UNIX98] (pthread_barrier_destroy): Likewise.
42148         [UNIX98] (pthread_barrier_init): Likewise.
42149         [UNIX98] (pthread_barrier_wait): Likewise.
42150         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42151         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42152         [UNIX98] (pthread_barrierattr_init): Likewise.
42153         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42154         [UNIX98] (pthread_getcpuclockid): Likewise.
42155         [UNIX98] (pthread_mutex_timedlock): Likewise.
42156         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42157         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42158         [UNIX98] (pthread_sigmask): Likewise.
42159         [UNIX98] (pthread_spin_destroy): Likewise.
42160         [UNIX98] (pthread_spin_init): Likewise.
42161         [UNIX98] (pthread_spin_lock): Likewise.
42162         [UNIX98] (pthread_spin_trylock): Likewise.
42163         [UNIX98] (pthread_spin_unlock): Likewise.
42164         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42165         Do not expect.
42166         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42167         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42168         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42169         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42170         [XPG3 || XPG4] (pthread_key_t): Likewise.
42171         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42172         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42173         [XPG3 || XPG4] (pthread_once_t): Likewise.
42174         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42175         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42176         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42177         [XPG3 || XPG4] (pthread_t): Likewise.
42179         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42180         not expect.
42181         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42183         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42184         Change function return type to int.
42186         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42187         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42188         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42189         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42190         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42191         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42192         [!POSIX] (posix_madvise): Likewise.
42193         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42194         && !UNIX98].
42195         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42196         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42197         (mode_t): Likewise.
42198         (posix_mem_offset): Likewise.
42199         (posix_typed_mem_get_info): Likewise.
42200         (posix_typed_mem_open): Likewise.
42202         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42203         Change condition to [XOPEN2K8].
42205         * conform/conformtest.pl: Preprocess allow-header data with -x c
42206         instead of from stdin.
42207         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42208         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42209         [C99-based standards] (cerfc): Likewise.
42210         [C99-based standards] (cexp2): Likewise.
42211         [C99-based standards] (cexpm1): Likewise.
42212         [C99-based standards] (clog10): Likewise.
42213         [C99-based standards] (clog1p): Likewise.
42214         [C99-based standards] (clog2): Likewise.
42215         [C99-based standards] (clgamma): Likewise.
42216         [C99-based standards] (ctgamma): Likewise.
42217         [C99-based standards] (cerff): Likewise.
42218         [C99-based standards] (cerfcf): Likewise.
42219         [C99-based standards] (cexp2f): Likewise.
42220         [C99-based standards] (cexpm1f): Likewise.
42221         [C99-based standards] (clog10f): Likewise.
42222         [C99-based standards] (clog1pf): Likewise.
42223         [C99-based standards] (clog2f): Likewise.
42224         [C99-based standards] (clgammaf): Likewise.
42225         [C99-based standards] (ctgammaf): Likewise.
42226         [C99-based standards] (cerfl): Likewise.
42227         [C99-based standards] (cerfcl): Likewise.
42228         [C99-based standards] (cexp2l): Likewise.
42229         [C99-based standards] (cexpm1l): Likewise.
42230         [C99-based standards] (clog10l): Likewise.
42231         [C99-based standards] (clog1pl): Likewise.
42232         [C99-based standards] (clog2l): Likewise.
42233         [C99-based standards] (clgammal): Likewise.
42234         [C99-based standards] (ctgammal): Likewise.
42235         * conform/data/inttypes.h-data [C99-based standards]: Include
42236         stdint.h-data.  Remove all expectations for stdint.h contents.
42237         [C99-based standards] (PRI*): Do not allow.
42238         [C99-based standards] (SCN*): Likewise.
42239         [C99-based standards] (*_t): Likewise.
42240         [C99-based-standards] (PRId8): Expect macro.
42241         [C99-based-standards] (PRIi8): Likewise.
42242         [C99-based-standards] (PRIo8): Likewise.
42243         [C99-based-standards] (PRIu8): Likewise.
42244         [C99-based-standards] (PRIx8): Likewise.
42245         [C99-based-standards] (PRIX8): Likewise.
42246         [C99-based-standards] (SCNd8): Likewise.
42247         [C99-based-standards] (SCNi8): Likewise.
42248         [C99-based-standards] (SCNo8): Likewise.
42249         [C99-based-standards] (SCNu8): Likewise.
42250         [C99-based-standards] (SCNx8): Likewise.
42251         [C99-based-standards] (PRIdLEAST8): Likewise.
42252         [C99-based-standards] (PRIiLEAST8): Likewise.
42253         [C99-based-standards] (PRIoLEAST8): Likewise.
42254         [C99-based-standards] (PRIuLEAST8): Likewise.
42255         [C99-based-standards] (PRIxLEAST8): Likewise.
42256         [C99-based-standards] (PRIXLEAST8): Likewise.
42257         [C99-based-standards] (SCNdLEAST8): Likewise.
42258         [C99-based-standards] (SCNiLEAST8): Likewise.
42259         [C99-based-standards] (SCNoLEAST8): Likewise.
42260         [C99-based-standards] (SCNuLEAST8): Likewise.
42261         [C99-based-standards] (SCNxLEAST8): Likewise.
42262         [C99-based-standards] (PRIdFAST8): Likewise.
42263         [C99-based-standards] (PRIiFAST8): Likewise.
42264         [C99-based-standards] (PRIoFAST8): Likewise.
42265         [C99-based-standards] (PRIuFAST8): Likewise.
42266         [C99-based-standards] (PRIxFAST8): Likewise.
42267         [C99-based-standards] (PRIXFAST8): Likewise.
42268         [C99-based-standards] (SCNdFAST8): Likewise.
42269         [C99-based-standards] (SCNiFAST8): Likewise.
42270         [C99-based-standards] (SCNoFAST8): Likewise.
42271         [C99-based-standards] (SCNuFAST8): Likewise.
42272         [C99-based-standards] (SCNxFAST8): Likewise.
42273         [C99-based-standards] (PRId16): Likewise.
42274         [C99-based-standards] (PRIi16): Likewise.
42275         [C99-based-standards] (PRIo16): Likewise.
42276         [C99-based-standards] (PRIu16): Likewise.
42277         [C99-based-standards] (PRIx16): Likewise.
42278         [C99-based-standards] (PRIX16): Likewise.
42279         [C99-based-standards] (SCNd16): Likewise.
42280         [C99-based-standards] (SCNi16): Likewise.
42281         [C99-based-standards] (SCNo16): Likewise.
42282         [C99-based-standards] (SCNu16): Likewise.
42283         [C99-based-standards] (SCNx16): Likewise.
42284         [C99-based-standards] (PRIdLEAST16): Likewise.
42285         [C99-based-standards] (PRIiLEAST16): Likewise.
42286         [C99-based-standards] (PRIoLEAST16): Likewise.
42287         [C99-based-standards] (PRIuLEAST16): Likewise.
42288         [C99-based-standards] (PRIxLEAST16): Likewise.
42289         [C99-based-standards] (PRIXLEAST16): Likewise.
42290         [C99-based-standards] (SCNdLEAST16): Likewise.
42291         [C99-based-standards] (SCNiLEAST16): Likewise.
42292         [C99-based-standards] (SCNoLEAST16): Likewise.
42293         [C99-based-standards] (SCNuLEAST16): Likewise.
42294         [C99-based-standards] (SCNxLEAST16): Likewise.
42295         [C99-based-standards] (PRIdFAST16): Likewise.
42296         [C99-based-standards] (PRIiFAST16): Likewise.
42297         [C99-based-standards] (PRIoFAST16): Likewise.
42298         [C99-based-standards] (PRIuFAST16): Likewise.
42299         [C99-based-standards] (PRIxFAST16): Likewise.
42300         [C99-based-standards] (PRIXFAST16): Likewise.
42301         [C99-based-standards] (SCNdFAST16): Likewise.
42302         [C99-based-standards] (SCNiFAST16): Likewise.
42303         [C99-based-standards] (SCNoFAST16): Likewise.
42304         [C99-based-standards] (SCNuFAST16): Likewise.
42305         [C99-based-standards] (SCNxFAST16): Likewise.
42306         [C99-based-standards] (PRId32): Likewise.
42307         [C99-based-standards] (PRIi32): Likewise.
42308         [C99-based-standards] (PRIo32): Likewise.
42309         [C99-based-standards] (PRIu32): Likewise.
42310         [C99-based-standards] (PRIx32): Likewise.
42311         [C99-based-standards] (PRIX32): Likewise.
42312         [C99-based-standards] (SCNd32): Likewise.
42313         [C99-based-standards] (SCNi32): Likewise.
42314         [C99-based-standards] (SCNo32): Likewise.
42315         [C99-based-standards] (SCNu32): Likewise.
42316         [C99-based-standards] (SCNx32): Likewise.
42317         [C99-based-standards] (PRIdLEAST32): Likewise.
42318         [C99-based-standards] (PRIiLEAST32): Likewise.
42319         [C99-based-standards] (PRIoLEAST32): Likewise.
42320         [C99-based-standards] (PRIuLEAST32): Likewise.
42321         [C99-based-standards] (PRIxLEAST32): Likewise.
42322         [C99-based-standards] (PRIXLEAST32): Likewise.
42323         [C99-based-standards] (SCNdLEAST32): Likewise.
42324         [C99-based-standards] (SCNiLEAST32): Likewise.
42325         [C99-based-standards] (SCNoLEAST32): Likewise.
42326         [C99-based-standards] (SCNuLEAST32): Likewise.
42327         [C99-based-standards] (SCNxLEAST32): Likewise.
42328         [C99-based-standards] (PRIdFAST32): Likewise.
42329         [C99-based-standards] (PRIiFAST32): Likewise.
42330         [C99-based-standards] (PRIoFAST32): Likewise.
42331         [C99-based-standards] (PRIuFAST32): Likewise.
42332         [C99-based-standards] (PRIxFAST32): Likewise.
42333         [C99-based-standards] (PRIXFAST32): Likewise.
42334         [C99-based-standards] (SCNdFAST32): Likewise.
42335         [C99-based-standards] (SCNiFAST32): Likewise.
42336         [C99-based-standards] (SCNoFAST32): Likewise.
42337         [C99-based-standards] (SCNuFAST32): Likewise.
42338         [C99-based-standards] (SCNxFAST32): Likewise.
42339         [C99-based-standards] (PRId64): Likewise.
42340         [C99-based-standards] (PRIi64): Likewise.
42341         [C99-based-standards] (PRIo64): Likewise.
42342         [C99-based-standards] (PRIu64): Likewise.
42343         [C99-based-standards] (PRIx64): Likewise.
42344         [C99-based-standards] (PRIX64): Likewise.
42345         [C99-based-standards] (SCNd64): Likewise.
42346         [C99-based-standards] (SCNi64): Likewise.
42347         [C99-based-standards] (SCNo64): Likewise.
42348         [C99-based-standards] (SCNu64): Likewise.
42349         [C99-based-standards] (SCNx64): Likewise.
42350         [C99-based-standards] (PRIdLEAST64): Likewise.
42351         [C99-based-standards] (PRIiLEAST64): Likewise.
42352         [C99-based-standards] (PRIoLEAST64): Likewise.
42353         [C99-based-standards] (PRIuLEAST64): Likewise.
42354         [C99-based-standards] (PRIxLEAST64): Likewise.
42355         [C99-based-standards] (PRIXLEAST64): Likewise.
42356         [C99-based-standards] (SCNdLEAST64): Likewise.
42357         [C99-based-standards] (SCNiLEAST64): Likewise.
42358         [C99-based-standards] (SCNoLEAST64): Likewise.
42359         [C99-based-standards] (SCNuLEAST64): Likewise.
42360         [C99-based-standards] (SCNxLEAST64): Likewise.
42361         [C99-based-standards] (PRIdFAST64): Likewise.
42362         [C99-based-standards] (PRIiFAST64): Likewise.
42363         [C99-based-standards] (PRIoFAST64): Likewise.
42364         [C99-based-standards] (PRIuFAST64): Likewise.
42365         [C99-based-standards] (PRIxFAST64): Likewise.
42366         [C99-based-standards] (PRIXFAST64): Likewise.
42367         [C99-based-standards] (SCNdFAST64): Likewise.
42368         [C99-based-standards] (SCNiFAST64): Likewise.
42369         [C99-based-standards] (SCNoFAST64): Likewise.
42370         [C99-based-standards] (SCNuFAST64): Likewise.
42371         [C99-based-standards] (SCNxFAST64): Likewise.
42372         [C99-based-standards] (PRIdMAX): Likewise.
42373         [C99-based-standards] (PRIiMAX): Likewise.
42374         [C99-based-standards] (PRIoMAX): Likewise.
42375         [C99-based-standards] (PRIuMAX): Likewise.
42376         [C99-based-standards] (PRIxMAX): Likewise.
42377         [C99-based-standards] (PRIXMAX): Likewise.
42378         [C99-based-standards] (SCNdMAX): Likewise.
42379         [C99-based-standards] (SCNiMAX): Likewise.
42380         [C99-based-standards] (SCNoMAX): Likewise.
42381         [C99-based-standards] (SCNuMAX): Likewise.
42382         [C99-based-standards] (SCNxMAX): Likewise.
42383         [C99-based-standards] (PRIdPTR): Likewise.
42384         [C99-based-standards] (PRIiPTR): Likewise.
42385         [C99-based-standards] (PRIoPTR): Likewise.
42386         [C99-based-standards] (PRIuPTR): Likewise.
42387         [C99-based-standards] (PRIxPTR): Likewise.
42388         [C99-based-standards] (PRIXPTR): Likewise.
42389         [C99-based-standards] (SCNdPTR): Likewise.
42390         [C99-based-standards] (SCNiPTR): Likewise.
42391         [C99-based-standards] (SCNoPTR): Likewise.
42392         [C99-based-standards] (SCNuPTR): Likewise.
42393         [C99-based-standards] (SCNxPTR): Likewise.
42394         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42395         allow.
42396         * conform/data/stdint.h-data: Update comments to clarify
42397         requirements.
42398         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42399         type.
42400         [C99-based standards] (INT8_MAX): Likewise.
42401         [C99-based standards] (INT16_MIN): Likewise.
42402         [C99-based standards] (INT16_MAX): Likewise.
42403         [C99-based standards] (INT32_MIN): Likewise.
42404         [C99-based standards] (INT32_MAX): Likewise.
42405         [C99-based standards] (INT64_MIN): Likewise.
42406         [C99-based standards] (INT64_MAX): Likewise.
42407         [C99-based standards] (UINT8_MAX): Likewise.
42408         [C99-based standards] (UINT16_MAX): Likewise.
42409         [C99-based standards] (UINT32_MAX): Likewise.
42410         [C99-based standards] (UINT64_MAX): Likewise.
42411         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42412         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42413         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42414         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42415         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42416         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42417         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42418         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42419         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42420         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42421         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42422         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42423         [C99-based standards] (INT_FAST8_MIN): Likewise.
42424         [C99-based standards] (INT_FAST8_MAX): Likewise.
42425         [C99-based standards] (INT_FAST16_MIN): Likewise.
42426         [C99-based standards] (INT_FAST16_MAX): Likewise.
42427         [C99-based standards] (INT_FAST32_MIN): Likewise.
42428         [C99-based standards] (INT_FAST32_MAX): Likewise.
42429         [C99-based standards] (INT_FAST64_MIN): Likewise.
42430         [C99-based standards] (INT_FAST64_MAX): Likewise.
42431         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42432         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42433         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42434         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42435         [C99-based standards] (INTPTR_MIN): Likewise.
42436         [C99-based standards] (INTPTR_MAX): Likewise.
42437         [C99-based standards] (UINTPTR_MAX): Likewise.
42438         [C99-based standards] (INTMAX_MIN): Likewise.
42439         [C99-based standards] (INTMAX_MAX): Likewise.
42440         [C99-based standards] (UINTMAX_MAX): Likewise.
42441         [C99-based standards] (PTRDIFF_MIN): Likewise.
42442         [C99-based standards] (PTRDIFF_MAX): Likewise.
42443         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42444         [C99-based standards] (SIZE_MAX): Likewise.
42445         [C99-based standards] (WCHAR_MAX): Likewise.
42446         [C99-based standards] (WINT_MAX): Likewise.
42447         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42448         constraint on value.
42449         [C99-based standards] (WCHAR_MIN): Likewise.
42450         [C99-based standards] (WINT_MIN): Likewise.
42451         [C99-based standards] (*_t): Allow.
42452         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42453         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42454         Include math.h-data and complex.h-data.  Remove all expectations
42455         of math.h and complex.h contents.
42456         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42457         at end of line.
42458         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42459         (struct tm): Expect tag.
42460         [C99-based-standards] (wcstof): Expect function.
42461         [C99-based-standards] (wcstold): Likewise.
42462         [C99-based-standards] (wcstoll): Likewise.
42463         [C99-based-standards] (wcstoull): Likewise.
42464         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42465         macro-int-constant.  Specify type.
42466         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42467         constraint on value.
42468         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42469         Specify type.
42470         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42471         Specify value.
42472         [ISO C standards]: Do not allow headers.
42473         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42474         wcs[abcdefghijklmnopqrstuvwxyz]*.
42475         [ISO C standards] (*_t): Do not allow.
42476         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42477         Expect function.
42478         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42479         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42480         Specify type.
42481         [ISO C standards]: Do not allow headers.
42482         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42483         is[abcdefghijklmnopqrstuvwxyz]*.
42484         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42485         to[abcdefghijklmnopqrstuvwxyz]*.
42486         [ISO C standards] (*_t): Do not allow.
42487         * conform/data/stdalign.h-data: New file.
42488         * conform/data/stdbool.h-data: Likewise.
42489         * conform/data/stdnoreturn.h-data: Likewise.
42491 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42493         [BZ #14815]
42494         * manual/filesys.texi (Directory Entries): Typo fix.
42495         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42497 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42499         * elf/elf.h (EM_AARCH64): New macro.
42500         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42501         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42502         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42503         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42504         (R_AARCH64_TLSDESC): Likewise.
42505         (NT_ARM_TLS): Likewise.
42506         (NT_ARM_HW_BREAK): Likewise.
42507         (NT_ARM_HW_WATCH): Likewise.
42509 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42511         [BZ #14811]
42512         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42513         (__ieee754_powl): Saturate nonzero exponents with absolute value
42514         below 0x1p-79 to +/- 0x1p-79.
42515         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42516         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42517         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42518         nonzero exponents with absolute value below 0x1p-32 to +/-
42519         0x1p-32.
42520         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42521         (__ieee754_powl): Saturate nonzero exponents with absolute value
42522         below 0x1p-79 to +/- 0x1p-79.
42523         * math/libm-test.inc (pow_test): Add more tests.
42525 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42527         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42528         _dl_s390_cap_flags with kernel. Increase string length.
42529         (_dl_s390_platforms): Add z196 and zEC12.
42531 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42533         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42534         Change XOPEN21K to XOPEN2K.
42536 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42538         * string/memmove.c: Use memcpy when possible.
42540 2012-11-06  Andreas Jaeger  <aj@suse.de>
42542         * po/eo.po: Update from translation team.
42544 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42546         [BZ #14793]
42547         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42548         exponent and small x and y exponents, scale x or y up.  Increase
42549         by 2 the exponent used in scaling up.
42550         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42552         * math/libm-test.inc (fma_test): Add more tests.
42553         (fma_test_towardzero): Likewise.
42554         (fma_test_downward): Likewise.
42555         (fma_test_upward): Likewise.
42557 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42559         [BZ #14805]
42560         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42561         fenv_t *.
42563         [BZ #14801]
42564         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42565         namespace for names of struct fields.
42566         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42567         fenv_t fields.
42568         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42569         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42571 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42573         [BZ #3665]
42574         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42576 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42578         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42579         PTR_DEMANGLE.
42581         [BZ #5246]
42582         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42583         PTR_DEMANGLE.
42585 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42587         [BZ #14797]
42588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42589         definitely overflow as x * y not x * y + z.
42590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42591         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42592         * math/libm-test.inc (fma_test): Add more tests.
42593         (fma_test_towardzero): Likewise.
42594         (fma_test_downward): Likewise.
42595         (fma_test_upward): Likewise.
42597 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42599         [BZ #157]
42601         * include/stub-tag.h: Remove file.
42602         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42603         '#include' of it.
42604         * manual/maint.texi (Porting): Don't reference it.
42605         * Makerules ($(objpfx)stubs): Likewise.
42606         * dirent/closedir.c: Don't include <stub-tag.h>.
42607         * dirent/dirfd.c: Likewise.
42608         * dirent/fdopendir.c: Likewise.
42609         * dirent/getdents.c: Likewise.
42610         * dirent/getdents64.c: Likewise.
42611         * dirent/opendir.c: Likewise.
42612         * dirent/readdir.c: Likewise.
42613         * dirent/readdir64.c: Likewise.
42614         * dirent/readdir64_r.c: Likewise.
42615         * dirent/readdir_r.c: Likewise.
42616         * dirent/rewinddir.c: Likewise.
42617         * dirent/seekdir.c: Likewise.
42618         * dirent/telldir.c: Likewise.
42619         * gmon/profil.c: Likewise.
42620         * grp/setgroups.c: Likewise.
42621         * inet/if_index.c: Likewise.
42622         * io/access.c: Likewise.
42623         * io/chdir.c: Likewise.
42624         * io/chmod.c: Likewise.
42625         * io/chown.c: Likewise.
42626         * io/close.c: Likewise.
42627         * io/dup.c: Likewise.
42628         * io/dup2.c: Likewise.
42629         * io/dup3.c: Likewise.
42630         * io/euidaccess.c: Likewise.
42631         * io/faccessat.c: Likewise.
42632         * io/fchdir.c: Likewise.
42633         * io/fchmod.c: Likewise.
42634         * io/fchmodat.c: Likewise.
42635         * io/fchown.c: Likewise.
42636         * io/fchownat.c: Likewise.
42637         * io/fcntl.c: Likewise.
42638         * io/flock.c: Likewise.
42639         * io/fstatfs.c: Likewise.
42640         * io/fstatfs64.c: Likewise.
42641         * io/fstatvfs.c: Likewise.
42642         * io/fstatvfs64.c: Likewise.
42643         * io/futimens.c: Likewise.
42644         * io/fxstat.c: Likewise.
42645         * io/fxstat64.c: Likewise.
42646         * io/fxstatat.c: Likewise.
42647         * io/fxstatat64.c: Likewise.
42648         * io/getcwd.c: Likewise.
42649         * io/isatty.c: Likewise.
42650         * io/lchmod.c: Likewise.
42651         * io/lchown.c: Likewise.
42652         * io/link.c: Likewise.
42653         * io/linkat.c: Likewise.
42654         * io/lseek.c: Likewise.
42655         * io/lseek64.c: Likewise.
42656         * io/lxstat64.c: Likewise.
42657         * io/mkdir.c: Likewise.
42658         * io/mkdirat.c: Likewise.
42659         * io/mkfifo.c: Likewise.
42660         * io/mkfifoat.c: Likewise.
42661         * io/open.c: Likewise.
42662         * io/open64.c: Likewise.
42663         * io/openat.c: Likewise.
42664         * io/openat64.c: Likewise.
42665         * io/pipe.c: Likewise.
42666         * io/pipe2.c: Likewise.
42667         * io/poll.c: Likewise.
42668         * io/posix_fadvise.c: Likewise.
42669         * io/posix_fadvise64.c: Likewise.
42670         * io/posix_fallocate.c: Likewise.
42671         * io/posix_fallocate64.c: Likewise.
42672         * io/read.c: Likewise.
42673         * io/readlink.c: Likewise.
42674         * io/readlinkat.c: Likewise.
42675         * io/rmdir.c: Likewise.
42676         * io/sendfile.c: Likewise.
42677         * io/sendfile64.c: Likewise.
42678         * io/statfs.c: Likewise.
42679         * io/statfs64.c: Likewise.
42680         * io/statvfs.c: Likewise.
42681         * io/statvfs64.c: Likewise.
42682         * io/symlink.c: Likewise.
42683         * io/symlinkat.c: Likewise.
42684         * io/ttyname.c: Likewise.
42685         * io/ttyname_r.c: Likewise.
42686         * io/umask.c: Likewise.
42687         * io/unlink.c: Likewise.
42688         * io/unlinkat.c: Likewise.
42689         * io/utime.c: Likewise.
42690         * io/utimensat.c: Likewise.
42691         * io/write.c: Likewise.
42692         * io/xmknod.c: Likewise.
42693         * io/xmknodat.c: Likewise.
42694         * io/xstat.c: Likewise.
42695         * io/xstat64.c: Likewise.
42696         * login/getpt.c: Likewise.
42697         * login/grantpt.c: Likewise.
42698         * login/unlockpt.c: Likewise.
42699         * math/e_acoshl.c: Likewise.
42700         * math/e_acosl.c: Likewise.
42701         * math/e_asinl.c: Likewise.
42702         * math/e_atan2l.c: Likewise.
42703         * math/e_atanhl.c: Likewise.
42704         * math/e_coshl.c: Likewise.
42705         * math/e_expl.c: Likewise.
42706         * math/e_fmodl.c: Likewise.
42707         * math/e_gammal_r.c: Likewise.
42708         * math/e_hypotl.c: Likewise.
42709         * math/e_j0l.c: Likewise.
42710         * math/e_j1l.c: Likewise.
42711         * math/e_jnl.c: Likewise.
42712         * math/e_lgammal_r.c: Likewise.
42713         * math/e_log10l.c: Likewise.
42714         * math/e_log2l.c: Likewise.
42715         * math/e_logl.c: Likewise.
42716         * math/e_powl.c: Likewise.
42717         * math/e_rem_pio2l.c: Likewise.
42718         * math/e_sinhl.c: Likewise.
42719         * math/e_sqrtl.c: Likewise.
42720         * math/fclrexcpt.c: Likewise.
42721         * math/fedisblxcpt.c: Likewise.
42722         * math/feenablxcpt.c: Likewise.
42723         * math/fegetenv.c: Likewise.
42724         * math/fegetexcept.c: Likewise.
42725         * math/fegetround.c: Likewise.
42726         * math/feholdexcpt.c: Likewise.
42727         * math/fesetenv.c: Likewise.
42728         * math/fesetround.c: Likewise.
42729         * math/feupdateenv.c: Likewise.
42730         * math/fgetexcptflg.c: Likewise.
42731         * math/fraiseexcpt.c: Likewise.
42732         * math/fsetexcptflg.c: Likewise.
42733         * math/ftestexcept.c: Likewise.
42734         * math/k_cosl.c: Likewise.
42735         * math/k_rem_pio2l.c: Likewise.
42736         * math/k_sinl.c: Likewise.
42737         * math/k_tanl.c: Likewise.
42738         * math/s_asinhl.c: Likewise.
42739         * math/s_atanl.c: Likewise.
42740         * math/s_cbrtl.c: Likewise.
42741         * math/s_erfl.c: Likewise.
42742         * math/s_expm1l.c: Likewise.
42743         * math/s_log1pl.c: Likewise.
42744         * math/s_tanhl.c: Likewise.
42745         * misc/acct.c: Likewise.
42746         * misc/brk.c: Likewise.
42747         * misc/chflags.c: Likewise.
42748         * misc/chroot.c: Likewise.
42749         * misc/fchflags.c: Likewise.
42750         * misc/fgetxattr.c: Likewise.
42751         * misc/flistxattr.c: Likewise.
42752         * misc/fremovexattr.c: Likewise.
42753         * misc/fsetxattr.c: Likewise.
42754         * misc/fsync.c: Likewise.
42755         * misc/ftruncate.c: Likewise.
42756         * misc/futimes.c: Likewise.
42757         * misc/futimesat.c: Likewise.
42758         * misc/getdomain.c: Likewise.
42759         * misc/getdtsz.c: Likewise.
42760         * misc/gethostid.c: Likewise.
42761         * misc/gethostname.c: Likewise.
42762         * misc/getloadavg.c: Likewise.
42763         * misc/getpagesize.c: Likewise.
42764         * misc/getsysstats.c: Likewise.
42765         * misc/getxattr.c: Likewise.
42766         * misc/gtty.c: Likewise.
42767         * misc/ioctl.c: Likewise.
42768         * misc/lgetxattr.c: Likewise.
42769         * misc/listxattr.c: Likewise.
42770         * misc/llistxattr.c: Likewise.
42771         * misc/lremovexattr.c: Likewise.
42772         * misc/lsetxattr.c: Likewise.
42773         * misc/lutimes.c: Likewise.
42774         * misc/madvise.c: Likewise.
42775         * misc/mincore.c: Likewise.
42776         * misc/mlock.c: Likewise.
42777         * misc/mlockall.c: Likewise.
42778         * misc/mmap.c: Likewise.
42779         * misc/mprotect.c: Likewise.
42780         * misc/msync.c: Likewise.
42781         * misc/munlock.c: Likewise.
42782         * misc/munlockall.c: Likewise.
42783         * misc/munmap.c: Likewise.
42784         * misc/preadv.c: Likewise.
42785         * misc/preadv64.c: Likewise.
42786         * misc/ptrace.c: Likewise.
42787         * misc/pwritev.c: Likewise.
42788         * misc/pwritev64.c: Likewise.
42789         * misc/readv.c: Likewise.
42790         * misc/reboot.c: Likewise.
42791         * misc/remap_file_pages.c: Likewise.
42792         * misc/removexattr.c: Likewise.
42793         * misc/revoke.c: Likewise.
42794         * misc/select.c: Likewise.
42795         * misc/setdomain.c: Likewise.
42796         * misc/setegid.c: Likewise.
42797         * misc/seteuid.c: Likewise.
42798         * misc/sethostid.c: Likewise.
42799         * misc/sethostname.c: Likewise.
42800         * misc/setregid.c: Likewise.
42801         * misc/setreuid.c: Likewise.
42802         * misc/setxattr.c: Likewise.
42803         * misc/sstk.c: Likewise.
42804         * misc/stty.c: Likewise.
42805         * misc/swapoff.c: Likewise.
42806         * misc/swapon.c: Likewise.
42807         * misc/sync.c: Likewise.
42808         * misc/syncfs.c: Likewise.
42809         * misc/syscall.c: Likewise.
42810         * misc/truncate.c: Likewise.
42811         * misc/ualarm.c: Likewise.
42812         * misc/usleep.c: Likewise.
42813         * misc/ustat.c: Likewise.
42814         * misc/utimes.c: Likewise.
42815         * misc/vhangup.c: Likewise.
42816         * misc/writev.c: Likewise.
42817         * posix/_exit.c: Likewise.
42818         * posix/alarm.c: Likewise.
42819         * posix/execve.c: Likewise.
42820         * posix/fexecve.c: Likewise.
42821         * posix/fork.c: Likewise.
42822         * posix/fpathconf.c: Likewise.
42823         * posix/getaddrinfo.c: Likewise.
42824         * posix/getegid.c: Likewise.
42825         * posix/geteuid.c: Likewise.
42826         * posix/getgid.c: Likewise.
42827         * posix/getgroups.c: Likewise.
42828         * posix/getlogin.c: Likewise.
42829         * posix/getlogin_r.c: Likewise.
42830         * posix/getpgid.c: Likewise.
42831         * posix/getpid.c: Likewise.
42832         * posix/getppid.c: Likewise.
42833         * posix/getresgid.c: Likewise.
42834         * posix/getresuid.c: Likewise.
42835         * posix/getsid.c: Likewise.
42836         * posix/getuid.c: Likewise.
42837         * posix/glob64.c: Likewise.
42838         * posix/nanosleep.c: Likewise.
42839         * posix/pathconf.c: Likewise.
42840         * posix/pause.c: Likewise.
42841         * posix/posix_madvise.c: Likewise.
42842         * posix/pread.c: Likewise.
42843         * posix/pread64.c: Likewise.
42844         * posix/pwrite.c: Likewise.
42845         * posix/pwrite64.c: Likewise.
42846         * posix/sched_getaffinity.c: Likewise.
42847         * posix/sched_getp.c: Likewise.
42848         * posix/sched_gets.c: Likewise.
42849         * posix/sched_primax.c: Likewise.
42850         * posix/sched_primin.c: Likewise.
42851         * posix/sched_rr_gi.c: Likewise.
42852         * posix/sched_setaffinity.c: Likewise.
42853         * posix/sched_setp.c: Likewise.
42854         * posix/sched_sets.c: Likewise.
42855         * posix/sched_yield.c: Likewise.
42856         * posix/setgid.c: Likewise.
42857         * posix/setlogin.c: Likewise.
42858         * posix/setpgid.c: Likewise.
42859         * posix/setresgid.c: Likewise.
42860         * posix/setresuid.c: Likewise.
42861         * posix/setsid.c: Likewise.
42862         * posix/setuid.c: Likewise.
42863         * posix/sleep.c: Likewise.
42864         * posix/spawni.c: Likewise.
42865         * posix/sysconf.c: Likewise.
42866         * posix/times.c: Likewise.
42867         * posix/wait.c: Likewise.
42868         * posix/wait3.c: Likewise.
42869         * posix/wait4.c: Likewise.
42870         * posix/waitpid.c: Likewise.
42871         * resolv/gai_sigqueue.c: Likewise.
42872         * resource/getpriority.c: Likewise.
42873         * resource/getrlimit.c: Likewise.
42874         * resource/getrusage.c: Likewise.
42875         * resource/nice.c: Likewise.
42876         * resource/setpriority.c: Likewise.
42877         * resource/setrlimit.c: Likewise.
42878         * resource/ulimit.c: Likewise.
42879         * rt/aio_cancel.c: Likewise.
42880         * rt/aio_fsync.c: Likewise.
42881         * rt/aio_read.c: Likewise.
42882         * rt/aio_sigqueue.c: Likewise.
42883         * rt/aio_suspend.c: Likewise.
42884         * rt/aio_write.c: Likewise.
42885         * rt/clock_getres.c: Likewise.
42886         * rt/clock_gettime.c: Likewise.
42887         * rt/clock_nanosleep.c: Likewise.
42888         * rt/clock_settime.c: Likewise.
42889         * rt/lio_listio.c: Likewise.
42890         * rt/mq_close.c: Likewise.
42891         * rt/mq_getattr.c: Likewise.
42892         * rt/mq_notify.c: Likewise.
42893         * rt/mq_open.c: Likewise.
42894         * rt/mq_receive.c: Likewise.
42895         * rt/mq_send.c: Likewise.
42896         * rt/mq_setattr.c: Likewise.
42897         * rt/mq_timedreceive.c: Likewise.
42898         * rt/mq_timedsend.c: Likewise.
42899         * rt/mq_unlink.c: Likewise.
42900         * rt/shm_open.c: Likewise.
42901         * rt/shm_unlink.c: Likewise.
42902         * rt/timer_create.c: Likewise.
42903         * rt/timer_delete.c: Likewise.
42904         * rt/timer_getoverr.c: Likewise.
42905         * rt/timer_gettime.c: Likewise.
42906         * rt/timer_settime.c: Likewise.
42907         * setjmp/__longjmp.c: Likewise.
42908         * setjmp/setjmp.c: Likewise.
42909         * signal/kill.c: Likewise.
42910         * signal/killpg.c: Likewise.
42911         * signal/raise.c: Likewise.
42912         * signal/sigaction.c: Likewise.
42913         * signal/sigaltstack.c: Likewise.
42914         * signal/sigblock.c: Likewise.
42915         * signal/sigignore.c: Likewise.
42916         * signal/sigintr.c: Likewise.
42917         * signal/signal.c: Likewise.
42918         * signal/sigpause.c: Likewise.
42919         * signal/sigpending.c: Likewise.
42920         * signal/sigqueue.c: Likewise.
42921         * signal/sigreturn.c: Likewise.
42922         * signal/sigset.c: Likewise.
42923         * signal/sigsetmask.c: Likewise.
42924         * signal/sigstack.c: Likewise.
42925         * signal/sigsuspend.c: Likewise.
42926         * signal/sigtimedwait.c: Likewise.
42927         * signal/sigvec.c: Likewise.
42928         * signal/sigwait.c: Likewise.
42929         * signal/sigwaitinfo.c: Likewise.
42930         * signal/sysv_signal.c: Likewise.
42931         * socket/accept.c: Likewise.
42932         * socket/accept4.c: Likewise.
42933         * socket/bind.c: Likewise.
42934         * socket/connect.c: Likewise.
42935         * socket/getpeername.c: Likewise.
42936         * socket/getsockname.c: Likewise.
42937         * socket/getsockopt.c: Likewise.
42938         * socket/isfdtype.c: Likewise.
42939         * socket/listen.c: Likewise.
42940         * socket/recv.c: Likewise.
42941         * socket/recvfrom.c: Likewise.
42942         * socket/recvmsg.c: Likewise.
42943         * socket/send.c: Likewise.
42944         * socket/sendmsg.c: Likewise.
42945         * socket/sendto.c: Likewise.
42946         * socket/setsockopt.c: Likewise.
42947         * socket/shutdown.c: Likewise.
42948         * socket/sockatmark.c: Likewise.
42949         * socket/socket.c: Likewise.
42950         * socket/socketpair.c: Likewise.
42951         * stdio-common/ctermid.c: Likewise.
42952         * stdio-common/cuserid.c: Likewise.
42953         * stdio-common/remove.c: Likewise.
42954         * stdio-common/rename.c: Likewise.
42955         * stdio-common/renameat.c: Likewise.
42956         * stdio-common/tempname.c: Likewise.
42957         * stdlib/getcontext.c: Likewise.
42958         * stdlib/makecontext.c: Likewise.
42959         * stdlib/setcontext.c: Likewise.
42960         * stdlib/swapcontext.c: Likewise.
42961         * stdlib/system.c: Likewise.
42962         * streams/fattach.c: Likewise.
42963         * streams/fdetach.c: Likewise.
42964         * streams/getmsg.c: Likewise.
42965         * streams/getpmsg.c: Likewise.
42966         * streams/putmsg.c: Likewise.
42967         * streams/putpmsg.c: Likewise.
42968         * sysdeps/unix/bsd/getpt.c: Likewise.
42969         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42970         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42971         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42973         Likewise.
42974         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42975         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42976         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42977         * sysvipc/msgctl.c: Likewise.
42978         * sysvipc/msgget.c: Likewise.
42979         * sysvipc/msgrcv.c: Likewise.
42980         * sysvipc/msgsnd.c: Likewise.
42981         * sysvipc/semctl.c: Likewise.
42982         * sysvipc/semget.c: Likewise.
42983         * sysvipc/semop.c: Likewise.
42984         * sysvipc/semtimedop.c: Likewise.
42985         * sysvipc/shmat.c: Likewise.
42986         * sysvipc/shmctl.c: Likewise.
42987         * sysvipc/shmdt.c: Likewise.
42988         * sysvipc/shmget.c: Likewise.
42989         * termios/tcdrain.c: Likewise.
42990         * termios/tcflow.c: Likewise.
42991         * termios/tcflush.c: Likewise.
42992         * termios/tcgetattr.c: Likewise.
42993         * termios/tcgetpgrp.c: Likewise.
42994         * termios/tcsendbrk.c: Likewise.
42995         * termios/tcsetattr.c: Likewise.
42996         * termios/tcsetpgrp.c: Likewise.
42997         * time/adjtime.c: Likewise.
42998         * time/clock.c: Likewise.
42999         * time/getitimer.c: Likewise.
43000         * time/gettimeofday.c: Likewise.
43001         * time/setitimer.c: Likewise.
43002         * time/settimeofday.c: Likewise.
43003         * time/stime.c: Likewise.
43004         * time/time.c: Likewise.
43006 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43008         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43009         /usr/old/bin.
43011         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43012         instead of spaces.
43013         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43015 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43017         [BZ #14796]
43018         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43019         FE_TONEAREST before applying Dekker multiplication and Knuth
43020         addition.  Clear inexact exceptions and check for exact zero
43021         results afterwards.
43022         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43023         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43024         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43025         * math/libm-test.inc (fma_test): Add more tests.
43026         (fma_test_towardzero): Likewise.
43027         (fma_test_downward): Likewise.
43028         (fma_test_upward): Likewise.
43029         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43030         function.
43031         (libc_fesetround): New macro.
43032         (libc_fesetroundf): Likewise.
43033         (libc_fesetroundl): Likewise.
43034         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43035         function.
43036         (libc_fesetround_387): Likewise.
43037         (libc_fesetroundf): New macro.
43038         (libc_fesetround): Likewise.
43039         (libc_fesetroundl): Likewise.
43040         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43041         function.
43042         (libc_fesetroundf): New macro.
43043         (libc_fesetround): Likewise.
43044         (libc_fesetroundl): Likewise.
43045         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43046         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43047         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43048         libm_hidden_ver.
43049         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43050         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43051         libm_hidden_def.
43052         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43053         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43054         libm_hidden_ver.
43055         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43056         libm_hidden_def.
43058         [BZ #3439]
43059         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43060         integer constant usable in #if and use that to give value to enum
43061         constant.
43062         (FE_DIVBYZERO): Likewise.
43063         (FE_UNDERFLOW): Likewise.
43064         (FE_OVERFLOW): Likewise.
43065         (FE_INVALID): Likewise.
43066         (FE_INVALID_SNAN): Likewise.
43067         (FE_INVALID_ISI): Likewise.
43068         (FE_INVALID_IDI): Likewise.
43069         (FE_INVALID_ZDZ): Likewise.
43070         (FE_INVALID_IMZ): Likewise.
43071         (FE_INVALID_COMPARE): Likewise.
43072         (FE_INVALID_SOFTWARE): Likewise.
43073         (FE_INVALID_SQRT): Likewise.
43074         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43075         (FE_TONEAREST): Likewise.
43076         (FE_TOWARDZERO): Likewise.
43077         (FE_UPWARD): Likewise.
43078         (FE_DOWNWARD): Likewise.
43079         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43080         (FE_DIVBYZERO): Likewise.
43081         (FE_OVERFLOW): Likewise.
43082         (FE_UNDERFLOW): Likewise.
43083         (FE_INEXACT): Likewise.
43084         (FE_TONEAREST): Likewise.
43085         (FE_DOWNWARD): Likewise.
43086         (FE_UPWARD): Likewise.
43087         (FE_TOWARDZERO): Likewise.
43088         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43089         (FE_UNDERFLOW): Likewise.
43090         (FE_OVERFLOW): Likewise.
43091         (FE_DIVBYZERO): Likewise.
43092         (FE_INVALID): Likewise.
43093         (FE_TONEAREST): Likewise.
43094         (FE_TOWARDZERO): Likewise.
43095         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43096         (FE_OVERFLOW): Likewise.
43097         (FE_UNDERFLOW): Likewise.
43098         (FE_DIVBYZERO): Likewise.
43099         (FE_INEXACT): Likewise.
43100         (FE_TONEAREST): Likewise.
43101         (FE_TOWARDZERO): Likewise.
43102         (FE_UPWARD): Likewise.
43103         (FE_DOWNWARD): Likewise.
43104         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43105         (FE_DIVBYZERO): Likewise.
43106         (FE_OVERFLOW): Likewise.
43107         (FE_UNDERFLOW): Likewise.
43108         (FE_INEXACT): Likewise.
43109         (FE_TONEAREST): Likewise.
43110         (FE_DOWNWARD): Likewise.
43111         (FE_UPWARD): Likewise.
43112         (FE_TOWARDZERO): Likewise.
43114 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43116         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43118 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43120         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43121         commands.  Quote $PWD.
43122         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43123         -x" by "export".
43124         (remove_newlines): Remove.
43126 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43128         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43129         * stdlib/stdlib.h (atof): Moved to ...
43130         * include/bits/stdlib-float.h: Here.  New file.
43131         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43132         * stdlib/bits/stdlib-float.h: New file.
43133         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43134         -mno-sse -mno-mmx.
43135         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43136         <xmmintrin.h>.
43138 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43140         * conform/conformtest.pl (@headers): Add fenv.h.
43141         * conform/data/fenv.h-data: New file.
43142         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43143         include of <math/fenv.h>.
43145         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43146         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43147         && !UNIX98].  Enables tests for XOPEN2K8.
43148         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43149         POSIX2008]: Likewise.
43151         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43152         (struct rusage): Do not expect type or its members.
43154         [BZ #3439]
43155         * math/math.h (FP_NAN): Define macro to integer constant usable in
43156         #if and use that to give value to enum constant.
43157         (FP_INFINITE): Likewise.
43158         (FP_ZERO): Likewise.
43159         (FP_SUBNORMAL): Likewise.
43160         (FP_NORMAL): Likewise.
43162 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43164         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43165         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43166         arguments.
43168 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43170         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43171         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43172         autoconf-time if not.
43173         * configure.in: Remove AC_PREREQ.
43175 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43177         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43178         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43179         of the internal implementation.
43181 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43183         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43184         except include of <misc/sys/syslog.h>.
43186 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43189         function returns with a NULL context exit with zero.
43191 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43193         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43195 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43197         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43198         (run_program_cmd): This.
43199         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43200         (tst_langinfo): New variable.  Use it.
43202 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43204         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43205         floating point opcodes.
43207 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43209         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43210         variable.
43212         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43214         * sysdeps/mach/hurd/powerpc: Remove directory.
43215         * sysdeps/mach/powerpc: Likewise.
43217 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43219         * scripts/check-local-headers.sh: Ignore c++ headers.
43221 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43223         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43224         __libc_cleanup_region_start argument.
43226 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43228         [BZ #14784]
43229         [BZ #14785]
43230         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43231         x * y using scaling, not as x * y + z.
43232         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43233         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43234         * math/libm-test.inc (fma_test): Add more tests.
43235         (fma_test_towardzero): Likewise.
43236         (fma_test_downward): Likewise.
43237         (fma_test_upward): Likewise.
43239 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43241         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43243 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43245         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43246         New variable.
43248 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43250         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43252 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43255         Fix sort order.
43256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43257         Likewise.
43259 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43262         Fix the order of the list for glibc 2.17.
43263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43264         Likewise.
43266 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43270 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43272         [BZ #14610]
43273         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43274         for low part of x being zero before using __atanl (y).
43275         * math/libm-test.inc (atan2_test): Add another test.
43277         * manual/install.texi (Configuring and compiling): Document
43278         general use of test-wrapper and test-wrapper-env.
43279         * INSTALL: Regenerated.
43281         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43282         (__fma): Do not extract and scale down low bits on after-rounding
43283         systems when result rounded to normal precision would have normal
43284         exponent.
43285         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43286         (__fmal): Do not extract and scale down low bits on after-rounding
43287         systems when result rounded to normal precision would have normal
43288         exponent.
43289         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43290         (__fmal): Do not extract and scale down low bits on after-rounding
43291         systems when result rounded to normal precision would have normal
43292         exponent.
43293         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43294         macro.
43295         (fma_test): Add more tests.
43296         (fma_test_towardzero): Likewise.
43297         (fma_test_downward): Likewise.
43298         (fma_test_upward): Likewise.
43300 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43302         * sysdeps/i386/tininess.h: Renamed to ...
43303         * sysdeps/x86/tininess.h: This.
43304         * sysdeps/x86_64/tininess.h: Removed.
43306 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43308         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43309         input.  Use $(build-program-cmd).
43310         ($(objpfx)tst-array1-static.out): Likewise.
43311         ($(objpfx)tst-array2.out): Likewise.
43312         ($(objpfx)tst-array3.out): Likewise.
43313         ($(objpfx)tst-array4.out): Likewise.
43314         ($(objpfx)tst-array5.out): Likewise.
43315         ($(objpfx)tst-array5-static.out): Likewise.
43317 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43319         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43320         if defined.
43322         * nss/nsswitch.h (nss_interface_function): Provide new
43323         macro for use with NSS functions.
43324         * grp/initgroups.c: Use new macro.
43325         * nss/getXXbyYY.c: Likewise.
43326         * nss/getXXbyYY_r.c: Likewise.
43327         * nss/getXXent.c: Likewise.
43328         * nss/getXXent_r.c: Likewise.
43329         * sysdeps/posix/getaddrinfo.c: Likewise.
43331 2012-10-30  Andreas Jaeger  <aj@suse.de>
43333         * po/ru.po: Update Russion translation from translation project.
43335 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43337         [BZ #14152]
43338         [BZ #14783]
43339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43340         result and shift together with sticky bit instead of replicating
43341         round-to-nearest rounding.
43342         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43343         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43344         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43345         missing underflow exceptions.
43346         (fma_test_towardzero): Add more tests.
43347         (fma_test_downward): Likewise.
43348         (fma_test_upward): Likewise.
43350         [BZ #14047]
43351         * sysdeps/generic/tininess.h: New file.
43352         * sysdeps/i386/tininess.h: Likewise.
43353         * sysdeps/sh/tininess.h: Likewise.
43354         * sysdeps/x86_64/tininess.h: Likewise.
43355         * stdlib/tst-strtod-underflow.c: Likewise.
43356         * stdlib/tst-tininess.c: Likewise.
43357         * stdlib/strtod_l.c: Include <tininess.h>.
43358         (round_and_return): Do not set errno for exact underflow cases.
43359         Force an underflow exception when setting errno for underflow.
43360         Determine underflow based on rounding to normal precision if
43361         TININESS_AFTER_ROUNDING.
43362         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43363         ERANGE for exact underflow cases.
43364         * stdlib/Makefile (tests): Add tst-tininess and
43365         tst-strtod-underflow.
43366         ($(objpfx)tst-tininess): Use $(link-libm).
43367         ($(objpfx)tst-strtod-underflow): Likewise.
43369 2012-10-30  Andreas Jaeger  <aj@suse.de>
43371         [BZ#14767]
43372         * elf/Makefile (tests): Remove conditional for have-initfini-array
43373         since this is now always required and the variable does not exist
43374         anymore.
43375         (tests-static): Likewise.
43376         (modules-names): Likewise.
43378         * po/eo.po: Add Esperanto translation from translation project.
43380         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43381         merged with constructor/destructor.
43382         (init_array): Likewise.
43383         * elf/tst-array2dep.c (fini_array): Likewise.
43384         (init_array): Likewise.
43386 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43388         * manual/message.texi: Delete @cartouche tags.
43390 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43392         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43393         EOPNOTSUPP.
43394         * sysdeps/mach/hurd/fsync.c: Likewise.
43396         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43397         [_POSIX_REALTIME_SIGNALS]: Change condition to
43398         [_POSIX_REALTIME_SIGNALS > 0].
43400 2012-10-27  Andreas Jaeger  <aj@suse.de>
43402         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43403         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43404         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43405         [__WORDSIZE != 64]: Likewise.
43407 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43409         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43410         *  iconvdata/tst-tables.sh: Likewise.
43412 2012-10-25  David S. Miller  <davem@davemloft.net>
43414         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43415         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43416         of strtoull.
43418         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43419         ifunc-impl-list.c
43420         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43421         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43422         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43423         file.
43425 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43427         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43428         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43429         __getdirentries.
43431 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43432             Jim Blandy  <jimb@codesourcery.com>
43434         * scripts/cross-test-ssh.sh: New file.
43435         * manual/install.texi (Configuring and compiling): Document use of
43436         cross-test-ssh.sh.
43437         * INSTALL: Regenerated.
43439 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43441         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43442         EOPNOTSUPP.
43444 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43446         * Makeconfig (run-program-prefix): Fix comment.
43448 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43449             Jim Blandy  <jimb@codesourcery.com>
43451         * Makeconfig (test-wrapper): New variable,
43452         (test-wrapper-env): Likewise.
43453         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43454         (run-built-tests): Define to yes.
43455         (run-program-prefix): Use $(test-wrapper).
43456         (built-program-cmd): Likewise.
43457         * Rules (make-test-out): Use $(test-wrapper-env) and
43458         $(host-built-program-cmd).
43459         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43460         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43461         tst-pathopt.sh.
43462         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43463         $(test-wrapper-env) to tst-rtld-load-self.sh.
43464         ($(objpfx)order2.out): Use $(test-wrapper).
43465         ($(objpfx)tst-initorder.out): Likewise.
43466         ($(objpfx)tst-initorder2.out): Likewise.
43467         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43468         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43469         (test_wrapper_env): New variable.  Use it to run ld.so.
43470         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43471         Use it to run ld.so.
43472         (test_wrapper_env): Likewise.
43473         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43474         $(test-wrapper) to run-iconv-test.sh.
43475         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43476         (ICONV): Use $test_wrapper.
43477         * posix/Makefile ($(objpfx)globtest.out): Pass
43478         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43479         globtest.sh, not $(run-program-prefix).
43480         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43481         (test_wrapper): Likewise.
43482         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43483         set together with run_via_rtld_prefix.
43484         (run_program_prefix): Define in terms of test_wrapper and
43485         run_via_rtld_prefix.
43487 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43489         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43490         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43491         Targets removed.
43493         [BZ #14743]
43494         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43495         Declare __clock_getres, __clock_gettime, __clock_settime,
43496         __clock_nanosleep, and __clock_getcpuclockid.
43497         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43498         Remove librt_hidden_def (clock_gettime).
43499         * sysdeps/unix/clock_gettime.c: Likewise.
43500         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43501         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43502         * rt/clock_getres.c: Define __clock_getres as an alias.
43503         * sysdeps/posix/clock_getres.c: Likewise.
43504         * rt/clock_settime.c: Define __clock_settime as an alias.
43505         * sysdeps/unix/clock_settime.c: Likewise.
43506         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43507         * sysdeps/unix/clock_nanosleep.c: Likewise.
43508         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43509         * rt/clock-compat.c: New file.
43510         * rt/Makefile (librt-routines): Add clock-compat and move
43511         $(clock-routines) to ...
43512         (routines): ... here, new variable.
43513         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43514         Don't add get_clockfreq here.
43515         * rt/Versions (libc: GLIBC_2.17): New version set.
43516         Add clock_* symbols here.
43517         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43518         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43519         (GLIBC_2.17): Add clock_* symbols.
43520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43522         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43524         Likewise.
43525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43526         Likewise.
43527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43531         * NEWS: Mention the move.
43533         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43534         Use __open, __read, __close rather than their public counterparts.
43535         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43536         (__get_clockfreq_via_cpuinfo): Likewise.
43537         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43538         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43540         * config.h.in (HAVE_IFUNC): New #undef.
43541         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43542         was successful.
43543         * configure: Regenerated.
43545 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43547         * configure.in: Move READELF check to start of file.
43548         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43549         libc_cv_asm_gnu_indirect_function in the process.
43550         * configure: Regenerated.
43552 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43554         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43555         send the output to /dev/null.
43556         (libc_cv_cc_with_libunwind): Likewise.
43557         (libc_cv_as_noexecstack): Likewise.
43558         * configure: Regenerate.
43560 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43562         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43564         * posix/globtest.sh (TMPDIR): Do not set.
43565         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43566         (testout): Likewise.
43568 2012-10-24  Andreas Jaeger  <aj@suse.de>
43570         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43571         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43572         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43573         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43574         posix_fadvise64, posix_fallocate64.
43576         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43577         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43578         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43579         Likewise.
43580         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43581         Likewise.
43582         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43585         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43586         <bits/fcntl-linux.h>.
43587         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43590         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43591         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43592         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43593         [__WORDSIZE != 64]: Likewise.
43595 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43597         * Makeconfig (run-built-tests): New variable.
43598         * Rules [$(cross-compiling) = yes]: Change condition to
43599         [$(run-built-tests) = no].
43600         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43601         to [$(run-built-tests) = yes].
43602         * elf/Makefile [$(cross-compiling) = no]: Likewise
43603         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43604         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43605         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43606         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43607         * io/Makefile [$(cross-compiling) = no]: Likewise.
43608         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43609         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43610         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43611         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43612         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43613         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43614         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43615         * string/Makefile [$(cross-compiling) = no]: Likewise.
43617         * posix/Makefile ($(objpfx)globtest.out): Pass
43618         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43619         $(rtld-installed-name).
43620         * posix/globtest.sh (elf_objpfx): Remove variable.
43621         (rtld_installed_name): Likewise.
43622         (library_path): Likewise.
43623         (run_program_prefix): New variable.  Use for running globtest
43624         binary.
43626 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43627             Joseph Myers  <joseph@codesourcery.com>
43629         * Makeconfig (host-built-program-cmd): New variable.
43630         * elf/Makefile (tst-stackguard1-ARGS): Use
43631         $(host-built-program-cmd).
43632         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43633         (tst-spawn-ARGS): Likewise.
43634         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43636 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43637             Jim Blandy  <jimb@codesourcery.com>
43639         * Makeconfig (run-via-rtld-prefix): New variable.
43640         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43641         (built-program-cmd): Likewise.
43643 2012-10-22  Andreas Jaeger  <aj@suse.de>
43645         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43646         __O_RSYNC if it exists, otherwise to O_SYNC.
43648 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43649             Joseph Myers  <joseph@codesourcery.com>
43651         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43652         /dev/null.
43653         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43654         from /dev/null
43655         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43656         /dev/null.
43658 2012-10-22  Andreas Jaeger  <aj@suse.de>
43660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43661         Define always.
43662         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43665         bits/fcntl-linux.h.
43667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43668         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43670         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43671         to __O_LARGEFILE.
43672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43673         to __O_LARGEFILE.
43675 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43676             Joseph Myers  <joseph@codesourcery.com>
43678         * config.make.in (NM): New variable.
43680 2012-10-21  Andreas Jaeger  <aj@suse.de>
43682         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43683         definitions and declarations that are provided by
43684         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43686 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43688         [BZ #14683]
43689         * elf/Makefile (tests-static): Add tst-leaks1-static.
43690         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43691         ($(objpfx)tst-leaks1-static): New rule.
43692         ($(objpfx)tst-leaks1-static-mem): Likewise.
43693         (tst-leaks1-static-ENV): New macro.
43694         * elf/dl-open.c (dl_open_worker): Check the main application
43695         only if SHARED is defined.
43696         * elf/tst-leaks1-static.c: New file.
43698 2012-10-20  Andreas Jaeger  <aj@suse.de>
43700         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43701         generic values for Linux.
43702         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43703         and declarations that are provided by <bits/fcntl-linux.h> and
43704         include <bits/fcntl-linux.h>.
43705         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43706         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43708 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43710         * io/fcntl.h: Move include of <bits/types.h> to the top and
43711         include it unconditionally.
43713 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43715         * wcsmbs/Makefile (tests-ifunc): New variable.
43716         (tests): Add $(tests-ifunc).
43717         * wcsmbs/test-wcschr-ifunc.c: New file.
43718         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43719         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43720         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43721         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43722         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43724         * string/Makefile (tests-ifunc): New variable.
43725         (tests): Add $(tests-ifunc).
43726         * string/test-memccpy.c (TEST_NAME): New macro.
43727         * string/test-memchr.c (TEST_NAME): Likewise.
43728         * string/test-memcmp.c (TEST_NAME): Likewise.
43729         * string/test-memcpy.c (TEST_NAME): Likewise.
43730         * string/test-memmem.c (TEST_NAME): Likewise.
43731         * string/test-memmove.c (TEST_NAME): Likewise.
43732         * string/test-memset.c (TEST_NAME): Likewise.
43733         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43734         * string/test-stpcpy.c (TEST_NAME): Likewise.
43735         * string/test-stpncpy.c (TEST_NAME): Likewise.
43736         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43737         * string/test-strcasestr.c (TEST_NAME): Likewise.
43738         * string/test-strcat.c (TEST_NAME): Likewise.
43739         * string/test-strchr.c (TEST_NAME): Likewise.
43740         * string/test-strcmp.c(TEST_NAME): Likewise.
43741         * string/test-strcpy.c (TEST_NAME): Likewise.
43742         * string/test-strcspn.c (TEST_NAME): Likewise.
43743         * string/test-strlen.c (TEST_NAME): Likewise.
43744         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43745         * string/test-strncmp.c (TEST_NAME): Likewise.
43746         * string/test-strncpy.c (TEST_NAME): Likewise.
43747         * string/test-strnlen.c (TEST_NAME): Likewise.
43748         * string/test-strpbrk.c (TEST_NAME): Likewise.
43749         * string/test-strrchr.c (TEST_NAME): Likewise.
43750         * string/test-strspn.c (TEST_NAME): Likewise.
43751         * string/test-strstr.c (TEST_NAME): Likewise.
43752         * string/test-bcopy-ifunc.c: New file.
43753         * string/test-bzero-ifunc.c: Likewise.
43754         * string/test-memccpy-ifunc.c: Likewise.
43755         * string/test-memchr-ifunc.c: Likewise.
43756         * string/test-memcmp-ifunc.c: Likewise.
43757         * string/test-memcpy-ifunc.c: Likewise.
43758         * string/test-memmem-ifunc.c: Likewise.
43759         * string/test-memmove-ifunc.c: Likewise.
43760         * string/test-mempcpy-ifunc.c: Likewise.
43761         * string/test-memset-ifunc.c: Likewise.
43762         * string/test-rawmemchr-ifunc.c: Likewise.
43763         * string/test-stpcpy-ifunc.c: Likewise.
43764         * string/test-stpncpy-ifunc.c: Likewise.
43765         * string/test-strcasecmp-ifunc.c: Likewise.
43766         * string/test-strcasestr-ifunc.c: Likewise.
43767         * string/test-strcat-ifunc.c: Likewise.
43768         * string/test-strchr-ifunc.c: Likewise.
43769         * string/test-strchrnul-ifunc.c: Likewise.
43770         * string/test-strcmp-ifunc.c: Likewise.
43771         * string/test-strcpy-ifunc.c: Likewise.
43772         * string/test-strcspn-ifunc.c: Likewise.
43773         * string/test-strlen-ifunc.c: Likewise.
43774         * string/test-strncasecmp-ifunc.c: Likewise.
43775         * string/test-strncat-ifunc.c: Likewise.
43776         * string/test-strncmp-ifunc.c: Likewise.
43777         * string/test-strncpy-ifunc.c: Likewise.
43778         * string/test-strnlen-ifunc.c: Likewise.
43779         * string/test-strpbrk-ifunc.c: Likewise.
43780         * string/test-strrchr-ifunc.c: Likewise.
43781         * string/test-strspn-ifunc.c: Likewise.
43782         * string/test-strstr-ifunc.c: Likewise.
43784         * debug/Makefile (tests-ifunc): New variable.
43785         (tests): Add $(tests-ifunc).
43786         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43787         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43788         * debug/test-stpcpy_chk-ifunc.c: New file.
43789         * debug/test-strcpy_chk-ifunc.c: Likewise.
43791 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43793         [BZ #13601]
43794         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43795         header is not read in.
43797 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43799         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43800         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43801         directly.  Pass built executable to script as
43802         $(built-program-cmd).
43803         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43804         $testprogram without using LD_LIBRARY_PATH and $ldso.
43806         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43807         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43808         $(rtld-installed-name).
43809         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43810         (rtld_installed_name): Likewise.
43811         (library_path): Likewise.
43812         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43813         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43814         $(run-program-prefix) to tst-tables.sh.
43815         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43816         it to run tst-table-from and tst-table-to.
43817         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43818         Pass it to tst-table.sh.
43819         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43820         $(run-program-prefix) to tst-gettext.sh.
43821         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43822         tst-translit.sh.
43823         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43824         tst-gettext2.sh.
43825         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43826         to run tst-gettext.
43827         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43828         to run tst-gettext2.
43829         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43830         to run tst-translit.
43831         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43832         $(run-program-prefix) to tst-mtrace.sh.
43833         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43834         to run tst-mtrace.
43835         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43836         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43837         $(rtld-installed-name).
43838         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43839         (rtld_installed_name): Likewise.
43840         (run_program_prefix): New variable.  Use it to run wordexp-test.
43842         * Makeconfig (ARCH): Remove all definitions.
43843         (machine): Likewise.
43844         [ARCH]: Remove conditional code.
43845         [!objdir]: Give error.
43846         [!objdir] (objpfx): Remove.
43847         [!objdir] (common-objpfx): Likewise.
43848         [!objdir] (common-objdir): Likewise.
43849         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43850         AC_CONFIG_FILES call.
43851         * configure: Regenerated.
43853         [BZ #13888]
43854         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43855         or TMPDIR.
43856         (testout): Likewise.
43858         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43859         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43860         $(rtld-installed-name).
43861         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43862         (rtld_installed_name): Likwise.
43863         (runit): Remove function.
43864         (run_getconf): New variable,  Use it for running getconf binary.
43866 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43868         [BZ #14716]
43869         * string/test-memmem.c (check_result): New function.
43870         (do_one_test): Use it.
43871         (check1): New function.
43872         (test_main): Use it.
43874 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43876         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43878 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43880         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43881         (_G_LSEEK64): Likewise.
43882         (_G_MMAP64): Likewise.
43883         (_G_FSTAT64): Likewise.
43884         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43885         (_G_LSEEK64): Likewise.
43886         (_G_MMAP64): Likewise.
43887         (_G_FSTAT64): Likewise.
43888         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43889         unconditional.  Call __mmap64 directly.
43890         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43891         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43892         __lseek64 directly.
43893         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43894         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43895         __mmap64 directly.
43896         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43897         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43898         __lseek64 directly.
43899         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43900         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43901         __lseek64 directly.
43902         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43903         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43904         __lseek64 directly.
43905         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43906         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43907         __fxstat64 directly.
43908         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43909         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43910         unconditional.
43911         (freopen64) [!_G_OPEN64]: Remove conditional code.
43912         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43913         unconditional.
43914         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43915         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43916         unconditional.
43917         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43918         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43919         unconditional.
43920         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43921         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43922         unconditional.
43923         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43924         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43925         unconditional.
43926         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43927         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43928         unconditional.
43929         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43930         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43931         unconditional.
43932         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43934 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43936         [BZ #12140]
43937         * manual/memory.texi (Malloc Tunable Parameters): Add note
43938         about free list pointers overwriting some perturb bytes.
43939         Wording suggested by Roland McGrath.
43941 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43943         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43944         (lgamma_test): Likewise.
43945         (tgamma_test): Likewise.
43947 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43949         [BZ #14700]
43950         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43951         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43953 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43955         * NEWS: Mention BZ #14716.
43956         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43957         when removing AVAILABLE1_USES_J macro.
43959 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43961         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43962         (__bswap_64): __uint64_t for unsigned 64-bit int.
43964 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43966         * include/string.h (memmem): Declare libc hidden alias.
43967         * string/memmem.c (memmem): Define libc hidden alias.
43968         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43969         __read, __close instead of open, read, close.
43971 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43974         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43975         global and hidden.
43976         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43977         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43978         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43979         Likewise.
43980         (__rawmemchr_sse2): Likewise.
43981         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43982         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43983         (__strchr_sse2): Likewise.
43984         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43985         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43986         (__strcasecmp_sse2): Likewise.
43987         (__strncasecmp_sse2): Likewise.
43988         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43989         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43990         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43991         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43992         (__strrchr_sse2): Likewise.
43993         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43994         ifunc-impl-list.c.
43995         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43996         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43997         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43998         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43999         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44000         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44001         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44002         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44003         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44004         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44005         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44006         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44007         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44008         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44009         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44010         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44011         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44012         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44013         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44014         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44015         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44016         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44017         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44018         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44019         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44020         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44021         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44022         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44023         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44024         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44026         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44027         global and hidden.
44028         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44029         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44030         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44031         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44032         Likewise.
44033         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44034         Likewise.
44035         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44036         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44037         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44038         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44039         ifunc-impl-list.c.
44040         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44041         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44042         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44043         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44044         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44045         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44046         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44047         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44048         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44049         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44050         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44051         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44052         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44053         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44054         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44055         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44056         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44057         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44058         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44059         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44060         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44061         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44062         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44063         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44064         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44065         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44066         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44067         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44068         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44069         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44070         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44071         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44072         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44073         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44074         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44075         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44076         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44077         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44078         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44079         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44080         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44082         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44083         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44084         * include/ifunc-impl-list.h: New file.
44085         * misc/ifunc-impl-list.c: Likewise.
44086         * misc/Makefile (routines): Add ifunc-impl-list.
44087         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44088         * string/test-string.h: Include <ifunc-impl-list.h>.
44089         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44090         TEST_NAME]: New variables.
44091         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44092         are defined.
44093         (test_init): Call __libc_ifunc_impl_list to initialize
44094         func_list if TEST_IFUNC and TEST_NAME are defined.
44096         * string/Makefile (strop-tests): Add bcopy and bzero.
44097         * string/test-bcopy.c: New file.
44098         * string/test-bzero.c: Likewise.
44099         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44100         defined.
44101         * string/test-memset.c: Support bzero test if TEST_BZERO is
44102         defined.
44103         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44104         __libc_memmove.
44105         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44106         __libc_memset.
44107         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44108         of memset.
44110 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44112         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44113         * configure: Regenerated.
44115         * Makeconfig (+link-static-before-libc): Don't include
44116         $(link-static-libc).
44118         * libio/libio.h (_IO_pos_t): Remove.
44120 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44122         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44123         McGrath.
44125 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44127         * crypt/crypt-entry.c: Include fips-private.h.
44128         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44129         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44130         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44131         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44133 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44135         * crypt/crypt-private.h: Include stdbool.h.
44136         (_ufc_setup_salt_r): Return bool.
44137         * crypt/crypt-entry.c: Include errno.h.
44138         (__crypt_r): Return NULL with EINVAL for bad salt.
44139         * crypt/crypt_util.c (bad_for_salt): New.
44140         (_ufc_setup_salt_r): Check that salt is long enough and within
44141         the specified alphabet.
44142         * crypt/badsalttest.c: New file.
44143         * crypt/Makefile (tests): Add it.
44144         ($(objpfx)badsalttest): New.
44146 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44148         * NEWS: Add entry for BZ #14602.
44150 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44152         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44153         type-generic.
44154         * math/libm-test.inc: Update comment listing what functions and
44155         macros are tested.
44156         (isgreater_test): New function.
44157         (isgreaterequal_test): Likewise.
44158         (isless_test): Likewise.
44159         (islessequal_test): Likewise.
44160         (islessgreater_test): Likewise.
44161         (isunordered_test): Likewise.
44162         (main): Call the new functions.
44164 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44166         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44167         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44168         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44169         * sysdeps/i386/configure: Regenerated.
44170         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44171         * sysdeps/mach/configure: Regenerated.
44172         * sysdeps/mach/hurd/configure: Regenerated.
44173         * sysdeps/powerpc/configure: Regenerated.
44174         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44175         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44176         * sysdeps/s390/s390-32/configure: Regenerated.
44177         * sysdeps/s390/s390-64/configure: Regenerated.
44178         * sysdeps/sh/configure: Regenerated.
44179         * sysdeps/sparc/configure: Regenerated.
44180         * sysdeps/unix/sysv/linux/configure: Regenerated.
44181         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44182         * sysdeps/x86_64/configure: Regenerated.
44184         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44185         defined.  Don't check if MAP is NULL.
44187 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44189         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44190         (_G_stat64): Likewise.
44191         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44192         (_G_stat64): Likewise.
44193         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44194         instead of struct _G_stat64.
44195         * libio/fileops.c (mmap_remap_check): Likewise.
44196         (decide_maybe_mmap): Likewise.
44197         (_IO_new_file_seekoff): Likewise.
44198         (_IO_file_stat): Likewise.
44199         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44200         _G_off64_t.
44201         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44202         instead of struct _G_stat64.
44203         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44205 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44207         [BZ #14602]
44208         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44209         Replace with ...
44210         (CHECK_EOL): New macro.
44211         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44212         CHECK_EOL.
44213         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44214         Replace with CHECK_EOL.
44215         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44216         Replace with CHECK_EOL.
44218 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44220         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44221         type-generic.
44222         * math/libm-test.inc: Update comment listing what functions and
44223         macros are tested.
44224         (finite_test): New function.
44225         (isinf_test): Likewise.
44226         (isnan_test): Likewise.
44227         (fpclassify_test): Test subnormal input.
44228         (isfinite_test): Likewise.
44229         (isnormal_test): Likewise.
44230         (main): Call the new functions.
44232 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44234         [BZ #14660]
44235         * Makerules (%.dynsym): Force C locale when running
44236         $(OBJDUMP) --dynamic-syms.
44238 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44240         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44241         <stdint.h>.
44243 2012-10-06  David S. Miller  <davem@davemloft.net>
44245         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44246         upper 32-bits of the length value in %o2 since we use branch-on-register
44247         tests which consider the entire 64-bit register.
44249 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44251         * string/test-strstr.c (check2): Add a test for page boundary.
44253 2012-10-05  David S. Miller  <davem@davemloft.net>
44255         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44256         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44257         file.
44258         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44259         sysdep_routines.
44260         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44261         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44262         and bzero when HWCAP_SPARC_CRYPTO is present.
44264 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44266         [BZ #14602]
44267         * string/test-strstr.c (check2): New function.
44268         (test_main): Call check2.
44270         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44271         and bug-strchr1.
44272         * string/bug-strcasestr1.c (do_test): Moved to ...
44273         * string/test-strcasestr.c (check1): Here.  New function.
44274         (do_one_test): Break out result checking code into ...
44275         (check_result): This.  New function.
44276         (do_one_test): Call check_result.
44277         (test_main): Call check1.
44278         * string/bug-strchr1.c (do_test): Moved to ...
44279         * string/test-strchr.c (check1): Here.  New function.
44280         (do_one_test): Break out result checking code into ...
44281         (check_result): This.  New function.
44282         (do_one_test): Call check_result.
44283         (test_main): Call check1.
44284         * string/bug-strstr1.c (main): Moved to ...
44285         * string/test-strstr.c (check1): Here.  New function.
44286         (do_one_test): Break out result checking code into ...
44287         (check_result): This.  New function.
44288         (do_one_test): Call check_result.
44289         (test_main): Call check1.
44290         * string/bug-strcasestr1.c: Removed.
44291         * string/bug-strchr1.c: Likewise.
44292         * string/bug-strstr1.c: Likewise.
44294         * elf/Makefile (dl-routines): Add hwcaps.
44295         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44296         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44297         (_dl_important_hwcaps): Moved to ...
44298         * elf/dl-hwcaps.c: Here.  New file.
44299         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44301         [BZ #14557]
44302         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44303         if IS_IN_rtld isn't defined.
44305         * elf/dl-support.c (_dl_sysinfo_map): New.
44306         Include "get-dynamic-info.h" and "setup-vdso.h".
44307         (_dl_non_dynamic_init): Call setup_vdso.
44308         * elf/dynamic-link.h: Don't include <assert.h>.
44309         (elf_get_dynamic_info): Moved to ...
44310         * elf/get-dynamic-info.h: Here.  New file.
44311         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44312         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44313         * elf/setup-vdso.h: Here.  New file.
44314         * elf/rtld.c: Include "setup-vdso.h".
44315         (dl_main): Call setup_vdso.
44317 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44319         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44320         creal in comment listing functions tested.  List finite, isinf,
44321         isnan, isless, islessequal, isgreater, isgreaterequal,
44322         islessgreater, isunordered, lgamma_r and pow10 as functions and
44323         macros not tested.  Mention which functions not tested are aliases
44324         for other functions.  Fix typo.  Note that signs of NaNs are not
44325         tested.
44327         * scripts/config.guess: Update from config.git.
44328         * scripts/config.sub: Likewise.
44330 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44332         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44333         * misc/madvise.c (madvise): Renamed to __madvise.
44334         Make madvise a weak alias.
44335         * include/sys/mman.h: Declare __madvise.
44336         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44337         * sysdeps/unix/syscalls.list
44338         (madvise): Make __madvise the strong name, and madvise a weak alias.
44339         * sysdeps/unix/sysv/linux/syscalls.list
44340         (madvise, mmap): Remove redundant entries.
44341         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44342         * malloc/malloc.c (mtrim): Likewise.
44343         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44345 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44347         * sysdeps/mach/hurd/dl-cache.c: File removed.
44348         * config.h.in (USE_LDCONFIG): New #undef.
44349         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44350         * configure: Regenerated.
44351         * elf/Makefile (dl-routines): Add dl-cache only under
44352         [$(use-ldconfig) = yes].
44353         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44354         cache on [USE_LDCONFIG].
44355         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44356         [USE_LDCONFIG].
44357         * elf/rtld.c (dl_main): Likewise.
44359 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44361         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44362         _SC_LEVEL4_CACHE_LINESIZE.
44364 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44366         * sysdeps/unix/bsd/confstr.h: File removed.
44368 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44370         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44371         sys/sdt-config.h.
44373 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44375         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44376         Make 'mapoff' field ElfW(Off) rather than off_t.
44378 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44380         * nscd/Makefile: Remove nscd-cflags and all its users.
44381         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44382         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44384         [BZ #10631]
44385         * malloc.c (malloc_printerr): Clarify error message.
44387 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44389         [BZ #14648]
44390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44391         Set bit_FMA_Usable if FMA is supported.
44392         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44393         macro.
44394         (bit_FMA4_Usable): Updated.
44395         (index_FMA_Usable): New macro.
44396         (CPUID_FMA): Likewise
44397         (HAS_FMA): Defined with bit_FMA_Usable.
44399 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44401         * bits/types.h (__swblk_t): Type removed.
44402         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44403         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44404         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44405         (__SWBLK_T_TYPE): Likewise.
44406         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44407         (__SWBLK_T_TYPE): Likewise.
44408         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44409         (__SWBLK_T_TYPE): Likewise.
44410         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44411         (__SWBLK_T_TYPE): Likewise.
44413 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44414             Honza Horak <hhorak@redhat.com>
44416         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44417         (xdr_mapname): Use YPMAXMAP as maxsize.
44418         (xdr_peername): Use YPMAXPEER as maxsize.
44419         (xdr_keydat): Use YPAXRECORD as maxsize.
44420         (xdr_valdat): Use YPMAXRECORD as maxsize.
44422 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44424         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44426         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44427         * csu/init-first.c: ... here.
44428         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44429         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44430         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44431         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44432         * sysdeps/i386/init-first.c: File removed.
44433         * sysdeps/sh/init-first.c: File removed.
44435 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44437         [BZ #14645]
44438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44439         if x * y might underflow to zero and z is zero.
44440         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44441         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44442         * math/libm-test.inc (min_subnorm_value): New variable.
44443         (fma_test): Add more tests.
44444         (fma_test_towardzero): Likewise.
44445         (fma_test_downward): Likewise
44446         (fma_test_upward): Likewise.
44447         (initialize): Set min_subnorm_value.
44449 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44451         [BZ #14638]
44452         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44453         0 + 0.
44454         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44455         mode for addition resulting in exact zero.
44456         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44458         exact 0 + 0.
44459         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44460         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44461         * math/libm-test.inc (fma_test): Add more tests.
44462         (fma_test_towardzero): New function.
44463         (fma_test_downward): Likewise.
44464         (fma_test_upward): Likewise.
44465         (main): Call the new functions.
44467 2012-09-28  David S. Miller  <davem@davemloft.net>
44469         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44471 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44473         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44474         instead of SIGALRM.
44476         * sysdeps/gnu/_G_config.h: Moved to ...
44477         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44478         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44479         * sysdeps/generic/_G_config.h: ... here.
44481         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44483         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44485         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44486         Conditionalize target on [libnss_test1.so-version].
44488         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44490         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44491         (elfobjdir): Move out of conditionals.
44493         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44494         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44495         (__nss_lookup_function): Conditionalize label remove_from_tree on
44496         [!DO_STATIC_NSS || SHARED], matching its only use.
44498 2012-09-28  David S. Miller  <davem@davemloft.net>
44500         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44501         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44502         file.
44503         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44504         sysdep_routines.
44505         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44506         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44507         when HWCAP_SPARC_CRYPTO is present.
44509 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44511         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44513 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44515         [BZ #6530]
44516         * stdio-common/vfprintf.c (process_string_arg): Revert
44517         2000-07-22 change.
44519 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44521         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44522         for testcase.
44523         * stdio-common/tst-sprintf.c: Include <locale.h>
44524         (main): Test sprintf's handling of incomplete multibyte
44525         characters.
44527 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44529         * elf/dl-runtime.c (VERSYMIDX): Removed.
44530         * elf/dl-version.c (VERSYMIDX): Likewise.
44531         * elf/do-rel.h (VERSYMIDX): Likewise.
44532         (VALIDX): Likewise.
44533         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44534         * elf/rtld.c (VALIDX): Likewise.
44535         (ADDRIDX): Likewise.
44536         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44537         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44538         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44539         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44540         (VALIDX): Likewise.
44541         (ADDRIDX): Likewise.
44543 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44545         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44547 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44549         [BZ #11438]
44550         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44551         to global scope.
44552         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44553         addresses are in the same scope as 192.0.2/24.
44554         * posix/gai.conf: Document new scope table defaults.
44556 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44558         [BZ #5298]
44559         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44560         for ftell.  Compute offsets from write pointers instead.
44561         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44563 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44565         [BZ #14543]
44566         * libio/Makefile (tests): New test case tst-fseek.
44567         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44568         combination works in wide mode.
44569         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44570         state when the external buffer state changes.
44572 2012-09-27  David S. Miller  <davem@davemloft.net>
44574         [BZ #14376]
44575         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44576         pass reloc->r_addend in as the 'high' argument to
44577         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44581 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44583         * rt/tst-aio2.c: Include <pthread.h>.
44584         * rt/tst-aio3.c: Likewise.
44586 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44588         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44590 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44592         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44593         contents on [SHARED].
44595 2012-09-26  Marek Polacek  <polacek@redhat.com>
44597         [BZ #14530]
44598         [BZ #13741]
44599         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44600         for C++ and GCC <4.3 as well as for non GCC compilers.
44602 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44606 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44608         * Makefile.in (all, install): Declare with .PHONY.
44609         Reported by Michael Hope <michael.hope@linaro.org>.
44611 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44613         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44614         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44615         system header.
44616         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44617         Likewise.
44618         (sydep_routines): Add the new and the internal functions.
44619         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44620         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44622         (GLIBC_2.17): Add the new function.
44623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44624         (GLIBC_2.17): Likewise.
44625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44626         (GLIBC_2.17): Likewise.
44627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44628         (GLIBC_2.17): Likewise.
44629         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44631 2012-09-25  Alan Modra  <amodra@gmail.com>
44633         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44634         Add release barrier before setting once_control to say
44635         initialisation is done.  Add hints on lwarx.  Use macro in
44636         place of isync.
44637         (clear_once_control): Add release barrier.
44639 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44641         [BZ #13629]
44642         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44643         specially.
44644         * math/s_clog10.c (__clog10): Likewise.
44645         * math/s_clog10f.c (__clog10f): Likewise.
44646         * math/s_clog10l.c (__clog10l): Likewise.
44647         * math/s_clogf.c (__clogf): Likewise.
44648         * math/s_clogl.c (__clogl): Likewise.
44649         * math/Makefile (libm-calls): Add x2y2m1.
44650         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44651         (__x2y2m1): Likewise.
44652         (__x2y2m1l): Likewise.
44653         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44654         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44655         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44656         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44657         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44658         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44659         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44660         * sysdeps/i386/fpu/libm-test-ulps: Update.
44661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44663         [BZ #14621]
44664         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44665         int as type of variable DEPTH.
44666         (glob): Use size_t instead of int as type of variables NEWCOUNT
44667         and OLD_PATHC.
44669 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44671         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44672         Add s_sincosf-sse2.
44673         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44674         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44675         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44676         macros for using routine as __sincosf_ia32.
44677         Use macro for function declaration and weak_alias.
44678         * sysdeps/i386/fpu/libm-test-ulps: Update.
44680         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44683         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44684         subnormal argument.
44685         * math/s_cexpf.c (__cexpf): Likewise.
44686         * math/s_csinf.c (__csinf): Likewise.
44687         * math/s_csinhf.c (__csinhf): Likewise.
44688         * math/s_ctanf.c (__ctanf): Likewise.
44689         * math/s_ctanhf.c (__ctanhf): Likewise.
44690         * math/s_ccosh.c (__ccoshf): Likewise.
44691         * math/s_cexp.c (__cexpl): Likewise.
44692         * math/s_csin.c (__csin): Likewise.
44693         * math/s_csinh.c (__csinh): Likewise.
44694         * math/s_ctan.c (__ctan): Likewise.
44695         * math/s_ctanh.c (ctanh): Likewise.
44696         * math/s_ccoshl.c (__ccoshl): Likewise.
44697         * math/s_cexpl.c (__cexpl): Likewise.
44698         * math/s_csinl.c (__csinl): Likewise.
44699         * math/s_csinhl.c (__csinhl): Likewise.
44700         * math/s_ctanl.c (__ctanl): Likewise.
44701         * math/s_ctanhl.c (__ctanhl): Likewise.
44703 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44705         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44706         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44707         (_IO_off_t): Define to __off_t, not _G_off_t.
44708         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44709         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44710         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44711         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44712         type of __dummy and __dummy2 fields.
44713         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44714         (_G_ssize_t): Likewise.
44715         (_G_off_t): Likewise.
44716         (_G_pid_t): Likewise.
44717         (_G_uid_t): Likewise.
44718         (_G_wchar_t): Likewise.
44719         (_G_wint_t): Likewise.
44720         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44721         (_G_ssize_t): Likewise.
44722         (_G_off_t): Likewise.
44723         (_G_pid_t): Likewise.
44724         (_G_uid_t): Likewise.
44725         (_G_wchar_t): Likewise.
44726         (_G_wint_t): Likewise.
44727         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44728         (_G_ssize_t): Likewise.
44729         (_G_off_t): Likewise.
44730         (_G_pid_t): Likewise.
44731         (_G_uid_t): Likewise.
44732         (_G_wchar_t): Likewise.
44733         (_G_wint_t): Likewise.
44735 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44737         * malloc/arena.c: Include malloc-sysdep.h.
44738         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44739         is sufficient to shrink the heap or an unmap is needed.
44740         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44741         new function check_may_shrink_heap.
44742         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44743         new function check_may_shrink_heap.
44745 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44747         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44748         comments.
44750 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44752         * catgets/test-gencat.sh: Add "set -e".
44753         * elf/tst-pathopt.sh: Likewise.
44754         * grp/tst_fgetgrent.sh: Likewise.
44755         * iconvdata/run-iconv-test.sh: Likewise.
44756         * intl/tst-gettext.sh: Likewise.
44757         * intl/tst-gettext2.sh: Likewise.
44758         * intl/tst-gettext4.sh: Likewise.
44759         * intl/tst-gettext6.sh: Likewise.
44760         * intl/tst-translit.sh: Likewise.
44761         * io/ftwtest-sh: Likewise.
44762         * libio/test-freopen.sh: Likewise.
44763         * malloc/tst-mtrace.sh: Likewise.
44764         * posix/globtest.sh: Likewise.
44765         * posix/tst-getconf.sh: Likewise.
44766         * posix/wordexp-tst.sh: Likewise.
44767         * stdio-common/tst-printf.sh: Likewise.
44768         * stdio-common/tst-unbputc.sh: Likewise.
44769         * stdlib/tst-fmtmsg.sh: Likewise.
44770         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44771         * catgets/Makefile: Do not specify -e option when running
44772         testsuite shell scripts.
44773         * elf/Makefile: Likewise.
44774         * grp/Makefile: Likewise.
44775         * iconvdata/Makefile: Likewise.
44776         * intl/Makefile: Likewise.
44777         * io/Makefile: Likewise.
44778         * libio/Makefile: Likewise.
44779         * malloc/Makefile: Likewise.
44780         * posix/Makefile: Likewise.
44781         * stdio-common/Makefile: Likewise.
44782         * stdlib/Makefile: Likewise.
44783         * sysdeps/x86_64/Makefile: Likewise.
44785         * io/ftwtest-sh: Add copyright header.
44786         * posix/globtest.sh: Likewise.
44787         * posix/tst-getconf.sh: Likewise.
44788         * posix/wordexp-tst.sh: Likewise.
44789         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44791 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44793         [BZ #13679]
44794         * Makeconfig (+link): Defined as $(+link-static) if
44795         $(build-shared) isn't yes.
44796         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44797         isn't yes.
44798         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44800         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44802         [BZ #14562]
44803         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44804         new chunk size with MALLOC_ALIGN_MASK.
44806 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44808         [BZ #5044]
44809         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44810         <rounding-mode.h>.
44811         (__printf_fphex): Determine rounding using get_rounding_mode and
44812         round_away.
44813         * stdio-common/tst-printf-round.c (struct hex_test): New
44814         structure.
44815         (hex_tests): New variable.
44816         (test_hex_in_one_mode): New function.
44817         (do_test): Also run tests for hex float output.
44819 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44821         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44822         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44823         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44824         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44825         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44826         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44827         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44828         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44830 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44832         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44833         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44834         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44835         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44837 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44839         [BZ #14579]
44840         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44841         mode only.
44842         * elf/tst-rtld-load-self.sh: New test.
44843         * elf/Makefile: Run it.
44845 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44847         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44848         (tst-writev-ENV): Remove.
44849         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44851 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44853         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44855 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44857         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44858         unconditional.
44859         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44860         Likewise.
44861         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44862         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44863         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44864         Likewise.
44866 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44868         [BZ #14587]
44869         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44870         * config.make.in (have-cpp-asm-debuginfo): Removed.
44871         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44872         * configure: Regenerated.
44874 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44876         [BZ #5044]
44877         * stdio-common/printf_fp.c: Include <stdbool.h> and
44878         <rounding-mode.h>.
44879         (___printf_fp): Determine rounding using get_rounding_mode and
44880         round_away.
44881         * stdio-common/tst-printf-round.c: New file.
44882         * stdio-common/Makefile (tests): Add tst-printf-round.
44883         (link-libm): New variable.
44884         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44886 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44888         [BZ #14576]
44889         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44890         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44891         Likewise.
44892         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44893         Likewise.
44895 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44897         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44898         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44899         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44900         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44902 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44904         [BZ #14518]
44905         * include/rounding-mode.h: New file.
44906         * sysdeps/generic/get-rounding-mode.h: Likewise.
44907         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44908         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44909         (MAX_VALUE): New macro.
44910         (MIN_VALUE): Likewise.
44911         (overflow_value): New function.
44912         (underflow_value): Likewise.
44913         (round_and_return): Use overflow_value and underflow_value to
44914         determine return values in overflow and underflow cases.  Use
44915         round_away to determine rounding depending on rounding mode.
44916         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44917         determine return values in overflow and underflow cases.
44918         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44919         (struct test_results): New structure.
44920         (struct test): Use struct test_results to store expected results
44921         for all rounding modes.
44922         (TEST): Include expected results for all rounding modes.
44923         (test_in_one_mode): New function.
44924         (do_test): Use test_in_one_mode to compute and check results.
44925         Check results for all rounding modes.
44926         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44927         $(link-libm).
44929 2012-12-09  Allan McRae  <allan@archlinux.org>
44931         * sysdeps/i386/fpu/libm-test-ulps: Update
44933 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44935         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44936         (_G_int32_t): Likewise.
44937         (_G_uint16_t): Likewise.
44938         (_G_uint32_t): Likewise.
44939         (_G_HAVE_BOOL): Likewise.
44940         (_G_HAVE_ATEXIT): Likewise.
44941         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44942         (_G_HAVE_IO_FILE_OPEN): Likewise.
44943         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44944         (_G_int32_t): Likewise.
44945         (_G_uint16_t): Likewise.
44946         (_G_uint32_t): Likewise.
44947         (_G_HAVE_BOOL): Likewise.
44948         (_G_HAVE_ATEXIT): Likewise.
44949         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44950         (_G_HAVE_IO_FILE_OPEN): Likewise.
44951         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44952         (_G_int32_t): Likewise.
44953         (_G_uint16_t): Likewise.
44954         (_G_uint32_t): Likewise.
44955         (_G_HAVE_BOOL): Likewise.
44956         (_G_HAVE_ATEXIT): Likewise.
44957         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44958         (_G_HAVE_IO_FILE_OPEN): Likewise.
44960 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44962         * csu/libc-tls.c: Update copyright years.
44964 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44966         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44967         [!_G_USING_THUNKS]: Remove conditional code.
44968         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44969         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44971         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44972         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44973         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44974         (_G_VTABLE_LABEL_PREFIX): Likewise.
44975         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44976         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44977         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44978         (_G_VTABLE_LABEL_PREFIX): Likewise.
44979         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44980         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44981         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44982         (_G_VTABLE_LABEL_PREFIX): Likewise.
44983         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44985 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44987         * libio/Makefile: Include ../Makeconfig before tests.
44988         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44989         only if $(build-shared) is yes.
44991         * iconv/gconv_db.c: Update copyright years.
44993 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44995         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44996         unwind info if defined PIC. Fix special cases description.
44997         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44999         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45000         DP_HI_MASK entry.
45001         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45003 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45005         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45007         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45008         is NULL.
45010         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45011         (LDLIBS-tst-chk4): This.
45012         (LDFLAGS-tst-chk5): Renamed to ...
45013         (LDLIBS-tst-chk5): This.
45014         (LDFLAGS-tst-chk6): Renamed to ...
45015         (LDLIBS-tst-chk6): This.
45016         (LDFLAGS-tst-lfschk4): Renamed to ...
45017         (LDLIBS-tst-lfschk4): This.
45018         (LDFLAGS-tst-lfschk5): Renamed to ...
45019         (LDLIBS-tst-lfschk5): This.
45020         (LDFLAGS-tst-lfschk6): Renamed to ...
45021         (LDLIBS-tst-lfschk6): This.
45023         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45024         on $(common-objpfx)soversions.mk.
45026 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45028         [BZ #10014]
45029         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45030         example host name.
45032 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45034         * malloc/arena.c (arena_get_retry): New function that gets
45035         another arena for the caller to try its request on.
45036         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45037         current arena cannot fulfill the request.
45038         (__libc_memalign): Likewise.
45039         (__libc_memalign): Likewise.
45040         (__libc_pvalloc): Likewise.
45041         (__libc_calloc): Likewise.
45043 2012-09-05  John Tobey  <john.tobey@gmail.com>
45045         [BZ #13542]
45046         * manual/arith.texi (Operations on Complex): Fix description
45047         of carg branch cut.
45049 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45051         [BZ #10014]
45052         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45053         host name.
45055         [BZ #10038]
45056         * manual/memory.texi (Memory): Make order of menu items match
45057         order of sections.
45059 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45061         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45062         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45063         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45065 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45067         * csu/libc-tls.c (static_dtv): Renamed to ...
45068         (_dl_static_dtv): This.  Make it global.
45069         (_dl_initial_dtv): Removed.
45070         (__libc_setup_tls): Updated.
45071         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45072         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45073         DL_INITIAL_DTV.
45075 2012-09-06  Petr Machata  <pmachata@redhat.com>
45077         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45078         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45079         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45080         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45082 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45084         [BZ #14545]
45085         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45086         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45087         freeing dtv[-1].
45089 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45091         [BZ #14544]
45092         * Makeconfig (link-static-before-libc): Replace $(+prector)
45093         with $(+prectorT).
45094         (link-static-after-libc): Replace $(+postctor) with
45095         $(+postctorT).
45096         (link-bounded): Replace $(+prector)/$(+postctor) with
45097         $(+prectorT)/$(+postctorT).
45098         (+prectorT): New macro.
45099         (+postctorT): Likewise.
45101 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45103         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45104         (round_str): Handle values above the maximum for IBM long double
45105         as inexact.
45106         * stdlib/tst-strtod-round.c (tests): Regenerated.
45108 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45110         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45111         assembler flag.
45112         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45113         zarch_nohighgprs around the zarch optimized routines.
45114         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45115         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45116         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45117         for zarch.
45119 2012-09-05  David S. Miller  <davem@davemloft.net>
45121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45123         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45124         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45125         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45126         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45127         entries.
45129 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45131         * malloc/arena.c: Fold copyright years.
45132         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45134 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45136         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45138 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45140         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45142 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45144         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45145         change internal state upon failure.
45147 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45149         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45150         * malloc/memusage.c (mmap): Likewise.
45151         (mmap64, mremap): Likewise.  Adjust name in comment.
45153 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45155         * libio/fileops.c: Fix typos in comments.
45156         * libio/oldfileops.c: Likewise.
45157         * libio/wfileops.c: Likewise.
45159 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45161         [BZ #1349]
45162         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45163         (tst-malloc-usable-ENV): Set environment for test case.
45164         * malloc/hooks.c (malloc_check_get_size): New function to get
45165         requested size.
45166         * malloc/malloc.c (musable): Use malloc_check_get_size.
45167         * malloc/tst-malloc-usable.c: New test case.
45169 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45171         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45173 2012-09-05  Allan McRae  <allan@archlinux.org>
45175         [BZ #13966]
45176         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45177         determine header location.
45178         * configure: Regenerated.
45180 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45182         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45183         float format.
45184         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45185         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45186         format.
45187         (test): Regenerate.
45189 2012-09-04  David S. Miller  <davem@davemloft.net>
45191         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45192         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45193         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45195 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45197         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45198         failures.
45200         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45202 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45204         [BZ #9914]
45205         * libio/iogetdelim.c: Include <limits.h>.
45206         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45207         + len + 1 would overflow.
45209 2012-09-03  Andreas Jaeger  <aj@suse.de>
45211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45212         * sysdeps/i386/fpu/libm-test-ulps: Update.
45214 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45216         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45217         Add s_sinf-sse2, s_conf-sse2.
45219         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45220         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45221         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45222         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45224         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45225         for using routine as __sinf_ia32.
45226         Use macro for function declaration and weak_alias.
45227         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45228         for using routine as __cosf_ia32.
45229         Use macro for function declaration and weak_alias.
45231         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45232         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45234         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45235         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45238         * math/libm-test.inc (cos_test): Add more test cases.
45239         (sin_test): Likewise.
45240         (sincos_test): Likewise.
45242 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45244         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45245         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45246         hidden.
45247         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45249 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45251         [BZ #14538]
45252         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45253         first element of the GOT.
45254         (elf_machine_load_address): Return the difference between
45255         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45257 2012-09-01  Allan McRae  <allan@archlinux.org>
45259         [BZ #13412]
45260         * configure.in (AWK): Require gawk version 3.0 or later.
45261         * configure: Regenerated.
45263 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45265         * sysdeps/unix/sysv/linux/kernel-features.h
45266         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45267         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45268         [__NR_clock_getres]: Make code unconditional.
45269         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45270         (clock_getcpuclockid): Remove code left unreachable by removal of
45271         conditionals.
45272         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45273         code unconditional.
45274         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45275         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45276         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45277         Make code unconditional.
45278         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45279         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45280         * sysdeps/unix/sysv/linux/clock_settime.c
45281         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45282         conditional code.
45283         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45284         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45286 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45288         [BZ #14476]
45289         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45290         scripts/test-installation.pl.
45292         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45293         and $ld_so_version if it is set.
45295 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45297         [BZ #14516]
45298         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45299         failure if reading from procfs failed.
45300         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45302 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45304         * sysdeps/unix/sysv/linux/kernel-features.h
45305         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45306         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45307         Remove conditional code.
45308         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45309         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45310         Remove conditional code.
45311         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45312         * sysdeps/unix/sysv/linux/i386/fxstat.c
45313         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45314         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45315         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45316         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45317         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45318         * sysdeps/unix/sysv/linux/i386/lxstat.c
45319         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45320         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45321         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45322         Remove conditional code.
45323         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45324         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45325         Remove conditional code.
45326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45327         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45328         <kernel-features.h>.
45329         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45330         Remove.
45331         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45332         Remove conditional code.
45333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45334         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45335         Remove conditional.
45337 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45339         [BZ #5400]
45340         * NEWS: Add fixed bug number.
45342 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45344         [BZ #14519]
45345         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45346         underflowing exponent in case of negative sign.
45347         * stdlib/tst-strtod-round-data: Add more tests.
45348         * stdlib/tst-strtod-round.c (tests): Regenerated.
45350         [BZ #3479]
45351         * stdlib/strtod_l.c (NDIG): Remove.
45352         (HEXNDIG): Likewise.
45353         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45354         smallest representable value.
45355         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45356         lie within an exact representation of 1/2 ulp of the result.
45357         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45358         unconditionally.
45359         (TENS_P9_IDX): Define unconditionally.
45360         (TENS_P9_SIZE): Likewise.
45361         (TENS_P10_IDX): Likewise.
45362         (TENS_P10_SIZE): Likewise.
45363         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45364         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45365         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45366         entries for 10^2^13 and 10^2^14.
45367         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45368         (TENS_P13_IDX): Define.
45369         (TENS_P13_SIZE): Likewise.
45370         (TENS_P14_IDX): Likewise.
45371         (TENS_P14_SIZE): Likewise.
45372         (_fpioconst_pow10): Change array size to
45373         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45374         unconditional.
45375         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45376         1024]: Add entries for 10^2^13 and 10^2^14.
45377         [LAST_POW10 > _LAST_POW10]: Remove #error.
45378         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45379         (_fpioconst_pow10): Change array size to
45380         FPIOCONST_POW10_ARRAY_SIZE.
45381         * stdlib/gen-fpioconst.c: New file.
45382         * stdlib/gen-tst-strtod-round.c: Likewise.
45383         * stdlib/tst-strtod-round-data: Likewise.
45384         * stdlib/tst-strtod-round.c: Likewise.
45385         * stdlib/Makefile (tests): Add tst-strtod-round.
45387         [BZ #14459]
45388         * stdlib/strtod_l.c: Include <stdint.h>.
45389         (NDEBUG): Do not define.
45390         (round_and_return): Change EXPONENT parameter to type intmax_t.
45391         Rearrange calculations to avoid internal overflow possibilities.
45392         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45393         Rearrange calculations to avoid internal overflow possibilities.
45394         Assert that number fits inside MPNSIZE limbs.
45395         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45396         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45397         calculations and add assertions to avoid internal overflow
45398         possibilities.  Add casts to avoid signed/unsigned operations.
45399         * stdlib/tst-strtod-overflow.c: New file.
45400         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45402 2012-08-25  Marek Polacek  <polacek@redhat.com>
45404         * time/time.h: Fix some typos in comments.
45406 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45408         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45409         * posix/tst-rfc3484-2.c: Likewise.
45410         * posix/tst-rfc3484-3.c: Likewise.
45412 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45414         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45415         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45417 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45419         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45420         #include of fxstatat64.c.
45422 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45424         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45425         * shadow/getspent_r.c: Likewise.
45426         * shadow/getspnam.c: Likewise.
45427         * shadow/getspnam_r.c: Likewise.
45428         * gshadow/getsgent.c: Likewise.
45429         * gshadow/getsgent_r.c: Likewise.
45430         * gshadow/getsgnam.c: Likewise.
45431         * gshadow/getsgnam_r.c: Likewise.
45432         * inet/getnetbyad.c: Likewise.
45433         * inet/getnetbyad_r.c: Likewise.
45434         * inet/getnetbynm.c: Likewise.
45435         * inet/getnetbynm_r.c: Likewise.
45436         * inet/getnetent.c: Likewise.
45437         * inet/getnetent_r.c: Likewise.
45438         * inet/getproto.c: Likewise.
45439         * inet/getproto_r.c: Likewise.
45440         * inet/getprtent.c: Likewise.
45441         * inet/getprtent_r.c: Likewise.
45442         * inet/getprtname.c: Likewise.
45443         * inet/getprtname_r.c: Likewise.
45444         * inet/getrpcbyname.c: Likewise.
45445         * inet/getrpcbyname_r.c: Likewise.
45446         * inet/getrpcbynumber.c: Likewise.
45447         * inet/getrpcbynumber_r.c: Likewise.
45448         * inet/getrpcent.c: Likewise.
45449         * inet/getrpcent_r.c: Likewise.
45450         * inet/getaliasent.c: Likewise.
45451         * inet/getaliasent_r.c: Likewise.
45452         * inet/getaliasname.c: Likewise.
45453         * inet/getaliasname_r.c: Likewise.
45454         * nscd/getgrgid_r.c: Likewise.
45455         * nscd/getgrnam_r.c: Likewise.
45456         * nscd/gethstbyad_r.c: Likewise.
45457         * nscd/gethstbynm3_r.c: Likewise.
45458         * nscd/getpwnam_r.c: Likewise.
45459         * nscd/getpwuid_r.c: Likewise.
45460         * nscd/getsrvbynm_r.c: Likewise.
45461         * nscd/getsrvbypt_r.c: Likewise.
45462         * nscd/gai.c: Likewise.
45464         * configure.in (build_nscd): New substituted variable, set
45465         by --disable-build-nscd and defaults to $use_nscd.
45466         * configure: Regenerated.
45467         * config.make.in (build-nscd): New substituted variable.
45468         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45469         Change conditional to require [$(build-nscd) = yes] as well.
45470         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45472         [BZ# 13696]
45473         * configure.in (use_nscd): New substituted variable, set by
45474         --disable-nscd.  If enabled, define USE_NSCD.
45475         * configure: Regenerated.
45476         * config.h.in: Add USE_NSCD.
45477         * config.make.in (use-nscd): New substituted variable.
45478         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45479         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45480         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45481         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45482         (CFLAGS-getgrnam_r.c): Likewise.
45483         (CFLAGS-initgroups.c): Likewise.
45484         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45485         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45486         Variables removed.
45487         * inet/getnetgrent_r.c
45488         (nscd_setnetgrent): New function, broken out of ...
45489         (setnetgrent): ... here.  Call it.
45490         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45491         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45492         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45493         * nscd/Makefile (routines, aux): Move definitions after include of
45494         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45495         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45496         Conditionalize on [USE_NSCD].
45497         (is_nscd, nscd_init_cb): Likewise.
45498         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45499         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45500         * nss/nss_db/db-init.c: Likewise.
45501         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45502         [USE_NSCD].
45503         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45504         (make_request): Use it.
45505         (cache_valid_p): New function.
45506         (__check_pf): Use it.
45507         * NEWS: Add item for --disable-nscd.
45509 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45511         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45512         to support sed >= 4.2.1-20-ga9bf076.
45513         * configure: Regenerated.
45515 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45517         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45518         Conditionalize whole body on [IREL].
45520 2012-08-22  Jeff Law <law@redhat.com>
45522         [BZ #14505]
45523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45524         if the family is PF_UNSPEC.
45526 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45528         * Makerules (lib-version): Rename from V.
45529         (install-lib-nosubdir): Change V to lib-version.
45531 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45533         [BZ #14252]
45534         * powerpc32/power6/wcschr.c: New file.
45535         * powerpc32/power6/wcscpy.c: New file.
45536         * powerpc32/power6/wcsrchr.c: New file.
45537         * powerpc64/power6/wcschr.c: New file.
45538         * powerpc64/power6/wcscpy.c: New file.
45539         * powerpc64/power6/wcsrchr.c: New file.
45541 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45543         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45544         (two_way_short_needle): Use it.
45545         * string/strstr.c (AVAILABLE1_USES_J): Define.
45546         * string/strcasestr.c: Likewise.
45548         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45549         array references.
45550         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45552         [BZ #11607]
45553         * NEWS: Add an entry.
45554         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45555         define their defaults.
45556         (two_way_short_needle): Detect end-of-string on-the-fly.
45557         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45558         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45559         * string/bug-strcasestr1.c: New test.
45560         * string/Makefile: Run it.
45562 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45564         [BZ #11607]
45565         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45566         the first character.
45568 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45570         * csu/elf-init.c (__libc_csu_irel): Function removed.
45571         * csu/libc-start.c (apply_irel): New function.
45572         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45574 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45576         * sysdeps/unix/sysv/linux/kernel-features.h
45577         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45578         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45579         <kernel-features.h>.
45580         [__NR_fadvise64_64]: Make code unconditional.
45581         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45582         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45583         !__NR_fadvise64_64)]: Likewise.
45584         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45585         !__NR_fadvise64_64))]: Likewise.
45586         [__NR_fadvise64]: Make code unconditional.
45587         [!__NR_fadvise64]: Remove conditional code.
45588         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45589         <kernel-features.h>.
45590         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45591         unconditional.
45592         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45593         conditional code.
45594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45595         not include <kernel-features.h>.
45596         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45597         unconditional.
45598         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45599         conditional code.
45600         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45601         include <kernel-features.h>.
45602         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45603         unconditional.
45604         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45605         conditional code.
45607 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45609         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45610         slight instruction rearrangements per scrollpipe analysis.
45611         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45613 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45615         * manual/syslog.texi (syslog; vsyslog, closelog):
45616         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45617         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45619         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45620         DSOCAPS to match condition on defining it.
45622 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45624         * sysdeps/unix/sysv/linux/kernel-features.h
45625         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45627         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45628         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45630         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45631         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45633         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45634         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45636         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45637         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45639         * sysdeps/unix/sysv/linux/kernel-features.h
45640         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45641         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45642         unconditional.
45643         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45644         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45645         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45646         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45647         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45648         Make code unconditional.
45649         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45650         (__mmap64) [!__NR_mmap2]: Likewise.
45651         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45652         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45653         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45654         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45655         [__NR_mmap2]: Make code unconditional.
45656         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45657         (__mmap64) [!__NR_mmap2]: Likewise.
45659 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45661         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45663 2012-08-18  Andreas Jaeger  <aj@suse.de>
45665         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45667 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45669         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45670         * include/unistd.h (__have_sock_cloexec): Likewise.
45671         (__have_pipe2): Likewise.
45672         (__have_dup3): Likewise.
45674 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45676         [BZ #9685]
45677         * include/unistd.h (__have_pipe2): Change define into an extern int.
45678         (__have_dup3): Likewise.
45679         * socket/have_sock_cloexec.c: Include fcntl.h.
45680         (__have_pipe2): New variable.
45681         (__have_dup3): Likewise.
45683 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45685         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45687 2012-08-17  Marek Polacek  <polacek@redhat.com>
45689         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45690         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45692 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45694         * configure.in: Add AC_SUBST for sysheaders.
45695         * configure: Regenerated.
45696         * config.make.in (sysheaders): New substituted variable.
45698         * sysdeps/unix/mkfifo.c: Moved ...
45699         * sysdeps/posix/mkfifo.c: ... here.
45700         * sysdeps/unix/mkfifoat.c: Moved ...
45701         * sysdeps/posix/mkfifoat.c: ... here.
45703         * sysdeps/unix/utime.c: Moved ...
45704         * sysdeps/posix/utime.c: ... here.
45706         * sysdeps/unix/time.c: Moved ...
45707         * sysdeps/posix/time.c: ... here.
45708         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45709         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45711         * sysdeps/unix/nice.c: Moved ...
45712         * sysdeps/posix/nice.c: ... here.
45714         * sysdeps/unix/alarm.c: Moved ...
45715         * sysdeps/posix/alarm.c: ... here.
45717         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45719 2012-08-17  Jeff Law <law@redhat.com>
45721         * intl/Makefile (codeset_mo): New variable.
45722         ($(codeset_mo)): New target.
45723         (tst-codeset.out): Depend on that.  Remove explicit rule.
45724         (tst-gettext3.out, tst-gettext5.out): Likewise.
45725         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45726         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45727         * intl/tst-codeset.sh: Remove.
45728         * intl/tst-gettext3.sh: Likewise.
45729         * intl/tst-gettext5.sh: Likewise.
45731 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45733         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45734         * sysdeps/unix/syscalls.list: ... here.
45736         * sysdeps/posix/getaddrinfo.c
45737         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45738         (gaiconf_init, gaiconf_reload): Use them.
45739         [!_STATBUF_ST_NSEC]
45740         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45741         Define using time_t rather than struct timespec.
45743         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45744         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45745         Macros removed.
45746         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45747         [!NO_THREADS].
45748         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45749         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45750         Likewise.
45752         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45753         __libc_cleanup_push argument.
45755         * bits/param.h: New file.
45756         * misc/sys/param.h: New file.
45757         * include/sys/param.h: New file.
45758         * misc/Makefile (headers): Add bits/param.h.
45759         * sysdeps/generic/sys/param.h: File removed.
45760         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45761         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45762         * sysdeps/mach/hurd/bits/param.h: New file.
45763         * sysdeps/mach/hurd/sys/param.h: File removed.
45765         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45766         last change.
45768         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45769         [_IO_MTSAFE_IO].
45770         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45771         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45772         New macros.
45774         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45775         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45776         rather than -D_IO_MTSAFE_IO conditionally.
45777         * stdio-common/Makefile (CPPFLAGS): Likewise.
45778         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45779         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45780         Use $(libio-mtsafe).
45781         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45782         of -D_IO_MTSAFE_IO.
45783         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45784         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45785         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45786         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45787         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45788         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45789         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45790         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45791         (CFLAGS-fread_u_chk.c): Likewise.
45792         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45793         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45794         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45795         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45796         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45797         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45798         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45799         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45800         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45802         * libio/Makefile: Test [$(libc-reentrant) = yes]
45803         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45805         * Makeconfig
45806         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45807         * sysdeps/pthread/configure: File removed.
45808         * sysdeps/pthread/Makeconfig: New file.
45809         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45810         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45812 2012-08-16  Gary Benson  <gbenson@redhat.com>
45814         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45815         unmapping the first object in a namespace.
45817 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45819         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45820         (__internal_setnetgrent): ... this.  Add internal_function to
45821         definition.  Add libc_hidden_def.
45822         (setnetgrent): Update caller.
45823         (internal_endnetgrent): Renamed to ...
45824         (__internal_endnetgrent): ... this.  Add internal_function to
45825         definition.  Add libc_hidden_def.
45826         (endnetgrent): Update caller.
45827         (internal_getnetgrent_r): Renamed to ...
45828         (__internal_getnetgrent_r): ... this.  Add internal_function to
45829         definition.  Add libc_hidden_def.
45830         (__getnetgrent_r): Update caller.
45831         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45833 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45835         * stdlib/longlong.h: Update from GCC.
45837 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45839         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45840         on _QL, which is set by umul_ppmm but never used.
45841         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45842         variables, which are set by GMP macros but never used.
45843         * stdio-common/_itowa.c (_itowa): Likewise.
45844         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45845         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45847 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45849         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45850         struct La_sh_regs is not constant.
45851         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45852         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45853         and struct La_sparc64_regs are not constant.
45855 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45857         * sysdeps/unix/sysv/linux/kernel-features.h
45858         (__ASSUME_POSIX_TIMERS): Remove.
45859         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45860         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45861         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45862         Make code unconditional.
45863         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45864         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45865         Make code unconditional.
45866         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45867         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45868         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45869         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45870         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45871         Make code unconditional.
45872         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45873         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45874         (__libc_missing_posix_timers): Remove.
45876 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45878         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45879         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45881         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45883         * elf/dl-sym.c: Include <stdlib.h>.
45885         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45886         constants, which avoids warnings in 32-bit builds.
45888         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45889         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45891         * misc/lseek.c: File moved to ...
45892         * io/lseek.c: ... here.
45894         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45896         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45897         shifting LEN more than 31 bits at once.
45899 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45901         [BZ #14195]
45902         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45903         segmentation fault for a case of two empty input strings.
45904         * string/test-strncasecmp.c (check1): Renamed to...
45905         (bz12205): ...this.
45906         (bz14195): Add new testcase for two empty input strings and N > 0.
45907         (test_main): Call new testcase, adapt for renamed function.
45909 2012-08-15  Andreas Jaeger  <aj@suse.de>
45911         [BZ #14090]
45912         * crypt/md5test2.c: New test, based on test supplied by Serge
45913         Belyshev <belyshev@depni.sinp.msu.ru>.
45914         * crypt/Makefile (xtests): Add md5test-giant..
45915         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45917 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45919         [BZ #14090]
45920         * crypt/md5.c (md5_process_block): Don't assume the buffer
45921         length is less than 2**32.
45922         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45923         length is less than 2**64.
45925 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45927         * string/str-two-way.h: Include <sys/param.h>.
45928         (MAX): Macro removed.
45930         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45931         Move #define and #undef of memmove to just before and after
45932         including <string.h>.
45934         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45935         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45936         and after including <string.h>.  Move declarations of
45937         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45938         to before #include "string/memmove.c".
45940         * include/dirent.h: Declare __getdirentries.
45942         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45943         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45945 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45947         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45948         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45949         * sysdeps/i386/configure: Regenerated.
45950         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45951         STABS_CURRENT_FILE, and STABS_FUN.
45952         (END): Remove call to STABS_FUN_END.
45953         (STABS_CURRENT_FILE1): Delete.
45954         (STABS_CURRENT_FILE): Likewise.
45955         (STABS_FUN): Likewise.
45956         (STABS_FUN_END): Likewise.
45957         (STABS_FUN2): Likewise.
45958         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45959         * sysdeps/x86_64/configure: Regenerated.
45961 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45963         * elf/dl-open.c: Include <atomic.h>.
45964         * elf/dl-lookup.c: Likewise.
45966 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45968         * sysdeps/unix/sysv/linux/kernel-features.h
45969         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45970         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45971         unconditionally.
45972         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45973         unconditionally.
45974         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45975         condition on __ASSUME_CLONE_THREAD_FLAGS.
45977 2012-08-14  Andreas Jaeger  <aj@suse.de>
45979         * sysdeps/i386/fpu/libm-test-ulps: Update.
45981 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45983         * include/atomic.h (atomic_exchange_and_add): Split into ...
45984         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45985         New atomic macros.
45987 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45991 2012-08-13  Jeff Law <law@redhat.com>
45993         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45994         null byte in the output string.
45996 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45998         * sysdeps/unix/sysv/linux/kernel-features.h
45999         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46000         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46001         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46002         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46003         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46004         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46005         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46007 2012-08-09  Jeff Law <law@redhat.com>
46009         [BZ #13939]
46010         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46011         When avoid_arena is set, don't retry in the that arena.  Pick the
46012         next one, whatever it might be.
46013         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46014         (arena_lock): Pass in new parameter to arena_get2.
46015         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46016         arena_get2.
46017         (__libc_malloc): Unify retrying after main arena failure with
46018         __libc_memalign version.
46019         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46021 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46023         [BZ #14166]
46024         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46025         to __redirect_strstr.
46026         (__strstr_sse42): Use typeof __redirect_strstr.
46027         (__strstr_ia32): Likewise.
46028         (__libc_strstr): New prototype.
46029         (strstr): Renamed to ...
46030         (__libc_strstr): This.
46031         (strstr): New strong alias of __libc_strstr.
46032         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46033         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46034         __redirect_time.
46035         Include <time.h>.
46036         (__libc_time): New prototype.
46037         (time_ifunc): Replace time with __libc_time.
46038         (time): New strong alias and hidden definition of __libc_time.
46039         (__GI_time): Remove strong alias.
46040         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46041         Include <stddef.h>.
46042         (memmove): Redefined to __redirect_memmove.
46043         (__memmove_sse2): Use typeof __redirect_memmove.
46044         (__memmove_ssse3): Likewise.
46045         (__memmove_ssse3_back): Likewise.
46046         (__libc_memmove): New prototype.
46047         (memmove): Renamed to ...
46048         (__libc_memmove): This.
46049         (memmove): New strong alias of __libc_memmove.
46051 2012-08-08  Mark Salter  <msalter@redhat.com>
46053         * elf/elf.h
46054         (R_MN10300_TLS_GD): Define.
46055         (R_MN10300_TLS_LD): Likewise.
46056         (R_MN10300_TLS_LDO): Likewise.
46057         (R_MN10300_TLS_GOTIE): Likewise.
46058         (R_MN10300_TLS_IE): Likewise.
46059         (R_MN10300_TLS_LE): Likewise.
46060         (R_MN10300_TLS_DTPMOD): Likewise.
46061         (R_MN10300_TLS_DTPOFF): Likewise.
46062         (R_MN10300_TLS_TPOFF): Likewise.
46063         (R_MN10300_SYM_DIFF): Likewise.
46064         (R_MN10300_ALIGN): Likewise.
46065         (R_MN10300_NUM): Update.
46067 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46069         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46070         Remove.
46072 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46074         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46076         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46077         sysdeps/unix -> sysdeps/posix move.
46078         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46080 2012-08-07      Allan McRae     <allan@archlinux.org>
46082         [BZ #14303]
46083         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46084         (SUNOS_CPP): Likewise.
46085         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46086         not found.
46087         (open_input): Call CPP using execvp.
46089 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46091         * sysdeps/unix/sysv/linux/kernel-features.h
46092         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46093         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46094         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46095         (__ASSUME_WAITID_SYSCALL): Likewise.
46096         * sysdeps/unix/sysv/linux/dl-execstack.c
46097         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46098         code unconditional.
46099         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46100         conditional code.
46101         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46102         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46103         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46104         code.
46105         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46106         unconditional.
46107         [__ASSUME_WAITID_SYSCALL]: Likewise.
46108         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46110 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46112         * sysdeps/unix/closedir.c: Renamed to ...
46113         * sysdeps/posix/closedir.c: ... here.
46114         * sysdeps/unix/dirfd.c: Renamed to ...
46115         * sysdeps/posix/dirfd.c: ... here.
46116         * sysdeps/unix/dirstream.h: Renamed to ...
46117         * sysdeps/posix/dirstream.h: ... here.
46118         * sysdeps/unix/fdopendir.c: Renamed to ...
46119         * sysdeps/posix/fdopendir.c: ... here.
46120         * sysdeps/unix/opendir.c: Renamed to ...
46121         * sysdeps/posix/opendir.c: ... here.
46122         * sysdeps/unix/readdir.c: Renamed to ...
46123         * sysdeps/posix/readdir.c: ... here.
46124         * sysdeps/unix/readdir_r.c: Renamed to ...
46125         * sysdeps/posix/readdir_r.c: ... here.
46126         * sysdeps/unix/rewinddir.c: Renamed to ...
46127         * sysdeps/posix/rewinddir.c: ... here.
46128         * sysdeps/unix/seekdir.c: Renamed to ...
46129         * sysdeps/posix/seekdir.c: ... here.
46130         * sysdeps/unix/telldir.c: Renamed to ...
46131         * sysdeps/posix/telldir.c: ... here.
46132         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46133         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46134         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46135         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46137         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46138         * bits/fcntl.h: ... here.
46140         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46141         not 0.
46142         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46143         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46144         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46145         (struct flock): Move l_start, l_len to the beginning.
46146         Use __pid_t for l_pid.
46147         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46148         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46149         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46150         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46151         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46152         [__USE_LARGEFILE64] (struct flock64): New type.
46153         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46155         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46156         * bits/dirent.h: ... here.
46158         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46159         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46161 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46163         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46164         Change from 2.6.0 to 2.6.16.
46165         * sysdeps/unix/sysv/linux/configure: Regenerated.
46166         * sysdeps/unix/sysv/linux/kernel-features.h
46167         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46168         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46169         version.
46170         (__ASSUME_UTIMES): Likewise.
46171         (__ASSUME_CLONE_STOPPED): Remove.
46172         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46173         architectures, not kernel version.
46174         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46175         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46176         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46177         (__ASSUME_WAITID_SYSCALL): Likewise.
46178         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46179         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46180         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46181         refer to older versions.
46183 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46185         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46186         Define alphasort64 as an alias.
46187         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46188         Define versionsort64 as an alias.
46189         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46190         Define scandir64 as an alias.
46191         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46192         Define scandirat64 as an alias.
46193         * dirent/alphasort64.c (alphasort64):
46194         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46195         * dirent/versionsort64.c: Likewise.
46196         * dirent/scandir64.c: Likewise.
46197         * dirent/scandirat64.c: Likewise.
46198         * sysdeps/wordsize-64/alphasort.c: File removed.
46199         * sysdeps/wordsize-64/alphasort64.c: File removed.
46200         * sysdeps/wordsize-64/scandir.c: File removed.
46201         * sysdeps/wordsize-64/scandir64.c: File removed.
46202         * sysdeps/wordsize-64/scandirat.c: File removed.
46203         * sysdeps/wordsize-64/scandirat64.c: File removed.
46204         * sysdeps/wordsize-64/versionsort.c: File removed.
46205         * sysdeps/wordsize-64/versionsort64.c: File removed.
46206         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46207         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46208         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46209         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46210         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46211         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46212         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46213         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46215         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46216         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46217         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46218         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46219         [defined __arch64__ || defined __sparcv9]
46220         (__INO_T_MATCHES_INO64_T): New macro.
46221         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46222         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46223         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46224         * sysdeps/unix/sysv/linux/bits/dirent.h
46225         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46226         (_DIRENT_MATCHES_DIRENT64): New macro.
46228         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46229         Define lockf64 as an alias.
46230         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46231         Define fseeko64 as an alias.
46232         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46233         Define ftello64 as an alias.
46234         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46235         Define _IO_fgetpos64 and fgetpos64 as aliases.
46236         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46237         Define _IO_fsetpos64 and fsetpos64 as aliases.
46238         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46239         Conditionalize body on this.
46240         * libio/fseeko64.c: Likewise.
46241         * libio/ftello64.c: Likewise.
46242         * libio/iofgetpos64.c: Likewise.
46243         * libio/iofsetpos64.c: Likewise.
46244         * sysdeps/wordsize-64/lockf.c: File removed.
46245         * sysdeps/wordsize-64/lockf64.c: File removed.
46246         * sysdeps/wordsize-64/fseeko.c: File removed.
46247         * sysdeps/wordsize-64/fseeko64.c: File removed.
46248         * sysdeps/wordsize-64/ftello.c: File removed.
46249         * sysdeps/wordsize-64/ftello64.c: File removed.
46250         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46251         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46252         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46253         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46254         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46255         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46256         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46257         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46258         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46259         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46260         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46261         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46262         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46263         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46265         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46266         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46267         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46268         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46269         [defined __arch64__ || defined __sparcv9]
46270         (__OFF_T_MATCHES_OFF64_T): New macro.
46271         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46272         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46273         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46274         (__OFF_T_MATCHES_OFF64_T): New macro.
46276 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46278         * stdlib/secure-getenv.c (__secure_getenv): Replace
46279         GLIBC_2_16 with GLIBC_2_17.
46281 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46283         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46284         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46286 2012-08-03  David S. Miller  <davem@davemloft.net>
46288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46290 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46292         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46293         Remove.
46294         (__ASSUME_CORRECT_SI_PID): Likewise.
46295         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46296         (__ASSUME_TMPFS_NAME): Likewise.
46297         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46298         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46299         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46300         (HAVE_AUX_SECURE): Make definition unconditional.
46301         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46302         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46304 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46306         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46307         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46308         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46309         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46310         __eloop_threshold instead of SYMLOOP_MAX.
46312         * sysdeps/generic/eloop-threshold.h: New file.
46313         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46314         of MAXSYMLINKS.
46315         * elf/chroot_canon.c (chroot_canon): Likewise.
46317 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46319         [BZ #13717]
46320         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46321         Change to 2.6.0 everywhere.
46322         * sysdeps/unix/sysv/linux/configure: Regenerated.
46323         * sysdeps/unix/sysv/linux/kernel-features.h
46324         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46325         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46326         kernel versions.
46327         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46328         (__ASSUME_FUTEX_REQUEUE): Remove.
46329         (__ASSUME_STATFS64): Define unconditionally.
46330         (__ASSUME_AT_SECURE): Likewise.
46331         (__ASSUME_CORRECT_SI_PID): Likewise.
46332         (__ASSUME_TGKILL): Define without depending on kernel version for
46333         i386.
46334         (__ASSUME_UTIMES): Likewise.
46335         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46336         kernel version.
46337         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46338         (__ASSUME_TMPFS_NAME): Likewise.
46339         * README: Update reference to Linux kernel versions.
46341 2012-08-02  Marek Polacek  <polacek@redhat.com>
46343         [BZ# 14150]
46344         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46345         libc_cv_asm_type_prefix with %.
46346         * configure: Regenerated.
46347         * include/libc-symbols.h: Remove comment about
46348         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46349         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46350         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46351         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46352         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46353         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46354         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46355         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46356         * elf/tst-unique2mod1.c: Likewise.
46357         * elf/tst-unique1mod2.c: Likewise.
46358         * elf/tst-unique1mod1.c: Likewise.
46359         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46360         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46361         Replace ASM_TYPE_DIRECTIVE with .type.
46362         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46363         * sysdeps/i386/sysdep.h: Likewise.
46364         * sysdeps/x86_64/sysdep.h: Likewise.
46365         * sysdeps/sh/sysdep.h: Likewise.
46366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46367         Do not define ASM_TYPE_DIRECTIVE.
46368         * sysdeps/powerpc/sysdep.h: Likewise.
46369         * sysdeps/powerpc/powerpc32/sysdep.h:
46370         Replace ASM_TYPE_DIRECTIVE with .type.
46371         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46372         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46373         * sysdeps/i386/fpu/e_powf.S: Likewise.
46374         * sysdeps/i386/fpu/e_expl.S: Likewise.
46375         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46376         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46377         * sysdeps/i386/fpu/e_pow.S: Likewise.
46378         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46379         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46380         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46381         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46382         * sysdeps/i386/fpu/e_log2.S: Likewise.
46383         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46384         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46385         * sysdeps/i386/fpu/e_powl.S: Likewise.
46386         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46387         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46388         * sysdeps/i386/fpu/e_logl.S: Likewise.
46389         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46390         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46391         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46392         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46393         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46394         * sysdeps/i386/fpu/e_log.S: Likewise.
46395         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46396         * sysdeps/i386/fpu/e_logf.S: Likewise.
46397         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46398         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46399         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46400         * sysdeps/i386/fpu/e_log10.S: Likewise.
46401         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46402         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46403         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46404         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46405         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46406         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46407         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46408         * sysdeps/i386/i686/strtok.S: Likewise.
46409         * sysdeps/i386/i386-mcount.S: Likewise.
46410         * sysdeps/i386/strtok.S: Likewise.
46411         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46412         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46413         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46414         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46415         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46416         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46417         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46418         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46419         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46420         * sysdeps/x86_64/_mcount.S: Likewise.
46421         * sysdeps/x86_64/strtok.S: Likewise.
46422         * sysdeps/sh/_mcount.S: Likewise.
46424 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46426         * libio/iofopen.c: Include <fcntl.h>.
46427         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46428         (_IO_fopen64, fopen64): Define as aliases.
46429         * libio/iofopen64.c: Include <fcntl.h>.
46430         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46431         Conditionalize body on this.
46432         * sysdeps/wordsize-64/iofopen.c: File removed.
46433         * sysdeps/wordsize-64/iofopen64.c: File removed.
46435 2012-08-01  Marek Polacek  <polacek@redhat.com>
46437         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46438         Use dlfcn directly instead of a variable.
46439         (binfmt-subdir): Do not define.
46440         (dlfcn): Likewise.
46442 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46444         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46445         Remove all definitions.
46446         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46447         <kernel-features.h>.
46448         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46449         (miss_F_GETOWN_EX): Remove all definitions.
46450         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46451         macro definition.
46452         [!__ASSUME_FCNTL64]: Remove conditional code.
46453         [__ASSUME_FCNTL64]: Make code unconditional.
46454         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46455         <kernel-features.h>.
46456         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46457         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46458         (lockf64) [__NR_fcntl64]: Make code unconditional.
46459         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46461         * sysdeps/unix/sysv/linux/kernel-features.h
46462         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46463         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46464         Make code unconditional.
46465         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46466         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46468         [__NR_vfork]: Make code unconditional.
46469         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46470         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46472         [__NR_vfork]: Make code unconditional.
46473         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46474         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46476 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46478         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46479         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46481         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46482         Define mkstemp64 as an alias.
46483         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46484         Define mkstemps64 as an alias.
46485         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46486         Define mkostemp64 as an alias.
46487         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46488         Define mkostemps64 as an alias.
46489         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46490         Conditionalize body on this.
46491         * misc/mkostemp64.c: Likewise.
46492         * misc/mkostemps64.c: Likewise.
46493         * misc/mkstemps64.c: Likewise.
46494         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46495         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46496         * sysdeps/wordsize-64/mkostemp.c: File removed.
46497         * sysdeps/wordsize-64/mkstemp.c: File removed.
46498         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46499         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46500         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46501         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46503         [BZ #14138]
46504         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46505         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46506         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46507         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46509         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46510         compat_symbol macros from <shlib-compat.h> rather than the underlying
46511         default_symbol_version and symbol_version macros, so that DEFAULT
46512         lines in shlib-versions are respected.
46513         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46515 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46517         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46518         Declare with warn_unused_result.
46519         (setgid, setregid, setegid, setresgid): Likewise.
46520         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46521         Likewise.
46522         * WUR-REPORT: Remove set*id functions.
46524 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46526         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46528 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46530         [BZ #10191]
46531         * include/sys/socket.h (__libc_accept, __libc_accept4):
46532         Add attribute_hidden.
46533         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46535         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46536         use of PTR_MANGLE.
46537         * inet/getnetgrent_r.c (setup): Likewise.
46539         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46541 2012-07-31  David S. Miller  <davem@davemloft.net>
46543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46545 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46547         [BZ #13629]
46548         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46549         value between 1.0 and 2.0 and smaller part has absolute value less
46550         than 1.0.
46551         * math/s_clog10.c (__clog10): Likewise.
46552         * math/s_clog10f.c (__clog10f): Likewise.
46553         * math/s_clog10l.c (__clog10l): Likewise.
46554         * math/s_clogf.c (__clogf): Likewise.
46555         * math/s_clogl.c (__clogl): Likewise.
46556         * math/libm-test.inc (clog_test): Add more tests.
46557         (clog10_test): Likewise.
46558         * sysdeps/i386/fpu/libm-test-ulps: Update.
46559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46561 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46563         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46564         Exit with zero in case no suitable GID is found, and write a
46565         message to standard error.
46567 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46569         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46570         rather than to 1.
46571         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46572         (MAXPATHLEN): Removed.
46573         (NOGROUP, NODEV): New macros.
46574         (setbit, clrbit, isset, isclr): New macros.
46575         (howmany, roundup, powerof2): New macros.
46576         (DEV_BSIZE): New macro.
46578         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46579         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46581         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46582         definition on [!__NO_LONG_DOUBLE_MATH].
46584         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46585         PTR_MANGLE and PTR_DEMANGLE.
46587         * socket/accept4.c (accept4): Rename to __libc_accept4.
46588         Define accept4 as a weak alias.
46590         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46591         on [_DIRENT_HAVE_D_TYPE].
46592         * io/ftw.c (ftw_dir): Likewise.
46594         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46596         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46598         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46599         Use the BSD numbers rather than the arbitrary ones we had.
46600         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46601         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46602         (SIGXCPU, SIGXFSZ): New macros.
46603         (_NSIG): Now 32.
46605         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46606         initializer on [_LIBC_REENTRANT].
46608         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46609         definitions inside [_POSIX_MAPPED_FILES].
46611         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46613         * dirent/opendir.c: Include <fcntl.h>.
46615         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46616         (__libc_getspecific): Likewise.
46617         (__libc_key_create): Likewise.
46619         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46620         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46621         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46622         (tmpfile64): Define as alias.
46623         * sysdeps/wordsize-64/tmpfile.c: File removed.
46624         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46625         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46626         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46628         * stdio-common/vfscanf.c: Include <stdbool.h>.
46629         * nss/makedb.c: Likewise.
46630         * stdio-common/_i18n_number.h: Likewise.
46631         * argp/argp-help.c: Likewise.
46632         * posix/wordexp.c: Likewise.
46633         * sysdeps/posix/spawni.c: Likewise.
46634         * nss/nss_files/files-initgroups.c: Likewise.
46635         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46636         * nss/nss_files/files-initgroups.c: Likewise.
46637         * nss/nss_db/db-netgrp.c: Likewise.
46638         * nss/nss_db/db-initgroups.c: Likewise.
46639         * io/fchmodat.c: Include <sys/stat.h>.
46641         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46642         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46644         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46645         [HAVE_MMAP].
46647         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46648         Add multiple inclusion protection.
46650 2012-07-27  David S. Miller  <davem@davemloft.net>
46652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46654 2012-07-27  Gary Benson  <gbenson@redhat.com>
46656         [BZ #14298]
46657         * elf/rtld.c: Include <stap-probe.h>.
46658         (dl_main): Added static probes "init_start" and "init_complete".
46659         * elf/dl-load.c: Include <stap-probe.h>.
46660         (lose): Take new parameter "nsid".
46661         Added static probe "map_failed".
46662         (_dl_map_object_from_fd): Pass namespace id to lose.
46663         Added static probe "map_start".
46664         (open_verify): Pass namespace id to lose.
46665         * elf/dl-open.c: Include <stap-probe.h>.
46666         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46667         and "reloc_complete".
46668         * elf/dl-close.c: Include <stap-probe.h>.
46669         (_dl_close_worker): Added static probes "unmap_start" and
46670         "unmap_complete".
46671         * elf/rtld-debugger-interface.txt: New file documenting the above.
46673 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46675         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46676         rather than a string variable.
46677         * sunrpc/rpc_main.c (h_output): Likewise.
46678         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46680 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46682         * inet/check_native.c: New file.
46684 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46686         [BZ #13629]
46687         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46688         if larger part has absolute value 1.0.
46689         * math/s_clog10.c (__clog10): Likewise.
46690         * math/s_clog10f.c (__clog10f): Likewise.
46691         * math/s_clog10l.c (__clog10l): Likewise.
46692         * math/s_clogf.c (__clogf): Likewise.
46693         * math/s_clogl.c (__clogl): Likewise.
46694         * math/libm-test.inc (clog_test): Add more tests.
46695         (clog10_test): Likewise.
46696         * sysdeps/i386/fpu/libm-test-ulps: Update.
46697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46699         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46700         (pltexit): Likewise.
46701         (La_regs): Likewise.
46702         (La_retval): Likewise.
46703         (int_retval): Likewise.
46704         Update #error for removed macros to refer only to definitions in
46705         tst-audit.h.
46706         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46707         macro.
46708         (pltexit): Likewise.
46709         (La_regs): Likewise.
46710         (La_retval): Likewise.
46711         (int_retval): Likewise.
46712         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46713         macro.
46714         (pltexit): Likewise.
46715         (La_regs): Likewise.
46716         (La_retval): Likewise.
46717         (int_retval): Likewise.
46718         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46719         macro.
46720         (pltexit): Likewise.
46721         (La_regs): Likewise.
46722         (La_retval): Likewise.
46723         (int_retval): Likewise.
46724         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46725         macro.
46726         (pltexit): Likewise.
46727         (La_regs): Likewise.
46728         (La_retval): Likewise.
46729         (int_retval): Likewise.
46730         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46731         macro.
46732         (pltexit): Likewise.
46733         (La_regs): Likewise.
46734         (La_retval): Likewise.
46735         (int_retval): Likewise.
46736         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46737         macro.
46738         (pltexit): Likewise.
46739         (La_regs): Likewise.
46740         (La_retval): Likewise.
46741         (int_retval): Likewise.
46742         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46743         macro definitions in tst-audit.h.
46744         * sysdeps/i386/tst-audit.h: New file.
46745         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46746         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46747         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46748         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46749         * sysdeps/sh/tst-audit.h: Likewise.
46750         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46751         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46752         * sysdeps/x86_64/tst-audit.h: Likewise.
46754 2012-07-26  Andreas Jaeger  <aj@suse.de>
46756         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46757         ptrace.
46759         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46760         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46761         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46762         PTRACE_O_MASK.
46763         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46764         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46765         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46767         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46768         value.
46770         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46771         _sigsys.
46772         (si_call_addr, si_syscall, si_arch): Define new macro.
46773         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46774         _sigsys.
46775         (si_call_addr, si_syscall, si_arch): Define new marcro.
46776         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46777         _sigsys.
46778         (si_call_addr, si_syscall, si_arch): Define new macro.
46779         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46780         _sigsys.
46781         (si_call_addr, si_syscall, si_arch): Define new macro.
46783 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46785         [BZ #13717]
46786         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46787         Change to 2.4.21 where previously 2.4.1.
46788         * sysdeps/unix/sysv/linux/configure: Regenerated.
46789         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46790         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46791         Linux kernel version.
46792         (__ASSUME_STD_AUXV): Remove.
46793         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46794         kernel version.
46795         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46796         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46797         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46798         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46799         (__ASSUME_NETLINK_SUPPORT): Likewise.
46800         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46801         (__no_netlink_support): Remove conditional definition.
46802         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46803         Remove.
46804         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46805         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46806         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46807         (if_nameindex_ioctl): Remove.
46808         (if_nameindex_netlink): Do not handle __no_netlink_support.
46809         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46810         code.
46811         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46812         Remove conditional code.
46813         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46814         code.
46815         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46816         unconditional.
46817         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46818         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46819         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46820         Remove.
46821         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46822         [!__ASSUME_STD_AUXV]: Remove conditional code.
46823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46824         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46825         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46827         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46828         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46829         code.
46830         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46832         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46833         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46834         conditional code.
46835         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46837         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46838         code.
46839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46840         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46841         conditional code.
46842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46843         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46844         code unconditional.
46845         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46846         conditional code.
46847         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46848         unconditional.
46849         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46850         conditional code.
46851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46852         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46853         unconditional.
46854         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46855         conditional code.
46856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46857         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46858         code unconditional.
46859         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46860         conditional code.
46861         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46862         unconditional.
46863         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46864         conditional code.
46865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46866         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46867         code unconditional.
46868         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46869         conditional code.
46870         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46871         unconditional.
46872         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46873         conditional code.
46875 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46877         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46878         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46879         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46880         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46881         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46882         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46883         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46884         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46885         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46886         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46887         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46888         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46889         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46890         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46891         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46892         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46893         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46894         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46895         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46896         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46897         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46898         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46899         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46901 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46903         * Versions.def: Add GLIBC_2.17.
46904         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46905         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46906         Introduce __libc_secure_getenv.
46907         * stdlib/Versions (2.17): Add secure_getenv
46908         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46909         * stdlib/secure-getenv.c: Rename __secure_getenv to
46910         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46911         symbol __secure_getenv for GLIBC_2.0.
46912         * stdlib/tst-secure-getenv.c: New.
46913         * stdlib/Makefile (tests): Add testcase.
46914         * manual/startup.texi (Environment Access): Document
46915         secure_getenv.
46916         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46917         __libc_secure_getenv.
46918         * inet/ruserpass.c (ruserpass): Likewise.
46919         * malloc/mtrace.c (mtrace): Likewise.
46920         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46921         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46922         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46923         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46924         HAVE_SECURE_GETENV.
46925         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46926         __secure_getenv to __libc_secure_getenv.
46927         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46929         Likewise.
46930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46931         Likewise.
46932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46934         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46940 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46942         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46943         (struct La_i86_retval): Likewise.
46944         (struct La_x86_64_regs): Likewise.
46945         (struct La_x86_64_retval): Likewise.
46946         (struct La_x32_regs): Likewise.
46947         (struct La_x32_retval): Likewise.
46948         (struct La_ppc32_regs): Likewise.
46949         (struct La_ppc32_retval): Likewise.
46950         (struct La_ppc64_regs): Likewise.
46951         (struct La_ppc64_retval): Likewise.
46952         (struct La_sh_regs): Likewise.
46953         (struct La_sh_retval): Likewise.
46954         (struct La_s390_32_regs): Likewise.
46955         (struct La_s390_32_retval): Likewise.
46956         (struct La_s390_64_regs): Likewise.
46957         (struct La_s390_64_retval): Likewise.
46958         (struct La_sparc32_regs): Likewise.
46959         (struct La_sparc32_retval): Likewise.
46960         (struct La_sparc64_regs): Likewise.
46961         (struct La_sparc64_retval): Likewise.
46962         (struct audit_ifaces): Remove architecture-specific pltenter and
46963         pltexit members.
46964         * sysdeps/i386/ldsodefs.h: New file.
46965         * sysdeps/powerpc/ldsodefs.h: Likewise.
46966         * sysdeps/s390/ldsodefs.h: Likewise.
46967         * sysdeps/sh/ldsodefs.h: Likewise.
46968         * sysdeps/sparc/ldsodefs.h: Likewise.
46969         * sysdeps/x86_64/ldsodefs.h: Likewise.
46971 2012-07-25  Marek Polacek  <polacek@redhat.com>
46973         [BZ #6808]
46974         * math/libm-test.inc (yn_test): Add another test.
46975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46976         to ERANGE when the result is +-Inf.
46977         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46978         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46979         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46980         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46982 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46984         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46985         equal to 0.
46986         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46987         clock_t.
46988         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46990 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46992         * configure.in <sysdeps resolving>: Correct printing
46993         Implies_before.
46994         * configure: Regenerate.
46996 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46998         * math/w_ilogb.c: Include <limits.h>.
46999         * math/w_ilogbl.c: Likewise.
47001 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47003         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47004         va_copy.  Document allowing for unavailable va_copy only as
47005         pre-C99 compatibility.
47006         * manual/string.texi (Copying and Concatenation): Use va_copy
47007         instead of __va_copy in concat example.
47009 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47011         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47012         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47013         it if not null.
47015         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47016         with O_NOLINK passed to __file_name_lookup.
47018         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47019         with O_NOLINK passed to __file_name_lookup.
47021         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47022         negative N or less than NGIDS.
47024         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47025         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47026         enough.  Use memcpy instead of strncpy.
47028 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47030         * elf/Makefile (check-data): Remove.
47031         (localplt.data): New vpath directive.
47032         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47033         instead of $(check-data).
47034         * scripts/data/localplt-generic.data: Move to ...
47035         * sysdeps/generic/localplt.data: ... here.
47036         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47037         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47038         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47040         ... here.
47041         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47043         ... here.
47044         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47046         ... here.
47047         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47049         ... here.
47050         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47052         ... here.
47053         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47055         ... here.
47057 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47059         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47060         PPC32 and PPC64 files.
47061         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47062         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47064 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47066         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47067         __makecontext_ret to ...
47068         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47069         ... here and call exit if uc_link is NULL.  New file.
47070         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47071         __makecontext_ret.S.
47072         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47073         __makecontext_ret to ...
47074         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47075         ... here and call exit if uc_link is NULL.  New file.
47076         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47077         __makecontext_ret.S.
47079 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47081         * elf/elf.h (R_390_IRELATIVE): New definition.
47082         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47083         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47084         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47085         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47086         (elf_machine_lazy_rel): Likewise.
47087         * sysdeps/s390/dl-irel.h: New file.
47088         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47089         * sysdeps/s390/s390-64/memset.S: New asm code.
47090         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47091         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47092         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47093         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47094         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47095         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47096         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47097         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47098         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47099         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47100         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47101         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47102         * sysdeps/s390/s390-32/memset.S: New asm code.
47103         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47105 2012-07-17  Marek Polacek  <polacek@redhat.com>
47107         [BZ #14349]
47108         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47109         * sysdeps/s390/s390-64/configure.in: Likewise.
47110         * sysdeps/sparc/configure.in: Likewise.
47111         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47112         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47113         * sysdeps/i386/configure.in: Likewise.
47114         * sysdeps/x86_64/configure.in: Likewise.
47115         * sysdeps/sh/configure.in: Likewise.
47116         * sysdeps/s390/s390-32/configure: Regenerated.
47117         * sysdeps/s390/s390-64/configure: Likewise.
47118         * sysdeps/x86_64/configure: Likewise.
47119         * sysdeps/sh/configure: Likewise.
47120         * sysdeps/powerpc/powerpc64/configure: Likewise.
47121         * sysdeps/powerpc/powerpc32/configure: Likewise.
47122         * sysdeps/sparc/configure: Likwise.
47123         * sysdeps/i386/configure: Likewise.
47125         * elf/dl-open.c: Comment fixes.
47127 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47129         * Makefile [CXX] (check-data): Remove.
47130         [CXX] (c++-types.data): New vpath directive.
47131         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47132         vpath.  Do not allow for C++ type data being missing.
47133         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47134         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47135         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47136         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47137         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47138         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47139         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47141         ... here.
47142         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47144         ... here.
47145         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47147         ... here.
47148         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47150         ... here.
47151         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47153         ... here.
47154         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47156         ... here.
47157         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47159         ... here.
47160         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47163         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47164         definitions to architecture-specific files.
47165         (TLS_IE): Likewise.
47166         (TLS_LD): Likewise.
47167         (TLS_GD): Likewise.
47168         * sysdeps/i386/tls-macros.h: New file.
47169         * sysdeps/powerpc/tls-macros.h: Likewise.
47170         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47171         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47172         * sysdeps/sh/tls-macros.h: Likewise.
47173         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47174         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47175         * sysdeps/x86_64/tls-macros.h: Likewise.
47177 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47179         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47180         zero value for regular exit case.
47182         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47183         (__start_context): Preserve zero value for regular exit case.
47185 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47186             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47188         * manual/setjmp.texi (setcontext): Clarify normal process
47189         termination when uc_link is the null pointer.
47190         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47191         exit call.
47193 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47195         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47196         preprocessor.  Test for each exception mask separately.
47198 2012-07-16  Andreas Jaeger  <aj@suse.de>
47200         * po/ru.po: Update from translation team.
47202 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47204         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47205         equal to 0.
47206         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47207         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47208         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47209         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47210         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47212 2012-07-13  Andreas Jaeger  <aj@suse.de>
47214         * po/fr.po: Update from translation team.
47216 2012-07-12  Marek Polacek  <polacek@redhat.com>
47218         [BZ #14173]
47219         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47220         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47221         loop condition.
47223 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47225         [BZ #13717]
47226         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47227         Change to 2.4.1 where previously 2.4.0.
47228         * sysdeps/unix/sysv/linux/configure: Regenerated.
47229         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47230         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47231         version.
47232         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47233         (__ASSUME_AT_CLKTCK): Remove.
47234         (__ASSUME_AT_PAGESIZE): Likewise.
47235         (__ASSUME_AT_XID): Likewise.
47236         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47237         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47238         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47239         unconditionally.
47240         (HAVE_AUX_PAGESIZE): Likewise.
47241         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47242         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47243         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47245 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47247         [BZ #14307]
47248         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47249         the temporary buffer used to invoke __gethostbyname2_r,
47250         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47251         host_data / struct gaih_addrtuple.
47252         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47253         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47254         header file nss/nsswitch.h.
47255         * nss/nsswitch.h (global scope): Add definition of implementation
47256         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47257         resolv/nss_dns/dns-host.c).
47259 2012-07-11  Andreas Jaeger  <aj@suse.de>
47261         * po/fr.po: Update from translation team.
47263         * po/sv.po: Update from translation team
47264         * po/fr.po: Another update from translation team.
47266 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47268         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47269         for subnormals or multiply small sinh result by itself.
47270         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47273 2012-07-11  David S. Miller  <davem@davemloft.net>
47275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47277 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47279         [BZ #14347]
47280         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47281         (INTERNAL_MARK): Shift it here.
47283 2012-07-10  Marek Polacek  <polacek@redhat.com>
47285         [BZ #14151]
47286         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47287         libc_cv_asm_global_directive with .globl.
47288         * configure: Regenerated.
47289         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47290         with .globl.
47291         * sysdeps/i386/configure: Regenerated.
47292         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47293         with .globl.
47294         * sysdeps/x86_64/configure: Regenerated.
47295         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47296         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47297         * elf/tst-unique2mod2.c: Likewise.
47298         * elf/tst-unique2mod1.c: Likewise.
47299         * elf/tst-unique1mod2.c: Likewise.
47300         * elf/tst-unique1mod1.c: Likewise.
47301         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47302         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47303         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47304         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47305         * sysdeps/mach/sysdep.h: Likewise.
47306         * sysdeps/i386/sysdep.h: Likewise.
47307         * sysdeps/i386/i386-mcount.S: Likewise.
47308         * sysdeps/x86_64/_mcount.S: Likewise.
47309         * sysdeps/x86_64/sysdep.h: Likewise.
47310         * sysdeps/sh/_mcount.S: Likewise.
47311         * sysdeps/sh/sysdep.h: Likewise.
47312         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47313         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47314         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47315         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47316         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47317         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47318         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47319         * locale/localeinfo.h: Likewise.
47320         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47321         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47323 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47325         [BZ #14336]
47326         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47327         system".
47328         * manual/message.texi (The Uniforum approach): Likewise.
47329         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47330         (glibc iconv Implementation): Likewise.
47332 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47334         [BZ #14337]
47335         * math/s_clog.c (__clog): Avoid scaling a value down where that
47336         could result in underflow.
47337         * math/s_clog10.c (__clog10): Likewise.
47338         * math/s_clog10f.c (__clog10f): Likewise.
47339         * math/s_clog10l.c (__clog10l): Likewise.
47340         * math/s_clogf.c (__clogf): Likewise.
47341         * math/s_clogl.c (__clogl): Likewise.
47342         * math/libm-test.inc (clog_test): Add more tests.
47343         (clog10_test): Likewise.
47344         * sysdeps/i386/fpu/libm-test-ulps: Update.
47345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47347 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47349         [BZ #14283]
47350         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47351         by 7 not 8 to examine high bit of fractional part.
47353         [BZ #14042]
47354         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47355         for call to __mcount_internal.
47356         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47357         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47358         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47360 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47362         [BZ #14154]
47363         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47364         approximation for values within 0x1p-13f of an odd multiple of
47365         pi/4.
47366         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47367         exception.  Add more tests.
47368         * sysdeps/i386/fpu/libm-test-ulps: Update.
47370         [BZ #6778]
47371         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47372         inputs and return -1 for them.  Do not check for +Inf in case not
47373         reachable for +Inf.
47374         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47375         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47376         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47377         and return -1 for them.  Do not check for +Inf in case not
47378         reachable for +Inf.
47379         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47380         define.
47381         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47382         and return -1 for them.  Do not check for +Inf in case not
47383         reachable for +Inf.
47384         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47385         spurious underflow.
47386         * sysdeps/i386/fpu/libm-test-ulps: Update.
47387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47389 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47391         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47393 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47395         [BZ #14157]
47396         [BZ #14331]
47397         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47398         could result in spurious underflow.  Scale down values above
47399         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47400         * math/s_csqrtf.c (__csqrtf): Likewise.
47401         * math/s_csqrtl.c (__csqrtl): Likewise.
47402         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47403         spurious underflow.
47404         * sysdeps/i386/fpu/libm-test-ulps: Update.
47405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47407 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47409         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47410         xopen-msg.sed.
47411         * catgets/xopen-msg.awk: New file.
47412         * catgets/xopen-msg.sed: Removed.
47414         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47415         po2text.sed.
47416         * intl/po2test.awk: New file.
47417         * intl/po2test.sed: Removed.
47419 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47421         [BZ #14328]
47422         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47423         or multiply small sinh result by itself.
47424         * math/s_ctanf.c (__ctanf): Likewise.
47425         * math/s_ctanh.c (__ctanh): Likewise.
47426         * math/s_ctanhf.c (__ctanhf): Likewise.
47427         * math/s_ctanhl.c (__ctanhl): Likewise.
47428         * math/s_ctanl.c (__ctanl): Likewise.
47429         * math/libm-test.inc (ctan_test_tonearest): New function.
47430         (ctan_test_towardzero): Likewise.
47431         (ctan_test_downward): Likewise.
47432         (ctan_test_upward): Likewise.
47433         (ctanh_test_tonearest): Likewise.
47434         (ctanh_test_towardzero): Likewise.
47435         (ctanh_test_downward): Likewise.
47436         (ctanh_test_upward): Likewise.
47437         (main): Call these new functions.
47438         * sysdeps/i386/fpu/libm-test-ulps: Update.
47439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47441 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47443         * .gitignore: Delete /ports entry.
47445 2012-07-03  Andreas Jaeger  <aj@suse.de>
47447         * po/bg.po: Update from translation team.
47448         * po/cs.po: Likewise.
47449         * po/de.po: Likewise.
47450         * po/hr.po: Likewise.
47451         * po/nl.pl: Likewise.
47452         * po/pl.po: Likewise.
47453         * po/vi.po: Likewise.
47455 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47457         * Makeconfig [!+link] (+link-before-libc): New variable.
47458         [!+link] (+link-after-libc): Likewise.
47459         [!+link] (+link-tests): Likewise.
47460         [!+link] (+link): Define in terms of $(+link-before-libc) and
47461         $(+link-after-libc).
47462         [!+link-static] (+link-static-before-libc): New variable.
47463         [!+link-static] (+link-static-after-libc): Likewise.
47464         [!+link-static] (+link-static-tests): Likewise.
47465         [!+link-static] (+link-static): Define in terms of
47466         $(+link-static-before-libc) and $(+link-static-after-libc).
47467         [build-shared] (link-libc-before-gnulib): New variable.
47468         [build-shared] (link-libc-tests): Likewise.
47469         [build-shared] (link-libc): Define in terms of
47470         $(link-libc-before-gnulib).
47471         [!build-shared] (link-libc-tests): New variable.
47472         (link-libc-static-tests): New variable.
47473         [!gnulib] (gnulib-arch): New variable.
47474         [!gnulib] (gnulib-tests): Likewise.
47475         [!gnulib] (static-gnulib-arch): Likewise.
47476         [!gnulib] (static-gnulib-tests): Likewise.
47477         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47478         Define with "=" instead of ":=".
47479         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47480         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47481         * Rules (binaries-all-notests): New variable.
47482         (binaries-all-tests): Likewise.
47483         (binaries-static-notests): Likewise.
47484         (binaries-static-tests): Likewise.
47485         (binaries-all): Define using $(binaries-all-notests) and
47486         $(binaries-all-tests).
47487         (binaries-static): Define using $(binaries-static-notests) and
47488         $(binaries-static-tests).
47489         (binaries-shared-tests): New variable.
47490         (binaries-shared-notests): Likewise.
47491         (binaries-shared): Remove variable.
47492         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47493         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47494         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47495         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47496         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47497         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47498         * elf/Makefile (sln-modules): New variable.
47499         (extra-objs): Add $(sln-modules:=.o).
47500         (ldconfig-modules): Add static-stubs.
47501         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47502         * elf/static-stubs.c: New file.
47504         [BZ #14283]
47505         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47506         by 7 not 8 to examine high bit of fractional part.  Use volatile
47507         variables when splitting into final array of floats if
47508         __FLT_EVAL_METHOD__ != 0.
47509         * math/libm-test.inc (cos_test): Add another test.
47510         (sin_test): Likewise.
47511         * sysdeps/i386/fpu/libm-test-ulps: Update.
47513         [BZ #14273]
47514         * math/libm-test.inc (cosh_test): Add more tests.
47516         * version.h (RELEASE): Set to "development".
47517         (VERSION): Set to "2.16.90".
47519 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47521         * NEWS: Update copyright. Remove last-updated date.
47522         Mention math library bug fixes and timezone data changes.
47523         * README: Mention GNU/Hurd, x32, and HPPA support status.
47525 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47527         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47529 2012-06-27  Andreas Jaeger  <aj@suse.de>
47531         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47533 2012-06-25  Andreas Jaeger  <aj@suse.de>
47535         * sysdeps/s390/fpu/libm-test-ulps: Update.
47537 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47538             Thomas Schwinge  <thomas@codesourcery.com>
47540         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47541         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47542         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47543         fanotify_mark.
47545 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47547         * sysdeps/mach/start.c: Remove file.
47548         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47549         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47550         * sysdeps/sh/init-first.c: Likewise.
47552         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47553         registers for frame unwinding purposes, add CFI directives.
47554         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47555         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47556         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47557         Likewise.
47559         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47560         __fortify_fail returning.
47561         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47563         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47564         sysdeps/sh/____longjmp_chk.S.
47565         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47566         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47567         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47568         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47570         * sysdeps/sh/abort-instr.h: New file.
47571         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47572         process in case exit returns.
47574         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47575         initialize the GOT register before use.
47577         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47578         calculation of ARGC > 4.
47580         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47581         meaningful names to some local labels.
47583 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47584             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47586         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47587         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47588         (__arch_compare_and_exchange_val_16_acq): Likewise.
47589         (__arch_compare_and_exchange_val_32_acq): Likewise.
47590         (atomic_exchange_and_add): Fix gUSA sequence.
47591         (atomic_add): Likewise.
47592         (atomic_add_negative): Likewise.
47593         (atomic_add_zero): Likewise.
47594         (atomic_bit_test_set): Likewise.
47596 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47598         [BZ #13579]
47599         * include/link.h (struct link_map): Add l_free_initfini.
47600         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47601         l_initfini.
47602         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47603         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47604         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47605         set.
47607 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47609         * configure.in: Use AC_LANG_SOURCE.
47610         * configure: Regenerate.
47612 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47614         * configure.in (libc_cv_localstatedir): New substituted variable.
47615         * configure: Regenerated.
47616         * config.make.in (localstatedir): New variable, substituted from
47617         libc_cv_localstatedir.
47618         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47619         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47620         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47621         * sysdeps/gnu/configure: Regenerated.
47623 2012-06-21  Jeff Law  <law@redhat.com>
47625         [BZ #14277]
47626         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47627         free.  Simplify list management for _LIBC case.
47629 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47631         [BZ #14273]
47632         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47633         Clear sign bit of 64-bit integer value before comparing against
47634         overflow value.
47636         * sysdeps/mach/configure: Regenerated.
47638 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47640         [BZ #14278]
47641         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47643 2012-06-21  Jeff Law  <law@redhat.com>
47645         [BZ #13882]
47646         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47647         uint16_t for elements in the "seen" array to avoid char overflows.
47648         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47649         * elf/dl-open.c (dl_open_worker): Likewise.
47651 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47653         * scripts/list-sources.sh: Scan PORTS for translations.
47654         * po/libc.pot: Regenerated.
47656 2012-06-21  Andreas Jaeger  <aj@suse.de>
47658         [BZ #12194]
47659         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47660         warning.
47661         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47662         * bits/byteswap-16.h (__bswap_16): Likewise.
47663         * bits/byteswap.h (__bswap_constant_16): Likewise.
47665 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47667         [BZ #14117]
47668         * sysdeps/i386/fpu_control.h: Removed.
47669         * sysdeps/x86_64/fpu_control.h: Moved to ...
47670         * sysdeps/x86/fpu_control.h: Here.
47672         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47673         (_FPU_SETCW): Likewise.
47675 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47677         [BZ #14117]
47678         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47679         * sysdeps/x86/fpu/bits/mathinline.h: This.
47680         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47682         [BZ #14050]
47683         [BZ #14117]
47684         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47685         functions if __x86_64__ is defined.
47687 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47689         * string/endian.h: Add !__ASSEMBLER__ condition for including
47690         conversion interfaces.
47692 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47694         [BZ #14241]
47695         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47696         of ABS(x) in calculating zero to negative powers other than odd
47697         integers.
47698         * math/libm-test.inc (pow_test): Add more tests.
47700 2012-06-15  Andreas Jaeger  <aj@suse.de>
47702         * manual/contrib.texi (Contributors): Update entry of Liubov
47703         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47704         Machado Filho.
47706 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47708         * string/string.h: Add __wur to GNU version of strerror_r.
47710 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47712         [BZ #14229]
47713         * string/Makefile (tests): Add tst-strtok_r.
47714         * string/tst-strtok_r.c: New file.
47715         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47716         RAX_LP/RDX_LP on SAVE_PTR.
47718 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47720         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47722 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47724         * libm_test.inc (csqrt_test): Allow more spurious underflow
47725         exceptions.
47726         (j0_test): Likewise.
47727         (j1_test): Likewise.
47728         (y0_test): Likewise.
47729         (y1_test): Likewise.
47731 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47733         * po/Makefile (libc.pot): Use UTF-8 charset.
47735 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47737         [BZ #14210]
47738         Suppress sign-conversion warning from FD_SET.
47739         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47740         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47741         not unsigned long int.
47742         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47744 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47746         [BZ #14050]
47747         [BZ #14117]
47748         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47749         __extern_always_inline instead of __extern_inline.
47750         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47751         (__signbit): Likewise.
47752         (__signbitl): Support C++ namespace.
47753         (lrintf): New inline function.
47754         (lrint): Likewise.
47755         (llrintf): Likewise.
47756         (llrint): Likewise.
47757         (fmaxf): Likewise.
47758         (fmax): Likewise.
47759         (fminf): Likewise.
47760         (fmin): Likewise.
47761         (rint): Likewise.
47762         (rintf): Likewise.
47763         (ceil): Likewise.
47764         (ceilf): Likewise.
47765         (floor): Likewise.
47766         (floorf): Likewise.
47767         (nearbyint): Likewise.
47768         (nearbyintf): Likewise.
47770 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47772         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47773         non-default versions.
47775 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47777         [BZ #14218]
47778         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47780 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47782         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47783         (FE_UPWARD, FE_DOWNWARD): Don't define.
47784         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47785         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47787         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47788         reading it.
47789         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47790         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47792 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47794         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47795         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47796         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47797         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47799 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47801         [BZ #14117]
47802         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47803         * sysdeps/i386/fpu/Implies: New file.
47804         * sysdeps/x86_64/fpu/Implies: Likewise.
47805         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47806         * sysdeps/x86/fpu/bits/fenv.h: This.
47808         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47809         __SSE_MATH__.
47811 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47813         [BZ #14134]
47814         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47815         character 0xffff that matches the last element of the
47816         conversion table.
47818 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47820         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47821         fmodl commit.
47823 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47825         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47826         values higher than 25.6283.
47828 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47830         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47831         subnormal exponent extraction and add some __builtin_expect.
47832         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47833         Fix for subnormal mantissa calculation.
47835 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47837         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47838         cpu2 is -1 and errno is not ENOSYS.
47840 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47842         [BZ #14117]
47843         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47844         * sysdeps/x86/bits/string.h: This.
47845         * sysdeps/x86_64/bits/string.h: Removed.
47847         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47848         if not compiling for x86-64, but compiling for >= i486.
47850         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47851         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47853         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47854         New macro from Linux kernel 3.4.0.
47855         (FP_XSTATE_MAGIC2): Likewise.
47856         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47857         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47858         (struct _fpx_sw_bytes): New struct.
47859         (struct _xsave_hdr): Likewise.
47860         (struct _ymmh_state): Likewise.
47861         (struct _xstate): Likewise.
47863         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47864         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47865         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47866         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47867         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47868         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47870         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47871         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47872         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47873         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47874         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47875         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47877 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47879         [BZ #13743]
47880         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47881         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47882         (sysdep_headers): Include sys/platform/ppc.h.
47883         * sysdeps/powerpc/test-gettimebase.c: Test for
47884         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47885         * manual/Makefile (appendices): Include platform.texi.
47886         * manual/contrib.texi (Contributors): Update @node pointers.
47887         * manual/maint.texi (Maintenance): Likewise.
47888         (Platform): New node.
47889         * manual/platform.texi: New file.  Document the new features.
47891 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47892             Jakub Jelinek  <jakub@redhat.com>
47894         [BZ #14188]
47895         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47896         where __builtin_expect is unavailable.
47898 2012-06-03  David S. Miller  <davem@davemloft.net>
47900         * stdlib/longlong.h: Updated from GCC.
47902 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47904         [BZ #14042]
47905         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47906         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47907         __mcount_internal.
47908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47909         (GLIBC_2.16): Likewise.
47911 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47913         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47915 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47918         (default-abi): New variable.
47919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47920         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47921         variable.
47922         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47923         Likewise.
47924         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47925         Likewise.
47926         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47927         Likewise.
47929         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47930         definition.  Document in comment.
47932 2012-06-01  David S. Miller  <davem@davemloft.net>
47934         * stdlib/longlong.h: Updated from GCC.
47936 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47938         [BZ #14117]
47939         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47940         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47941         sys/debugreg.h sys/io.h here.
47942         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47943         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47944         sys/io.h.
47945         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47946         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47947         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47948         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47949         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47950         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47952         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47953         Define only if __x86_64__ is defined.
47955 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47957         [BZ #14048]
47958         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47959         Use int64_t for variable i.
47960         * math/libm-test.inc (fmod_test): Add more tests.
47962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47963         z computation is not scheduled after fetestexcept.
47964         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47965         Use math_force_eval instead of asm to ensure calculation scheduled
47966         before exception test.
47967         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47968         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47970 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47973         computation is not scheduled after fetestexcept.
47975 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47977         [BZ #14117]
47978         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47979         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47981 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47983         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47984         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47986 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47988         [BZ #14117]
47989         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47990         <bits/wordsize.h>.
47991         (__WCHAR_MIN): Support __WORDSIZE == 64.
47992         (__WCHAR_MAX): Likewise.
47994         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47995         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47997         [BZ #14183]
47998         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47999         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48001         [BZ #14117]
48002         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48003         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48005         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48006         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48008         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48009         Defined to 1 if __x86_64__ isn't defined.
48010         (_STAT_VER_LINUX_OLD): New.
48011         (st_atime): Remove duplicate.
48012         (st_mtime): Likewise.
48013         (st_ctime): Likewise.
48015 2012-05-31  David S. Miller  <davem@davemloft.net>
48017         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48018         entries.
48020 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48022         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48023         gen-libm-test.pl.
48025         [BZ #14132]
48026         * elf/dl-reloc.c: Include <_itoa.h>.
48027         (_dl_reloc_bad_type): Remove use of INTUSE.
48028         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48029         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48030         * stdio-common/psiginfo.c (psiginfo): Likewise.
48031         * stdio-common/psignal.c (psignal): Likewise.
48032         * string/strsignal.c (strsignal): Likewise.
48033         * include/signal.h (_sys_siglist): Declare hidden proto.
48034         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48035         INTVARDEF with libc_hidden_data_def.
48036         * stdio-common/itoa-udigits.c: Likewise.
48037         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48038         (_itoa_lower_digits_internal): Remove declaration.
48039         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48040         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48041         (_sys_sigabbrev_internal): Remove aliases.
48042         (_sys_siglist): Define hidden alias.
48044 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48047         bits/sysctl.h.
48049 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48051         [BZ #14117]
48052         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48053         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48055         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48056         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48057         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48058         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48059         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48060         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48062         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48063         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48064         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48066         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48067         with __addr.
48068         (insw): Likewise.
48069         (insl): Likewise.
48070         (outsb): Likewise.
48071         (outsw): Likewise.
48072         (outsl): Likewise.
48074         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48075         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48076         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48078         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48079         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48080         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48081         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48082         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48083         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48085         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48086         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48088         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48089         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48091         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48092         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48093         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48095         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48096         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48097         to ...
48098         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48100         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48101         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48102         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48104         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48105         for x86-64.
48106         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48108 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48110         * math/math.h (M_El): Use two more decimal places.
48111         (M_LOG2El): Likewise.
48112         (M_LOG10El): Likewise.
48113         (M_LN2l): Likewise.
48114         (M_LN10l): Likewise.
48115         (M_PIl): Likewise.
48116         (M_PI_2l): Likewise.
48117         (M_PI_4l): Likewise.
48118         (M_1_PIl): Likewise.
48119         (M_2_PIl): Likewise.
48120         (M_2_SQRTPIl): Likewise.
48121         (M_SQRT2l): Likewise.
48122         (M_SQRT1_2l): Likewise.
48124 2012-05-31  David S. Miller  <davem@davemloft.net>
48126         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48127         values between float registers.
48128         * sysdeps/sparc/sparc64/memset.S: Likewise.
48129         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48131 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48133         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48134         -D_FORTIFY_SOURCE=1.
48135         (CPPFLAGS-tst-longjmp_chk.c): Define.
48136         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48137         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48138         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48139         CFLAGS-tst-wchar-h.c.
48141 2012-05-31  Marek Polacek  <polacek@redhat.com>
48143         [BZ #14132]
48144         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48145         __endmntent_internal): Remove declaration.
48146         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48147         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48148         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48150 2012-05-30  David S. Miller  <davem@davemloft.net>
48152         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48153         (___Q_simulate_exceptions): Use real FP ops rather than writing
48154         into the %fsr.
48155         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48156         Likewise.
48158 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48160         [BZ #14117]
48161         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48162         * sysdeps/x86/bits/xtitypes.h: This.
48164         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48165         * sysdeps/x86/bits/wordsize.h: This.
48167         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48168         * sysdeps/x86/bits/huge_vall.h: This.
48170         * sysdeps/i386/bits/select.h: Removed.
48171         * sysdeps/x86_64/bits/select.h: Renamed to ...
48172         * sysdeps/x86/bits/select.h: This.
48174         * sysdeps/i386/bits/setjmp.h: Removed.
48175         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48176         * sysdeps/x86/bits/setjmp.h: This.
48178         * sysdeps/i386/bits/mathdef.h: Removed.
48179         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48180         * sysdeps/x86/bits/mathdef.h: This.
48182 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48184         [BZ #14132]
48185         * include/sys/socket.h (__connect_internal)
48186         (__libc_sa_len_internal): Remove declaration.
48187         (__connect, __libc_sa_len): Declare hidden_proto.
48188         (SA_LEN): Remove use of INTUSE.
48189         * socket/connect.c: Add libc_hidden_def.
48190         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48191         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48192         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48193         alias.
48194         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48195         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48196         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48197         of adding _internal alias.
48199 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48201         [BZ #14117]
48202         * sysdeps/i386/bits/link.h: Removed.
48203         * sysdeps/i386/bits/linkmap.h: Likewise.
48204         * sysdeps/x86_64/bits/link.h: Renamed to ...
48205         * sysdeps/x86/bits/link.h: This.
48206         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48207         * sysdeps/x86/bits/linkmap.h: This.
48209         * sysdeps/i386/bits/endian.h: Removed.
48210         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48211         * sysdeps/x86/bits/endian.h: This.
48213         * sysdeps/i386/bits/byteswap.h: Removed.
48214         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48215         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48216         * sysdeps/x86/bits/byteswap.h: This.
48217         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48218         * sysdeps/x86/bits/byteswap-16.h: This.
48219         * sysdeps/i386/Implies: Add x86.
48220         * sysdeps/x86_64/Implies: Likewise.
48222 2012-05-30  David S. Miller  <davem@davemloft.net>
48224         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48225         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48226         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48227         (FP_TRAPPING_EXCEPTIONS): Define.
48228         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48229         (FP_TRAPPING_EXCEPTIONS): Define.
48230         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48231         subnormals only when inexact has been signalled or underflow
48232         exceptions are enabled.
48233         (_FP_PACK_CANONICAL): Likewise.
48235 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48237         [BZ #14183]
48238         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48239         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48241 2012-05-30  Richard Henderson  <rth@twiddle.net>
48243         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48244         with #ifndef NOT_IN_libc.
48246         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48247         marked to avoid plt entry.
48249 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48251         [BZ #14112]
48252         * Makeconfig (default-abi): New macro.
48253         (abi-includes): Likewise.
48254         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48255         $(abi-$(default-abi)-lib-soname) for soname if defined.
48256         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48257         abi-variants.
48258         * Makefile (installed-stubs): Likewise.
48259         * include/stubs-biarch.h: Removed.
48260         * scripts/lib-names.awk: Only handle one library at a time.
48261         * scripts/soversions.awk: Remove WORDSIZE support.
48262         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48263         entries.
48264         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48265         Removed.
48266         (syscall-list-default-condition): Likewise.
48267         (syscall-list-default-condition): Likewise.
48268         (syscall-list-includes): Likewise.
48269         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48270         syscall-list-* with abi-*.  Handle undefined abi-variants.
48271         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48272         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48273         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48274         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48275         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48276         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48277         Removed.
48278         (syscall-list-32-options): Likewise.
48279         (syscall-list-32-condition): Likewise.
48280         (syscall-list-64-options): Likewise.
48281         (syscall-list-64-condition): Likewise.
48282         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48283         macro.
48284         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48285         Renamed to ...
48286         (abi-*): This.
48287         (abi-64-ld-soname): New macro.
48288         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48289         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48290         Renamed to ...
48291         (abi-*): This.
48292         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48293         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48295 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48297         * sysdeps/unix/sysv/linux/kernel-features.h
48298         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48299         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48300         include <kernel-features.h>.
48301         [!__NR_ftruncate64]: Remove conditional code.
48302         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48303         [__NR_ftruncate64]: Make code unconditional.
48304         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48305         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48306         include <kernel-features.h>.
48307         [!__NR_ftruncate64]: Remove conditional code.
48308         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48309         [__NR_ftruncate64]: Make code unconditional.
48310         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48312         include <kernel-features.h>.
48313         [!__NR_ftruncate64]: Remove conditional code.
48314         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48315         [__NR_ftruncate64]: Make code unconditional.
48316         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48318         include <kernel-features.h>.
48319         [!__NR_ftruncate64]: Remove conditional code.
48320         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48321         [__NR_ftruncate64]: Make code unconditional.
48322         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48324         * configure.in (libc_cv_fpie): Weaken to a compile test using
48325         LIBC_TRY_CC_OPTION.
48326         * configure: Regenerated.
48328 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48334         Refreshed.
48335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48341         Refreshed.
48343 2012-05-27  David S. Miller  <davem@davemloft.net>
48345         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48346         (___Q_zero): New.
48347         (__Q_simulate_exceptions): Return void.  Change to simulate
48348         exceptions by writing into the %fsr.
48349         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48350         (__Qp_handle_exceptions): Likewise.
48351         (numbers): Delete.
48352         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48353         __Qp_handle_exceptions.
48354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48355         __Qp_handle_exceptions.
48356         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48357         as unused and give dummy FP_RND_NEAREST initializer.
48358         (FP_INHIBIT_RESULTS): Define.
48359         (___Q_simulate_exceptions): Update declaration.
48360         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48361         formatting.
48362         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48363         as unused and give dummy FP_RND_NEAREST initializer.
48364         (__Qp_handle_exceptions): Update declaration.
48365         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48366         formatting.
48368 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48370         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48371         the temporary FPU control word.
48372         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48373         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48374         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48375         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48376         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48377         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48378         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48379         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48380         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48381         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48382         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48384 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48386         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48387         fields.
48389 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48391         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48392         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48393         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48394         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48395         Likewise.
48396         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48397         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48398         Likewise.
48400 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48402         * po/h.po: Update from translation team.
48404 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48406         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48408         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48409         handling of denormals.
48410         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48411         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48412         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48413         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48414         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48415         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48416         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48417         Likewise.
48419 2012-05-26  Marek Polacek  <polacek@redhat.com>
48421         [BZ #14152]
48422         * math/libm-test.inc (fma_test): Don't always expect underflow
48423         exception.
48425 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48427         [BZ #12416]
48428         * elf/tst-execstack.c: Include stackinfo.h.
48429         (do_test): Adjust test case to ensure that pthread_getattr_np
48430         behaviour remains the same after marking stack executable.
48432 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48434         * sysdeps/unix/sysv/linux/kernel-features.h
48435         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48436         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48437         kernel-features.h.
48438         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48439         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48440         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48441         kernel-features.h.
48442         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48443         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48445 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48447         * configure.in: Define the default includes to being none.
48448         * configure: Regenerated.
48450 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48452         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48453         * sysdeps/x86_64/setjmp.S: Likewise.
48454         * sysdeps/i386/bsd-setjmp.S: Likewise.
48455         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48456         * sysdeps/i386/setjmp.S: Likewise.
48457         * sysdeps/i386/__longjmp.S: Likewise.
48458         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48459         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48461         * include/stap-probe.h: New file.
48462         * configure.in: Handle --enable-systemtap.
48463         * configure: Regenerated.
48464         * config.h.in (USE_STAP_PROBE): New #undef.
48465         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48466         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48467         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48469 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48471         [BZ #13717]
48472         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48473         to 2.4.0 where earlier.
48474         * sysdeps/unix/sysv/linux/configure: Regenerated.
48475         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48476         <kernel-features.h>.
48477         [__ASSUME_32BITUIDS]: Make code unconditional.
48478         [!__ASSUME_32BITUIDS]: Remove conditional code.
48479         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48480         <kernel-features.h>.
48481         [__ASSUME_32BITUIDS]: Make code unconditional.
48482         [!__ASSUME_32BITUIDS]: Remove conditional code.
48483         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48484         [__ASSUME_32BITUIDS]: Make code unconditional.
48485         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48486         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48487         <kernel-features.h>.
48488         [__ASSUME_32BITUIDS]: Make code unconditional.
48489         [!__ASSUME_32BITUIDS]: Remove conditional code.
48490         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48491         <kernel-features.h>.
48492         [__ASSUME_32BITUIDS]: Make code unconditional.
48493         [!__ASSUME_32BITUIDS]: Remove conditional code.
48494         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48495         <kernel-features.h>.
48496         [__ASSUME_32BITUIDS]: Make code unconditional.
48497         [!__ASSUME_32BITUIDS]: Remove conditional code.
48498         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48499         <kernel-features.h>.
48500         [__ASSUME_32BITUIDS]: Make code unconditional.
48501         [!__ASSUME_32BITUIDS]: Remove conditional code.
48502         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48503         <kernel-features.h>.
48504         [__ASSUME_32BITUIDS]: Make code unconditional.
48505         [!__ASSUME_32BITUIDS]: Remove conditional code.
48506         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48507         <kernel-features.h>.
48508         [__ASSUME_32BITUIDS]: Make code unconditional.
48509         [!__ASSUME_32BITUIDS]: Remove conditional code.
48510         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48511         <kernel-features.h>.
48512         [__ASSUME_32BITUIDS]: Make code unconditional.
48513         [!__ASSUME_32BITUIDS]: Remove conditional code.
48514         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48515         <kernel-features.h>.
48516         [__ASSUME_32BITUIDS]: Make code unconditional.
48517         [!__ASSUME_32BITUIDS]: Remove conditional code.
48518         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48519         <kernel-features.h>.
48520         [__ASSUME_32BITUIDS]: Make code unconditional.
48521         [!__ASSUME_32BITUIDS]: Remove conditional code.
48522         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48523         <kernel-features.h>.
48524         [__ASSUME_32BITUIDS]: Make code unconditional.
48525         [!__ASSUME_32BITUIDS]: Remove conditional code.
48526         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48527         <kernel-features.h>.
48528         [__NR_setresgid] (__setresgid): Do not declare.
48529         [__ASSUME_32BITUIDS]: Make code unconditional.
48530         [!__ASSUME_32BITUIDS]: Remove conditional code.
48531         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48532         <kernel-features.h>.
48533         [__NR_setresuid] (__setresuid): Do not declare.
48534         [__ASSUME_32BITUIDS]: Make code unconditional.
48535         [!__ASSUME_32BITUIDS]: Remove conditional code.
48536         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48537         <kernel-features.h>.
48538         [__ASSUME_32BITUIDS]: Make code unconditional.
48539         [!__ASSUME_32BITUIDS]: Remove conditional code.
48540         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48541         <kernel-features.h>.
48542         [__ASSUME_32BITUIDS]: Make code unconditional.
48543         [!__ASSUME_32BITUIDS]: Remove conditional code.
48544         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48545         <kernel-features.h>.
48546         [__ASSUME_32BITUIDS]: Make code unconditional.
48547         [!__ASSUME_32BITUIDS]: Remove conditional code.
48548         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48549         <kernel-features.h>.
48550         [__ASSUME_32BITUIDS]: Make code unconditional.
48551         [!__ASSUME_32BITUIDS]: Remove conditional code.
48552         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48553         <kernel-features.h>.
48554         [__ASSUME_32BITUIDS]: Make code unconditional.
48555         [!__ASSUME_32BITUIDS]: Remove conditional code.
48556         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48557         <kernel-features.h>.
48558         [__ASSUME_32BITUIDS]: Make code unconditional.
48559         [!__ASSUME_32BITUIDS]: Remove conditional code.
48560         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48561         <kernel-features.h>.
48562         [__ASSUME_32BITUIDS]: Make code unconditional.
48563         [!__ASSUME_32BITUIDS]: Remove conditional code.
48564         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48565         <kernel-features.h>.
48566         [__ASSUME_32BITUIDS]: Make code unconditional.
48567         [!__ASSUME_32BITUIDS]: Remove conditional code.
48568         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48569         <kernel-features.h>.
48570         [__ASSUME_32BITUIDS]: Make code unconditional.
48571         [!__ASSUME_32BITUIDS]: Remove conditional code.
48572         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48573         <kernel-features.h>.
48574         [__ASSUME_32BITUIDS]: Make code unconditional.
48575         [!__ASSUME_32BITUIDS]: Remove conditional code.
48576         * sysdeps/unix/sysv/linux/kernel-features.h
48577         (__ASSUME_SETRESUID_SYSCALL): Remove.
48578         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48579         (__ASSUME_32BITUIDS): Likewise.
48580         (__ASSUME_LDT_WORKS): Likewise.
48581         (__ASSUME_O_DIRECTORY): Likewise.
48582         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48583         architecture but not kernel version.
48584         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48585         (__ASSUME_MMAP2_SYSCALL): Likewise.
48586         (__ASSUME_STAT64_SYSCALL): Likewise.
48587         (__ASSUME_IPC64): Likewise.
48588         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48589         <kernel-features.h>.
48590         [__ASSUME_32BITUIDS]: Make code unconditional.
48591         [!__ASSUME_32BITUIDS]: Remove conditional code.
48592         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48593         <kernel-features.h>.
48594         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48595         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48596         132096]: Remove conditional code.
48597         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48598         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48599         <kernel-features.h>.
48600         [__ASSUME_32BITUIDS]: Make code unconditional.
48601         [!__ASSUME_32BITUIDS]: Remove conditional code.
48602         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48603         <kernel-features.h>.
48604         [__ASSUME_32BITUIDS]: Make code unconditional.
48605         [!__ASSUME_32BITUIDS]: Remove conditional code.
48606         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48607         <kernel-features.h>.
48608         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48609         unconditional.
48610         (__setresgid): Do not declare.
48611         [__ASSUME_32BITUIDS]: Make code unconditional.
48612         [!__ASSUME_32BITUIDS]: Remove conditional code.
48613         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48614         <kernel-features.h>.
48615         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48616         unconditional.
48617         (__setresuid): Do not declare.
48618         [__ASSUME_32BITUIDS]: Make code unconditional.
48619         [!__ASSUME_32BITUIDS]: Remove conditional code.
48620         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48621         <kernel-features.h>.
48622         [__ASSUME_32BITUIDS]: Make code unconditional.
48623         [!__ASSUME_32BITUIDS]: Remove conditional code.
48624         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48625         <kernel-features.h>.
48626         [__ASSUME_32BITUIDS]: Make code unconditional.
48627         [!__ASSUME_32BITUIDS]: Remove conditional code.
48629 2012-05-25  Richard Henderson  <rth@twiddle.net>
48631         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48632         dl_hwcap to ifunc resolver.
48633         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48634         elf_ifunc_invoke.
48635         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48636         dl_hwcap to ifunc resolver.
48637         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48639 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48641         [BZ #14153]
48642         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48643         for |x| <= 2**-26, not 2**-57.
48644         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48645         exception.
48647 2012-05-24  Jeff Law  <law@redhat.com>
48649         * stdio-common/Makefile (tests): Add bug25.
48650         * stdio-common/bug25.c: New test.
48652 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48654         [BZ #13576]
48655         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48656         multiple of MALLOC_ALIGNMENT in size.
48657         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48659 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48661         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48662         Require >= 256.
48663         (FILENAME_MAX): Use macro-int-constant.
48664         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48665         (_IOFBF): Use macro-int-constant.
48666         (_IOLBF): Likewise.
48667         (_IONBF): Likewise.
48668         (SEEK_CUR): Likewise.
48669         (SEEK_END): Likewise.
48670         (SEEK_SET): Likewise.
48671         (TMP_MAX): Likewise.
48672         (EOF): Use macro-int-constant.  Require < 0.
48673         (NULL): Use macro-constant.  Require == 0.
48674         (stdin): Require type to be FILE *.
48675         (stdout): Likewise.
48676         (stderr): Likewise.
48677         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48678         macro-int-constant.
48679         (EXIT_SUCCESS): Likewise.
48680         (NULL): Use macro-constant.  Require == 0.
48681         (RAND_MAX): Use macro-int-constant.
48682         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48683         [C99-based standards] (strtof): Require function.
48684         [C99-based standards] (strtold): Likewise.
48685         [C99-based standards] (strtoll): Likewise.
48686         [C99-based standards] (strtoull): Likewise.
48687         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48688         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48689         [ISO || ISO99 || ISO11] (math.h): Likewise.
48690         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48691         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48692         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48694 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48696         [BZ #14132]
48697         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48698         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48699         * intl/dgettext.c (DCGETTEXT): Likewise.
48700         * intl/gettext.c (DCGETTEXT): Likewise.
48701         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48702         * posix/regex_internal.h (gettext): Likewise.
48703         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48704         Remove declaration.
48705         * include/argz.h (__argz_count_internal)
48706         (__argz_stringify_internal): Remove declaration.
48707         (__argz_count, __argz_stringify): Declare hidden proto.
48708         * intl/dcgettext.c: Remove use of INTDEF.
48709         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48710         * string/argz-stringify.c: Likewise.
48711         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48712         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48713         Declare hidden proto.
48714         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48715         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48716         Declare hidden proto.
48717         * include/stdio.h (__asprintf_internal): Don't declare.
48718         (__asprintf): Don't define as macro.  Declare hidden proto.
48719         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48720         (__fsetlocking): Declare hidden proto.
48721         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48722         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48723         hidden proto.
48724         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48725         (_IO_setlinebuf): Remove use of INTUSE.
48726         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48727         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48728         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48729         Remove declaration.
48730         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48731         (_IO_do_flush): Remove use of INTUSE.
48732         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48733         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48734         (_IO_adjust_column, _IO_least_wmarker)
48735         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48736         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48737         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48738         (_IO_default_doallocate, _IO_wdefault_doallocate)
48739         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48740         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48741         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48742         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48743         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48744         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48745         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48746         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48747         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48748         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48749         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48750         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48751         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48752         proto.
48753         (_IO_flush_all_internal, _IO_adjust_column_internal)
48754         (_IO_default_uflow_internal, _IO_default_finish_internal)
48755         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48756         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48757         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48758         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48759         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48760         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48761         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48762         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48763         (_IO_file_close_internal, _IO_file_close_it_internal)
48764         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48765         (_IO_file_init_internal, _IO_file_attach_internal)
48766         (_IO_file_fopen_internal, _IO_file_read_internal)
48767         (_IO_file_sync_internal, _IO_file_seek_internal)
48768         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48769         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48770         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48771         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48772         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48773         (_IO_list_all_internal, _IO_link_in_internal)
48774         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48775         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48776         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48777         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48778         (_IO_do_write_internal, _IO_padn_internal)
48779         (_IO_getline_info_internal, _IO_getline_internal)
48780         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48781         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48782         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48783         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48784         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48785         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48786         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48787         with libc_hidden_ver, remove use of INTUSE.
48788         * libio/genops.c: Likewise.
48789         * libio/freopen.c: Likewise.
48790         * libio/freopen64.c: Likewise.
48791         * libio/iofclose.c: Likewise.
48792         * libio/iofdopen.c: Likewise.
48793         * libio/iofflush.c: Likewise.
48794         * libio/iofflush_u.c: Likewise.
48795         * libio/iofgets.c: Likewise.
48796         * libio/iofgets_u.c: Likewise.
48797         * libio/iofopen.c: Likewise.
48798         * libio/iofopncook.c: Likewise.
48799         * libio/iofread.c: Likewise.
48800         * libio/iofread_u.c: Likewise.
48801         * libio/ioftell.c: Likewise.
48802         * libio/iofwrite.c: Likewise.
48803         * libio/iogetline.c: Likewise.
48804         * libio/iogets.c: Likewise.
48805         * libio/iogetwline.c: Likewise.
48806         * libio/iopadn.c: Likewise.
48807         * libio/iopopen.c: Likewise.
48808         * libio/ioseekoff.c: Likewise.
48809         * libio/ioseekpos.c: Likewise.
48810         * libio/iosetbuffer.c: Likewise.
48811         * libio/iosetvbuf.c: Likewise.
48812         * libio/ioungetc.c: Likewise.
48813         * libio/ioungetwc.c: Likewise.
48814         * libio/iovdprintf.c: Likewise.
48815         * libio/iovsprintf.c: Likewise.
48816         * libio/iovsscanf.c: Likewise.
48817         * libio/memstream.c: Likewise.
48818         * libio/obprintf.c: Likewise.
48819         * libio/oldfileops.c: Likewise.
48820         * libio/oldiofclose.c: Likewise.
48821         * libio/oldiofdopen.c: Likewise.
48822         * libio/oldiofopen.c: Likewise.
48823         * libio/oldiopopen.c: Likewise.
48824         * libio/oldstdfiles.c: Likewise.
48825         * libio/putc.c: Likewise.
48826         * libio/setbuf.c: Likewise.
48827         * libio/setlinebuf.c: Likewise.
48828         * libio/stdfiles.c: Likewise.
48829         * libio/strops.c: Likewise.
48830         * libio/vasprintf.c: Likewise.
48831         * libio/vscanf.c: Likewise.
48832         * libio/vsnprintf.c: Likewise.
48833         * libio/vswprintf.c: Likewise.
48834         * libio/wfiledoalloc.c: Likewise.
48835         * libio/wfileops.c: Likewise.
48836         * libio/wgenops.c: Likewise.
48837         * libio/wmemstream.c: Likewise.
48838         * libio/wstrops.c: Likewise.
48839         * libio/__fpurge.c: Likewise.
48840         * libio/__fsetlocking.c: Likewise.
48841         * assert/assert.c: Likewise.
48842         * debug/fgets_chk.c: Likewise.
48843         * debug/fgets_u_chk.c: Likewise.
48844         * debug/fread_chk.c: Likewise.
48845         * debug/fread_u_chk.c: Likewise.
48846         * debug/gets_chk.c: Likewise.
48847         * debug/obprintf_chk.c: Likewise.
48848         * debug/vasprintf_chk.c: Likewise.
48849         * debug/vdprintf_chk.c: Likewise.
48850         * debug/vsnprintf_chk.c: Likewise.
48851         * debug/vsprintf_chk.c: Likewise.
48852         * malloc/mtrace.c: Likewise.
48853         * misc/error.c: Likewise.
48854         * misc/syslog.c: Likewise.
48855         * stdio-common/asprintf.c: Likewise.
48856         * stdio-common/fxprintf.c: Likewise.
48857         * stdio-common/getw.c: Likewise.
48858         * stdio-common/isoc99_fscanf.c: Likewise.
48859         * stdio-common/isoc99_scanf.c: Likewise.
48860         * stdio-common/isoc99_vfscanf.c: Likewise.
48861         * stdio-common/isoc99_vscanf.c: Likewise.
48862         * stdio-common/isoc99_vsscanf.c: Likewise.
48863         * stdio-common/printf-prs.c: Likewise.
48864         * stdio-common/printf_fp.c: Likewise.
48865         * stdio-common/printf_fphex.c: Likewise.
48866         * stdio-common/printf_size.c: Likewise.
48867         * stdio-common/putw.c: Likewise.
48868         * stdio-common/scanf.c: Likewise.
48869         * stdio-common/sprintf.c: Likewise.
48870         * stdio-common/tmpfile.c: Likewise.
48871         * stdio-common/vfprintf.c: Likewise.
48872         * stdio-common/vfscanf.c: Likewise.
48873         * stdlib/strfmon_l.c: Likewise.
48874         * sunrpc/openchild.c: Likewise.
48875         * sunrpc/xdr_stdio.c: Likewise.
48876         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48877         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48879 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48881         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48883         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48884         in the third column, to generate for the shared library an IFUNC
48885         that uses _dl_vdso_vsym.
48886         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48887         * Makeconfig (object-suffixes-noshared): New variable.
48889         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48890         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48891         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48892         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48894         [BZ #14132]
48895         * include/sys/time.h (__gettimeofday): Remove macro.
48896         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48897         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48898         Remove INTDEF.
48899         (__gettimeofday): Add libc_hidden_def.
48900         (gettimeofday): Add libc_hidden_weak.
48901         * sysdeps/mach/gettimeofday.c: Likewise.
48902         * sysdeps/posix/gettimeofday.c: Likewise.
48903         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48904         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48905         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48906         (__gettimeofday_internal): Remove strong_alias.
48907         (__gettimeofday): Add libc_hidden_def.
48908         (gettimeofday): Add libc_hidden_weak.
48909         * sysdeps/unix/syscalls.list (gettimeofday):
48910         Remove __gettimeofday_internal alias.
48912 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48913             H.J. Lu  <hongjiu.lu@intel.com>
48915         [BZ #12495]
48916         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48917         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48918         (largebin_index_32_big): New.
48919         (largebin_index): Use it for 16-byte alignment.
48920         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48921         correction with front_misalign.
48923 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48927         Likewise.
48928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48929         Likewise.
48930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48931         Likewise.
48932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48933         Likewise.
48934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48935         Likewise.
48936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48937         Likewise.
48938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48939         Likewise.
48940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48941         Likewise.
48942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48943         Likewise.
48944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48945         Likewise.
48946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48947         Likewise.
48948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48949         Likewise.
48951         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48952         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48954 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48956         [BZ #10846]
48957         [BZ #14036]
48958         * math/libm-test.inc (exp_test): Add test from bug 14036.
48959         (pow_test): Add test from bug 10846.
48961         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48962         and other flags.
48963         (special_function): Do not include flags in test name.
48964         (parse_args): Likewise.
48965         * sysdeps/i386/fpu/libm-test-ulps: Update.
48966         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48967         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48968         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48971         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48972         exceptions.
48973         * math/libm-test.inc ("Philosophy"): Update comment about
48974         exception testing.
48975         (UNDERFLOW_EXCEPTION): New macro.
48976         (UNDERFLOW_EXCEPTION_OK): Likewise.
48977         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48978         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48979         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48980         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48981         (INVALID_EXCEPTION_OK): Update value.
48982         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48983         (OVERFLOW_EXCEPTION_OK): Likewise.
48984         (IGNORE_ZERO_INF_SIGN): Likewise.
48985         (test_exceptions): Handle underflow exceptions.
48986         (acos_test): Update for underflow exception expectations.
48987         (cexp_test): Likewise.
48988         (clog_test): Likewise.
48989         (clog10_test): Likewise.
48990         (csqrt_test): Likewise.
48991         (ctan_test): Likewise.
48992         (ctanh_test): Likewise.
48993         (exp_test): Likewise.
48994         (exp10_test): Likewise.
48995         (exp2_test): Likewise.
48996         (expm1_test): Likewise.
48997         (fma_test): Likewise.
48998         (j0_test): Likewise.
48999         (jn_test): Likewise.
49000         (nexttoward_test): Likewise.
49001         (pow_test): Likewise.
49002         (scalbn_test): Likewise.
49003         (scalbln_test): Likewise.
49004         (tan_test): Likewise.
49005         (y1_test): Likewise.
49006         * sysdeps/i386/fpu/libm-test-ulps: Update.
49007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49009 2012-05-23  David S. Miller  <davem@davemloft.net>
49011         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49012         (__libc_sigaction): Remove unused local variables.
49014 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49016         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49018 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49020         mktime: avoid signed integer overflow
49021         * time/mktime.c (__mktime_internal): Do not mishandle the case
49022         where diff == INT_MIN.
49024         mktime: simplify computation of average
49025         * time/mktime.c (ranged_convert): Use new time_t_avg function
49026         instead of rolling our own (probably-slower) code.
49028         mktime: do not assume signed right shift propagates sign bit
49029         * time/mktime.c (isdst_differ): New static function.
49030         (__mktime_internal): No need to normalize tm_isdst now.
49031         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49032         tm_isdst values.
49034         mktime: merge another wrapv change from gnulib
49035         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49036         from some compilers.
49038         mktime: remove incorrect attempt at unusual arithmetics
49039         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49040         The code didn't really work on such machines anyway.
49041         (TYPE_MINIMUM): Assume two's complement.
49042         (twos_complement_arithmetic): Verify that long_int and time_t
49043         are two's complement (or unsigned, in the latter case).
49045         mktime: check signed shifts on long_int and time_t, too
49046         * time/mktime.c (SHR): Check that shifts work as desired
49047         on the types long_int and time_t too, as SHR is used on
49048         such types.
49050         mktime: do not assume 'long' is wide enough
49051         * time/mktime.c (verify): Move decl up.
49052         (long_int): New type.
49053         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49054         to remove assumption in the code that 'long' is wide enough to
49055         store year values.  This assumption is not true on x32 and on
49056         some non-glibc platforms.
49058         mktime: merge wrapv change from gnulib
49059         * time/mktime.c (WRAPV): New macro.
49060         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49061         (guess_time_tm, __mktime_internal): Do not assume that signed
49062         integer overflow wraps around; modern compilers generate code
49063         where this assumption is no longer valid.
49065 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49067         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49068         Replace "jmp L(pseudo_end)" with "ret".
49069         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49070         Likewise.
49072 2012-05-23  Andreas Jaeger  <aj@suse.de>
49074         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49075         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49077 2012-05-23  Andreas Jaeger  <aj@suse.de>
49078             Maximilian Attems  <max@stro.at>
49080         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49081         New macros.
49083 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49085         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49086         code so that pseudo_end is just ret and the stack pointer is
49087         correct also for static library in error case.
49089 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49091         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49092         move to syscalls.list.
49093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49098         * manual/install.texi (Running make install): Do not mention Linux
49099         kernel version for which pt_chown is not needed.
49100         (Linux): Do not mention problems with nscd with 2.0 kernels.
49101         * INSTALL: Regenerated.
49103 2012-05-23  Andreas Jaeger  <aj@suse.de>
49105         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49106         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49107         macro.
49108         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49109         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49110         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49111         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49112         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49113         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49114         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49115         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49116         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49117         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49118         * sysdeps/unix/sysv/linux/bits/in.h
49119         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49121 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49123         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49124         (PREPARE_VERSION): Just use assert instead, it will be elided
49125         under [NDEBUG] anyway.
49127 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49129         * sysdeps/unix/sysv/linux/Makefile: Include
49130         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49131         (sysdep_routines): Remove sysctl.
49132         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49133         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49134         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49135         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49136         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49138 2012-05-22  Andreas Jaeger  <aj@suse.de>
49140         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49141         that pseudo_end is just ret and the stack pointer is correct also
49142         for static library in error case.
49144 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49146         [BZ #14122]
49147         * nss/nsswitch.c (defconfig_entries): New variable.
49148         (__nss_database_lookup): Don't leak defconfig entries.
49149         (nss_parse_service_list): Don't leak on error paths.
49150         (free_database_entries): New function.
49151         (free_defconfig): New function.
49152         (free_mem): Move common code to free_database_entries.
49154 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49156         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49157         Add arch_prctl.
49158         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49160         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49161         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49163         New macro.
49164         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49165         (INTERNAL_SYSCALL_TYPES): Likewise.
49166         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49167         (LOAD_REGS_TYPES_[1-6]): Likewise.
49168         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49169         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49171 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49173         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49174         copysignl for GLIBC_2_0.
49175         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49176         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49177         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49178         logbl for GLIBC_2_0.
49179         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49180         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49182 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49184         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49185         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49187         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49188         Use "neg %eax".
49190         * time/mktime.c: Update copyright years.
49192 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49194         mktime: merge comment-quoting-style change from gnulib
49195         * time/mktime.c: Quote 'like this' in comments.
49196         The GNU coding standards suggest that we no longer quote `like this',
49197         as "`" and "'" are typically rendered asymmetrically nowadays.
49198         The typical gnulib style is to quote 'like this' when quoting
49199         code, and "like this" when quoting English.
49201         * time/mktime.c (compile-command): Add "-I.".
49203         mktime: merge mktime-internal.h change from gnulib
49204         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49206         mktime: merge time_r change from gnulib
49207         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49209         mktime: merge DEBUG change from gnulib
49210         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49211         case system <time.h> has a #define.
49213         mktime: merge <sys/types.h> change from gnulib
49214         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49215         since <time.t> is now guaranteed to define time_t.
49217         mktime: merge HAVE_CONFIG_H change from gnulib
49218         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49220 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49223         Use "neg %eax".
49225         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49226         __rlim_t cast.
49227         (struct rusage): Use anonymous union to pad each field to
49228         __syscall_slong_t.
49230 2012-05-21  David S. Miller  <davem@davemloft.net>
49232         * Makefules (o-iterator): Remove .s cases.
49233         (compile-command.s): Delete.
49234         (COMPILE.s): Delete.
49235         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49237 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49239         * configure.in (libc_cv_predef_stack_protector): Only consider
49240         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49241         * configure: Regenerated.
49243 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49245         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49246         New macro.  Use R*LP on int and pointer.
49247         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49248         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49249         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49250         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49252         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49253         [__WORDSIZE_TIME64_COMPAT32] instead of
49254         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49255         (struct utmp): Likewise.
49256         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49257         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49258         Renamed to ...
49259         (__WORDSIZE_TIME64_COMPAT32): This.
49260         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49261         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49262         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49263         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49264         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49265         (__WORDSIZE_TIME64_COMPAT32): New macro.
49267 2012-05-21  Andreas Jaeger  <aj@suse.de>
49269         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49270         only if [SHARED]. Add prototype for __wcschr_ia32.
49272 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49274         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49275         of %rbp unmolested in the jmp_buf while mangling the low bits.
49276         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49277         unmolested high bits of %rbp while demangling the low bits.
49278         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49280 2012-05-21  Andreas Jaeger  <aj@suse.de>
49282         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49283         * sunrpc/svc_simple.c: Use it for registerrpc.
49284         * sunrpc/xcrypt.c: Use it for passwd2des.
49286         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49288 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49290         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49291         Don't define if [__SYSCALL_WORDSIZE != 32].
49292         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49293         New macro.
49295 2012-05-21  Bruno Haible  <bruno@clisp.org>
49296             Andreas Jaeger  <aj@suse.de>
49298         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49299         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49300         inptr and inend for must_buffer_ch.
49301         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49302         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49303         * stdio-common/Makefile (tests): Remove bug15.
49304         (bug15-ENV): Remove macro.
49305         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49306         anymore.
49308 2012-05-19  Andreas Jaeger  <aj@suse.de>
49309             Roland McGrath  <roland@hack.frob.com>
49311         * manual/contrib.texi: Completely rewritten. It contains now an
49312         alphabetical list of contributors and their contributions.
49314 2012-05-21  Richard Henderson  <rth@twiddle.net>
49316         * misc/getauxval.c (__getauxval): Use unsigned long int.
49317         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49318         (getauxval): Use unsigned long int.
49320 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49322         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49324 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49326         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49327         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49328         __alignof__ (long double).
49330 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49334 2012-05-20  Richard Henderson  <rth@twiddle.net>
49336         * misc/getauxval.c: New file.
49337         * misc/sys/auxv.h: New file.
49338         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49339         (routines): Add getauxval.
49340         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49341         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49342         * elf/dl-sysdep.c (_dl_auxv): Remove.
49343         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49344         * elf/dl-support.c (_dl_auxv): New variable.
49345         (_dl_aux_init): Initialize it.
49346         * manual/startup.texi (Auxiliary Vector): New node.
49347         * sysdeps/generic/bits/hwcap.h: New file.
49348         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49349         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49350         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49351         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49352         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49353         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49355         Update.
49356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49359         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49365 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49369 2012-05-19  David S. Miller  <davem@davemloft.net>
49371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49373 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49375         [BZ #14123]
49376         * math/s_ccosh.c: Include <float.h>
49377         (__ccosh): Avoid internal overflow calculating sinh and cosh
49378         values before multiplying by sin and cos values.
49379         * math/s_ccoshf.c: Likewise.
49380         * math/s_ccoshl.c: Likewise.
49381         * math/s_csin.c: Likewise.
49382         * math/s_csinf.c: Likewise.
49383         * math/s_csinl.c: Likewise.
49384         * math/s_csinh.c: Likewise.
49385         * math/s_csinhf.c: Likewise.
49386         * math/s_csinhl.c: Likewise.
49387         * math/libm-test.inc (ccos_test): Add more tests.
49388         (ccosh_test): Likewise.
49389         (csin_test): Likewise.
49390         (csinh_test): Likewise.
49391         * sysdeps/i386/fpu/libm-test-ulps: Update.
49392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49394 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49396         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49397         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49399         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49401 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49403         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49404         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49405         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49406         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49407         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49408         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49409         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49410         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49411         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49412         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49413         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49414         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49415         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49416         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49417         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49418         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49419         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49420         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49421         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49422         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49423         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49424         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49425         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49426         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49427         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49428         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49429         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49430         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49431         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49432         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49433         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49435 2012-05-18  Andreas Jaeger  <aj@suse.de>
49437         * csu/.gitignore: Delete.
49439 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49441         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49442         (timex): Use __syscall_slong_t.
49444 2012-05-18  Andreas Jaeger  <aj@suse.de>
49445             Carlos O'Donell  <carlos_odonell@mentor.com>
49447         * manual/install.texi (Configuring and compiling): Update
49448         description about files modified in the source directory.
49449         * INSTALL: Regenerated.
49451 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49453         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49454         value.  Use "or" to set return value to -1.
49455         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49456         negate return value.
49458 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49460         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49461         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49462         failure if the compiler has Graphite support disabled.
49463         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49464         Likewise.
49465         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49466         (CFLAGS-memmove.c): Likewise.
49467         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49468         Likewise.
49470 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49472         * sysdeps/x86_64/x32/_itoa.h: New file.
49474         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49475         getdents system call only if kernel and user dirents have the
49476         same d_ino and d_off.
49478         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49479         LLONG_MAX != LONG_MAX.
49480         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49481         (_fitoa_word): Likewise.
49483         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49484         years.
49485         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49486         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49487         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49489         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49490         include <bits/wordsize.h>.  Check __x86_64__ instead of
49491         __WORDSIZE.
49492         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49493         if __x86_64__ is defined.  Use anonymous union on fpstate.
49495         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49496         anonymous union.
49498 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49500         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49501         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49502         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49503         Refer to _rtld_local_ro instead of _rtld_global_ro.
49504         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49505         Likewise.
49506         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49507         Likewise.
49508         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49509         Likewise.
49510         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49511         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49512         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49514         [BZ #10882]
49515         * sysdeps/powerpc/powerpc32/dl-machine.c
49516         (__elf_machine_runtime_setup) [PROF]: Don't reference
49517         _dl_prof_resolve.
49519 2012-05-18  Andreas Jaeger  <aj@suse.de>
49521         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49522         function only available for GCCs before 3.4 since GCC 3.4
49523         introduced a builtin.
49524         (lrint): Likewise.
49525         (llrintf): Likewise.
49526         (llrint): Likewise.
49527         (fmaxf): Likewise.
49528         (fmax): Likewise.
49529         (fminf): Likewise.
49530         (fmin): Likewise.
49531         (rint): Likewise.
49532         (rintf): Likewise.
49533         (nearbyint): Likewise.
49534         (nearbyintf): Likewise.
49535         (ceil): Likewise.
49536         (ceilf): Likewise.
49537         (floor): Likewise.
49538         (floorf): Likewise.
49540 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49542         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49543         on both fields and cast pointer to __syscall_ulong_t.
49545         * bits/types.h (__fsword_t): New type.
49546         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49547         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49548         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49549         (__FSWORD_T_TYPE): Likewise.
49550         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49551         (__FSWORD_T_TYPE): Likewise.
49552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49553         (__FSWORD_T_TYPE): Likewise.
49554         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49555         (__FSWORD_T_TYPE): Likewise.
49556         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49557         __SWORD_TYPE with __fsword_t.
49558         (statfs64): Likewise.
49560 2012-05-17  David S. Miller  <davem@davemloft.net>
49562         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49564 2012-05-17  Andreas Jaeger  <aj@suse.de>
49566         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49567         warning.
49569 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49571         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49573 2012-05-17  Andreas Jaeger  <aj@suse.de>
49575         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49576         when it is used.
49578 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49580         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49582 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49584         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49585         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49587 2012-05-17  Andreas Jaeger  <aj@suse.de>
49588             Carlos O'Donell  <carlos_odonell@mentor.com>
49590         [BZ #14059]
49591         * sysdeps/x86_64/multiarch/init-arch.h
49592         (bit_YMM_Usable): Rename to...
49593         (bit_AVX_Usable): ... this.
49594         (bit_FMA4_Usable): New macro.
49595         (bit_XMM_state): New macro.
49596         (bit_YMM_state): New macro.
49597         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49598         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49599         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49600         (CPUID_OSXSAVE): New macro.
49601         (CPUID_AVX): New macro.
49602         (CPUID_FMA4): New macro.
49603         (index_YMM_Usable): Rename to...
49604         (index_AVX_Usable): ... this.
49605         (HAS_AVX): Use HAS_ARCH_FEATURE.
49606         (HAS_FMA4): Likewise.
49607         (HAS_YMM_USABLE): Remove.
49608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49609         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49610         are present.
49611         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49612         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49613         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49614         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49615         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49617 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49619         * math/libm-test.c: Support platforms without multiple rounding modes.
49620         * math/bug-nextafter.c: Support platforms without FP exceptions.
49621         * math/bug-nexttoward.c: Likewise.
49622         * math/test-fenv.c: Likewise.
49623         * math/test-misc.c: Likewise.
49624         * stdlib/bug-getcontext.c: Likewise.
49626 2012-05-17  Andreas Jaeger  <aj@suse.de>
49628         * manual/examples/search.c (critter_cmp): Change signature to
49629         avoid warnings.
49630         * manual/string.texi (Collation Functions): Likewise.
49632 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49634         * bits/types.h: Fold copyright years.
49635         * bits/typesizes.h: Likewise.
49636         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49637         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49638         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49639         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49640         * time/time.h: Likewise.
49642 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49644         [BZ #208]
49645         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49646         in instead of returning them.  Return void.
49647         (__libc_mallinfo): Accumulate over all arenas.
49648         (__malloc_stats): Adjust for change in int_mallinfo interface.
49650 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49652         [BZ #10375]
49653         * configure.in (NM): Add AC_CHECK_TOOL for it.
49654         (libc_extra_cflags): New substituted variable.
49655         Check for -fstack-protector being used implicitly.
49656         * configure: Regenerated.
49657         * config.make.in (config-extra-cflags): New variable,
49658         gets @libc_extra_cflags@.
49659         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49661         [BZ #10375]
49662         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49663         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49664         * configure: Regenerated.
49665         * config.make.in (CPPUNDEFS): New substituted variable.
49666         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49667         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49668         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49670 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49672         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49673         (mq_attr): Use __syscall_slong_t.
49675 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49677         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49678         Check __x86_64__ instead of __WORDSIZE.
49679         (_STAT_VER_LINUX): Likewise.
49680         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49681         __syscall_ulong_t and __syscall_slong_t.
49682         (stat64): Likewise.
49684 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49686         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49690         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49692 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49694         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49695         __syscall_ulong_t.
49697         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49698         include <bits/wordsize.h>.  Check __x86_64__ instead of
49699         __WORDSIZE.
49700         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49701         defined.
49702         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49704         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49705         include <bits/wordsize.h>.  Check __x86_64__ instead of
49706         __WORDSIZE.
49707         (user_regs_struct): Use "__extension__ unsigned long long"
49708         instead of "unsigned long" if __x86_64__ is defined.
49709         (user): Likewise.  Pad after pointer field if __ILP32__ is
49710         defined.
49712 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49714         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49715         versions 5 to 9.
49716         * configure: Regenerated.
49717         * manual/install.texi (texinfo): Increase version requirement to
49718         4.5 or later.
49719         * INSTALL: Regenerated.
49721         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49725         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49727         * sysdeps/x86_64/x32/ffs.c: New file.
49729         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49730         __syscall_ulong_t.
49731         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49732         defined.  Use __syscall_ulong_t.
49733         (shminfo): Use __syscall_ulong_t.
49734         (shm_info): Likewise.
49736         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49737         __syscall_ulong_t.
49739         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49740         <bits/wordsize.h>.
49741         (msgqnum_t): Use __syscall_ulong_t.
49742         (msglen_t): Likewise.
49743         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49744         __syscall_ulong_t.
49746         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49747         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49749         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49751         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49752         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49754         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49755         __syscall_slong_t.
49757         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49758         include <bits/wordsize.h>.  Check __x86_64__ instead of
49759         __WORDSIZE.
49761         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49762         "unsigned long long int" if __x86_64__ is defined.
49763         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49765         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49766         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49767         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49769         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49770         <stdint.h>.
49771         (GET_PC): Cast to uintptr_t first.
49772         (GET_FRAME): Likewise.
49773         (GET_STACK): Likewise.
49775         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49776         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49777         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49778         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49779         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49780         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49781         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49782         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49783         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49784         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49785         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49786         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49787         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49788         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49789         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49790         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49791         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49792         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49793         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49794         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49795         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49796         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49797         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49798         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49799         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49800         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49801         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49802         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49803         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49805 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49807         * Makerules (+depfiles): Also collect depfiles from .oS in
49808         $(extra-objs).
49809         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49810         .oS, $(libnldbl-routines)).
49812         * Makerules (native-compile-mkdep-flags): Define.
49813         * sunrpc/Makefile (extra-objs): Add $(addprefix
49814         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49815         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49816         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49817         calling $(make-target-directory).
49819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49821         * bits/types.h (__snseconds_t): Removed.
49822         * time/time.h (struct timespec): Replace __snseconds_t with
49823         __syscall_slong_t.
49824         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49825         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49826         Likewise.
49827         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49828         (__SNSECONDS_T_TYPE): Likewise.
49829         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49830         (__SNSECONDS_T_TYPE): Likewise.
49831         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49832         (__SNSECONDS_T_TYPE): Likewise.
49834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49836         * sysdeps/mach/hurd/bits/typesizes.h
49837         (__SYSCALL_SLONG_TYPE): New macro.
49838         (__SYSCALL_ULONG_TYPE): Likewise.
49840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49842         * bits/types.h (__syscall_slong_t): New type.
49843         (__syscall_ulong_t): Likewise.
49845         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49846         (__SYSCALL_ULONG_TYPE): Likewise.
49847         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49848         (__SYSCALL_SLONG_TYPE): Likewise.
49849         (__SYSCALL_ULONG_TYPE): Likewise.
49850         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49851         (__SYSCALL_SLONG_TYPE): Likewise.
49852         (__SYSCALL_ULONG_TYPE): Likewise.
49853         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49854         (__SYSCALL_SLONG_TYPE): Likewise.
49855         (__SYSCALL_ULONG_TYPE): Likewise.
49857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49859         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49860         Add sigaltstack-offsets.sym.
49861         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49862         <sigaltstack-offsets.h>.
49863         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49864         longjmp_msg pointer.
49865         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49866         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49867         signal stack.
49868         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49870 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49872         * elf/stackguard-macros.h: Remove file.
49873         * sysdeps/generic/stackguard-macros.h: New file.
49874         * sysdeps/i386/stackguard-macros.h: Likewise.
49875         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49876         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49877         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49878         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49879         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49880         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49881         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49882         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49883         <elf/stackguard-macros.h>.
49885         [BZ #14109]
49886         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49887         __aligned__ in attribute.
49888         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49889         (gregset_t): Likewise.
49891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49893         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49894         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49895         * sysdeps/x86_64/x32/Implies-after: New file.
49897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49899         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49900         and access return value for _dl_profile_fixup.  Use R10_LP to
49901         load frame size.
49903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49905         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49909         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49910         * sysdeps/x86_64/x32/sysdep.h: New file.
49912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49914         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49915         * sysdeps/x86_64/setjmp.S: Likewise.
49917 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49919         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49920         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49921         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49922         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49923         remove unused global constant.
49925 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49927         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49928         include of <not-cancel.h>.
49930 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49932         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49934 2012-05-15  Jeff Law  <law@redhat.com>
49935             Andreas Jaeger  <aj@suse.de>
49937         [BZ #13594]
49938         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49939         out from...
49940         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49941         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49942         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49943         code changing __hst_map_handle.map.
49945 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49947         * configure.in (sysnames): Look for Implies-before and Implies-after
49948         files.
49949         * configure: Regenerated.
49951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49953         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49954         8-byte data alignment with LP_SIZE alignment.
49956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49958         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49959         into R10_LP.
49961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49963         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49967         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49968         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49969         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49970         Likewise.
49971         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49975         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49976         (stackinfo_sub_sp): Likewise.
49978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49980         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49981         RAX_LP.
49983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49985         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49986         into R*_LP.
49988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49990         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49991         sizes into R*_LP.
49993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49995         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49999         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50000         into R11_LP and load __x86_64_shared_cache_size_half into
50001         R8_LP.
50003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50005         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50006         R8_LP.
50008 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50010         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50011         logb for POWER7.
50012         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50013         logbf for POWER7.
50014         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50015         logbl for POWER7.
50016         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50017         powerpc32/power7/fpu/s_logb.c via #include.
50018         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50019         powerpc32/power7/fpu/s_logbf.c via #include.
50020         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50021         powerpc32/power7/fpu/s_logbl.c via #include.
50023 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50025         * README.libm: Remove file.
50027 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50029         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50030         count for x32.  Use R*_LP and omit operand-size suffix.
50032 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50034         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50035         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50036         * sysdeps/x86_64/x32/shlib-versions: New file.
50038 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50040         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50041         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50042         Use _dl_fatal_printf instead.
50044 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50046         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50047         set if not set by the user.  Do not allow for being unset.
50048         * sysdeps/unix/sysv/linux/configure: Regenerated.
50050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50052         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50053         the `q' suffix from lea and replace .quad with ASM_ADDR.
50055 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50057         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50058         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50059         instead of $17.
50060         (PTR_DEMANGLE): Likewise.
50062 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50064         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50065         (LP_OP): Likewise.
50066         (ASM_ADDR): Likewise.
50067         (RAX_LP): Likewise.
50068         (RBP_LP): Likewise.
50069         (RBX_LP): Likewise.
50070         (RCX_LP): Likewise.
50071         (RDI_LP): Likewise.
50072         (RSI_LP): Likewise.
50073         (RSP_LP): Likewise.
50074         (R8_LP): Likewise.
50075         (R9_LP): Likewise.
50076         (R10_LP): Likewise.
50077         (R10_LP): Likewise.
50078         (R11_LP): Likewise.
50079         (R12_LP): Likewise.
50080         (R13_LP): Likewise.
50081         (R14_LP): Likewise.
50082         (R15_LP): Likewise.
50084 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50086         * sysdeps/x86_64/x32/dl-machine.h: New file.
50088 2012-05-14  Andreas Jaeger  <aj@suse.de>
50090         * manual/Makefile (subdir): Remove export of subdir.
50091         (all): Remove target.
50092         (.PHONY): Remove all from list.
50093         (mkinstalldirs): Remove.
50094         (.PHONY): Remove installdirs from list.
50095         ($(inst_infodir)/libc.info): Use make-target-directory.
50096         (installdirs): Remove.
50097         (subdir_%): Remove.
50098         (glibc-targets): Remove.
50099         (lib): Remove.
50100         (stubs): Remove.
50101         ($(objpfx)stubs ../po/manual.pot): Remove.
50102         ($(objpfx)stamp%): Remove.
50103         (make-target-directory): Remove.
50104         (subdir_install): Remove.
50105         (routines): Remove.
50106         (aux): Remove.
50107         (sources): Remove.
50108         (objects): Remove.
50109         (headers): Remove.
50111         [BZ #13750]
50112         * manual/.gitignore: Remove, it's not needed anymore.
50113         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50114         all files in it.
50115         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50116         directory.
50117         (texis): Renamed to $(objpfx)texis.
50118         (texis-path): New, contains path to generated files.
50119         (chapters.%): Use texis-path for complete path, add extra argument
50120         libc-texinfo.sh.
50121         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50122         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50123         (summary,texi, stamp-summary): Use complete path of
50124         files. Generate files in build dir.
50125         (dir-add.texi): Build in build dir.
50126         (libm-err.texi,stamp-libm-err): Likewise.
50127         (version.texi, stamp-version): Likewise.
50128         (.%c.texi): Likewise.
50129         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50130         (mostlyclean): Remove target.
50131         (realclean): Remove target.
50132         (generated): Add new variable with contents from mostlyclean and
50133         realclean, remove entries duplicated in common-mostlyclean, add
50134         stamp-libm-err and stamp-version.
50135         (generated-dirs): Add libc directory.
50136         ($(inst_infodir)/libc.info): Install files from build dir.
50138         * manual/install.texi (Configuring and compiling): Adjust since
50139         the info files are not part of the tar ball anymore.
50141 2012-05-14  Andreas Jaeger  <aj@suse.de>
50143         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50144         variable.
50146 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50148         [BZ #13717]
50149         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50150         to 2.2.0 where earlier.
50151         * sysdeps/unix/sysv/linux/configure: Regenerated.
50152         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50153         Remove conditional code.
50154         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50155         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50156         Remove conditional code.
50157         [!__NR_lchown]: Likewise.
50158         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50159         [__NR_lchown]: Likewise.
50160         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50161         comment referencing __ASSUME_LCHOWN_SYSCALL.
50162         * sysdeps/unix/sysv/linux/i386/sigaction.c
50163         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50164         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50165         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50166         Remove conditional code.
50167         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50168         (__protocol_available): Remove #if 0 code.
50169         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50170         conditional code.
50171         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50172         * sysdeps/unix/sysv/linux/kernel-features.h
50173         (__ASSUME_GETCWD_SYSCALL): Don't define.
50174         (__ASSUME_REALTIME_SIGNALS): Likewise.
50175         (__ASSUME_PREAD_SYSCALL): Likewise.
50176         (__ASSUME_PWRITE_SYSCALL): Likewise.
50177         (__ASSUME_POLL_SYSCALL): Likewise.
50178         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50179         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50180         non-SPARC.
50181         (__ASSUME_SIOCGIFNAME): Don't define.
50182         (__ASSUME_MSG_NOSIGNAL): Likewise.
50183         (__ASSUME_SENDFILE): Define unconditionally.
50184         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50185         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50186         conditional code.
50187         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50188         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50189         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50190         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50191         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50192         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50193         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50195         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50196         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50198         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50199         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50201         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50202         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50204         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50205         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50207         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50208         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50210         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50213         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50214         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50216         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50217         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50218         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50219         Remove conditional code.
50220         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50221         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50222         Remove conditional code.
50223         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50224         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50225         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50226         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50227         Remove conditional code.
50228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50229         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50230         Remove conditional code.
50231         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50232         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50233         Remove conditional code.
50234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50235         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50236         Remove conditional code.
50237         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50238         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50239         Remove conditional code.
50240         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50241         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50242         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50243         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50244         * sysdeps/unix/sysv/linux/sigaction.c
50245         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50246         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50247         * sysdeps/unix/sysv/linux/sigpending.c
50248         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50249         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50250         * sysdeps/unix/sysv/linux/sigprocmask.c
50251         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50252         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50253         * sysdeps/unix/sysv/linux/sigsuspend.c
50254         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50255         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50256         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50257         (__libc_missing_rt_sigs): Remove.
50258         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50259         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50260         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50261         Remove conditional code.
50262         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50263         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50264         return 1.
50265         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50266         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50267         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50268         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50270 2012-05-14  Andreas Jaeger  <aj@suse.de>
50272         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50273         it's not used in glibc.
50274         (__coshm1): Likewise.
50275         (__acosh1p): Likewise.
50276         (__sgn): Likewise.
50278         * manual/string.texi (Copying and Concatenation): Add missing
50279         variable in concat example.
50280         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50282 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50284         [BZ #14103]
50285         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50286         __builtin_clzl with __builtin_clzll.
50288 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50290         [BZ #14104]
50291         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50292         libc_freeres_ptr.
50294 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50296         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50297         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50298         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50299         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50301 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50303         * NEWS: Update ia64 info.
50305 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50307         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50308         used as bcopy.
50310 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50312         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50313         * sysdeps/unix/syscalls.list (dup3): Likewise.
50314         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50315         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50317 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50319         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50320         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50322 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50324         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50325         thread pointer.
50326         (TLS_IE): Use mov/add instead of movq/addq to load thread
50327         pointer.
50328         (TLS_GD_PREFIX): New.
50329         (TLS_GD): Use it.
50331 2012-05-11  David S. Miller  <davem@davemloft.net>
50333         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50334         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50335         (_FPU_SETCW): Likewise.
50337 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50339         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50340         is 32-byte aligned.
50342 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50344         [BZ #11837]
50345         * iconvdata/gb18030.c: Update tables.
50346         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50347         characters specially.
50348         (BODY for TO_LOOP): Add encoding of missing ranges.
50350 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50352         [BZ #13673]
50353         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50354         * sysdeps/mach/hurd/dup3.c: Likewise.
50355         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50356         * sysdeps/powerpc/memmove.c:: Likewise.
50358 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50360         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50361         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50363 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50365         * elf/elf.h (R_X86_64_RELATIVE64): New.
50366         (R_X86_64_NUM): Updated.
50367         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50368         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50369         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50370         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50371         tst-quad1pie tst-quad2pie
50372         (modules-names): Add tst-quadmod1 tst-quadmod2.
50373         ($(objpfx)tst-quad1): New dependency.
50374         ($(objpfx)tst-quad2): Likewise.
50375         ($(objpfx)tst-quad1pie): Likewise.
50376         ($(objpfx)tst-quad2pie): Likewise.
50377         * sysdeps/x86_64/tst-quad1.c: New file.
50378         * sysdeps/x86_64/tst-quad1pie.c: New file.
50379         * sysdeps/x86_64/tst-quad2.c: Likewise.
50380         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50381         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50382         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50383         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50384         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50386 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50388         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50389         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50390         * streams/stropts.h (t_scalar_t): Define type.
50392         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50393         (_PATH_PRESERVE): Set to "/var/lib".
50394         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50396         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50397         instead of int.
50399         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50400         if __dir_mkfile succeeded.
50402         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50403         checking for _hurd_dtablesize.  Unlock it right after having
50404         finished _hurd_dtable allocation.
50406 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50408         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50409         * sysdeps/mach/hurd/configure: Regenerated.
50410         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50411         special-casing to...
50412         * sysdeps/gnu/configure.in: ... this new file.
50413         * sysdeps/unix/sysv/linux/configure: Regenerated.
50414         * sysdeps/gnu/configure: New generated file.
50416         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50417         for Linux: use nsec instead of usec, as well as:
50418         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50419         members of type struct timespec.
50420         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50421         New macros.
50422         (struct stat64): Likewise.
50423         (_STATBUF_ST_NSEC): New macro.
50424         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50426         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50427         __strtoul_internal rather than strtoul.
50429 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50431         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50432         and reject them.
50434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50436         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50437         which preserves existing values.
50438         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50440 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50442         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50443         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50444         greater than FD_SETSIZE.
50446 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50448         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50449         allocated, call __vm_protect to finish enabling the existing space, and
50450         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50451         allocate the remainder.
50453 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50455         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50456         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50458 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50460         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50461         sysdeps/mach/hurd/readlink.c.
50463         * posix/tst-sysconf.c (posix_options): Only use
50464         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50465         _POSIX_SYNCHRONIZED_IO when they are defined
50466         * sysdeps/mach/hurd/bits/posix_opt.h:
50467         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50468         (_XOPEN_REALTIME): Undefine macro.
50469         (_XOPEN_REALTIME_THREADS): Undefine macro.
50470         (_XOPEN_SHM): Undefine macro.
50471         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50472         macro to -1.
50473         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50474         macro to -1.
50475         (_POSIX_ASYNC_IO): Undefine macro.
50476         (_POSIX_PRIORITIZED_IO): Undefine macro.
50477         (_POSIX_SPIN_LOCKS): Define macro to -1.
50479         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50480         SA_NODEFER, SA_RESETHAND.
50481         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50482         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50483         F_DUPFD_CLOEXEC.
50485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50487         * elf/Makefile (pldd-modules): Define unconditionally.
50489 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50491         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50495         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50496         Return ENOENT when name is empty.
50497         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50501         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50503         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50507         Fix mlock in all cases except non-readable pages.
50508         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50509         instead of VM_PROT_ALL as parameter to __vm_wire function.
50511         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50512         (__mkdir): When path is `/', just fail with EEXIST.
50513         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50515 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50517         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50518         <sys/uio.h> (for writev).
50519         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50520         and <sys/param.h> (for MIN).
50522 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50524         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50525         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50526         if interrupted.
50528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50530         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50531         Depend on against $(link-rpcuserlibs).
50533 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50535         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50536         (__libc_stack_end): Do not use attribute_relro.
50537         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50538         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50539         to libthread-provided value.
50540         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50541         attribute_relro.
50543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50545         [BZ #3748]
50546         * bits/libc-lock.h (__libc_once_get): New macro.
50547         * sysdeps/mach/bits/libc-lock.h: Likewise.
50548         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50549         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50550         instead of using implementation details.
50552         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50553         * libio/freopen.c: Likewise.
50554         * libio/freopen64.c: Likewise.
50555         * misc/syslog.c: Likewise.
50556         * nscd/connections.c: Likewise.
50557         * nscd/netgroupcache.c: Likewise.
50558         * sysdeps/posix/getcwd.c: Likewise.
50560 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50562         * math/w_ilogbf.c: Add #include <limits.h>.
50564 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50566         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50567         path instead of returning without unlocking.
50569         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50570         immediate-write ioctls.
50571         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50573 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50575         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50576         __builtin_frame_address instead of making assumptions about the
50577         location of the return address relative to DATA.  Force early load of
50578         the return address.
50579         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50580         __builtin_frame_address.
50582         dup3 for GNU Hurd.
50583         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50584         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50585         implement dup3 and do some further code clean-ups.
50586         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50587         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50591         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50593         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50594         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50595         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50596         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50597         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50598         d->port.lock.
50600         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50601         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50602         when handler == SIG_ERR, not when handler != SIG_ERR.
50604 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50606         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50607         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50608         definitions.
50610         accept4 for GNU Hurd.
50611         * include/sys/socket.h (__libc_accept4): New prototype.
50612         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50613         to implement __libc_accept4.
50614         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50615         __libc_accept4.
50616         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50618         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50619         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50620         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50621         signal-defines.sym.
50623 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50625         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50627 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50629         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50630         assertion on O_CLOEXEC flag.
50631         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50632         * hurd/intern-fd.c: Likewise.
50633         * hurd/port2fd.c: Likewise.
50635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50637         [BZ #3906]
50638         * bits/in.h (IPV6_PKTINFO): Define new macro.
50639         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50641 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50643         [BZ #13954]
50644         [BZ #13955]
50645         [BZ #13956]
50646         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50647         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50648         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50649         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50650         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50651         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50652         * math/libm-test.inc (logb_test) : Additional logb tests.
50654 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50655             Andreas Jaeger  <aj@suse.de>
50657         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50658         * configure: Regenerated.
50659         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50660         * config.make.in (link-obsolete-rpc): New substituted variable.
50661         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50662         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50663         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50664         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50665         so that libc.a contains the symbols.
50666         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50667         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50668         * sunrpc/auth_none.c: Likewise.
50669         * sunrpc/auth_unix.c: Likewise.
50670         * sunrpc/authdes_prot.c: Likewise.
50671         * sunrpc/authuxprot.c: Likewise.
50672         * sunrpc/clnt_gen.c: Likewise.
50673         * sunrpc/clnt_perr.c: Likewise.
50674         * sunrpc/clnt_raw.c: Likewise.
50675         * sunrpc/clnt_simp.c: Likewise.
50676         * sunrpc/clnt_tcp.c: Likewise.
50677         * sunrpc/clnt_udp.c: Likewise.
50678         * sunrpc/clnt_unix.c: Likewise.
50679         * sunrpc/des_crypt.c: Likewise.
50680         * sunrpc/des_soft.c: Likewise.
50681         * sunrpc/get_myaddr.c: Likewise.
50682         * sunrpc/key_call.c: Likewise.
50683         * sunrpc/key_prot.c: Likewise.
50684         * sunrpc/netname.c: Likewise.
50685         * sunrpc/pm_getmaps.c: Likewise.
50686         * sunrpc/pm_getport.c: Likewise.
50687         * sunrpc/pmap_clnt.c: Likewise.
50688         * sunrpc/pmap_prot.c: Likewise.
50689         * sunrpc/pmap_prot2.c: Likewise.
50690         * sunrpc/pmap_rmt.c: Likewise.
50691         * sunrpc/publickey.c: Likewise.
50692         * sunrpc/rpc_cmsg.c: Likewise.
50693         * sunrpc/rpc_common.c: Likewise.
50694         * sunrpc/rpc_dtable.c: Likewise.
50695         * sunrpc/rpc_prot.c: Likewise.
50696         * sunrpc/rpc_thread.c: Likewise.
50697         * sunrpc/rtime.c: Likewise.
50698         * sunrpc/svc.c: Likewise.
50699         * sunrpc/svc_auth.c: Likewise.
50700         * sunrpc/svc_raw.c: Likewise.
50701         * sunrpc/svc_run.c: Likewise.
50702         * sunrpc/svc_tcp.c: Likewise.
50703         * sunrpc/svc_udp.c: Likewise.
50704         * sunrpc/svc_unix.c: Likewise.
50705         * sunrpc/svcauth_des.c: Likewise.
50706         * sunrpc/xcrypt.c: Likewise.
50707         * sunrpc/xdr.c: Likewise.
50708         * sunrpc/xdr_array.c: Likewise.
50709         * sunrpc/xdr_float.c: Likewise.
50710         * sunrpc/xdr_intXX_t.c: Likewise.
50711         * sunrpc/xdr_mem.c: Likewise.
50712         * sunrpc/xdr_rec.c: Likewise.
50713         * sunrpc/xdr_ref.c: Likewise.
50714         * sunrpc/xdr_sizeof.c: Likewise.
50715         * sunrpc/xdr_stdio.c: Likewise.
50717 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50719         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50720         change.  Update copyright years.
50722 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50724         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50726 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50727             Joseph Myers  <joseph@codesourcery.com>
50728             Paul Pluzhnikov  <ppluzhnikov@google.com>
50730         [BZ #14012]
50731         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50732         requiring rpcgen.
50733         [cross-compiling] (extra-libs): Likewise.
50734         [cross-compiling] (extra-libs-others): Likewise.
50735         [cross-compiling] (librpcsvc-routines): Likewise.
50736         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50737         [cross-compiling] (omit-deps): Likewise.
50738         (sunrpc-CPPFLAGS): New variable.
50739         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50740         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50741         (cross-rpcgen-objs): New variable.
50742         (extra-objs): Append $(cross-rpcgen-objs).
50743         ($(cross-rpcgen-objs)): New rule.
50744         ($(objpfx)cross-rpcgen): Likewise.
50745         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50746         comment.
50747         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50748         ($(objpfx)x%.stmp): Likewise.
50749         * sunrpc/proto.h [IS_IN_build] (_): Define.
50750         [IS_IN_build] (_libc_intl_domainname): Likewise.
50752 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50754         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50755         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50756         and R_X86_64_TPOFF64.
50758 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50760         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50761         sysdeps/unix/sysv/syscalls.list.
50762         (stime): Likewise.
50763         (utime): Likewise.
50764         * sysdeps/unix/sysv/syscalls.list: Remove file.
50766 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50768         [BZ #3440]
50769         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50770         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50771         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50772         (__LC_IDENTIFICATION): Make these macros useful in #if
50773         expressions, as required by C99.
50775 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50777         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50778         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50779         after this.
50781 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50783         * stdlib/longlong.h: Updated from GCC.
50785 2012-05-09  Andreas Jaeger  <aj@suse.de>
50787         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50788         default is first entry.
50789         (run_mode): Set type.
50790         (main): Remove informal message about syslog.
50791         (options): Fix typo.
50793         [BZ #14053]
50794         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50795         to asm.
50796         (lrint): Likewise.
50797         (llrintf): Likewise.
50798         (llrint): Likewise.
50799         (rint): Likewise.
50800         (rintf): Likewise.
50801         (nearbyint): Likewise.
50802         (nearbyintf): Likewise.
50804 2012-05-09  Andreas Jaeger  <aj@suse.de>
50805             Pedro Alves  <palves@redhat.com>
50807         * nscd/nscd.c (run_mode): Use enum.
50808         (main): Cleanup coding style issue.
50810 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50811             Andreas Jaeger  <aj@suse.de>
50813         * nscd/nscd.c (go_background): Replaced with...
50814         (run_mode): ... this.
50815         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50816         (options): Add -F --foreground.
50817         (main): Implement it.
50818         (parse_opt): Parse it.
50820 2012-05-09  Andreas Jaeger  <aj@suse.de>
50822         [BZ #14083]
50823         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50824         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50825         -Wconversion warning.
50826         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50827         Likewise.
50829 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50831         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50832         == 0.
50833         (LC_ALL): Use macro-int-constant.
50834         (LC_COLLATE): Likewise.
50835         (LC_CTYPE): Likewise.
50836         (LC_MESSAGES): Likewise.
50837         (LC_MONETARY): Likewise.
50838         (LC_NUMERIC): Likewise.
50839         (LC_TIME): Likewise.
50840         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50841         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50842         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50843         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50844         Specify type.
50845         [C99-based standards] (float_t): Expect type.
50846         [C99-based standards] (double_t): Expect type.
50847         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50848         type.
50849         [C99-based standards] (HUGE_VALL): Likewise.
50850         [C99-based standards] (INFINITY): Likewise.
50851         [C99-based standards] (NAN): Likewise.
50852         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50853         [C99-based standards] (FP_NAN): Likewise.
50854         [C99-based standards] (FP_NORMAL): Likewise.
50855         [C99-based standards] (FP_SUBNORMAL): Likewise.
50856         [C99-based standards] (FP_ZERO): Likewise.
50857         [C99-based standards] (FP_FAST_FMA): Use
50858         optional-macro-int-constant.  Specify type.  Require == 1.
50859         [C99-based standards] (FP_FAST_FMAF): Likewise.
50860         [C99-based standards] (FP_FAST_FMAL): Likewise.
50861         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50862         [C99-based standards] (FP_ILOGBNAN): Likewise.
50863         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50864         Specify type.
50865         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50866         [C99-based standards] (math_errhandling): Specify type.
50867         [ISO99 || ISO11] (signgam): Do not allow.
50868         [non-C99-based standards] (copysignf): Do not allow.
50869         [non-C99-based standards] (exp2f): Likewise.
50870         [non-C99-based standards] (log2f): Likewise.
50871         [non-C99-based standards] (modff): Allow.
50872         [non-C99-based standards] (erff): Do not allow.
50873         [non-C99-based standards] (erfcf): Likewise.
50874         [non-C99-based standards] (gammaf): Likewise.
50875         [non-C99-based standards] (hypotf): Likewise.
50876         [non-C99-based standards] (j0f): Likewise.
50877         [non-C99-based standards] (j1f): Likewise.
50878         [non-C99-based standards] (jnf): Likewise.
50879         [non-C99-based standards] (lgammaf): Likewise.
50880         [non-C99-based standards] (tgammaf): Likewise.
50881         [non-C99-based standards] (y0f): Likewise.
50882         [non-C99-based standards] (y1f): Likewise.
50883         [non-C99-based standards] (ynf): Likewise.
50884         [non-C99-based standards] (isnanf): Likewise.
50885         [non-C99-based standards] (acoshf): Likewise.
50886         [non-C99-based standards] (asinhf): Likewise.
50887         [non-C99-based standards] (atanhf): Likewise.
50888         [non-C99-based standards] (cbrtf): Likewise.
50889         [non-C99-based standards] (expm1f): Likewise.
50890         [non-C99-based standards] (ilogbf): Likewise.
50891         [non-C99-based standards] (log1pf): Likewise.
50892         [non-C99-based standards] (logbf): Likewise.
50893         [non-C99-based standards] (nextafterf): Likewise.
50894         [non-C99-based standards] (remainderf): Likewise.
50895         [non-C99-based standards] (rintf): Likewise.
50896         [non-C99-based standards] (scalbf): Likewise.
50897         [non-C99-based standards] (copysignl): Likewise.
50898         [non-C99-based standards] (exp2l): Likewise.
50899         [non-C99-based standards] (log2l): Likewise.
50900         [non-C99-based standards] (modfl): Allow.
50901         [non-C99-based standards] (erfl): Do not allow.
50902         [non-C99-based standards] (erfcl): Likewise.
50903         [non-C99-based standards] (gammal): Likewise.
50904         [non-C99-based standards] (hypotl): Likewise.
50905         [non-C99-based standards] (j0l): Likewise.
50906         [non-C99-based standards] (j1l): Likewise.
50907         [non-C99-based standards] (jnl): Likewise.
50908         [non-C99-based standards] (lgammal): Likewise.
50909         [non-C99-based standards] (tgammal): Likewise.
50910         [non-C99-based standards] (y0l): Likewise.
50911         [non-C99-based standards] (y1l): Likewise.
50912         [non-C99-based standards] (ynl): Likewise.
50913         [non-C99-based standards] (isnanl): Likewise.
50914         [non-C99-based standards] (acoshl): Likewise.
50915         [non-C99-based standards] (asinhl): Likewise.
50916         [non-C99-based standards] (atanhl): Likewise.
50917         [non-C99-based standards] (cbrtl): Likewise.
50918         [non-C99-based standards] (expm1l): Likewise.
50919         [non-C99-based standards] (ilogbl): Likewise.
50920         [non-C99-based standards] (log1pl): Likewise.
50921         [non-C99-based standards] (logbl): Likewise.
50922         [non-C99-based standards] (nextafterl): Likewise.
50923         [non-C99-based standards] (remainderl): Likewise.
50924         [non-C99-based standards] (rintl): Likewise.
50925         [non-C99-based standards] (scalbl): Likewise.
50926         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50927         [non-C99-based standards] (FP_*): Do not allow.
50928         [C99-based standards] (FP_*): Change to
50929         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50930         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50931         allow.
50932         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50933         (SIG_ERR): Likewise.
50934         [X/Open-based standards] (SIG_HOLD): Likewise.
50935         (SIG_IGN): Likewise.
50936         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50937         positive value.
50938         (SIGFPE): Likewise.
50939         (SIGILL): Likewise.
50940         (SIGINT): Likewise.
50941         (SIGSEGV): Likewise.
50942         (SIGTER): Likewise.
50943         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50944         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50945         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50946         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50947         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50948         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50949         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50950         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50951         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50952         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50953         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50954         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50955         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50956         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50957         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50958         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50959         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50960         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50961         [X/Open-based standards] (SIGTRAP): Likewise.
50962         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50963         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50964         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50965         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50966         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50967         allow.
50969 2012-05-08  Ian Wienand  <ianw@vmware.com>
50971         [BZ #14080]
50972         * time/tzset.c (__tzset_parse_tz): Update default rules for
50973         daylight time changes in the Energy Policy Act of 2005.
50975 2012-05-09  Andreas Jaeger  <aj@suse.de>
50977         [BZ #13983]
50978         * elf/ldconfig.c (parse_conf): Change string to make clear that
50979         ldconfig only issued a warning if ld.so.conf does not exist.
50981 2012-05-08  David S. Miller  <davem@davemloft.net>
50983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50984         movxtod instead of popping the value on the stack.
50986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50988 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50990         * config.h.in: Add HAVE_ARM_PCS_VFP.
50992 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50994         [BZ #13979]
50995         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50996         checking but the checks are disabled for any reason.
50998 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51000         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51001         and ELF64_R_TYPE with ELFW(R_TYPE).
51003 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51005         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51006         (ulimit): Likewise.
51008         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51009         (settimeofday): Likewise.
51011 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51013         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51014         a struct th_u2 inside the union, and move tu_block/tu_code into
51015         a new th_u3 union of tu_block/tu_code inside of that.  Move
51016         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51017         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51018         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51019         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51020         (th_stuff): Change to th_u1.tu_stuff.
51021         (th_data): Define.
51022         (th_msg): Change to th_u1.th_u2.tu_data.
51024 2012-05-07  David S. Miller  <davem@davemloft.net>
51026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51028         [BZ #14074]
51029         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51030         (SETUP_PIC_REG): Use it.
51031         (SETUP_PIC_REG_LEAF): Use it.
51033 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51035         [BZ #13885]
51036         [BZ #13923]
51037         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51038         USE_AS_EXPM1L.
51039         (EXPL_FINITE): Likewise.
51040         (FLDLOG): Likewise.
51041         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51042         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51043         e_expl.S.
51044         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51045         USE_AS_EXPM1L.
51046         (EXPL_FINITE): Likewise.
51047         (FLDLOG): Likewise.
51048         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51049         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51050         e_expl.S.
51051         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51052         test of -max_value argument for long double.
51053         * sysdeps/i386/fpu/libm-test-ulps: Update.
51054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51056 2012-05-06  David S. Miller  <davem@davemloft.net>
51058         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51059         quad soft-float symbols whose references which are compiler
51060         generated.
51061         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51063 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51065         [BZ #13884]
51066         [BZ #13914]
51067         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51068         USE_AS_EXP10L.
51069         (EXPL_FINITE): Likewise.
51070         (FLDLOG): Likewise.
51071         (c0): Likewise.
51072         (c1): Likewise.
51073         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51074         Adjust comments for base varying.
51075         (__expl_finite): Change alias to EXPL_FINITE.
51076         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51077         e_expl.S.
51078         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51079         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51080         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51081         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51082         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51083         USE_AS_EXP10L.
51084         (EXPL_FINITE): Likewise.
51085         (FLDLOG): Likewise.
51086         (c0): Likewise.
51087         (c1): Likewise.
51088         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51089         Adjust comments for base varying.
51090         (__expl_finite): Change alias to EXPL_FINITE.
51091         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51092         tests for bugs.
51093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51095         [BZ #14064]
51096         * math/libm-test.inc (check_float_internal): Correct ulp
51097         calculation for subnormal expected results.
51099 2012-05-06  Andreas Jaeger  <aj@suse.de>
51101         * Makeconfig (+math-flags): New, set to -frounding-math.
51102         (+cflags): Add +math-flags so that all of glibc gets compiled with
51103         it.
51105         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51107 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51109         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51110         Disable one test.
51112         [BZ #13787]
51113         [BZ #13922]
51114         [BZ #14036]
51115         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51116         (__ieee754_expl): Allow for and saturate large arguments.
51117         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51118         (u_threshold): Likewise.
51119         (__exp): Call __ieee754_exp before checking for overflow and
51120         underflow.
51121         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51122         (u_threshold): Likewise.
51123         (__expf): Call __ieee754_expf before checking for overflow and
51124         underflow.
51125         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51126         (u_threshold): Likewise.
51127         (__expl): Call __ieee754_expl before checking for overflow and
51128         underflow.
51129         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51130         (__ieee754_expl): Allow for and saturate large arguments.
51131         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51132         missing overflow exception on overflow.
51133         (expm1_test): Do not allow missing overflow exception on overflow.
51135         * sysdeps/i386/fpu/e_expl.c: Move to ...
51136         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51137         rather than using inline asm.
51138         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51139         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51140         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51142         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51143         (nice): Likewise.
51144         (poll): Likewise.
51145         (signal): Likewise.
51146         (time): Likewise.
51147         (times): Likewise.
51149 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51151         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51152         sysdeps/unix/common/syscalls.list.
51153         (fchmod): Likewise.
51154         (fchown): Likewise.
51155         (ftruncate): Likewise.
51156         (getrusage): Likewise.
51157         (gettimeofday): Likewise.
51158         (setpgid): Likewise.
51159         (setregid): Likewise.
51160         (setreuid): Likewise.
51161         (sigaction): Likewise.
51162         (truncate): Likewise.
51163         (vhangup): Likewise.
51164         * sysdeps/unix/common/syscalls.list: Remove file.
51165         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51166         * sysdeps/unix/sysv/linux/Implies: Likewise.
51168 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51170         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51172         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51173         Moved to ...
51174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51175         Here.
51176         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51177         to ...
51178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51179         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51180         to ...
51181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51182         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51183         to ...
51184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51185         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51186         to ...
51187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51188         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51189         to ...
51190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51191         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51192         to ...
51193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51194         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51195         to ...
51196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51197         Here.
51198         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51199         to ...
51200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51201         Here.
51202         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51203         to ...
51204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51205         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51206         Moved to ...
51207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51208         Here.
51209         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51210         to ...
51211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51213 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51215         * sysdeps/unix/common/bits/dirent.h: Remove file.
51216         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51218         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51219         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51220         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51221         * sysdeps/unix/bsd/isatty.c: Likewise.
51222         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51223         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51224         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51226 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51228         [BZ #13563]
51229         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51230         long double comparison inaccuracies.
51231         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51234 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51236         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51237         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51239 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51241         [BZ #14049]
51242         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51243         nonzero digits before rounding a hex value.
51244         * stdlib/tst-strtod.c (tests): Add another test.
51246 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51248         * sysdeps/s390/fpu/libm-test-ulps: Update.
51250 2012-05-03  Andreas Jaeger  <aj@suse.de>
51252         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51253         does not get optimized out.
51254         (malloc_opt_barrier): New.
51256 2012-05-03  Andreas Jaeger  <aj@suse.de>
51257             Roland McGrath  <roland@hack.frob.com>
51259         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51260         intermediate file deletion.
51261         (generated): Add .symlist files.
51263 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51265         [BZ #13775]
51266         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51267         Redirect under this condition.
51268         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51269         [__USE_GNU] (__dprintf_chk): Not under this condition.
51270         [__USE_GNU] (__vdprintf_chk): Likewise.
51271         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51272         under this condition.
51273         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51274         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51275         [__USE_XOPEN2K8] (vdprintf): Likewise.
51276         [__USE_GNU] (__dprintf_chk): Not under this condition.
51277         [__USE_GNU] (__vdprintf_chk): Likewise.
51278         [__USE_GNU] (dprintf): Likewise.
51279         [__USE_GNU] (vdprintf): Likewise.
51281 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51283         * elf/Makefile (common-generated): Set this instead of generated for
51284         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51285         $(all-built-dso)-derived lists.
51287 2012-05-03  Andreas Jaeger  <aj@suse.de>
51289         * sysdeps/i386/fpu/libm-test-ulps: Update.
51291         * FAQ: Removed.
51292         * FAQ.in: Likewise.
51293         * scripts/gen-FAQ.pl: Likewise.
51294         * manual/install.texi (Installation): Point to online location of
51295         FAQ.
51296         * Makefile (files-for-dist): Remove FAQ.
51297         (FAQ): Remove.
51299 2012-05-02  Allan McRae  <allan@archlinux.org>
51301         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51302         (LDFLAGS-reldepmod5.so): Likewise.
51303         (LDFLAGS-reldep6mod1.so): Likewise.
51304         (LDFLAGS-reldep6mod4.so): Likewise.
51305         (LDFLAGS-reldep8mod3.so): Likewise.
51306         (LDFLAGS-unload4mod1.so): Likewise.
51307         (LDFLAGS-unload4mod2.so): Likewise.
51308         (LDFLAGS-tst-initorder): Likewise.
51309         (LDFLAGS-tst-initordera2.so): Likewise.
51310         (LDFLAGS-tst-initordera3.so): Likewise.
51311         (LDFLAGS-tst-initordera4.so): Likewise.
51312         (LDFLAGS-tst-initorderb2.so): Likewise.
51313         (LDFLAGS-noload): Likewise.
51314         (LDFLAGS-next): Likewise.
51315         (LDFLAGS-order2mod1.so): Likewise.
51316         (LDFLAGS-order2mod2.so): Likewise.
51317         (LDFLAGS-tst-initorder2): Likewise.
51318         (LDFLAGS-tst-initorder2a.so): Likewise.
51319         (LDFLAGS-tst-initorder2b.so): Likewise.
51320         (LDFLAGS-tst-initorder2c.so): Likewise.
51321         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51323 2012-05-02  David S. Miller  <davem@davemloft.net>
51325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51327 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51329         [BZ #14055]
51330         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51332 2012-05-02  Andreas Jaeger  <aj@suse.de>
51334         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51335         since we manipulate rounding mode.
51336         (CPPFLAGS-test-idouble.c): Likewise.
51337         (CPPFLAGS-test-ifloat.c): Likewise.
51338         (CFLAGS-test-ldouble.c): Likewise.
51339         (CFLAGS-test-double.c): Likewise.
51340         (CFLAGS-test-float.c): Likewise.
51341         (CFLAGS-test-misc.c): Likewise.
51342         (CFLAGS-test-test-fenv.c): Likewise.
51344 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51346         [BZ #2550]
51347         [BZ #2570]
51348         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51349         comparisons to determine direction to adjust input.
51351 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51353         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51354         output to the target.
51356         * scripts/localplt.awk: New file.
51357         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51358         (check-localplt-CFLAGS): Variable removed.
51359         ($(all-built-dso:=.jmprel)): New static pattern rule.
51360         (generated): Add those targets.
51361         (localplt-built-dso): New variable.
51362         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51364         * elf/check-localplt.c: File removed.
51366         * scripts/check-execstack.awk: New file.
51367         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51368         (check-execstack-CFLAGS): Variable removed.
51369         ($(objpfx)check-execstack.h): Target removed.
51370         ($(objpfx)execstack-default): New target.
51371         (generated): Add that instead of check-execstack.h.
51372         ($(all-built-dso:=.phdr)): New static pattern rule.
51373         (generated): Add those targets.
51374         * elf/check-execstack.c: File removed.
51376         * scripts/check-textrel.awk: New file.
51377         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51378         (check-textrel-CFLAGS): Variable removed.
51379         (all-built-dso): Use := to define.o
51380         ($(all-built-dso:=.dyn)): New static pattern rule.
51381         (generated): Add those targets.
51382         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51383         * config.make.in (READELF): New substituted variable.
51384         * elf/check-textrel.c: File removed.
51386 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51388         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51389         allow.
51390         * conform/data/ctype.h-data [C99-based standards] (isblank):
51391         Expect function.
51392         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51393         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51394         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51395         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51396         Specify type.  Require positive value.
51397         (EILSEQ): Likewise.
51398         (ERANGE): Likewise.
51399         [ISO || POSIX] (EILSEQ): Do not expect.
51400         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51401         Specify type.  Require positive value.
51402         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51403         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51404         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51405         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51406         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51407         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51408         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51409         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51410         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51411         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51412         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51413         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51414         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51415         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51416         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51417         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51418         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51419         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51420         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51421         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51422         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51423         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51424         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51425         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51426         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51427         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51428         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51429         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51430         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51431         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51432         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51433         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51434         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51435         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51436         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51437         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51438         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51439         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51440         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51441         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51442         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51443         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51444         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51445         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51446         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51447         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51448         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51449         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51450         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51451         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51452         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51453         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51454         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51455         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51456         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51457         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51458         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51459         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51460         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51461         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51462         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51463         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51464         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51465         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51466         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51467         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51468         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51469         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51470         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51471         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51472         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51473         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51474         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51475         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51476         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51477         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51478         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51479         Require >= 2.
51480         (FLT_ROUNDS): Expect as macro, not constant.
51481         (FLT_MANT_DIG): Use macro-int-constant.
51482         (DBL_MANT_DIG): Likewise.
51483         (LDBL_MANT_DIG): Likewise.
51484         (FLT_DIG): Likewise.
51485         (DBL_DIG): Likewise.
51486         (LDBL_DIG): Likewise.
51487         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51488         (DBL_MIN_EXP): Likewise.
51489         (LDBL_MIN_EXP): Likewise.
51490         (FLT_MAX_EXP): Use macro-int-constant.
51491         (DBL_MAX_EXP): Likewise.
51492         (LDBL_MAX_EXP): Likewise.
51493         (FLT_MAX_10_EXP): Likewise.
51494         (DBL_MAX_10_EXP): Likewise.
51495         (LDBL_MAX_10_EXP): Likewise.
51496         (FLT_MAX): Use macro-constant.
51497         (DBL_MAX): Likewise.
51498         (LDBL_MAX): Likewise.
51499         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51500         (DBL_EPSILON): Likewise.
51501         (LDBL_EPSILON): Likewise.
51502         (FLT_MIN): Likewise.
51503         (DBL_MIN): Likewise.
51504         (LDBL_MIN): Likewise.
51505         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51506         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51507         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51508         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51509         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51510         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51511         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51512         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51513         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51514         [ISO11] (FLT_TRUE_MIN): Likewise.
51515         [ISO11] (LDBL_TRUE_MIN): Likewise.
51516         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51517         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51518         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51519         (SCHAR_MAX): Likewise.
51520         (UCHAR_MAX): Likewise.
51521         (CHAR_MIN): Likewise.
51522         (CHAR_MAX): Likewise.
51523         (MB_LEN_MAX): Use macro-int-constant.
51524         (SHRT_MIN): Use macro-int-constant.  Specify type.
51525         (SHRT_MAX): Likewise.
51526         (USHRT_MAX): Likewise.
51527         (INT_MAX): Likewise.
51528         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51529         bound negative.
51530         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51531         bound with "U".
51532         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51533         bound with "L".
51534         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51535         bound negative.  Suffix upper bound with "L".
51536         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51537         bound with "UL".
51538         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51539         Specify type.
51540         [C99-based standards] (LLONG_MAX): Likewise.
51541         [C99-based standards] (ULLONG_MAX): Likewise.
51542         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51543         == 0.
51544         [ISO11] (max_align_t): Require type.
51545         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51547         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51548         from $CFLAGS, without defining away __attribute__ calls.
51549         (checknamespace): Use $CFLAGS_namespace.
51551         * conform/conformtest.pl (@keywords): Only include C99 keywords
51552         for standards based on C99 or C11.
51554         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51555         Disable tests.
51556         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51557         UNIX98]: Likewise.
51559         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51560         usability of symbols in #if.
51562         * conform/conformtest.pl: If macro or constant types start
51563         "promoted:", expect the symbol to be of the following type
51564         promoted by the integer promotions.
51566         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51567         in one place.  Also handle "macro-constant".
51569         * conform/conformtest.pl: Only accept expected macro values with
51570         "==".  Parse all "macro" lines in one place.
51571         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51573         * conform/conformtest.pl: Handle braced types on "constant" lines
51574         instead of handling "typed-constant".
51575         * conform/data/signal.h-data: Use "constant" instead of
51576         "typed-constant".
51578         * conform/conformtest.pl: Handle "optional-" at start of lines in
51579         one place rather than duplicating several cases.  Handle each
51580         format of "macro" line with initial "optional-".
51582         * conform/conformtest.pl: Only accept expected constant or
51583         optional-constant values with "==".  Parse all "constant" lines in
51584         one place.  Parse all "optional-constant" lines in one place.
51585         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51586         * conform/data/fmtmsg.h-data: Likewise.
51587         * conform/data/netinet/in.h-data: Likewise.
51588         * conform/data/tar.h-data: Likewise.
51589         * conform/data/limits.h-data: Use "==" form on "constant" and
51590         "optional-constant" lines.
51592         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51593         Use -std=c99 for XOPEN2K.
51594         (@knownproblems): Remove.
51595         (newtoken): Don't check %isknown.
51597         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51598         Do not expect macro.
51599         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51600         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51601         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51602         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51603         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51604         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51605         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51606         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51607         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51608         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51609         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51610         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51611         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51612         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51613         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51614         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51615         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51616         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51617         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51618         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51619         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51620         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51621         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51622         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51623         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51624         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51625         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51626         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51627         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51628         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51629         [XPG3] (acosh): Likewise.
51630         [XPG3] (asinh): Likewise.
51631         [XPG3] (atanh): Likewise.
51632         [XPG3] (cbrt): Likewise.
51633         [XPG3] (expm1): Likewise.
51634         [XPG3] (ilogb): Likewise.
51635         [XPG3] (log1p): Likewise.
51636         [XPG3] (logb): Likewise.
51637         [XPG3] (nextafter): Likewise.
51638         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51639         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51640         [XPG3] (remainder): Likewise.
51641         [XPG3] (rint): Likewise.
51642         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51643         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51644         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51645         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51646         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51647         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51648         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51649         [UNIX98 || XOPEN2K] (scalb): Expect.
51650         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51651         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51652         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51653         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51654         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51655         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51656         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51657         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51658         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51659         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51660         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51661         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51662         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51663         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51664         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51665         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51666         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51667         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51668         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51669         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51670         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51671         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51672         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51673         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51674         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51675         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51676         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51677         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51678         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51679         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51680         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51681         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51682         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51683         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51684         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51685         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51686         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51687         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51688         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51689         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51690         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51691         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51692         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51693         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51694         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51695         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51696         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51697         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51698         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51699         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51700         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51701         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51702         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51703         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51704         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51705         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51706         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51707         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51708         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51709         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51710         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51711         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51712         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51713         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51714         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51715         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51716         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51717         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51718         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51719         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51720         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51721         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51722         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51723         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51724         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51725         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51726         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51727         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51728         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51729         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51730         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51731         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51732         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51733         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51734         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51735         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51736         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51737         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51738         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51739         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51740         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51741         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51742         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51743         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51744         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51745         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51746         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51747         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51748         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51749         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51750         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51751         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51752         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51753         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51754         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51755         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51756         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51757         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51758         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51759         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51760         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51761         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51762         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51763         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51764         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51765         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51766         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51767         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51768         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51769         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51770         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51771         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51772         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51773         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51774         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51775         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51776         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51777         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51778         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51779         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51780         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51781         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51782         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51783         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51784         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51785         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51786         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51788         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51789         _XOPEN_SOURCE_EXTENDED for XPG4.
51791         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51793         * Makeconfig (localtime): Remove variable.
51794         (inst_localtime-file): Likewise.
51796 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51799         Update.
51800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51801         Update.
51802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51803         Update.
51804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51805         Update.
51806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51807         Update.
51808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51809         Update.
51810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51811         Update.
51812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51813         Update.
51814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51815         Update.
51817 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51819         [BZ #2550]
51820         [BZ #2570]
51821         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51822         comparisons to determine direction to adjust input.
51823         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51824         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51825         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51826         Likewise.
51827         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51828         Likewise.
51829         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51830         Likewise.
51831         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51832         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51833         Likewise.
51834         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51835         Likewise.
51836         * math/libm-test.inc (nexttoward_test): Add more tests.
51838 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51840         [BZ #14040]
51841         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51842         in version GLIBC_2.1, not GLIBC_2.0.
51843         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51844         Likewise.
51846 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51848         [BZ #13942]
51849         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51850         (1 - x) * (1 + x).
51851         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51852         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51853         * math/libm-test.inc (acos_test): Add more tests.
51854         (asin_test): Likewise.
51855         * sysdeps/i386/fpu/libm-test-ulps: Update.
51856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51858         [BZ #14034]
51859         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51860         of square root.
51861         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51862         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51863         * math/libm-test.inc (acos_test_tonearest): New function.
51864         (acos_test_towardzero): Likewise.
51865         (acos_test_downward): Likewise.
51866         (acos_test_upward): Likewise.
51867         (asin_test_tonearest): Likewise.
51868         (asin_test_towardzero): Likewise.
51869         (asin_test_downward): Likewise.
51870         (asin_test_upward): Likewise.
51871         (main): Call the new functions.
51872         * sysdeps/i386/fpu/libm-test-ulps: Update.
51873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51875         [BZ #13884]
51876         [BZ #13924]
51877         * math/e_exp10.c: Include <float.h>.
51878         (__ieee754_exp10): Handle underflow here rather than multiplying
51879         large negative argument by M_LN10.
51880         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51881         of __ieee754_expf.
51882         * math/e_exp10l.c: Include <float.h>.
51883         (__ieee754_exp10l): Handle underflow here rather than multiplying
51884         large negative argument by M_LN10l.
51885         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51886         spurious overflow exception on underflow.
51888 2012-04-29  Marek Polacek  <polacek@redhat.com>
51890         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51891         (__fortify_function): New macro.
51892         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51893         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51894         __extern_always_inline.
51895         * libio/bits/stdio2.h: Likewise.
51896         * libio/bits/stdio.h: Likewise.
51897         * string/string.h: Likewise.
51898         * string/bits/string3.h: Likewise.
51899         * include/stdio.h: Likewise.
51900         * stdlib/bits/stdlib.h: Likewise.
51901         * stdlib/stdlib.h: Likewise.
51902         * rt/bits/mqueue2.h: Likewise.
51903         * rt/mqueue.h: Likewise.
51904         * posix/bits/unistd.h: Likewise.
51905         * posix/unistd.h: Likewise.
51906         * io/bits/poll2.h: Likewise.
51907         * io/bits/fcntl2.h: Likewise.
51908         * io/fcntl.h: Likewise.
51909         * io/sys/poll.h: Likewise.
51910         * misc/bits/syslog.h: Likewise.
51911         * misc/bits/syslog-ldbl.h: Likewise.
51912         * misc/sys/syslog.h: Likewise.
51913         * socket/bits/socket2.h: Likewise.
51914         * socket/sys/socket.h: Likewise.
51915         * debug/tst-chk1.c: Likewise.
51916         * wcsmbs/bits/wchar2.h: Likewise.
51917         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51918         * wcsmbs/wchar.h: Likewise.
51920 2012-04-29  Andreas Jaeger  <aj@suse.de>
51922         * Makerules (tests): Remove enable-check-abi protection.
51923         (check-abi-warn): Remove.
51924         (check-abi-%): Remove check-abi-warn usage.
51926         * configure.in: Remove check-abi configure option.
51927         * configure: Regenerated.
51928         * config.make.in (enable-check-abi): Remove.
51930 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51932         [BZ #14033]
51933         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51934         double functions to double *_finite functions.
51936         [BZ #13941]
51937         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51938         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51939         LDBL_MIN_EXP.
51940         * stdio-common/Makefile (tests): Add tst-sprintf3.
51941         * stdio-common/tst-sprintf3.c: New file.
51943         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51944         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51946 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51948         * conform/conformtest.pl: Remove duplicate typed-constant
51949         handling.
51951 2012-04-28  David S. Miller  <davem@davemloft.net>
51953         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51954         (check-abi-%): Remove AWK script prerequisite and explicit
51955         abilist directory.
51956         (check-abi): Rewrite to just diff the symlist with the abilist.
51957         (config-tls, config-abi-config): Delete, no longer used.
51958         (update-abi-%): Remove AWK script and explicit abilist directory.
51959         (update-abi): Rewrite to simply compare and conditionally copy the
51960         symlist and the sysdep abilist file.  Remove update-abi-config
51961         checks.
51962         * abilist/ld.abilist: Remove.
51963         * abilist/libBrokenLocale.abilist: Remove.
51964         * abilist/libanl.abilist: Remove.
51965         * abilist/libcrypt.abilist: Remove.
51966         * abilist/libdl.abilist: Remove.
51967         * abilist/librt.abilist: Remove.
51968         * abilist/libthread_db.abilist: Remove.
51969         * abilist/libutil.abilist: Remove.
51970         * scripts/extract-abilist.awk: Remove.
51971         * scripts/merge-abilist.awk: Remove.
51972         * sysdeps/generic/libcidn.abilist: New file.
51973         * sysdeps/generic/libnss_compat.abilist: New file.
51974         * sysdeps/generic/libnss_db.abilist: New file.
51975         * sysdeps/generic/libnss_dns.abilist: New file.
51976         * sysdeps/generic/libnss_files.abilist: New file.
51977         * sysdeps/generic/libnss_hesiod.abilist: New file.
51978         * sysdeps/generic/libnss_nis.abilist: New file.
51979         * sysdeps/generic/libnss_nisplus.abilist: New file.
51980         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51981         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51982         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51983         file.
51984         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51985         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51986         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51987         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51988         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51989         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51990         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51991         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51992         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51993         file.
51994         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51995         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51996         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51997         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51998         file.
51999         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52000         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52001         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52002         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52003         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52004         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52005         file.
52006         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52007         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52008         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52009         file.
52010         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52012         New file.
52013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52014         New file.
52015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52016         New file.
52017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52018         New file.
52019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52020         New file.
52021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52022         New file.
52023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52024         New file.
52025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52026         New file.
52027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52028         New file.
52029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52030         New file.
52031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52032         New file.
52033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52034         New file.
52035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52036         New file.
52037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52038         file.
52039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52040         New file.
52041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52042         New file.
52043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52044         file.
52045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52046         New file.
52047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52048         New file.
52049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52050         file.
52051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52052         New file.
52053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52054         New file.
52055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52056         New file.
52057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52058         New file.
52059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52060         New file.
52061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52062         New file.
52063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52065         file.
52066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52067         New file.
52068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52069         file.
52070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52071         file.
52072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52073         file.
52074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52075         file.
52076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52077         file.
52078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52079         New file.
52080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52081         file.
52082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52083         file.
52084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52085         New file.
52086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52087         file.
52088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52090         file.
52091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52092         New file.
52093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52094         file.
52095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52096         file.
52097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52098         file.
52099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52100         file.
52101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52102         file.
52103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52104         New file.
52105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52106         file.
52107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52108         file.
52109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52110         New file.
52111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52112         file.
52113         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52114         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52115         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52116         file.
52117         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52118         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52119         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52120         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52121         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52122         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52123         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52124         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52125         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52126         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52129         file.
52130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52131         New file.
52132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52133         file.
52134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52135         file.
52136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52137         file.
52138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52139         file.
52140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52141         file.
52142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52143         New file.
52144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52145         New file.
52146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52147         file.
52148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52149         New file.
52150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52151         file.
52152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52154         file.
52155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52156         New file.
52157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52158         file.
52159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52160         file.
52161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52162         file.
52163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52164         file.
52165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52166         file.
52167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52168         New file.
52169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52170         New file.
52171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52172         file.
52173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52174         New file.
52175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52176         file.
52178 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52180         * conform/conformtest.pl: Fix typo in handling typed-constant from
52181         allow-header.
52183 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52185         * README: Cut down references to pre-2.6 Linux kernels and
52186         Linuxthreads.  Update lists of configurations in libc and ports
52187         and sort alphabetically.  Say "or newer" with Linux kernel version
52188         requirements.
52190         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52192 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52194         [BZ #887]
52195         * math/libm-test.inc (logb_test_downward): New test to expose
52196         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52197         rounding mode.
52199 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52201         [BZ #14027]
52202         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52203         to be done.
52204         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52205         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52207 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52209         * sysdeps/unix/i386/brk.S: Remove file.
52210         * sysdeps/unix/i386/dl-brk.S: Likewise.
52211         * sysdeps/unix/i386/pipe.S: Likewise.
52212         * sysdeps/unix/i386/sigreturn.S: Likewise.
52213         * sysdeps/unix/i386/syscall.S: Likewise.
52214         * sysdeps/unix/i386/vfork.S: Likewise.
52215         * sysdeps/unix/i386/wait.S: Likewise.
52217         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52218         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52220         * configure.in (arm*-none*): Do not allow without
52221         --enable-hacker-mode.
52222         (netbsd*): Remove case setting base_os.
52223         (386bsd*): Likewise.
52224         (freebsd*): Likewise.
52225         (bsdi*): Likewise.
52226         (osf*): Likewise.
52227         (sunos*): Likewise.
52228         (ultrix*): Likewise.
52229         (newsos*): Likewise.
52230         (dynix*): Likewise.
52231         (*bsd*): Likewise.
52232         (sysv*): Likewise.
52233         (isc*): Likewise.
52234         (esix*): Likewise.
52235         (sco*): Likewise.
52236         (minix*): Likewise.
52237         (irix4*): Likewise.
52238         (irix6*): Likewise.
52239         (solaris[2-9]*): Likewise.
52240         (none): Likewise.
52241         * configure: Regenerated.
52243 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52245         [BZ #11521]
52246         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52247         overflow or cancellation in calculating denominator.
52248         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52250         down expression to avoid unexpected rounding in newer GCCs.
52251         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52253 2012-04-26  David S. Miller  <davem@davemloft.net>
52255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52256         long-double compat symbols.
52257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52271 2012-04-25  David S. Miller  <davem@davemloft.net>
52273         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52274         HWCAP_* values only after the memory barriers have been defined.
52275         (atomic_full_barrier): Define.
52276         (atomic_read_barrier): Define.
52277         (atomic_write_barrier): Define.
52279 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52281         * shlib-versions: Add libgcc_s version information.
52282         * sysdeps/generic/libgcc_s.h: Remove.
52283         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52284         libgcc_s.h.
52285         * sysdeps/gnu/unwind-resume.c: Likewise.
52286         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52288 2012-04-25  David S. Miller  <davem@davemloft.net>
52290         * sysdeps/unix/sparc/brk.S: Delete.
52291         * sysdeps/unix/sparc/dl-brk.S: Delete.
52292         * sysdeps/unix/sparc/pipe.S: Delete.
52293         * sysdeps/unix/sparc/sysdep.S: Delete.
52294         * sysdeps/unix/sparc/sysdep.h: Delete.
52295         * sysdeps/unix/sparc/vfork.S: Delete.
52296         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52297         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52298         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52299         (ret_ERRVAL, r0, r1, MOVE): Define.
52300         (JUMPTARGET): Remove.
52301         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52302         sysdeps/unix/sparc/sysdep.h
52303         (ENTRY, END): Remove.
52304         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52306 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52308         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52309         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52310         -DIS_IN_build.
52312         * timezone/README: Update upstream location and email address for
52313         tzcode and tzdata.
52314         * timezone/zdump.c: Update from tzcode 2012b.
52315         * timezone/zic.c: Likewise.
52317         * configure.in (libc_cv_as_needed): Remove test.
52318         * configure: Regenerated.
52319         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52320         conditional definition.
52321         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52322         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52323         * config.make.in (have-as-needed): Remove variable.
52325 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52326             Paul Pluzhnikov  <ppluzhnikov@google.com>
52328         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52329         strings correctly.
52331 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52333         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52334         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52335         * sysdeps/sh/strlen.S: Likewise.
52337 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52339         * sysdeps/unix/fork.S: Remove file.
52340         * sysdeps/unix/i386/fork.S: Likewise.
52341         * sysdeps/unix/sparc/fork.S: Likewise.
52343         * sysdeps/unix/system.c: Remove file.
52344         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52346         * sysdeps/unix/getegid.S: Remove file.
52347         * sysdeps/unix/geteuid.S: Likewise.
52349 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52351         * scripts/check-localplt.awk: New file.
52352         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52353         of diff.
52354         * scripts/data/localplt-generic.data: Add a comment.
52356         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52357         NODE when __dir_mkfile failed.
52358         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52359         Reported by Ludovic Courtès <ludo@gnu.org>.
52361 2012-04-24  Andreas Jaeger  <aj@suse.de>
52363         * Makerules (common-clean): Also remove gen-as-const-headers
52364         files.
52366 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52368         * Makerules (native-compile): Do not change working directory for
52369         build.  Use $(OUTPUT_OPTION) in command.
52370         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52372 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52374         [BZ #13886]
52375         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52376         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52377         * math/libm-test.inc (floor_test): Add more tests.
52378         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52380 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52382         * sysdeps/unix/getdents.c: Remove file.
52383         * sysdeps/unix/sysv/getdents.c: Likewise.
52384         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52386         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52387         sysdeps/unix/mman/syscalls.list.
52388         (mmap): Likewise.
52389         (mprotect): Likewise.
52390         (msync): Likewise.
52391         (munmap): Likewise.
52392         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52393         * sysdeps/unix/mman/syscalls.list: Remove.
52394         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52396         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52397         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52398         * configure: Regenerated.
52399         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52400         $(libgcc_s_suffix).
52401         * config.make.in (libgcc_s_suffix): Remove variable.
52403 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52405         * sysdeps/unix/sysv/gethostname.c: Move to ...
52406         * sysdeps/posix/gethostname.c: ... here.
52408         * sysdeps/unix/execve.S: Remove file.
52410         * sysdeps/unix/_exit.S: Remove file.
52412 2012-04-23  Andreas Jaeger  <aj@suse.de>
52414         [BZ #13739]
52415         * manual/Makefile: Remove make dist support, there's no
52416         need for a stand-alone documentation tar ball.
52417         (TEXI2DVI): Define always, it's not in Makeconfig.
52418         (dist): Removed.
52419         (tar-it): Removed.
52420         (edition): Removed.
52421         (glibc-doc-$(edition).tar): Removed
52422         (%.Z): Removed.
52423         (%.gz): Removed.
52424         (%.uu): Removed.
52425         (ETAGS): Remove, it's in Makeconfig.
52426         (move-if-change): Remove, it's in Makeconfig.
52428 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52430         [BZ #13970]
52431         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52432         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52433         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52434         (strtod_l, strtof_l, strtold_l): Remove __wur.
52435         It is not necessarily an error to ignore strtol's return value.
52436         One can reliably look at the stored endptr to decide whether
52437         the number had valid syntax.
52439 2012-04-21  Andreas Jaeger  <aj@suse.de>
52441         [BZ #13739]
52442         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52444 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52446         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52447         * sysdeps/unix/sysv/Versions: Remove file.
52449 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52451         [BZ #13927]
52452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52454 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52456         [BZ #7064]
52457         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52458         version from __vm86.
52460 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52462         * sysdeps/unix/common/lxstat.c: Remove file.
52463         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52465         * sysdeps/unix/sysv/Makefile: Remove file.
52467         * sysdeps/unix/sysv/direct.h: Remove file.
52469         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52470         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52471         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52472         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52473         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52474         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52475         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52477         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52479         * sysdeps/unix/xmknod.c: Remove file.
52480         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52482         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52484         * sysdeps/unix/sysv/i386/time.S: Remove file.
52486         * sysdeps/unix/fxstat.c: Remove file.
52487         * sysdeps/unix/xstat.c: Likewise.
52488         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52490         * sysdeps/unix/sysv/sigaction.c: Remove file.
52492         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52493         (sysdep_headers): Remove variable.
52494         [termio.h not in sysdep_headers] (generated): Likewise.
52495         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52496         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52497         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52498         * sysdeps/unix/sysv/tcflow.c: Likewise.
52499         * sysdeps/unix/sysv/tcflush.c: Likewise.
52500         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52501         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52502         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52503         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52504         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52506         * sysdeps/unix/siglist.c: Remove file.
52508         * sysdeps/unix/getppid.S: Remove file.
52510         * sysdeps/unix/mkdir.c: Remove file.
52511         * sysdeps/unix/rmdir.c: Likewise.
52513 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52515         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52516         ERR_MAX value.
52517         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52518         errlist-compat value.
52520 2012-04-18  David S. Miller  <davem@davemloft.net>
52522         * sysdeps/generic/memcopy.h (reg_char): Delete.
52523         * debug/strcat_chk.c: Use char, not reg_char.
52524         * debug/strcpy_chk.c: Likewise.
52525         * debug/strncat_chk.c: Likewise.
52526         * debug/strncpy_chk.c: Likewise.
52527         * string/memchr.c: Likewise.
52528         * string/memrchr.c: Likewise.
52529         * string/rawmemchr.c: Likewise.
52530         * string/strcat.c: Likewise.
52531         * string/strchr.c: Likewise.
52532         * string/strchrnul.c: Likewise.
52533         * string/strcmp.c: Likewise.
52534         * string/strcpy.c: Likewise.
52535         * string/strncat.c: Likewise.
52536         * string/strncmp.c: Likewise.
52537         * string/strncpy.c: Likewise.
52539 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52541         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52542         __builtin_memcopy is called when src and dest ranges are known to not
52543         overlap.
52545 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52547         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52548         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52549         fwd_align_merge macro call.
52550         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52551         bwd_align_merge macro call.
52552         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52554 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52556         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52557         bwd_align_merge macros.
52558         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52559         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52560         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52562 2012-04-18  David S. Miller  <davem@davemloft.net>
52564         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52566 2012-04-18  Andreas Jaeger  <aj@suse.de>
52568         [BZ# 6794]
52569         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52570         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52571         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52573         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52574         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52575         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52577         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52578         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52579         Adjust for changed ldbl-128 files.
52581         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52582         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52583         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52585 2012-04-17  David S. Miller  <davem@davemloft.net>
52587         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52589 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52591         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52592         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52593         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52594         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52595         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52596         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52598 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52600         [BZ #6794]
52601         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52602         * math/libm-test.inc: Add ilogb errno and exception tests.
52603         * math/w_ilogb.c: New file: ilogb wrapper.
52604         * math/w_ilogbf.c: New file: ilogbf wrapper.
52605         * math/w_ilogbl.c: New file: ilogbl wrapper.
52606         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52607         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52608         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52609         exception being thrown with 0.0 as argument.
52610         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52611         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52612         exception being thrown with 0.0 as argument.
52613         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52614         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52615         exception being thrown with 0.0 as argument.
52616         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52617         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52618         exception being thrown with 0.0 as argument.
52619         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52620         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52621         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52622         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52623         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52624         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52625         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52626         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52627         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52629 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52631         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52632         with altivec.
52634 2012-04-16  Marek Polacek  <polacek@redhat.com>
52636         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52638 2012-04-16  Marek Polacek  <polacek@redhat.com>
52640         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52641         operands of fdivp instruction.
52643 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52645         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52646         * elf/tst-auditmod3b.c: Likewise.
52647         * elf/tst-auditmod4b.c: Likewise.
52648         * elf/tst-auditmod5b.c: Likewise.
52649         * elf/tst-auditmod6b.c: Likewise.
52650         * elf/tst-auditmod6c.c: Likewise.
52651         * elf/tst-auditmod7b.c: Likewise.
52652         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52653         * sysdeps/x86_64/preconfigure.in: Likewise.
52654         * sysdeps/x86_64/preconfigure: Regenerated.
52656 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52658         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52659         __ILP32__.
52661 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52663         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52664         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52666 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52668         [BZ #13973]
52669         * locale/iso-639.def: Fix gl language name. Spotted by
52670         Yaron Shahrabani.
52672 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52674         [BZ #2074]
52675         * libio/libio.h (__io_write_fn): Update comment.
52677 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52679         [BZ #2074]
52680         * stdio.texi (Hook Functions): The user provided writer function
52681         is not allowed to return -1.
52683 2012-04-11  David S. Miller  <davem@davemloft.net>
52685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52687 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52689         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52690         Add a leading slash to rtkaio.
52692 2012-04-11  Jim Meyering  <meyering@redhat.com>
52694         [BZ #11959]
52695         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52696         It is not necessarily an error to ignore fwrite's return
52697         value.  One can reliably use ferror to test for errors after
52698         the fact.
52700 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52702         * bits/types.h (__snseconds_t): New type.
52703         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52705         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52706         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52707         (__SNSECONDS_T_TYPE): Likewise.
52708         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52709         (__SNSECONDS_T_TYPE): Likewise.
52710         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52711         (__SNSECONDS_T_TYPE): Likewise.
52713 2012-04-10  Andreas Jaeger  <aj@suse.de>
52715         [BZ #2636]
52716         * manual/time.texi (Processor Time): Return type of times is
52717         elapsed real time since an arbitrary point in the past.
52718         (CPU Time): Move CLK_TCK from here...
52719         (Processor Time): ...to here.  Correct description.
52720         * manual/conf.texi (Constants for Sysconf): Correct description of
52721         _SC_CLK_TCK.
52723 2012-04-10  David S. Miller  <davem@davemloft.net>
52725         [BZ #13967]
52726         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52727         where the is a gap between DT_REL(A) and DT_JMPREL.
52729 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52731         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52732         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52733         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52735 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52737         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52738         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52739         (dl_main): Handle --inhibit-cache.
52740         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52741         _dl_inhibit_cache.
52742         * elf/dl-load.c (_dl_map_object): Use it.
52743         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52745 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52747         [BZ #13872]
52748         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52749         (__ieee754_powl): Saturate large exponents rather than testing for
52750         overflow of y*log2(x).
52751         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52752         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52753         exceptions.
52755         [BZ #11521]
52756         * math/s_ctan.c: Include <float.h>.
52757         (__ctan): Avoid internal overflow or cancellation in calculating
52758         denominator.
52759         * math/s_ctanf.c: Likewise.
52760         * math/s_ctanl.c: Likewise.
52761         * math/s_ctanh.c: Likewise.
52762         * math/s_ctanhf.c: Likewise.
52763         * math/s_ctanhl.c: Likewise.
52764         * math/libm-test.inc (ctan_test): Add more tests.
52765         (ctanh_test): Likewise.
52766         * sysdeps/i386/fpu/libm-test-ulps: Update.
52767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52769 2012-04-09  Andreas Jaeger  <aj@suse.de>
52771         [BZ #6894]
52772         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52773         is an optional BSD extension.
52775         [BZ #10254]
52776         * manual/stdio.texi (Opening Streams): Document additional fopen
52777         parameters.
52779 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52781         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52782         %eax without telling the compiler.
52784 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52786         [BZ # 13963]
52787         * manual/install.texi: Use sourceware.org.
52789 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52791         [BZ #13873]
52792         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52793         (__ieee754_pow): Generate overflow and underflow using huge*huge
52794         and tiny*tiny rather than just returning constant infinity or zero
52795         for large exponents.
52796         * math/libm-test.inc (pow_test): Require overflow exceptions for
52797         applicable cases of large exponents.
52799         [BZ #706]
52800         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52801         (__ieee754_pow): Use iterative multiplication algorithm only for
52802         integer exponents with absolute value below 1024.  Check for odd
52803         integer exponents when using algorithm for real exponents.
52804         * math/libm-test.inc (pow_test): Add more tests.
52805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52807 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52809         [BZ #13705]
52810         * math/libm-test.inc (exp_test): Do not allow overflow exception
52811         on underflow test.
52813 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52815         [BZ #13705]
52816         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52817         instead of __kernel_standard_f.
52819 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52821         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52822         * sysdeps/x86_64/memset_chk.S: Likewise.
52824 2012-04-08  Andreas Jaeger  <aj@suse.de>
52826         [BZ #10153]
52827         * manual/startup.texi (Environment Access): Describe return value
52828         for putenv and setenv.
52830         [BZ #6895]
52831         * manual/filesys.texi (Directory Entries): Add description for
52832         DT_LNK.
52834         [BZ #6890]
52835         * manual/filesys.texi (Directory Entries): Clarify that it's file
52836         system not operating system in the description of DT_UNKNOWN.
52838         [BZ #6578]
52839         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52841 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52843         [BZ #6649]
52844         * manual/llio.texi (Opening and Closing Files): Add cross
52845         reference to explain mode argument.
52847 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52849         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52850         * sysdeps/x86_64/memset_chk.S: Likewise.
52852 2012-04-07  David S. Miller  <davem@davemloft.net>
52854         * elf/elf.h (R_SPARC_WDISP10): Define.
52855         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52856         R_SPARC_SIZE32.
52857         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52858         R_SPARC_SIZE64 and R_SPARC_H34.
52860 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52862         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52863         conditions and remove no longer applicable assertion.
52865 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52867         * bits/byteswap.h: Include <features.h>.
52868         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52869         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52871 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52873         * bits/byteswap.h (__bswap_16): Removed.
52874         Include <bits/byteswap-16.h> to get __bswap_16.
52875         * sysdeps/i386/bits/byteswap.h: Likewise.
52876         * sysdeps/s390/bits/byteswap.h: Likewise.
52877         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52878         * bits/byteswap-16.h: New file.
52879         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52880         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52881         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52882         * string/Makefile (headers): Add bits/byteswap-16.h.
52884 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52886         [BZ #13895]
52887         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52888         extra indirection.
52889         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52890         * nss/tst-nss-static.c: New.
52892 2012-04-06  Robert Millan  <rmh@gnu.org>
52894         [BZ #6486]
52895         * manual/llio.texi (File Position Primitive): lseek
52896         refers to WHENCE when it really means OFFSET.
52898 2012-04-06  Andreas Jaeger  <aj@suse.de>
52900         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52901         strncmp declarations.
52903         * abilist/libc.abilist: Add __poll and __ppoll.
52905 2012-04-05  David S. Miller  <davem@davemloft.net>
52907         * scripts/check-local-headers.sh: Accept a host triplet in the
52908         path matched by the exclude regexp.
52910         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52911         definition.
52912         * sysdeps/powerpc/powerpc32/dl-machine.h
52913         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52914         * sysdeps/s390/s390-32/dl-machine.h
52915         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52916         * sysdeps/sparc/sparc32/dl-machine.h
52917         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52918         * sysdeps/sparc/sparc64/dl-machine.h
52919         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52921         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52922         lazy binding.
52923         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52924         undefined symbol errors.
52926         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52927         DT_NEEDED entries.
52929 2012-04-05  Michael Matz  <matz@suse.de>
52931         [BZ #13592]
52932         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52934 2012-04-05  Andreas Jaeger  <aj@suse.de>
52936         [BZ #13908]
52937         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52938         comment.
52940 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52942         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52943         which ROUND is no valid rounding mode.
52945 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52947         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52948         read again.
52949         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52951 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52953         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52954         an exception using FPU order intentionally.
52956 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52958         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52959         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52960         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52961         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52963 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52965         [BZ #12340]
52966         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52967         EINVAL when BUFLEN is too smal.
52969 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52971         [BZ #13553]
52972         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52973         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52975 2012-04-03  Andreas Jaeger  <aj@suse.de>
52977         [BZ #13938]
52978         * manual/setjmp.texi (System V contexts): Fix sentence.
52980         [BZ #13926]
52981         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52982         New macro for this case.
52983         [!__GNUC__] (__bswap_64): New inline function for this case.
52984         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52985         * bits/byteswap.h: Likewise.
52986         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52987         ull, guard with __GLIBC_HAVE_LONG_LONG.
52989         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52990         __GLIBC_HAVE_LONG_LONG.
52992         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52993         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52995 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52997         [BZ #13691]
52998         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52999         inptr and inend, rather than using last_ch.
53001 2012-04-02  David S. Miller  <davem@davemloft.net>
53003         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53004         * stdio-common/printf-parse.h (read_int): Change return type to
53005         'int', return -1 on INT_MAX overflow.
53006         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53007         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53008         overflows INT_MAX.  Check for overflow of in-format-string precision
53009         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53010         SIZE_MAX not INT_MAX for integer overflow test.
53011         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53012         skip the construct in the format string but do not record anything.
53013         * stdio-common/bug22.c: Adjust to test both width/prevision
53014         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53015         explicitly for proper errno values.
53017 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53019         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53020         CHAR_MAX.
53021         * string/test-strcmp.c [! WIDE]: Likewise.
53022         * time/tst-mktime2.c: Likewise for INT_MAX.
53023         * string/test-string.h: #include <sys/param.h> for MIN.
53025         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53026         * sysdeps/i386/init-first.c (init): Likewise.
53027         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53028         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53029         * sysdeps/sh/init-first.c (init): Likewise.
53031 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53033         * po/ru.po: Update from translation team.
53034         * po/vi.po: Likewise.
53036 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53038         * resolv/nss_dns/dns-host.c: Merge copyright years.
53040 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53042         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53043         Optimize memcpy with prefetch if
53044         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53045         src, dst pointers have unequal 16 byte alignments.
53047 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53049         [BZ #13928]
53050         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53051         from a CNAME entry and return the minimum ttl for the query.
53052         (gaih_getanswer_slice): Likewise.
53054 2012-03-30  Jeff Law  <law@redhat.com>
53056         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53057         due to long keys.
53058         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53059         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53061         * resolv/nss_dns/dns-host.c: Update copyright year.
53063 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53065         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53066         requests to save a system call.  Fix check that all bytes are sent.
53068         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53069         comments for sendmmsg.
53071 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53073         [BZ #13691]
53074         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53075         with only 1 character between 0x0041 and 0x01b0.
53076         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53077         * wcsmbs/tst-mbsnrtowcs.c: New file.
53079 2012-03-29  David S. Miller  <davem@davemloft.net>
53081         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53082         small copies by hand.
53084 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53086         [BZ #13761]
53087         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53088         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53089         group memberships.
53091 2012-03-28  David S. Miller  <davem@davemloft.net>
53093         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53094         that branches into memcpy.
53095         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53096         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53097         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53098         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53099         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53100         bits.
53101         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53102         implementation too.
53103         * sysdeps/sparc/mempcpy.S: New file.
53105         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53106         the IFUNC routine in the libc case.
53107         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53109         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53110         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53111         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53112         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53113         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53114         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53115         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53116         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53118         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53119         loop to 256 bytes instead of 64 bytes and fix test signedness.
53121         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53122         * sysdeps/sparc/sparc32/Makefile: rather than here...
53123         * sysdeps/sparc/sparc64/Makefile: and here.
53125 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53127         * malloc/mallocbug.c: Avoid warnings about unused variables.
53129 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53131         [BZ #13760]
53132         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53133         in the right place. Discard and retry query if response is
53134         larger than input buffer size.
53136 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53138         [BZ #369]
53139         [BZ #2678]
53140         [BZ #3866]
53141         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53142         x for large integer exponent.
53143         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53144         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53145         sign of result as needed afterwards.
53146         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53147         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53148         result for underflowing pow the same as for overflow.
53149         (__kernel_standard_l): Handle powl overflow and underflow here
53150         rather than calling __kernel_standard.
53151         * math/libm-test.inc (pow_test): Add more tests.
53153         [BZ #3868]
53154         [BZ #13879]
53155         [BZ #13910]
53156         [BZ #13911]
53157         [BZ #13912]
53158         [BZ #13913]
53159         [BZ #13915]
53160         [BZ #13916]
53161         [BZ #13917]
53162         [BZ #13918]
53163         [BZ #13919]
53164         [BZ #13920]
53165         [BZ #13921]
53166         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53167         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53168         (__kernel_standard_l): New function.
53169         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53170         __kernel_standard.
53171         * math/w_acosl.c (__acosl): Likewise.
53172         * math/w_asinl.c (__asinl): Likewise.
53173         * math/w_atan2l.c (__atan2l): Likewise.
53174         * math/w_atanhl.c (__atanhl): Likewise.
53175         * math/w_coshl.c (__coshl): Likewise.
53176         * math/w_exp10l.c (__exp10l): Likewise.
53177         * math/w_exp2l.c (__exp2l): Likewise.
53178         * math/w_fmodl.c (__fmodl): Likewise.
53179         * math/w_hypotl.c (__hypotl): Likewise.
53180         * math/w_j0l.c (__j0l, __y0l): Likewise.
53181         * math/w_j1l.c (__j1l, __y1l): Likewise.
53182         * math/w_jnl.c (__jnl, __ynl): Likewise.
53183         * math/w_lgammal.c (__lgammal): Likewise.
53184         * math/w_log10l.c (__log10l): Likewise.
53185         * math/w_log2l.c (__log2l): Likewise.
53186         * math/w_logl.c (__logl): Likewise.
53187         * math/w_powl.c (__powl): Likewise.
53188         * math/w_remainderl.c (__remainderl): Likewise.
53189         * math/w_scalbl.c (sysv_scalbl): Likewise.
53190         * math/w_sinhl.c (__sinhl): Likewise.
53191         * math/w_sqrtl.c (__sqrtl): Likewise.
53192         * math/w_tgammal.c (__tgammal): Likewise.
53193         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53194         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53195         * math/libm-test.inc (acos_test): Add more tests.
53196         (acosh_test): Likewise.
53197         (asin_test): Likewise.
53198         (atanh_test): Likewise.
53199         (exp_test): Likewise.
53200         (exp10_test): Likewise.
53201         (exp2_test): Likewise.
53202         (expm1_test): Likewise.
53203         (lgamma_test): Likewise.
53204         (log_test): Likewise.
53205         (log10_test): Likewise.
53206         (log1p_test): Likewise.
53207         (log2_test): Likewise.
53208         (pow_test): Do not allow some spurious overflow exceptions.
53209         (sqrt_test): Add more tests.
53210         (tgamma_test): Likewise.
53211         (y0_test): Likewise.
53212         (y1_test): Likewise.
53213         (yn_test): Likewise.
53215 2012-03-27  Anton Blanchard  <anton@samba.org>
53217         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53218         MAP_HUGETLB.
53219         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53220         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53221         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53223 2012-03-27  David S. Miller  <davem@davemloft.net>
53225         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53227         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53228         have-as-vis3 check.
53230 2012-03-27  Andreas Jaeger  <aj@suse.de>
53232         * sysdeps/x86_64/elf/configure.in: Moved to ...
53233         * sysdeps/x86_64/configure.in: ... here.
53234         * sysdeps/x86_64/elf/start.S: Moved to ...
53235         * sysdeps/x86_64/start.S: ... here.
53236         * sysdeps/x86_64/elf/configure: Delete.
53238         * sysdeps/x86_64/configure.in: Merge contents from
53239         sysdeps/i386/configure.in (without i686 check).
53241         * sysdeps/i386/elf/Versions: Merge into ...
53242         * sysdeps/i386/Versions: ... this.
53243         * sysdeps/i386/elf/Versions: Delete file.
53244         * sysdeps/i386/elf/start.S: Moved to ...
53245         * sysdeps/i386/start.S: ...here.
53246         * sysdeps/i386/elf/configure.in: Merge into...
53247         * sysdeps/i386/configure.in: ...here.
53248         * sysdeps/i386/elf/configure.in: Delete file.
53249         * sysdeps/i386/elf/configure: Delete file.
53251         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53252         * debug/backtracesyms.c: ... here.
53253         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53254         * debug/backtracesymsfd.c: ... here.
53255         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53256         * sysdeps/generic/ifunc-sel.h: ... here.
53258         * sysdeps/unix/i386/start.c: Delete file.
53259         * sysdeps/unix/sparc/start.c: Delete file.
53260         * sysdeps/unix/start.c: Delete file.
53262         * sysdeps/sh/elf/configure.in: Moved to ...
53263         * sysdeps/sh/configure.in: ... here.
53264         * sysdeps/sh/elf/start.S: Moved to ...
53265         * sysdeps/sh/start.S: ... here.
53266         * sysdeps/sh/elf/configure: Delete file.
53268         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53269         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53270         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53271         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53272         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53273         * sysdeps/powerpc/powerpc64/start.S: here.
53274         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53275         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53276         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53277         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53278         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53280         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53281         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53282         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53283         * sysdeps/powerpc/powerpc32/start.S: ... here.
53284         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53285         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53286         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53288         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53289         * sysdeps/powerpc/ifunc-sel.h: ... here.
53290         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53291         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53293         * sysdeps/sparc/elf/configure.in: Moved to ...
53294         * sysdeps/sparc/configure.in: ... here.
53295         * sysdeps/sparc/elf/configure: Delete file.
53296         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53297         * sysdeps/sparc/sparc32/start.S: ... here.
53298         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53299         * sysdeps/sparc/sparc64/start.S: ... here.
53300         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53301         * sysdeps/sparc/sparc32/Makefile: ... this.
53302         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53303         * sysdeps/sparc/sparc64/Makefile: ... this.
53305         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53306         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53307         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53308         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53309         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53310         * sysdeps/s390/s390-32/setjmp.S: ... here.
53311         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53312         * sysdeps/s390/s390-32/configure.in: ... here.
53313         * sysdeps/s390/s390-32/elf/configure: Delete file.
53314         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53315         * sysdeps/s390/s390-32/start.S: ... here.
53317         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53318         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53319         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53320         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53321         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53322         * sysdeps/s390/s390-64/setjmp.S: ... here.
53323         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53324         * sysdeps/s390/s390-64/configure.in: ... here
53325         * sysdeps/s390/s390-64/elf/configure: Delete file.
53326         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53327         * sysdeps/s390/s390-64/start.S: ... here.
53328         * sysdeps/s390/s390-64/elf/configure: Delete.
53330         * configure.in: Remove support for elf directories in sysdeps.
53332         * configure: Regenerated.
53333         * sysdeps/i386/configure: Regenerated.
53334         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53335         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53336         * sysdeps/s390/s390-32/configure: Regenerated.
53337         * sysdeps/s390/s390-64/configure: Regenerated.
53338         * sysdeps/sh/configure: Regenerated.
53339         * sysdeps/sparc/configure: Regenerated.
53340         * sysdeps/x86_64/configure: Regenerated.
53342 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53346         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53347         denormal result into account.
53349 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53351         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53352         Reported by Allan McRae <allan@archlinux.org>.
53354 2012-03-23  Jeff Law  <law@redhat.com>
53356         * nss/getnssent.c (__nss_getent): Fix typo.
53358 2012-03-23  David S. Miller  <davem@davemloft.net>
53360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53362 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53364         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53365         to pad to uint64_t for each field.
53366         (dl_tls_index): Replace unsigned long with uint64_t.
53368 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53369         Paul Pluzhnikov  <ppluzhnikov@google.com>
53371         [BZ #6528]
53372         * grp/Makefile (otherlibs): Don't set it.
53373         * inet/Makefile (otherlibs): Likewise.
53374         * login/Makefile (otherlibs): Likewise.
53375         * nscd/Makefile (otherlibs): Likewise.
53376         * posix/Makefile (otherlibs): Likewise.
53377         * pwd/Makefile (otherlibs): Likewise.
53378         * rt/Makefile (otherlibs): Likewise.
53379         * sunrpc/Makefile (otherlibs): Likewise.
53380         * nss/Makefile (otherlibs): Likewise.
53381         Add libnss_files to routines and static-only-routines.
53382         ($(objpfx)getent): Remove rule.
53383         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53384         static-only-routines.
53386 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53388         [BZ #13892]
53389         * math/s_cexp.c: Include <float.h>.
53390         (__cexp): Handle exp result overflowing not necessarily
53391         overflowing both real and imaginary parts of result.
53392         * math/s_cexpf.c: Likewise.
53393         * math/s_cexpl.c: Likewise.
53394         * math/libm-test.inc (cexp_test): Add more tests.
53395         * sysdeps/i386/fpu/libm-test-ulps: Update.
53396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53398 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53400         * include/link.h (ELFW): New macro.
53401         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53402         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53404 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53406         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53407         with uint64_t.
53409 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53411         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53412         declaration.
53413         (struct La_x32_retval): Likewise.
53415 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53417         * sysdeps/x86_64/preconfigure.in: New file.
53418         * sysdeps/x86_64/preconfigure: New generated file.
53420 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53422         [BZ #13824]
53423         * math/e_exp2l.c: Include <float.h>.
53424         (__ieee754_exp2l): Handle overflow and underflow cases
53425         separately.  Only pass fractional part of argument to
53426         __ieee754_expl.
53427         * math/libm-test.inc (exp2_test): Add more tests.
53429         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53430         negating x to take absolute value.
53431         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53432         Likewise.
53433         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53434         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53435         Likewise.
53436         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53437         computing low part if x was negated.
53438         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53440 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53442         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53443         la_x32_gnu_pltexit.
53444         (pltexit): Cast int_retval to ptrdiff_t.
53445         * elf/tst-auditmod3b.c: Likewise.
53446         * elf/tst-auditmod4b.c: Likewise.
53447         * elf/tst-auditmod5b.c: Likewise.
53448         * elf/tst-auditmod6b.c: Likewise.
53449         * elf/tst-auditmod6c.c: Likewise.
53450         * elf/tst-auditmod7b.c: Likewise.
53452         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53453         and x32_gnu_pltexit.
53455         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53456         __ELF_NATIVE_CLASS.
53457         (La_x32_regs): New macro.
53458         (La_x32_retval): Likewise.
53459         (la_x32_gnu_pltenter): New function prototype.
53460         (la_x32_gnu_pltexit): Likewise.
53462 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53464         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53465         exponent.
53467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53469         * configure.in (libc_cv_cc_nofma): Check for option to disable
53470         generation of FMA instructions.
53471         * configure: Regenerate.
53472         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53473         * sysdeps/ieee754/dbl-64/Makefile: New file.
53474         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53475         Remove brandred-fma4.
53476         (CFLAGS-brandred-fma4.c): Remove.
53477         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53478         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53479         define.
53480         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53481         define.
53483 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53485         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53486         LLONG_MAX != LONG_MAX.
53487         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53488         (_fitoa_word): Likewise.
53489         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53490         LLONG_MAX != LONG_MAX.
53491         * stdio-common/_itowa.h: Include <_itoa.h>.
53492         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53493         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53494         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53495         only if not defined.
53496         (_ITOA_WORD_TYPE): Likewise.
53497         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53498         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53500 2012-03-21  David S. Miller  <davem@davemloft.net>
53502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53504 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53506         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53507         of x86_64 when setting libc_cv_slibdir, libdir and
53508         libc_cv_localedir.
53509         * sysdeps/unix/sysv/linux/configure: Regenerated.
53511 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53513         * manual/lang.texi (Old Varargs): Remove section.
53514         (How Variadic): Update menu.
53515         (va_start): Do not mention varargs.h.
53517 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53518             Joseph Myers  <joseph@codesourcery.com>
53520         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53521         link test.
53522         * configure: Regenerated.
53524 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53526         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53527         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53528         conformtest.pl
53530 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53532         * NOTES: Remove.
53533         * Makefile (files-for-dist): Remove NOTES.
53534         (NOTES): Remove rule.
53535         * README: Don't refer to NOTES.
53536         * manual/creature.texi: Don't include macros.texi.
53537         * manual/intro.texi (creature.texi): Remove comment referring to
53538         NOTES.
53540         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53541         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53542         * configure: Regenerated.
53543         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53544         LIBC_TRY_CC_OPTION.
53545         (libc_cv_as_i686): Likewise.
53546         (libc_cv_cc_avx): Likewise.
53547         (libc_cv_cc_sse2avx): Likewise.
53548         (libc_cv_cc_fma4): Likewise.
53549         (libc_cv_cc_novzeroupper): Likewise.
53550         * sysdeps/i386/configure: Regenerated.
53552         [BZ #13883]
53553         * sysdeps/i386/fpu/s_cexp.S: Remove.
53554         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53555         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53556         * math/libm-test.inc (cexp_test): Add more tests.
53557         * sysdeps/i386/fpu/libm-test-ulps: Update.
53558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53560 2012-03-21  Allan McRae  <allan@archlinux.org>
53562         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53564 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53566         [BZ #13871]
53567         * math/w_exp2.c: Do not include <float.h>.
53568         (o_threshold, u_threshold): Remove.
53569         (__exp2): Calculate result before checking finiteness and calling
53570         __kernel_standard.
53571         * math/w_exp2f.c: Likewise.
53572         * math/w_exp2l.c: Likewise.
53573         * math/libm-test.inc (exp2_test): Require overflow exception for
53574         1e6 input.
53576         [BZ #3866]
53577         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53578         range of signed 64-bit integers before using fistpll.  Remove
53579         checks for whether integers fit in mantissa bits.
53580         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53581         the range of signed 32-bit integers before using fistpl.  Remove
53582         checks for whether integers fit in mantissa bits.
53583         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53584         (__ieee754_powl): Test for y outside the range of signed 64-bit
53585         integers before using fistpll.  Reduce 64-bit values to 63-bit
53586         ones as needed.
53587         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53588         divide-by-zero is raised for zero to large negative powers.
53589         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53590         (__ieee754_powl): Test for y outside the range of signed 64-bit
53591         integers before using fistpll.  Reduce 64-bit values to 63-bit
53592         ones as needed.
53593         * math/libm-test.inc (pow_test): Add more tests.
53595 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53597         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53598         <stdio-common/_itoa.h>.
53599         * debug/segfault.c: Likewise.
53600         * elf/dl-cache.c: Likewise.
53601         * elf/dl-minimal.c: Likewise.
53602         * elf/dl-misc.c: Likewise.
53603         * elf/dl-sysdep.c: Likewise.
53604         * elf/dl-version.c: Likewise.
53605         * elf/rtld.c: Likewise.
53606         * hurd/hurdsock.c: Likewise.
53607         * hurd/lookup-retry.c: Likewise.
53608         * malloc/malloc.c: Likewise.
53609         * malloc/mtrace.c: Likewise.
53610         * nscd/nscd_getgr_r.c: Likewise.
53611         * nscd/nscd_getpw_r.c: Likewise.
53612         * nscd/nscd_getserv_r.c: Likewise.
53613         * posix/getopt_init.c: Likewise.
53614         * posix/wordexp.c: Likewise.
53615         * stdio-common/_itoa.c: Likewise.
53616         * stdio-common/printf_fphex.c: Likewise.
53617         * stdio-common/vfprintf.c: Likewise.
53618         * string/_strerror.c: Likewise.
53619         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53620         * sysdeps/i386/i686/hp-timing.h: Likewise.
53621         * sysdeps/mach/_strerror.c: Likewise.
53622         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53623         * sysdeps/mach/hurd/sethostid.c: Likewise.
53624         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53625         * sysdeps/mach/xpg-strerror.c: Likewise.
53626         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53627         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53628         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53629         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53630         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53631         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53632         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53633         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53634         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53635         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53636         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53637         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53638         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53639         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53640         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53641         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53642         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53643         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53644         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53645         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53646         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53648         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53650         * stdio-common/_itoa.h: Moved to ...
53651         * sysdeps/generic/_itoa.h: Here.
53653         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53655         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53656         instead of "_itoa.h" and "_itowa.h".
53657         * stdio-common/vfprintf.: Likewise.
53659 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53661         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53662         <bits/wordsize.h>.
53663         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53664         (__signbit): Likwise.
53665         (llrintf): Likwise.
53666         (llrint): Likwise.
53668 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53670         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53671         __WORDSIZE != 64.
53673 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53675         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53676         OVERFLOW_EXCEPTION_OK.
53677         * math/libm-test.inc ("Philosophy"): Update comment about
53678         exception testing.
53679         (OVERFLOW_EXCEPTION): Define.
53680         (OVERFLOW_EXCEPTION_OK): Likewise.
53681         (INVALID_EXCEPTION_OK): Renumber.
53682         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53683         (IGNORE_ZERO_INF_SIGN): Likewise.
53684         (test_exceptions): Handle FE_OVERFLOW.
53685         (exp10_test): Expect overflow exceptions.
53686         (exp2_test): Likewise.
53687         (expm1_test): Likewise.
53688         (nextafter_test): Likewise.
53689         (pow_test): Likewise.
53690         (scalbn_test): Likewise.
53691         (scalbln_test): Likewise.
53693 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53695         * sysdeps/x86_64/bits/atomic.h
53696         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53697         64bit integer.
53698         (atomic_exchange_acq): Likewise.
53699         (__arch_exchange_and_add_body): Likewise.
53700         (__arch_add_body): Likewise.
53701         (atomic_add_negative): Likewise.
53702         (atomic_add_zero): Likewise.
53704 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53706         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53707         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53709 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53711         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53712         Check __x86_64__ instead of __WORDSIZE.
53714 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53716         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53718 2012-03-19  David S. Miller  <davem@davemloft.net>
53720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53722         * sysdeps/sparc/fpu/fenv_private.h: New file.
53723         * sysdeps/sparc/fpu/math_private.h: Use it.
53724         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53725         Remove.
53726         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53727         (libc_feholdexcept_setroundl): Remove.
53728         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53729         Remove.
53730         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53731         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53733 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53735         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53736         int64_t instead of long int.
53737         (INSERT_WORDS64): Likwise.
53739 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53741         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53742         _Unwind_GetCFA return to _Unwind_Ptr first.
53744 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53746         [BZ #13629]
53747         * math/s_clog.c: Include <float.h>.
53748         (__clog): Scale large or subnormal inputs.
53749         * math/s_clogf.c: Likewise.
53750         * math/s_clogl.c: Likewise.
53751         * math/s_clog10.c: Include <float.h>.
53752         (M_LOG10_2): Define.
53753         (__clog10): Scale large or subnormal inputs.
53754         * math/s_clog10f.c: Likewise.
53755         * math/s_clog10l.c: Likewise.
53756         * math/libm-test.inc (clog_test): Add more tests.
53757         (clog10_test): Likewise.
53758         * sysdeps/i386/fpu/libm-test-ulps: Update.
53759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53761         [BZ #11451]
53762         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53763         x and y.
53764         * math/libm-test.inc (atan2_test): Add another test.
53766         * Makerules (common-objdir-compile): Remove.
53767         * sysdeps/unix/Makefile (config-generated): Do not add
53768         $(unix-generated) to variable.
53769         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53770         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53771         Remove rule.
53772         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53773         Likewise.
53774         [generic bits/local_lim.h] (before-compile): Do not append to
53775         variable.
53776         [generic bits/local_lim.h] (common-generated): Likewise.
53777         [generic sys/param.h] (before-compile): Do not append to variable.
53778         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53779         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53780         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53781         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53782         include.
53783         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53784         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53785         [generic sys/param.h] ($(addprefix
53786         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53787         [generic sys/param.h] (common-generated): Do not append to
53788         variable.
53789         [generic sys/param.h] (sysdep_headers): Likewise.
53790         [generic bits/errno.h] (before-compile): Do not append to
53791         variable.
53792         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53793         rule.
53794         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53795         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53796         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53797         [generic bits/errno.h] (common-generated): Do not append to
53798         variable.
53799         [generic bits/ioctls.h] (before-compile): Do not append to
53800         variable.
53801         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53802         rule.
53803         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53804         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53805         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53806         rule.
53807         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53808         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53809         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53810         [generic bits/ioctls.h] (common-generated): Do not append to
53811         variable.
53812         [generic sys/syscall.h] (syscall.h): Remove variable.
53813         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53814         rule.
53815         [generic sys/syscall.h] (before-compile): Do not append to
53816         variable.
53817         [generic sys/syscall.h] (common-generated): Likewise.
53818         * sysdeps/unix/errnos-tmpl.c: Remove file.
53819         * sysdeps/unix/errnos.awk: Likewise.
53820         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53821         * sysdeps/unix/ioctls.awk: Likewise.
53822         * sysdeps/unix/mk-local_lim.c: Likewise.
53823         * sysdeps/unix/snarf-ioctls: Likewise.
53825 2012-03-19  Richard Henderson  <rth@twiddle.net>
53827         * sysdeps/i386/fpu/fenv_private.h: New file.
53828         * sysdeps/i386/fpu/math_private.h: Use it.
53829         (math_opt_barrier, math_force_eval): Remove.
53830         (libc_feholdexcept_setround_53bit): Remove.
53831         (libc_feupdateenv_53bit): Remove.
53832         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53833         (math_opt_barrier, math_force_eval): Remove.
53834         (libc_feholdexcept): Remove.
53835         (libc_feholdexcept_setround): Remove.
53836         (libc_fetestexcept, libc_fesetenv): Remove.
53837         (libc_feupdateenv_test): Remove.
53838         (libc_feupdateenv, libc_feholdsetround): Remove.
53839         (libc_feresetround): Remove.
53841         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53842         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53844         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53845         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53846         (libc_feupdateenv_testl): New.
53847         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53848         (libc_feupdateenv_testf): New.
53849         (libc_feupdateenv): Use libc_feupdateenv_test.
53850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53851         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53853         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53854         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53855         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53856         (libc_feresetround_noex): New.
53857         (libc_feresetround_noexf): New.
53858         (libc_feresetround_noexl): New.
53859         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53860         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53861         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53862         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53863         SET_RESTORE_ROUND.
53864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53865         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53866         (__cos): Likewise.
53867         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53868         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53869         SET_RESTORE_ROUND_NOEX.
53870         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53871         SET_RESTORE_ROUND_NOEXF.
53872         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53873         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53874         (libc_feholdsetroundf): New.
53875         (libc_feresetround, libc_feresetroundf): New.
53877         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53878         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53879         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53881         * sysdeps/generic/math_private.h: Include <fenv.h>.
53882         (default_libc_feholdexcept): New.
53883         (default_libc_feholdexcept_setround): New.
53884         (default_libc_fesetenv, default_libc_feupdateenv): New.
53885         (libc_feholdexcept): Only define if undefined.
53886         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53887         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53888         (libc_feholdexcept_setroundl): Likewise.
53889         (libc_feholdexcept_setround_53bit): Likewise.
53890         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53891         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53892         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53893         (libc_feupdateenv_53bit): Likewise.
53894         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53895         (libc_feholdexcept): Convert from macro to inline function.
53896         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53897         (libc_fesetenv, libc_feupdateenv): Likewise.
53899         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53900         not previously defined.
53901         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53902         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53903         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53904         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53905         * sysdeps/ieee754/flt-32/math_private.h: New file.
53906         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53907         math_private.h below SET_FLOAT_WORD.
53908         (__isnan, __isinf_ns, __finite): Remove.
53909         (__isnanf, __isinf_nsf, __finitef): Remove.
53911 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53915 2012-03-17  David S. Miller  <davem@davemloft.net>
53917         [BZ #6471]
53918         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53919         for 2.16.
53921 2012-03-16  David S. Miller  <davem@davemloft.net>
53923         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53924         warnings.
53926         [BZ #6471]
53927         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53928         properly.
53929         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53930         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53931         sysdep_routines when subdir is sysvipc.
53932         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53933         __getshmlba helper.
53935         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53937 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53939         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53940         [__LP64__].
53942 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53944         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53945         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53946         (__lround): Renamed to ...
53947         (__llround): This.  Replace long int with long long int.
53948         Define lround functions as aliases of llround functions.
53949         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53951 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53953         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53954         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53955         adresses to uintptr_t.  Replace "long int" and "unsigned long
53956         int" with "greg_t" on va_arg.
53958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53960         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53961         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53963         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53964         Move e_machine check before EI_CLASS check.  Handle x32
53965         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53966         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53967         SKIP_EM_IA_64 and include
53968         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53970         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53971         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53972         (add_system_dir): New macro.
53974         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53975         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53977 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53979         [BZ #2551]
53980         [BZ #2552]
53981         [BZ #2553]
53982         [BZ #2554]
53983         [BZ #2562]
53984         [BZ #2563]
53985         [BZ #2565]
53986         [BZ #2566]
53987         [BZ #2576]
53988         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53989         (y0): Likewise.
53990         * math/w_j0f.c (j0f): Likewise.
53991         (y0f): Likewise.
53992         * math/w_j0l.c (__j0l): Likewise.
53993         (__y0l): Likewise.
53994         * math/w_j1.c (j1): Likewise.
53995         (y1): Likewise.
53996         * math/w_j1f.c (j1f): Likewise.
53997         (y1f): Likewise.
53998         * math/w_j1l.c (__j1l): Likewise.
53999         (__y1l): Likewise.
54000         * math/w_jn.c (jn): Likewise.
54001         (yn): Likewise.
54002         * math/w_jnf.c (jnf): Likewise.
54003         (ynf): Likewise.
54004         * math/w_jnl.c (__jnl): Likewise.
54005         (__ynl): Likewise.
54006         * math/libm-test.inc (j0_test): Add more tests.
54007         (j1_test): Likewise.
54008         (jn_test): Likewise.  Add trailing semicolon to existing test.
54009         (y0_test): Likewise.
54010         (y1_test): Likewise.
54011         * sysdeps/i386/fpu/libm-test-ulps: Update.
54012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54014         [BZ #13851]
54015         [BZ #13854]
54016         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54017         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54018         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54019         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54020         (__tanl): Set errno for infinite argument.
54021         * sysdeps/i386/fpu/mptan.c: Remove.
54022         * sysdeps/i386/fpu/s_tan.S: Likewise.
54023         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54024         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54025         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54026         * math/libm-test.inc (tan_test): Add more tests and enable more
54027         tests for double and long double.
54028         * sysdeps/i386/fpu/libm-test-ulps: Update.
54029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54031 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54033         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54034         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54036 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54038         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54039         * configure.in: Use it for both main tree and add-ons.
54040         * configure: Regenerated.
54042 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54044         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54046 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54048         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54049         in comment.
54051         [BZ #13851]
54052         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54053         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54054         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54055         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54056         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54057         infinite argument.
54058         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54059         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54060         != 0 for prec == 2.
54061         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54062         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54063         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54064         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54065         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54066         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54067         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54068         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54069         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54070         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54071         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54072         * math/libm-test.inc (cos_test): Add more tests and enable more
54073         tests for long double.
54074         (sin_test): Likewise.
54075         (sincos_test): Likewise.
54076         * sysdeps/i386/fpu/libm-test-ulps: Update.
54077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54079 2012-03-16  David S. Miller  <davem@davemloft.net>
54081         * sysdeps/sparc/fpu/math_private.h: New file.
54083 2012-03-15  David S. Miller  <davem@davemloft.net>
54085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54086         file.
54087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54089         file.
54090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54094         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54095         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54096         sysdep routines.
54097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54099         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54100         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54102         * sysdeps/sparc/sparc-ifunc.h: New file.
54103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54104         sparc-ifunc.h
54105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54107         Likewise.
54108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54109         Likewise.
54110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54114         Likewise.
54115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54120         Likewise.
54121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54122         Likewise.
54123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54129         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54130         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54135         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54136         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54137         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54138         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54139         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54140         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54141         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54142         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54143         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54144         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54145         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54146         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54148 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54150         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54151         scaling.
54152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54154 2012-03-15  Andreas Jaeger  <aj@suse.de>
54156         [BZ #13852]
54157         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54158         ieee754/flt-32 implementation for sin, cos and sincos.
54159         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54160         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54161         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54162         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54163         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54164         ieee754/flt-32 implementation for tan.
54166         * math/libm-test.inc (cos_test): Enable some large input tests for
54167         float as well
54168         (sin_test): Likewise.
54169         (sincos_test): Likewise.
54170         (tan_test): Add tests for large input.
54172         * sysdeps/i386/fpu/libm-test-ulps: Update.
54174 2012-03-15  Andreas Jaeger  <aj@suse.de>
54176         [BZ #13658]
54177         * math/libm-test.inc (cos_test): Add more test cases.
54178         (sin_test): Likewise.
54179         (sincos_test): Likewise.
54181 2012-03-15  Andreas Jaeger  <aj@suse.de>
54183         [BZ #13837]
54184         * math/libm-test.inc (cos_test): Add a test case for large input
54185         value.
54186         (sin_test): Likewise.
54187         (sincos_test): Likewise.
54189 2012-03-15  Andreas Jaeger  <aj@suse.de>
54190             Joseph Myers  <joseph@codesourcery.com>
54192         [BZ #13658]
54193         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54194         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54195         * sysdeps/i386/fpu/branred.c: Likewise.
54196         * sysdeps/i386/fpu/dosincos.c: Likewise.
54197         * sysdeps/i386/fpu/mpa.c: Likewise.
54198         * sysdeps/i386/fpu/s_cos.S: Likewise.
54199         * sysdeps/i386/fpu/s_sin.S: Likewise.
54200         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54201         * sysdeps/i386/fpu/sincos32.c: Likewise.
54203         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54204         Define.
54205         (libc_feupdateenv_53bit): Define.
54206         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54207         Define.
54208         (libc_feupdateenv_53bit): Define.
54210         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54211         53 bit (without extend i386 double precision).
54213         * math/libm-test.inc (sincos_test): Add tests for large input.
54214         (sin): Likewise.
54215         (cos): Likewise.
54217         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54219 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54223 2012-03-15  David S. Miller  <davem@davemloft.net>
54225         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54226         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54227         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54228         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54236         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54237         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54238         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54239         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54241         file.
54242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54244         file.
54245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54247         file.
54248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54250         file.
54251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54252         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54253         fmin/fmax sysdep routines.
54254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54256 2012-03-14  David S. Miller  <davem@davemloft.net>
54258         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54259         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54261         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54262         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54263         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54264         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54265         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54266         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54272         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54273         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54274         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54275         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54276         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54278         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54279         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54280         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54281         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54282         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54283         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54284         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54285         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54286         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54287         routines.
54288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54289         file.
54290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54292         file.
54293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54295         file.
54296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54298         file.
54299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54301         file.
54302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54304         file.
54305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54306         file.
54307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54308         file.
54309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54310         file.
54311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54312         New file.
54313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54314         file.
54315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54316         file.
54317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54319         file.
54320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54322         file.
54323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54325         file.
54326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54328         VIS3 routines.
54330         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54331         New file.
54333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54335         * sysdeps/sparc/configure.in: New file.
54336         * sysdeps/sparc/configure: Generate.
54337         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54338         * configure: Regenerate.
54339         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54340         * config.make.in (have-as-vis3): New.
54341         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54342         available use -Av9d instead of -Av9a.
54343         * sysdeps/sparc/sparc64/Makefile: Likewise.
54344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54346         New file.
54347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54348         file.
54349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54350         New file.
54351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54352         file.
54353         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54354         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54355         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54356         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54357         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54359         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54360         fzeros/fnegs to load 0x80000000 into a float register instead of
54361         using the stack.
54362         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54364 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54366         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54367         bits/syscall.h.
54368         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54369         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54370         ($(inst_includedir)/bits/syscall.h): Remove rule.
54371         ($(objpfx)bits/syscall.d): Include instead of
54372         $(objpfx)syscall-list.d.
54373         (generated): Change syscall-list.h and syscall-list.d to
54374         bits/syscall.h and bits/syscall.d.
54376 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54378         [BZ #13846]
54379         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54381 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54383         [BZ #13841]
54384         * math/s_csqrt.c: Include <float.h>.
54385         (__csqrt): Scale large or subnormal inputs.
54386         * math/s_csqrtf.c: Likewise.
54387         * math/s_csqrtl.c: Likewise.
54388         * math/libm-test.inc (csqrt_test): Add more tests.
54389         * sysdeps/i386/fpu/libm-test-ulps: Update.
54390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54392         [BZ #13840]
54393         * math/libm-test.inc (hypot_test): Add more tests.
54395 2012-03-13  David S. Miller  <davem@davemloft.net>
54397         [BZ #13840]
54398         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54399         double-precision for the calculation instead of scaling.
54401 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54403         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54404         manipulate bits before adding and subtracting TWO52[sx].
54405         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54406         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54407         Likewise.
54408         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54410 2012-03-13  David S. Miller  <davem@davemloft.net>
54412         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54413         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54414         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54415         rtld-global-offsets.h
54416         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54418         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54419         large parameters.
54421         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54423         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54424         'err' in the ifdef scope in which it is actually used.
54426         * nss/nss_db/db-init.c: Include string.h
54428 2012-03-12  David S. Miller  <davem@davemloft.net>
54430         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54431         masking out of the most significant byte of random value used.
54432         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54433         Fix coding style in previous change.
54435         * sysdeps/unix/sysv/linux/kernel-features.h
54436         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54437         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54438         expression.
54439         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54440         later.
54442 2012-03-11  David S. Miller  <davem@davemloft.net>
54444         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54445         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54446         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54447         for 'resultvar' otherwise things get truncated on 64-bit.
54449         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54450         Fix masking out of the most significant byte of random value used.
54452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54454 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54458 2012-03-09  David S. Miller  <davem@davemloft.net>
54460         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54461         variables with appropriate CPP guards.
54462         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54463         from the frame pointer, not the stack pointer.  Correct layout
54464         comments.  Fix test on resulting framesize and the management of
54465         the outregs buffer for pltexit.  Preserve floating point return
54466         values across _dl_call_pltexit call.
54467         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54468         framesize and the management of the outregs buffer for pltexit.
54469         Preserve floating point return values across _dl_call_pltexit
54470         call.
54471         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54472         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54473         (la_sparc64_gnu_pltexit): New functions.
54474         (print_exit): Fix format string for return register value.
54476 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54478         * sunrpc/Makefile (others): Add rpcgen.
54479         ($(objpfx)rpcgen): Remove special build rule and dependency on
54480         libc.
54481         * sunrpc/rpcgen.c: New file.
54483 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54485         [BZ #13673]
54486         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54487         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54488         * sysdeps/i386/crti.S: Likewise.
54489         * sysdeps/i386/crtn.S: Likewise.
54490         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54491         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54492         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54493         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54494         * sysdeps/sh/crti.S: Likewise.
54495         * sysdeps/sh/crtn.S: Likewise.
54496         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54498         [BZ #13673]
54499         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54500         with URL.
54501         * locale/programs/locfile-kw.gperf: Likewise.
54502         * locale/programs/charmap-kw.h: Regenerated.
54503         * locale/programs/locfile-kw.h: Likewise.
54505         [BZ #13673]
54506         * intl/plural.y: Replace FSF snail mail address with URL.
54507         * intl/plural.c: Regenerated.
54509 2012-03-09  Richard Henderson  <rth@twiddle.net>
54511         * include/math_private.h: Remove file.
54512         * math/math_private.h: Move file ...
54513         * sysdeps/generic/math_private.h: ... here.
54515         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54516         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54517         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54519         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54520         and <math_private.h>.
54521         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54522         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54523         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54524         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54525         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54526         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54527         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54528         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54529         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54530         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54531         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54532         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54533         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54534         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54535         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54536         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54537         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54538         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54539         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54540         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54541         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54542         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54543         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54544         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54545         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54546         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54547         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54548         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54549         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54550         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54551         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54552         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54553         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54554         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54555         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54556         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54557         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54559         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54560         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54561         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54562         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54563         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54564         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54568         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54569         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54570         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54572         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54575         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54576         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54577         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54578         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54579         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54580         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54581         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54582         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54583         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54584         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54585         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54586         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54587         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54588         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54589         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54590         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54591         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54592         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54593         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54594         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54595         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54596         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54597         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54598         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54599         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54600         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54601         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54602         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54603         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54604         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54605         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54606         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54607         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54608         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54609         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54610         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54611         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54612         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54613         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54614         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54615         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54616         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54617         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54618         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54619         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54620         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54621         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54622         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54623         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54624         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54625         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54626         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54627         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54628         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54629         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54630         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54631         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54632         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54633         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54634         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54635         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54636         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54637         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54638         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54639         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54640         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54641         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54642         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54643         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54644         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54645         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54646         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54647         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54648         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54649         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54650         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54651         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54652         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54653         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54654         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54655         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54656         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54657         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54658         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54659         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54660         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54661         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54662         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54663         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54664         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54665         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54666         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54667         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54668         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54669         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54670         * sysdeps/ieee754/k_standard.c: Likewise.
54671         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54672         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54673         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54674         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54675         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54676         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54677         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54678         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54679         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54680         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54681         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54682         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54683         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54684         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54685         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54686         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54687         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54688         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54689         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54690         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54691         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54692         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54693         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54694         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54695         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54696         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54697         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54698         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54699         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54700         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54701         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54702         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54703         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54704         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54705         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54706         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54707         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54708         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54709         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54710         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54711         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54712         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54713         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54714         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54715         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54716         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54717         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54718         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54719         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54720         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54721         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54722         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54723         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54724         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54725         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54726         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54727         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54728         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54729         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54730         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54731         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54732         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54733         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54734         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54735         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54736         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54737         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54738         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54739         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54740         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54741         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54743         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54744         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54745         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54746         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54747         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54748         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54749         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54750         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54751         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54752         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54753         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54754         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54755         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54756         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54757         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54758         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54759         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54761         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54762         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54763         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54764         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54765         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54766         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54767         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54768         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54769         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54770         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54771         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54772         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54773         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54774         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54775         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54776         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54777         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54778         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54779         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54780         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54781         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54782         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54783         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54784         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54785         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54786         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54787         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54788         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54789         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54790         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54791         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54792         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54793         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54794         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54795         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54796         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54797         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54798         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54799         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54800         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54801         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54802         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54803         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54804         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54805         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54806         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54807         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54808         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54809         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54810         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54811         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54812         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54813         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54814         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54815         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54816         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54817         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54818         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54819         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54820         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54821         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54822         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54823         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54824         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54825         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54826         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54827         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54828         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54829         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54830         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54831         * sysdeps/ieee754/s_lib_version.c: Likewise.
54832         * sysdeps/ieee754/s_matherr.c: Likewise.
54833         * sysdeps/ieee754/s_signgam.c: Likewise.
54834         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54835         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54836         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54837         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54838         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54839         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54840         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54841         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54842         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54843         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54844         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54845         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54846         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54847         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54848         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54849         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54850         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54851         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54852         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54853         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54854         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54856 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54858         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54859         * sunrpc/rpc_main.c: Likewise.
54860         * sunrpc/rpc_svcout.c: Likewise.
54862 2012-03-09  David S. Miller  <davem@davemloft.net>
54864         * include/math_private.h: New file.
54866 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54868         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54869         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54870         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54871         from <bits/socket_type.h>.
54872         (enum __socket_type): Don't define here.
54873         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54875         bits/socket_type.h.
54877         [BZ #13566]
54878         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54879         checking __USE_GNU.
54881         * Makerules ($(inst_includedir)/%.h): New rule.
54882         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54883         (install-others): Remove variable setting.
54884         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54886 2012-03-08  Richard Henderson  <rth@twiddle.net>
54888         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54889         from macro to inline function; merge with the
54890         !__LIBC_INTERNAL_MATH_INLINES version.
54891         (__ieee754_sqrtf): Likewise.
54893         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54894         to inline function.
54895         (__rintf, __floor, __floorf): Likewise.
54897         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54898         macro to inline function.
54899         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54901         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54902         not <math/math_private.h>.
54904 2012-03-08  David S. Miller  <davem@davemloft.net>
54906         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54907         copyright year.
54908         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54910 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54912         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54913         normalization.
54914         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54915         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54917 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54919         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54920         be defined individually, they must be defined as a block.  Define
54921         S for printing a string instead of hidint the different by using a
54922         macro for adding the 'l'.
54923         * stdio-common/tst-fphex-wide.c: Adjust.
54925 2012-03-07  Marek Polacek  <polacek@redhat.com>
54927         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54929 2012-03-08  Marek Polacek  <polacek@redhat.com>
54931         [BZ #13806]
54932         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54933         * stdio-common/tst-fphex.c: Define a few macros to make the
54934         test reusable.  Use them.
54935         * stdio-common/tst-fphex-wide.c: New file.
54937 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54939         [BZ #6911]
54940         * manual/macros.texi (gnusystems): New macro.
54941         (nongnusystems): Likewise.
54942         (gnulinuxhurdsystems): Likewise.
54943         (gnuhurdsystems): Likewise..
54944         (gnulinuxsystems): Likewise.
54945         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54946         variants of the GNU system, not "GNU system".
54947         * manual/conf.texi: Likewise.
54948         * manual/errno.texi: Likewise.  Update example of errno macro
54949         expansion.
54950         * manual/filesys.texi: Likewise.
54951         (getumask): Document as specific to GNU/Hurd.
54952         * manual/install.texi: Likewise.  Reword some references to
54953         GNU/Linux.
54954         * manual/intro.texi: Likewise.
54955         * manual/io.texi: Likewise.
54956         (File Name Portability): Detail which constraints are inapplicable
54957         to all GNU systems and which are only inapplicable to GNU/Hurd.
54958         * manual/job.texi: Likewise.
54959         * manual/llio.texi: Likewise.
54960         (O_NOCTTY): Document as present on GNU/Linux.
54961         * manual/maint.texi: Likewise.
54962         * manual/memory.texi: Likewise.
54963         * manual/pattern.texi: Likewise.
54964         * manual/pipe.texi: Likewise.
54965         * manual/process.texi: Likewise.
54966         * manual/resource.texi: Likewise.
54967         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54968         child on GNU/Hurd.
54969         * manual/setjmp.texi: Likewise.
54970         * manual/signal.texi: Likewise.
54971         * manual/startup.texi: Likewise.
54972         * manual/stdio.texi: Likewise.
54973         * manual/terminal.texi: Likewise.
54974         (ONLCR): Document as POSIX.
54975         (OXTABS): Document availability on GNU/Linux as XTABS.
54976         (ONOEOT): Document availability separately from other bits.
54977         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54978         * manual/time.texi: Likewise.
54979         * manual/users.texi: Likewise.
54980         * INSTALL: Regenerated.
54981         * sysdeps/gnu/errlist.c: Regenerated.
54983         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54984         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54985         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54986         puts.
54987         * configure: Regenerated.
54989 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54991         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54992         default includes instead of AC_HEADER_CHECK.
54993         * sysdeps/i386/configure: Regenerated.
54995         [BZ #10716]
54996         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54997         * math/s_cacoshf.c (__cacoshf): Likewise.
54998         * math/s_cacoshl.c (__cacoshl): Likewise.
54999         * math/s_casinh.c (__casinh): Set signs of result from argument.
55000         * math/s_casinhf.c (__casinhf): Likewise.
55001         * math/s_casinhl.c (__casinhl): Likewise.
55002         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55003         (casinh_test): Add more tests.
55004         * sysdeps/i386/fpu/libm-test-ulps: Update.
55005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55007 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55009         * po/zh_TW.po: Update from translation team.
55011         * login/Makefile (distribute): Remove variable.
55012         * catgets/Makefile: Likewise.
55013         * mach/Makefile: Likewise.
55014         * malloc/Makefile: Likewise.
55015         * misc/Makefile: Likewise.
55016         * iconv/Makefile: Likewise.
55017         * nscd/Makefile: Likewise.
55018         * hurd/Makefile: Likewise.
55019         * manual/Makefile: Likewise.
55020         * locale/Makefile: Likewise.
55021         * intl/Makefile: Likewise.
55022         * conform/Makefile: Likewise.
55023         * nss/Makefile: Likewise.
55024         * time/Makefile: Likewise.
55025         * soft-fp/Makefile: Likewise.
55026         * dirent/Makefile: Likewise.
55027         * gmon/Makefile: Likewise.
55028         * po/Makefile: Likewise.
55029         * rt/Makefile: Likewise.
55030         * socket/Makefile: Likewise.
55031         * math/Makefile: Likewise.
55032         * signal/Makefile: Likewise.
55033         * debug/Makefile: Likewise.
55034         * elf/Makefile: Likewise.
55035         * timezone/Makefile: Likewise.
55036         * stdlib/Makefile: Likewise.
55037         * iconvdata/Makefile: Likewise.
55038         * sunrpc/Makefile: Likewise.
55039         * io/Makefile: Likewise.
55040         * argp/Makefile: Likewise.
55041         * inet/Makefile: Likewise.
55042         * hesiod/Makefile: Likewise.
55043         * grp/Makefile: Likewise.
55044         * csu/Makefile: Likewise.
55045         * wctype/Makefile: Likewise.
55046         * crypt/Makefile: Likewise.
55047         * libio/Makefile: Likewise.
55048         * string/Makefile: Likewise.
55049         * nis/Makefile: Likewise.
55050         * resolv/Makefile: Likewise.
55051         * stdio-common/Makefile: Likewise.
55052         * wcsmbs/Makefile: Likewise.
55053         * dlfcn/Makefile: Likewise.
55054         * posix/Makefile: Likewise.
55056         [BZ #6959]
55057         * timezone/Makefile: Don't install timezone files, just the programs
55058         and scripts.
55060 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55062         * nss/databases.def: Add missing gshadow entry.
55064         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55066 2012-03-06  Marek Polacek  <polacek@redhat.com>
55068         [BZ #13726]
55069         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55070         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55071         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55072         * stdio-common/tst-long-dbl-fphex.c: New file.
55074 2012-03-06  David S. Miller  <davem@davemloft.net>
55076         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55077         (set_obp_int): New function.
55078         (get_obp_int): New function.
55079         (__get_clockfreq_via_dev_openprom): Likewise.
55080         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55081         Avoid unused variable warnings on 'val' and use builtin_expect.
55082         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55083         __builtin_expect.
55084         (INLINE_CLONE_SYSCALL): Likewise.
55086 2012-03-05  David S. Miller  <davem@davemloft.net>
55088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55090 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55094         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55095         only for |x| >= 40.
55096         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55098 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55100         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55101         Replace gettimeofday with __vdso_gettimeofday.
55103         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55104         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55105         __vdso_clock_gettime and __vdso_getcpu.
55107         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55108         time with __vdso_time.
55110 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55112         * manual/lang.texi (size_t): Note types to which size_t may be
55113         equivalent with the GNU C Library, but do not describe when
55114         differences between them are significant.
55116 2012-03-05  Andreas Jaeger  <aj@suse.de>
55118         * sysdeps/i386/fpu/libm-test-ulps: Update.
55120 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55122         [BZ #3976]
55123         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55124         (__ieee754_pow): Save and restore rounding mode and use
55125         round-to-nearest for main computations.
55126         * math/libm-test.inc (pow_test_tonearest): New function.
55127         (pow_test_towardzero): Likewise.
55128         (pow_test_downward): Likewise.
55129         (pow_test_upward): Likewise.
55130         (main): Call the new functions.
55131         * sysdeps/i386/fpu/libm-test-ulps: Update.
55132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55134         [BZ #3976]
55135         * math/libm-test.inc (cosh_test_tonearest): New function.
55136         (cosh_test_towardzero): Likewise.
55137         (cosh_test_downward): Likewise.
55138         (cosh_test_upward): Likewise.
55139         (sinh_test_tonearest): Likewise.
55140         (sinh_test_towardzero): Likewise.
55141         (sinh_test_downward): Likewise.
55142         (sinh_test_upward): Likewise.
55143         (main): Call the new functions.
55144         * sysdeps/i386/fpu/libm-test-ulps: Update.
55145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55147 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55149         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55150         default stack guard is set in last bytes.
55151         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55153 2012-03-05  Kees Cook  <keescook@chromium.org>
55155         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55157         [BZ #13656]
55158         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55159         possibly allocate from heap instead of stack.
55160         * stdio-common/bug-vfprintf-nargs.c: New file.
55161         * stdio-common/Makefile (tests): Add nargs overflow test.
55163 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55167 2012-03-03  Marek Polacek  <polacek@redhat.com>
55169         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55170         * math/math_private.h: Likewise.
55171         * stdlib/tst-strtod.c: Likewise.
55172         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55173         * sysdeps/x86_64/bits/atomic.h: Likewise.
55175 2012-03-02  David S. Miller  <davem@davemloft.net>
55177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55181         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55182         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55183         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55184         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55186 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55188         [BZ #13792]
55189         * manual/examples/README: New file, says the example source files
55190         can be used under GPL>=2.
55191         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55192         line containing just "*/".
55193         * manual/examples/add.c: Add copyright header (GPL>=2).
55194         * manual/examples/argp-ex1.c: Likewise.
55195         * manual/examples/argp-ex2.c: Likewise.
55196         * manual/examples/argp-ex3.c: Likewise.
55197         * manual/examples/argp-ex4.c: Likewise.
55198         * manual/examples/atexit.c: Likewise.
55199         * manual/examples/db.c: Likewise.
55200         * manual/examples/dir.c: Likewise.
55201         * manual/examples/dir2.c: Likewise.
55202         * manual/examples/execinfo.c: Likewise.
55203         * manual/examples/filecli.c: Likewise.
55204         * manual/examples/filesrv.c: Likewise.
55205         * manual/examples/fmtmsgexpl.c: Likewise.
55206         * manual/examples/genpass.c: Likewise.
55207         * manual/examples/inetcli.c: Likewise.
55208         * manual/examples/inetsrv.c: Likewise.
55209         * manual/examples/isockad.c: Likewise.
55210         * manual/examples/longopt.c: Likewise.
55211         * manual/examples/memopen.c: Likewise.
55212         * manual/examples/memstrm.c: Likewise.
55213         * manual/examples/mkfsock.c: Likewise.
55214         * manual/examples/mkisock.c: Likewise.
55215         * manual/examples/mygetpass.c: Likewise.
55216         * manual/examples/pipe.c: Likewise.
55217         * manual/examples/popen.c: Likewise.
55218         * manual/examples/rprintf.c: Likewise.
55219         * manual/examples/search.c: Likewise.
55220         * manual/examples/select.c: Likewise.
55221         * manual/examples/setjmp.c: Likewise.
55222         * manual/examples/sigh1.c: Likewise.
55223         * manual/examples/sigusr.c: Likewise.
55224         * manual/examples/stpcpy.c: Likewise.
55225         * manual/examples/strdupa.c: Likewise.
55226         * manual/examples/strftim.c: Likewise.
55227         * manual/examples/strncat.c: Likewise.
55228         * manual/examples/subopt.c: Likewise.
55229         * manual/examples/swapcontext.c: Likewise.
55230         * manual/examples/termios.c: Likewise.
55231         * manual/examples/testopt.c: Likewise.
55232         * manual/examples/testpass.c: Likewise.
55233         * manual/examples/timeval_subtract.c: Likewise.
55235         [BZ #13792]
55236         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55237         function to ...
55238         * manual/timeval_subtract.c.texi: ... here, new file.
55240 2012-03-02  David S. Miller  <davem@davemloft.net>
55242         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55244 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55246         [BZ #3976]
55247         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55248         (__sin): Save and restore rounding mode and use round-to-nearest
55249         for all computations.
55250         (__cos): Save and restore rounding mode and use round-to-nearest
55251         for all computations.
55252         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55253         <fenv.h>.
55254         (tan): Save and restore rounding mode and use round-to-nearest for
55255         all computations.
55256         * math/libm-test.inc (cos_test_tonearest): New function.
55257         (cos_test_towardzero): Likewise.
55258         (cos_test_downward): Likewise.
55259         (cos_test_upward): Likewise.
55260         (sin_test_tonearest): Likewise.
55261         (sin_test_towardzero): Likewise.
55262         (sin_test_downward): Likewise.
55263         (sin_test_upward): Likewise.
55264         (tan_test_tonearest): Likewise.
55265         (tan_test_towardzero): Likewise.
55266         (tan_test_downward): Likewise.
55267         (tan_test_upward): Likewise.
55268         (main): Call the new functions.
55269         * sysdeps/i386/fpu/libm-test-ulps: Update.
55270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55272         [BZ #10135]
55273         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55274         small n, then large n, before computing and testing k+n.
55275         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55276         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55277         Likewise.
55278         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55279         Likewise.
55280         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55281         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55282         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55283         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55284         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55285         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55286         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55287         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55288         * math/libm-test.inc (scalbn_test): Add more tests.
55289         (scalbln_test): Likewise.
55291         * manual/filesys.texi (mode_t): Describe constraints on size and
55292         signedness, not exact equivalence to a particular type.
55293         (ino_t): Likewise.
55294         (ino64_t): Likewise.
55295         (dev_t): Likewise.
55296         (nlink_t): Likewise.
55297         (blkcnt_t): Likewise.
55298         (blkcnt64_t): Likewise.
55299         * manual/llio.texi (off_t): Likewise.
55301         [BZ #3976]
55302         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55303         (__ieee754_exp): Save and restore rounding mode and use
55304         round-to-nearest for all computations.
55305         * math/libm-test.inc (exp_test_tonearest): New function.
55306         (exp_test_towardzero): Likewise.
55307         (exp_test_downward): Likewise.
55308         (exp_test_upward): Likewise.
55309         (main): Call the new functions.
55310         * sysdeps/i386/fpu/libm-test-ulps: Update.
55311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55313 2012-03-01  Chris Demetriou  <cgd@google.com>
55315         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55316         have predictable order.
55318 2012-03-01  David S. Miller  <davem@davemloft.net>
55320         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55322         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55323         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55324         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55325         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55327         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55328         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55329         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55331         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55332         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55333         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55334         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55335         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55339         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55340         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55341         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55343         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55344         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55345         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55346         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55347         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55348         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55349         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55350         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55351         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55352         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55353         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55354         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55356         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55357         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55359         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55360         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55361         * sysdeps/sparc/elf/configure: Regenerated.
55363 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55365         * configure.in (AS, LD): Require binutils 2.20 or later.
55366         * configure: Regenerated.
55367         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55368         as required minimum version.
55369         * INSTALL: Regenerated.
55371         [BZ #2541]
55372         [BZ #4108]
55373         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55374         before squaring exponent.
55375         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55376         bottom long double and 27 bits of top long double before squaring
55377         exponent.
55378         * math/libm-test.inc (erfc_test): Add more tests.
55379         * sysdeps/i386/fpu/libm-test-ulps: Update.
55380         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55383 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55385         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55386         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55387         containing bit-fields.
55388         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55389         * soft-fp/single.h (_FP_UNION_S): Likewise.
55390         * soft-fp/double.h (_FP_UNION_D): Likewise.
55392 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55394         [BZ #13786]
55395         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55396         not include ../strcmp.S.
55397         [USE_AS_STRNCASECMP_L]: Likewise.
55398         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55399         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55400         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55401         (__strncasecmp_l_ia32): Define as alias to
55402         __strncasecmp_l_nonascii.
55404         [BZ #5794]
55405         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55406         * sysdeps/i386/fpu/libm-test-ulps: Update.
55407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55409         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55412 2012-02-29  Jeff Law  <law@redhat.com>
55414         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55415         out of bounds read.
55417 2012-02-29  Marek Polacek  <polacek@redhat.com>
55419         [BZ #13706]
55420         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55421         * elf/Makefile: Add rules to run tst-unused-dep.out.
55423 2012-02-28  David S. Miller  <davem@davemloft.net>
55425         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55426         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55427         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55428         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55429         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55430         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55432 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55434         * math/libm-test.inc (llround_test): Move one test from
55435         lround_test.  Use TEST_f_L in moved test.
55436         (lround_test): Move misplaced test to llround_test.  Add testcase
55437         from bug 2561.
55439 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55441         * sysdeps/x86_64/fpu/e_expf.S: New file.
55442         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55444 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55446         [BZ #13637]
55447         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55448         of remain_len that may cause incomplete multi-byte character and
55449         false match.
55450         * posix/bug-regex33.c: New file.
55451         * posix/Makefile (tests): Add bug-regex33.
55453 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55455         * manual/macros.texi: New file.
55456         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55457         * manual/libc.texinfo: Include macros.texi.
55458         * manual/creatute.texi: Likewise.
55459         * manual/install.texi: Likewise.
55460         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55461         @glibcadj{} in references to the GNU C Library.
55462         * manual/charset.texi: Likewise.
55463         * manual/conf.texi: Likewise.
55464         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55465         when not using those macros.
55466         * manual/creature.texi: Likewise.
55467         * manual/crypt.texi: Likewise.
55468         * manual/errno.texi: Likewise.
55469         * manual/filesys.texi: Likewise.
55470         * manual/header.texi: Likewise.
55471         * manual/install.texi: Likewise.
55472         * manual/intro.texi: Likewise.
55473         * manual/io.texi: Likewise.
55474         * manual/job.texi: Likewise.
55475         * manual/lang.texi: Likewise.
55476         * manual/libc.texiinfo: Likewise.
55477         * manual/llio.texi: Likewise.
55478         * manual/locale.texi: Likewise.
55479         * manual/maint.texi: Likewise.
55480         * manual/math.texi: Likewise.
55481         * manual/memory.texi: Likewise.
55482         * manual/message.texi: Likewise.
55483         * manual/nss.texi: Likewise.
55484         * manual/pattern.texi: Likewise.
55485         * manual/process.texi: Likewise.
55486         * manual/resource.texi: Likewise.
55487         * manual/search.texi: Likewise.
55488         * manual/setjmp.texi: Likewise.
55489         * manual/signal.texi: Likewise.
55490         * manual/socket.texi: Likewise.
55491         * manual/startup.texi: Likewise.
55492         * manual/stdio.texi: Likewise.
55493         * manual/string.texi: Likewise.
55494         * manual/sysinfo.texi: Likewise.
55495         * manual/syslog.texi: Likewise.
55496         * manual/terminal.texi: Likewise.
55497         * manual/time.texi: Likewise.
55498         * manual/users.texi: Likewise.
55499         * INSTALL: Regenerated.
55500         * NOTES: Regenerated.
55501         * sysdeps/gnu/errlist.c: Regenerated.
55503 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55505         * include/dirent.h: Include <dirstream.h> before
55506         <dirent/dirent.h>.
55508 2012-02-28  David S. Miller  <davem@davemloft.net>
55510         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55511         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55512         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55513         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55515 2012-02-27  David S. Miller  <davem@davemloft.net>
55517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55519         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55520         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55523         frame pointer instead of stack pointer relative arg slot.
55524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55525         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55526         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55528 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55530         [BZ #3992]
55531         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55533 2012-02-27  David S. Miller  <davem@davemloft.net>
55535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55539         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55540         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55541         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55542         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55544 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55546         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55547         later.  Allow versions 5-9.
55548         * configure: Regenerated.
55549         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55550         required minimum version and 4.6 as recommended version.  Do not
55551         mention bugs in GCC 2.7 and 2.8.
55552         * INSTALL: Regenerated.
55554 2012-02-27  David S. Miller  <davem@davemloft.net>
55556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55560         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55561         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55562         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55563         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55565         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55566         manipulate bits before adding and subtracting TWO112[sx].
55567         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55569 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55571         [BZ #13775]
55572         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55573         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55574         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55575         being in POSIX, because they are in 1003.1-2008.
55577         * rt/tst-aio.c: Include <fcntl.h>.
55578         * rt/tst-aio7.c: Likewise.
55579         * rt/tst-aio64.c: Likewise.
55581         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55583 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55585         * manual/install.texi (--with-headers): Describe headers as
55586         interface headers, not private headers.
55587         (Specific advice for GNU/Linux systems): Describe use of headers
55588         from "make headers_install", not private headers from older
55589         kernels.
55590         * INSTALL: Regenerated.
55591         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55592         Change to 2.6.19.
55593         * sysdeps/unix/sysv/linux/configure: Regenerated.
55595         * manual/llio.texi (fclean): Remove documentation.
55597         * manual/Makefile (libc-texi-generated): New variable.  Include
55598         version.texi.
55599         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55600         $(libc-texi-generated), not duplicated list of files.
55601         (version.texi, stamp-version): New rules.
55602         (realclean): Remove $(libc-texi-generated), not individual files
55603         from that list.  Do not remove dir-add.texinfo.
55604         * manual/libc.texinfo: Comment out uses of edition numbers and
55605         references to printed manual.  Remove last-updated dates.
55606         (EDITION): Comment out.
55607         (ISBN): Likewise.
55608         (VERSION, UPDATED): Remove.
55609         (version.texi): Include.
55611 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55613         * sysdeps/posix/spawni.c: Include <signal.h>.
55614         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55615         * sysdeps/pthread/aio_fsync.c: Likewise.
55617 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55619         * conform/Makefile (tests): Run only when not cross-compiling and
55620         when fast-check is not defined.
55622         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55623         * conform/data/limits.h-data: Fixes for POSIX2008.
55624         * conform/run-conformtest.sh: Run all tests.
55625         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55626         headers.
55627         * include/bits/dlfcn.h: Likewise.
55628         * include/langinfo.h: Likewise.
55629         * include/monetary.h: Likewise.
55630         * include/sys/poll.h: Likewise.
55632         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55633         for __USE_GNU.
55634         * posix/spawn.h: Define __need_sigset_t.
55635         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55636         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55637         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55638         to get sigevent_t only.
55639         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55640         only for __USE_GNU.
55641         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55642         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55643         process_vm_writev only for __USE_GNU.
55644         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55646         * conform/Makefile: For now ignore errors from run-conformtest.
55647         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55648         POSIX to avoid namespace pollution.  Don't prepend headers.
55649         * conform/data/aio.h-data: Fixes for POSIX testing.
55650         * conform/data/fcntl.h-data: Likewise.
55651         * conform/data/glob.h-data: Likewise.
55652         * conform/data/grp.h-data: Likewise.
55653         * conform/data/pthread.h-data: Likewise.
55654         * conform/data/pwd.h-data: Likewise.
55655         * conform/data/signal.h-data: Likewise.
55656         * conform/data/spawn.h-data: Likewise.
55657         * conform/data/stdio.h-data: Likewise.
55658         * conform/data/stdlib.h-data: Likewise.
55659         * conform/data/stropts.h-data: Likewise.
55660         * conform/data/sys/mman.h-data: Likewise.
55661         * conform/data/sys/stat.h-data: Likewise.
55662         * conform/data/sys/types.h-data: Likewise.
55663         * conform/data/sys/wait.h-data: Likewise.
55664         * conform/data/time.h-data: Likewise.
55665         * conform/data/unistd.h-data: Likewise.
55666         * conform/data/utime.h-data: Likewise.
55668         * io/sys/stat.h: fchmod was always in POSIX.
55669         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55670         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55671         * rt/aio.h: Define __need_timespec before including <time.h>.
55672         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55673         struct.  Add forward declaration of pthread_attr_t and use it in
55674         sigevent.
55675         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55676         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55677         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55678         always remove CLK_TCK definition.
55680 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55682         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55684 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55686         * conform/run-conformtest.sh: New file.
55687         * conform/Makefile: Run run-conformtest for tests.
55688         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55689         support.
55691         * conform/data/uchar.h-data: New file.
55692         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55693         * conform/data/arpa/inet.h-data: Likewise.
55694         * conform/data/assert.h-data: Likewise.
55695         * conform/data/complex.h-data: Likewise.
55696         * conform/data/cpio.h-data: Likewise.
55697         * conform/data/ctype.h-data: Likewise.
55698         * conform/data/dirent.h-data: Likewise.
55699         * conform/data/dlfcn.h-data: Likewise.
55700         * conform/data/errno.h-data: Likewise.
55701         * conform/data/fcntl.h-data: Likewise.
55702         * conform/data/float.h-data: Likewise.
55703         * conform/data/fmtmsg.h-data: Likewise.
55704         * conform/data/fnmatch.h-data: Likewise.
55705         * conform/data/ftw.h-data: Likewise.
55706         * conform/data/glob.h-data: Likewise.
55707         * conform/data/grp.h-data: Likewise.
55708         * conform/data/iconv.h-data: Likewise.
55709         * conform/data/inttypes.h-data: Likewise.
55710         * conform/data/langinfo.h-data: Likewise.
55711         * conform/data/libgen.h-data: Likewise.
55712         * conform/data/limits.h-data: Likewise.
55713         * conform/data/locale.h-data: Likewise.
55714         * conform/data/math.h-data: Likewise.
55715         * conform/data/monetary.h-data: Likewise.
55716         * conform/data/mqueue.h-data: Likewise.
55717         * conform/data/ndbm.h-data: Likewise.
55718         * conform/data/net/if.h-data: Likewise.
55719         * conform/data/netdb.h-data: Likewise.
55720         * conform/data/netinet/in.h-data: Likewise.
55721         * conform/data/nl_types.h-data: Likewise.
55722         * conform/data/poll.h-data: Likewise.
55723         * conform/data/pthread.h-data: Likewise.
55724         * conform/data/pwd.h-data: Likewise.
55725         * conform/data/regex.h-data: Likewise.
55726         * conform/data/sched.h-data: Likewise.
55727         * conform/data/search.h-data: Likewise.
55728         * conform/data/semaphore.h-data: Likewise.
55729         * conform/data/setjmp.h-data: Likewise.
55730         * conform/data/signal.h-data: Likewise.
55731         * conform/data/spawn.h-data: Likewise.
55732         * conform/data/stdarg.h-data: Likewise.
55733         * conform/data/stdio.h-data: Likewise.
55734         * conform/data/stdlib.h-data: Likewise.
55735         * conform/data/string.h-data: Likewise.
55736         * conform/data/strings.h-data: Likewise.
55737         * conform/data/stropts.h-data: Likewise.
55738         * conform/data/sys/ipc.h-data: Likewise.
55739         * conform/data/sys/mman.h-data: Likewise.
55740         * conform/data/sys/msg.h-data: Likewise.
55741         * conform/data/sys/resource.h-data: Likewise.
55742         * conform/data/sys/select.h-data: Likewise.
55743         * conform/data/sys/sem.h-data: Likewise.
55744         * conform/data/sys/shm.h-data: Likewise.
55745         * conform/data/sys/socket.h-data: Likewise.
55746         * conform/data/sys/stat.h-data: Likewise.
55747         * conform/data/sys/statvfs.h-data: Likewise.
55748         * conform/data/sys/time.h-data: Likewise.
55749         * conform/data/sys/timeb.h-data: Likewise.
55750         * conform/data/sys/times.h-data: Likewise.
55751         * conform/data/sys/types.h-data: Likewise.
55752         * conform/data/sys/uio.h-data: Likewise.
55753         * conform/data/sys/un.h-data: Likewise.
55754         * conform/data/sys/utsname.h-data: Likewise.
55755         * conform/data/sys/wait.h-data: Likewise.
55756         * conform/data/syslog.h-data: Likewise.
55757         * conform/data/tar.h-data: Likewise.
55758         * conform/data/termios.h-data: Likewise.
55759         * conform/data/utime.h-data: Likewise.
55760         * conform/data/utmpx.h-data: Likewise.
55761         * conform/data/varargs.h-data: Likewise.
55762         * conform/data/wchar.h-data: Likewise.
55763         * conform/data/wctype.h-data: Likewise.
55764         * conform/data/wordexp.h-data: Likewise.
55766         * include/stropts.h: New file.
55767         * include/uchar.h: New file.
55768         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55769         * include/assert.h: Likewise.
55770         * include/ctype.h: Likewise.
55771         * include/dirent.h: Likewise.
55772         * include/dlfcn.h: Likewise.
55773         * include/fcntl.h: Likewise.
55774         * include/fnmatch.h: Likewise.
55775         * include/glob.h: Likewise.
55776         * include/grp.h: Likewise.
55777         * include/libio.h: Likewise.
55778         * include/locale.h: Likewise.
55779         * include/math.h: Likewise.
55780         * include/net/if.h: Likewise.
55781         * include/netdb.h: Likewise.
55782         * include/netinet/in.h: Likewise.
55783         * include/pthread.h: Likewise.
55784         * include/pwd.h: Likewise.
55785         * include/regex.h: Likewise.
55786         * include/sched.h: Likewise.
55787         * include/search.h: Likewise.
55788         * include/setjmp.h: Likewise.
55789         * include/signal.h: Likewise.
55790         * include/stdio.h: Likewise.
55791         * include/stdlib.h: Likewise.
55792         * include/string.h: Likewise.
55793         * include/sys/cdefs.h: Likewise.
55794         * include/sys/mman.h: Likewise.
55795         * include/sys/msg.h: Likewise.
55796         * include/sys/resource.h: Likewise.
55797         * include/sys/select.h: Likewise.
55798         * include/sys/socket.h: Likewise.
55799         * include/sys/stat.h: Likewise.
55800         * include/sys/statvfs.h: Likewise.
55801         * include/sys/time.h: Likewise.
55802         * include/sys/times.h: Likewise.
55803         * include/sys/uio.h: Likewise.
55804         * include/sys/utsname.h: Likewise.
55805         * include/sys/wait.h: Likewise.
55806         * include/termios.h: Likewise.
55807         * include/time.h: Likewise.
55808         * include/ulimit.h: Likewise.
55809         * include/unistd.h: Likewise.
55810         * include/utime.h: Likewise.
55811         * include/wchar.h: Likewise.
55812         * include/wctype.h: Likewise.
55813         * include/wordexp.h: Likewise.
55815         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55817         * time/time.h: TIME_UTC must be a macro.
55818         Make timespec_get available for ISO C11 only as well.
55820 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55822         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55823         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55825 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55827         * configure.in: Use -o not -a in test for unsupported multi-arch.
55829 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55831         * manual/texinfo.tex: Update to version 2012-01-19.16.
55833 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55835         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55837 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55839         [BZ #13738]
55840         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55841         * manual/fdl-1.3.texi: New file.
55842         * manual/fdl-1.1.texi: File removed.
55844         [BZ #13738]
55845         * manual/libc.texinfo (FDL_VERSION): New @set.
55846         Use it for mention of FDL in cover text.
55847         (Documentation License): Use it in @include file name.
55849 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55850             Roland McGrath  <roland@hack.frob.com>
55852         [BZ #5461]
55853         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55854         (not LONG_LONG_MAX and LONG_LONG_MIN.
55855         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55856         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55857         name.
55858         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55860 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55862         [BZ #2547]
55863         [BZ #11365]
55864         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55865         manipulate bits before adding and subtracting TWO23[sx].
55866         * math/libm-test.inc (nearbyint_test): Add more tests.
55868 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55870         [BZ #2548]
55871         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55872         bits before adding and subtracting TWO23[sx].
55873         * math/libm-test.inc (rint_test): Add more tests.
55874         (rint_test_tonearest): Likewise.
55875         (rint_test_towardzero): Likewise.
55876         (rint_test_downward): Likewise.
55877         (rint_test_upward: Likewise.
55879 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55881         [BZ #10110]
55882         * include/stdc-predef.h: New file.  Extracted from features.h.
55883         * include/features.h: Include stdc-predef.h.
55884         * Makefile (headers): Add stdc-predef.h.
55885         * CONFORMANCE (Compiler limitations): Update.
55887 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55889         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55891 2012-02-21  David S. Miller  <davem@davemloft.net>
55893         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55894         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55896 2012-02-20  David S. Miller  <davem@davemloft.net>
55898         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55899         using a normal save/restore sequence, rather than allocating a
55900         dummy stack frame just to store a frame pointer and restore.
55901         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55903 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55905         * manual/install.texi: Fix stray word in line-wrapped comment.
55907 2012-02-20  David S. Miller  <davem@davemloft.net>
55909         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55910         both binutils and gcc support GOTDATA.
55912         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55913         "rd %pc" in the PIC register setup sequences.
55915         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55916         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55917         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55918         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55919         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55920         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55921         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55922         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55923         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55924         (SYSCALL_ERROR_HANDLER): Likewise.
55925         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55926         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55927         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55928         (SYSCALL_ERROR_HANDLER): Likewise.
55930         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55931         (HAVE_GCC_GOTDATA): New.
55932         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55933         relocation support in both binutils and gcc.
55934         * sysdeps/sparc/elf/configure: Regenerate.
55936         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55937         * sysdeps/sparc/sparc32/elf/configure: Delete.
55938         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55939         * sysdeps/sparc/sparc64/elf/configure: Delete.
55940         * sysdeps/sparc/elf/configure.in: New file.
55941         * sysdeps/sparc/elf/configure: Generate.
55943         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55944         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55945         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55946         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55947         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55949 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55951         * manual/install.texi: Do not mention specific glibc version
55952         numbers.
55953         * manual/libc.texinfo (VERSION, UPDATED): Update.
55954         (@copying): Use @copyright{} and range of years.
55956 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55958         [BZ #13695]
55959         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55960         [crti.S not in sysdirs] (generated): Do not append.
55961         [crti.S not in sysdirs] (omit-deps): Likewise.
55962         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55963         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55964         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55965         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55966         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55967         Likewise.
55968         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55969         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55970         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55971         * csu/defs.awk: Remove file.
55972         * sysdeps/generic/initfini.c: Likewise.
55973         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55974         variable.
55975         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55976         Likewise.
55978 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55980         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55981         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55982         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55983         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55984         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55985         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55986         <bits/epoll.h>.
55987         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55988         (__EPOLL_PACKED): Define to empty if not defined by
55989         <bits/epoll.h>.
55990         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55991         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55992         bits/epoll.h.
55994 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55996         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55997         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55998         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55999         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56000         <bits/timerfd.h>.
56001         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56002         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56003         bits/timerfd.h.
56005 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56007         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56008         in C locale.
56009         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56010         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56011         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56014 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56016         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56017         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56019 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56021         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56022         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56023         defined.
56024         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56025         Likewise.
56026         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56027         entry for 2.16.
56029 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56031         * math/w_acos.c: Use non-signaling floating-point comparisons.
56032         * math/w_acosf.c: Likewise.
56033         * math/w_acosh.c: Likewise.
56034         * math/w_acoshf.c: Likewise.
56035         * math/w_acoshl.c: Likewise.
56036         * math/w_acosl.c: Likewise.
56037         * math/w_asin.c: Likewise.
56038         * math/w_asinf.c: Likewise.
56039         * math/w_asinl.c: Likewise.
56040         * math/w_atanh.c: Likewise.
56041         * math/w_atanhf.c: Likewise.
56042         * math/w_atanhl.c: Likewise.
56043         * math/w_exp2.c: Likewise.
56044         * math/w_exp2f.c: Likewise.
56045         * math/w_exp2l.c: Likewise.
56046         * math/w_j0.c: Likewise.
56047         * math/w_j0f.c: Likewise.
56048         * math/w_j0l.c: Likewise.
56049         * math/w_j1.c: Likewise.
56050         * math/w_j1f.c: Likewise.
56051         * math/w_j1l.c: Likewise.
56052         * math/w_jn.c: Likewise.
56053         * math/w_jnf.c: Likewise.
56054         * math/w_log.c: Likewise.
56055         * math/w_log10.c: Likewise.
56056         * math/w_log10f.c: Likewise.
56057         * math/w_log10l.c: Likewise.
56058         * math/w_log2.c: Likewise.
56059         * math/w_log2f.c: Likewise.
56060         * math/w_log2l.c: Likewise.
56061         * math/w_logf.c: Likewise.
56062         * math/w_logl.c: Likewise.
56063         * math/w_sqrt.c: Likewise.
56064         * math/w_sqrtf.c: Likewise.
56065         * math/w_sqrtl.c: Likewise.
56066         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56067         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56068         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56069         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56070         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56072 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56074         [BZ #9739]
56075         * manual/string.texi (strnlen): Use correct parameter name in
56076         equivalent expression.
56078 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56080         [BZ #11174]
56081         * manual/users.texi (seteuid): Consistently use neweuid for
56082         argument name.
56084 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56086         [BZ #13704]
56087         * manual/nss.texi (Services in the NSS configuration): Correct
56088         list of services in example configuration file.
56090 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56092         [BZ #11322]
56093         * manual/arith.texi: Remove statements about negative zero
56094         behaving identically to zero.
56096 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56098         [BZ #5993]
56099         * manual/install.texi: Do not document upgrading from libc5.
56101 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56103         [BZ #4596]
56104         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56106 2012-02-18  David S. Miller  <davem@davemloft.net>
56108         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56109         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56110         %o7 across the call.
56111         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56112         instead.
56113         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56114         SETUP_PIC_REG_LEAF.
56115         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56116         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56117         * sysdeps/sparc/crtn.S: Likewise.
56119 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56121         * aout/Makefile: Remove.
56123 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56125         [BZ #13058]
56126         * manual/examples/argp-ex1.c (main): Format definition in GNU
56127         style.
56128         * manual/examples/argp-ex2.c (main): Likewise.
56129         * manual/examples/argp-ex3.c (main): Likewise.
56130         * manual/examples/argp-ex4.c (main): Likewise.
56131         * manual/examples/longopt.c (main): Use new-style prototype
56132         definition.
56133         * manual/examples/strncat.c (main): Specify return type and use
56134         (void) for arguments.
56135         * manual/examples/subopt.c (main): Use char **argv argument.
56137 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56139         [BZ #5077]
56140         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56141         rounding modes.
56143 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56145         [BZ #6907]
56146         * manual/string.texi (strchr): Change when strchrnul is
56147         recommended.
56149 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56151         [BZ #174]
56152         * manual/locale.texi (setlocale): Document LOCPATH.
56154 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56156         [BZ #10210]
56157         * manual/process.texi (execle): Move @dots{} before last argument.
56159 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56161         [BZ #12047]
56162         * manual/charset.texi (Generic Charset Conversion): Fix typo
56163         (LC_TYPE -> LC_CTYPE).
56165 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56167         [BZ #5805]
56168         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56169         (scalbnf): Likewise.
56170         (scalbnl): Likewise.
56171         (scalbln): Likewise.
56172         (scalblnf): Likewise.
56173         (scalblnl): Likewise.
56174         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56175         (vwarnx): Likewise.
56176         (verr): Likewise.
56177         (verrx): Likewise.
56178         * manual/filesys.texi (telldir): Use braces around return type.
56179         * manual/llio.texi (mmap): Add space after comma.
56180         (mmap64): Likewise.
56181         * manual/math.texi (jn): Use @var{} on parameter names.
56182         (jnf): Likewise.
56183         (jnl): Likewise.
56184         (yn): Likewise.
56185         (ynf): Likewise.
56186         (ynl): Likewise.
56187         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56188         line.
56189         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56190         "...".
56191         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56192         (sched_get_priority_max): Likewise.
56193         * manual/signal.texi (sigvec): Add space after comma.
56194         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56195         names.
56196         (if_indextoname): Likewise.
56197         (if_freenameindex): Likewise.
56198         (sendto): Use ',' instead of '.' in prototype.
56199         * manual/startup.texi (syscall): Use @dots{} instead of literal
56200         "...".
56201         * manual/stdio.texi (__fpending): Separate initial words of
56202         paragraph from @deftypefun line.
56203         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56204         "...".
56205         (vsyslog): Use @var{} on parameter names.
56206         * manual/terminal.texi (stty): Use @var{} on parameter names.
56207         * manual/users.texi (getutmp): Use @var{} on parameter names.
56208         (getutmpx): Likewise.
56210 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56212         [BZ #6884]
56213         * manual/stdio.texi (fopen): Fix typos in description of
56214         ",ccs=STRING".
56216 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56218         [BZ #4026]
56219         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56220         get clock_id definition.
56222 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56224         [BZ #4822]
56225         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56226         (madvise): Cast every argument to void on its own.
56228 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56230         [BZ #9902]
56231         * manual/startup.texi (Exit Status): Fix typo.
56233 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56235         [BZ #10140]
56236         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56237         * manual/examples/argp-ex2.c: Likewise.
56238         * manual/examples/argp-ex3.c: Likewise.
56240 2012-02-16  Richard Henderson  <rth@redhat.com>
56242         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56243         * sysdeps/s390/s390-32/initfini.c: Remove.
56244         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56245         * sysdeps/s390/s390-64/initfini.c: Remove.
56247 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56249         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56250         compiler output for sysdeps/generic/initfini.c.
56251         * sysdeps/sh/elf/initfini.c: Remove file.
56253 2012-02-16  David S. Miller  <davem@davemloft.net>
56255         [BZ #11494]
56256         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56258         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56259         * sysdeps/sparc/crti.S: New file.
56260         * sysdeps/sparc/crtn.S: New file.
56261         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56262         * sysdeps/sparc/sparc64/Makefile: Likewise.
56264 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56266         [BZ #3335]
56267         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56269 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56271         [BZ #4822]
56272         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56274         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56275         (write, read, close): Likewise.
56276         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56278 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56280         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56281         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56282         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56283         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56284         <bits/signalfd.h>.
56285         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56287         bits/signalfd.h.
56289 2012-02-14  Marek Polacek  <polacek@redhat.com>
56291         * sysdeps/x86_64/crti.S: New file.
56292         * sysdeps/x86_64/crtn.S: New file.
56293         * sysdeps/x86_64/elf/initfini.c: Remove file.
56295 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56297         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56298         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56299         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56300         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56301         <bits/inotify.h>.
56302         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56304         bits/inotify.h.
56306 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56308         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56309         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56310         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56311         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56312         <bits/eventfd.h>.
56313         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56315         bits/eventfd.h.
56317 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56319         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56320         __feraiseexcept instead of feraiseexcept.
56322         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56323         nanosleep invocations.
56324         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56325         strings, and add error checking for a nanosleep invocations.
56327 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56329         Replace FSF snail mail address with URLs, as per GNU coding standards.
56330         Most of the snail mail addresses were wrong anyway, and omitting
56331         them makes the source code easier to maintain.  Almost all of the
56332         changes are to license notices and to locale LC_IDENTIFICATION
56333         addresses, except for this one:
56334         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56335         not its snail mail address.
56337 2012-02-09  Richard Henderson  <rth@twiddle.net>
56339         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56340         of kernel-features.h.
56342         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56344 2012-02-08  Marek Polacek  <polacek@redhat.com>
56346         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56347         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56348         * sysdeps/gnu/_G_config.h: Likewise.
56349         * sysdeps/generic/_G_config.h: Likewise.
56351 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56353         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56354         tests.
56355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56357         * sysdeps/powerpc/powerpc32/crti.S: New file.
56358         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56359         * sysdeps/powerpc/powerpc64/crti.S: New file.
56360         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56362         * Makeconfig (have-initfini): Don't set.
56363         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56364         * configure.in (nopic_initfini): Don't substitute.
56365         * config.h.in (HAVE_INITFINI): Don't #undef.
56366         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56367         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56369 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56371         Support crti.S and crtn.S provided directly by architectures.
56372         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56373         [crti.S in sysdirs] (omit-deps): Likewise.
56374         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56375         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56376         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56377         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56378         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56379         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56380         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56381         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56382         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56383         compiler output for sysdeps/generic/initfini.c.
56384         * sysdeps/i386/elf/Makefile: Remove file.
56385         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56387 2012-02-07  Marek Polacek  <polacek@redhat.com>
56389         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56390         * sysdeps/gnu/_G_config.h: Likewise.
56391         * sysdeps/mach/hurd/_G_config.h: Likewise.
56393 2012-02-07  Marek Polacek  <polacek@redhat.com>
56395         * math/Makefile (tests): Add tst-CMPLX2.
56396         * math/tst-CMPLX2.c: New file.
56398 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56400         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56402         * math/libm-test.inc (jn_test): Add missing L suffix.
56404 2012-02-06  Marek Polacek  <polacek@redhat.com>
56406         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56407         * sysdeps/i386/fpu/e_powf.S: Likewise.
56408         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56409         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56410         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56411         * sysdeps/i386/fpu/e_pow.S: Likewise.
56412         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56413         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56414         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56415         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56416         * sysdeps/i386/fpu/e_log2.S: Likewise.
56417         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56418         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56419         * sysdeps/i386/fpu/e_powl.S: Likewise.
56420         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56421         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56422         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56423         * sysdeps/i386/fpu/e_logl.S: Likewise.
56424         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56425         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56426         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56427         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56428         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56429         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56430         * sysdeps/i386/fpu/e_log.S: Likewise.
56431         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56432         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56433         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56434         * sysdeps/i386/fpu/e_logf.S: Likewise.
56435         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56436         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56437         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56438         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56439         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56440         * sysdeps/i386/fpu/e_log10.S: Likewise.
56441         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56442         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56443         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56444         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56445         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56446         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56447         * sysdeps/i386/asm-syntax.h: Likewise.
56448         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56449         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56450         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56451         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56452         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56453         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56454         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56455         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56456         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56457         * sysdeps/powerpc/sysdep.h: Likewise.
56458         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56459         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56461 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56463         [BZ #411]
56464         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56466 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56468         * sysdeps/i386/sysdep.h: Include <features.h>.
56469         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56470         version.
56472 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56474         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56475         Define.
56476         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56477         LOAD_PIC_REG_STR.
56479 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56481         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56482         (SETUP_PIC_REG): Use GET_PC_THUNK.
56483         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56484         macro.
56486 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56488         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56489         for non-PIC compilation.
56490         (SETUP_PIC_REG): Add .p2align directive.
56491         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56492         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56493         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56494         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56495         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56496         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56497         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56498         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56499         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56500         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56501         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56502         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56503         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56504         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56505         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56506         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56507         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56508         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56509         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56510         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56511         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56512         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56513         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56514         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56515         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56516         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56517         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56518         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56519         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56520         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56521         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56522         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56523         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56524         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56525         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56526         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56527         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56528         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56529         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56530         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56531         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56533 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56535         * math/tst-CMPLX.c: Include <stdio.h>.
56537 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56539         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56540         float.
56541         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56542         * sysdeps/sparc/bits/mathdef.h: Likewise.
56544 2012-01-31  Marek Polacek  <polacek@redhat.com>
56546         * libio/libio.h: Don't define _PARAMS.
56547         * locale/programs/config.h: Don't define PARAMS.
56548         * stdlib/strtol_l.c: Likewise.
56549         (__strtol_l): Remove PARAMS from the prototype.
56551 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56553         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56554         names.  Just use the correct names.  Remove unnecessary wrapper
56555         functions.
56556         * malloc/arena.c: Likewise.
56557         * malloc/hooks.c: Likewise.
56559         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56560         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56561         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56563 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56565         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56566         into tail calls.
56567         (update_get_addr): New function.
56568         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56569         GET_ADDR_MODULE parameter.
56571 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56573         * crypt/cert.c: Remove __STDC__ conditionals.
56574         * crypt/crypt-entry.c: Likewise.
56575         * crypt/crypt_util.c: Likewise.
56576         * libio/filedoalloc.c: Likewise.
56577         * libio/fileops.c: Likewise.
56578         * libio/genops.c: Likewise.
56579         * libio/iofclose.c: Likewise.
56580         * libio/iofdopen.c: Likewise.
56581         * libio/iofopen.c: Likewise.
56582         * libio/iofopen64.c: Likewise.
56583         * libio/iogetdelim.c: Likewise.
56584         * libio/iopopen.c: Likewise.
56585         * libio/obprintf.c: Likewise.
56586         * libio/oldfileops.c: Likewise.
56587         * libio/oldiofclose.c: Likewise.
56588         * libio/oldiofdopen.c: Likewise.
56589         * libio/oldiofopen.c: Likewise.
56590         * libio/oldiopopen.c: Likewise.
56591         * libio/wfiledoalloc.c: Likewise.
56592         * libio/wgenops.c: Likewise.
56593         * locale/programs/xmalloc.c: Likewise.
56594         * misc/syslog.c: Likewise.
56595         * stdio-common/xbug.c: Likewise.
56596         * string/memchr.c: Likewise.
56597         * string/memcmp.c: Likewise.
56598         * string/memrchr.c: Likewise.
56599         * string/rawmemchr.c: Likewise.
56600         * sysdeps/posix/getcwd.c: Likewise.
56601         * time/strftime_l.c: Likewise.
56603 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56605         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56606         * config.make.in (config-cflags-sse2avx): Define.
56607         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56608         Fix typo.
56610 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56612         * scripts/config.guess: Update from upstream config git repository.
56613         * scripts/config.sub: Likewise.
56615 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56617         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56618         (EM_NUM): Update.
56619         (R_TILEPRO_*, R_TILEGX_*): New macros.
56621         * scripts/firstversions.awk: Fix bug in version range handling.
56623         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56625         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56627         * include/sys/epoll.h: New file.
56628         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56629         libc_hidden_def.
56631 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56633         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56634         Avoid unnecessary __WORDSIZE == 64 test.
56635         (fmaxf): Use VEX format if possible.
56636         (fmax): Likewise.
56637         (fminf): Likewise.
56638         (fmin): Likewise.
56640         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56641         * math/math_private.h: Remove libc_fegetround* and
56642         libc_fesetround*.
56643         * sysdeps/i386/configure.in: Check for -msse2avx.
56644         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56645         also if SSE2AVX is defined.
56646         Remove libc_fegetround* and libc_fesetround*.
56647         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56648         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56649         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56650         of HAS_YMM_USABLE.
56651         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56652         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56653         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56654         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56655         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56657         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56659 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56661         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56662         size is not set.
56663         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56665 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56667         [BZ #13618]
56668         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56669         relocation.
56670         * Makeconfig (libm): Define.
56671         * elf/Makefile: Add rules to build and run tst-relsort1.
56672         * elf/tst-relsort1.c: New file.
56673         * elf/tst-relsort1mod1.c: New file.
56674         * elf/tst-relsort1mod2.c: New file.
56676 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56678         * math/s_ldexp.c: Remove __STDC__ conditionals.
56679         * math/s_ldexpf.c: Likewise.
56680         * math/s_ldexpl.c: Likewise.
56681         * math/s_nextafter.c: Likewise.
56682         * math/s_nexttowardf.c: Likewise.
56683         * math/s_significand.c: Likewise.
56684         * math/s_significandf.c: Likewise.
56685         * math/s_significandl.c: Likewise.
56686         * math/w_jnl.c: Likewise.
56687         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56688         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56689         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56690         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56691         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56692         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56693         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56694         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56695         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56696         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56697         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56698         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56699         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56700         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56701         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56702         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56703         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56704         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56706         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56707         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56708         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56709         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56710         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56711         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56712         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56713         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56714         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56715         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56716         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56717         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56718         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56719         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56720         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56721         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56722         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56723         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56724         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56725         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56726         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56727         * sysdeps/ieee754/k_standard.c: Likewise.
56728         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56729         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56730         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56731         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56732         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56733         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56734         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56735         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56736         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56737         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56738         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56739         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56740         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56741         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56742         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56743         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56744         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56745         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56746         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56747         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56748         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56749         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56750         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56751         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56752         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56753         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56754         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56755         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56756         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56757         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56758         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56759         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56760         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56761         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56762         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56763         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56764         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56765         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56766         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56767         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56768         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56769         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56770         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56771         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56772         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56773         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56774         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56775         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56776         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56777         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56778         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56779         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56780         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56781         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56782         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56783         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56784         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56785         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56786         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56787         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56788         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56789         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56790         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56791         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56792         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56793         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56794         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56795         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56796         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56797         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56798         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56799         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56800         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56801         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56802         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56803         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56804         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56805         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56806         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56807         * sysdeps/ieee754/s_matherr.c: Likewise.
56808         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56809         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56810         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56811         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56813 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56815         * crypt/md5.h: Remove __STDC__ conditionals.
56816         * libio/libioP.h: Likewise.
56817         * locale/programs/config.h: Likewise.
56818         * sysdeps/generic/sysdep.h: Likewise.
56819         * sysdeps/i386/asm-syntax.h: Likewise.
56820         * sysdeps/s390/asm-syntax.h: Likewise.
56821         * sysdeps/unix/sysdep.h: Likewise.
56822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56825 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56827         * libio/libio.h: Remove __STDC__ conditionals.
56828         * malloc/obstack.h: Likewise.
56829         * math/complex.h: Likewise.
56830         * math/math.h: Likewise.
56831         * sysdeps/generic/_G_config.h: Likewise.
56832         * sysdeps/gnu/_G_config.h: Likewise.
56833         * sysdeps/mach/hurd/_G_config.h: Likewise.
56834         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56835         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56836         * sysdeps/sparc/bits/mathdef.h: Likewise.
56838 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56840         [BZ #13583]
56841         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56842         Clean up HAS_* macros.
56843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56844         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56845         possible.
56846         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56847         HAS_AVX.
56848         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56849         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56850         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56851         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56852         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56854 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56856         * elf/tst-unique3.cc (gets): Remove declaration.
56857         * elf/tst-unique3lib.cc (gets): Likewise.
56858         * elf/tst-unique3lib2.cc (gets): Likewise.
56859         * elf/tst-unique4.cc (gets): Likewise.
56861 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56863         * include/stdio.h: Add C++ protection.  Add gets declarations and
56864         definitions.
56865         * debug/tst-chk1.c: Don't declare gets here.
56866         * stdio-common/tst-gets.c: Likewise.
56868 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56870         * posix/glob: Remove directory.
56872 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56874         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56876 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56878         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56879         of the non-standard EPFNOSUPPORT.
56881 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56883         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56884         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56885         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56887 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56889         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56891 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56893         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56894         transient errors.
56895         * nscd/grpcache.c (cache_addgr): Likewise.
56896         * nscd/hstcache.c (cache_addhst): Likewise.
56897         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56898         * nscd/pwdcache.c (cache_addpw): Likewise.
56899         * nscd/servicescache.c (cache_addserv): Likewise.
56901 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56903         * malloc/malloc.c: Various cleanups.
56904         * malloc/hooks.c: Likewise.
56906         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56907         * stdlib/bug-fmtmsg1.c: New file.
56909         * stdlib/fmtmsg.c (init): Add missing unlock.
56910         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56912 2012-01-12  Marek Polacek  <polacek@redhat.com>
56914         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56915         and _GNU_SOURCE.
56917 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56919         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56920         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56921         macro to ensure uniqueness of label name.
56922         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56923         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56925 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56927         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56929         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56930         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56932         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56934 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56936         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56938         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56939         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56940         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56942         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56944         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56945         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56946         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56949         * math/bits/math-finite.h: Add ldexp support.
56951 2012-01-10  Marek Polacek  <polacek@redhat.com>
56953         * locale/programs/localedef.h (show_archive_content): Add noreturn
56954         attribute.
56956 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56958         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56960 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56962         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56964         * io/Makefile (headers): Add bits/poll2.h.
56966 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56969         typo #include statement.
56971 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56973         * include/sys/cdefs.h: Define __attribute_alloc_size.
56974         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56975         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56976         * elf/pldd.c: Likewise.
56977         * iconv/iconv_charmap.c: Likewise.
56978         * iconv/iconvconfig.c: Likewise.
56979         * iconv/strtab.c: Likewise.
56980         * locale/programs/locale.c: Likewise.
56981         * locale/programs/localedef.h: Likewise.
56982         * locale/programs/simple-hash.c: Likewise.
56983         * nscd/nscd.h: Likewise.
56984         * nss/makedb.c: Likewise.
56985         * sysdeps/generic/ldconfig.h: Likewise.
56986         * locale/programs/localedef.c: Remove xmalloc prototype.
56987         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56989 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56991         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56992         appropriate.
56994 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56996         * math/Makefile (tests): Add tst-CMPLX.
56997         * math/tst-CMPLX.c: New file.
56999         * math/complex.h (CMPLXL): Fix typo.
57001         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57002         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57003         GLIBC_2.16.
57004         * debug/tst-chk1.c: Add poll and ppoll tests.
57005         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57006         * include/sys/poll.h: Add hidden proto for ppoll.
57007         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57008         * sysdeps/mach/hurd/ppoll.c: Likewise.
57009         * io/ppoll.c: Likewise.
57010         * debug/poll_chk.c: New file.
57011         * debug/ppoll_chk.c: New file.
57012         * include/bits/poll2.h: New file.
57013         * io/bits/poll2.h: New file.
57015         [BZ #1350]
57016         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57018         * configure.in: static is always set to yes.  Remove.
57019         * config.make.in: Don't set build-static.
57020         * Makeconfig: Remove use of build-static.
57021         * dlfcn/Makefile: Likewise.
57022         * elf/Makefile: Likewise.
57023         * math/Makefile: Likewise.
57024         * misc/Makefile: Likewise.
57025         * nptl/Makefile: Likewise.
57026         * sysdeps/mach/hurd/Makefile: Likewise.
57028         * configure.in: PWD_P is not used anymore.
57029         * config.make.in: Remove PWD_P entry.
57031         * configure.in: Remove last remnants of RANLIB.
57032         No need to check for signed size_t anymore.
57033         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57034         and IA-64.
57035         Remove __builtin_expect test because we require at least gcc 3.4.
57036         * aclocal.m4: Likewise.
57038         * wcsmbs/mbrtoc16.c: Implement using towc function.
57039         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57040         * wcsmbs/wcsmbsload.c: Likewise.
57041         * iconv/gconv_simple.c: Likewise.
57042         * iconv/gconv_int.h: Likewise.
57043         * iconv/gconv_builtin.h: Likewise.
57044         * iconv/iconv_prog.c: Remove CHAR16 handling.
57046         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57048         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57050         * configure.in: Remove --with-elf and --enable-bounded options.
57051         Dont set base_machine for ia64.  More non-ELF conditions removed.
57052         Remove testing and setting of leading underscore information.
57053         * config.make.in (build-bounded): Set to no.
57054         * config.h.in: Remove NO_UNDERSCORES entry.
57055         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57056         them.
57057         * csu/start.c: Remove !NO_UNDERSCORE code.
57058         * locale/localeinfo.h: Likewise.
57059         * sysdeps/generic/machine-gmon.h: Likewise.
57060         * sysdeps/generic/sysdep.h: Likewise.
57061         * sysdeps/i386/sysdep.h: Likewise.
57062         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57063         * sysdeps/mach/sysdep.h: Likewise.
57064         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57065         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57066         * sysdeps/sh/sysdep.h: Likewise.
57067         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57068         * sysdeps/unix/i386/sysdep.S: Likewise.
57069         * sysdeps/unix/sparc/start.c: Likewise.
57070         * sysdeps/unix/sparc/sysdep.S: Likewise.
57071         * sysdeps/unix/sparc/sysdep.h: Likewise.
57072         * sysdeps/unix/start.c: Likewise.
57073         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57074         * sysdeps/x86_64/sysdep.h: Likewise.
57076 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57078         [BZ #13553]
57079         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57080         for non-gcc.
57081         * argp/argp-fmtstream.h: Use const instead __const.
57082         * argp/argp.h: Likewise.
57083         * assert/assert.h: Likewise.
57084         * bits/fenv.h: Likewise.
57085         * bits/sched.h: Likewise.
57086         * bits/sigset.h: Likewise.
57087         * bits/sigthread.h: Likewise.
57088         * catgets/nl_types.h: Likewise.
57089         * conform/data/pthread.h-data: Likewise.
57090         * crypt/crypt-private.h: Likewise.
57091         * crypt/crypt.h: Likewise.
57092         * crypt/crypt_util.c: Likewise.
57093         * ctype/ctype.h: Likewise.
57094         * debug/execinfo.h: Likewise.
57095         * debug/mbsnrtowcs_chk.c: Likewise.
57096         * debug/mbsrtowcs_chk.c: Likewise.
57097         * debug/wcsnrtombs_chk.c: Likewise.
57098         * debug/wcsrtombs_chk.c: Likewise.
57099         * debug/wcstombs_chk.c: Likewise.
57100         * dirent/dirent.h: Likewise.
57101         * dlfcn/dlfcn.h: Likewise.
57102         * elf/neededtest4.c: Likewise.
57103         * grp/grp.h: Likewise.
57104         * gshadow/gshadow.h: Likewise.
57105         * iconv/gconv.h: Likewise.
57106         * iconv/gconv_int.h: Likewise.
57107         * iconv/gconv_simple.c: Likewise.
57108         * iconv/iconv.h: Likewise.
57109         * iconv/loop.c: Likewise.
57110         * iconv/skeleton.c: Likewise.
57111         * include/aio.h: Likewise.
57112         * include/aliases.h: Likewise.
57113         * include/argz.h: Likewise.
57114         * include/arpa/inet.h: Likewise.
57115         * include/assert.h: Likewise.
57116         * include/dirent.h: Likewise.
57117         * include/dlfcn.h: Likewise.
57118         * include/execinfo.h: Likewise.
57119         * include/fcntl.h: Likewise.
57120         * include/fenv.h: Likewise.
57121         * include/glob.h: Likewise.
57122         * include/grp.h: Likewise.
57123         * include/libintl.h: Likewise.
57124         * include/mntent.h: Likewise.
57125         * include/netdb.h: Likewise.
57126         * include/pwd.h: Likewise.
57127         * include/rpc/netdb.h: Likewise.
57128         * include/sched.h: Likewise.
57129         * include/search.h: Likewise.
57130         * include/shadow.h: Likewise.
57131         * include/signal.h: Likewise.
57132         * include/stdio.h: Likewise.
57133         * include/stdlib.h: Likewise.
57134         * include/string.h: Likewise.
57135         * include/sys/socket.h: Likewise.
57136         * include/sys/stat.h: Likewise.
57137         * include/sys/statfs.h: Likewise.
57138         * include/sys/statvfs.h: Likewise.
57139         * include/sys/syslog.h: Likewise.
57140         * include/sys/time.h: Likewise.
57141         * include/sys/uio.h: Likewise.
57142         * include/time.h: Likewise.
57143         * include/unistd.h: Likewise.
57144         * include/utmp.h: Likewise.
57145         * include/wchar.h: Likewise.
57146         * include/wctype.h: Likewise.
57147         * inet/aliases.h: Likewise.
57148         * inet/arpa/inet.h: Likewise.
57149         * inet/netinet/ether.h: Likewise.
57150         * inet/netinet/in.h: Likewise.
57151         * intl/libintl.h: Likewise.
57152         * io/bits/fcntl2.h: Likewise.
57153         * io/fcntl.h: Likewise.
57154         * io/ftw.h: Likewise.
57155         * io/sys/poll.h: Likewise.
57156         * io/sys/stat.h: Likewise.
57157         * io/sys/statfs.h: Likewise.
57158         * io/sys/statvfs.h: Likewise.
57159         * io/utime.h: Likewise.
57160         * libio/bits/stdio.h: Likewise.
57161         * libio/bits/stdio2.h: Likewise.
57162         * libio/libio.h: Likewise.
57163         * libio/libioP.h: Likewise.
57164         * libio/stdio.h: Likewise.
57165         * locale/lc-ctype.c: Likewise.
57166         * locale/locale.h: Likewise.
57167         * login/utmp.h: Likewise.
57168         * malloc/arena.c: Likewise.
57169         * malloc/malloc.c: Likewise.
57170         * malloc/malloc.h: Likewise.
57171         * malloc/mcheck.c: Likewise.
57172         * malloc/mtrace.c: Likewise.
57173         * math/bits/mathcalls.h: Likewise.
57174         * math/fenv.h: Likewise.
57175         * math/math_private.h: Likewise.
57176         * misc/bits/error.h: Likewise.
57177         * misc/bits/syslog.h: Likewise.
57178         * misc/err.h: Likewise.
57179         * misc/error.h: Likewise.
57180         * misc/fstab.h: Likewise.
57181         * misc/mntent.h: Likewise.
57182         * misc/regexp.h: Likewise.
57183         * misc/search.h: Likewise.
57184         * misc/sgtty.h: Likewise.
57185         * misc/sys/mman.h: Likewise.
57186         * misc/sys/syslog.h: Likewise.
57187         * misc/sys/uio.h: Likewise.
57188         * misc/sys/xattr.h: Likewise.
57189         * misc/ttyent.h: Likewise.
57190         * nis/rpcsvc/ypclnt.h: Likewise.
57191         * nss/nss.h: Likewise.
57192         * posix/bits/unistd.h: Likewise.
57193         * posix/fnmatch.h: Likewise.
57194         * posix/glob.h: Likewise.
57195         * posix/sched.h: Likewise.
57196         * posix/spawn.h: Likewise.
57197         * posix/sys/wait.h: Likewise.
57198         * posix/unistd.h: Likewise.
57199         * posix/wordexp.h: Likewise.
57200         * pwd/pwd.h: Likewise.
57201         * resolv/netdb.h: Likewise.
57202         * resource/sys/resource.h: Likewise.
57203         * rt/aio.h: Likewise.
57204         * rt/bits/mqueue2.h: Likewise.
57205         * rt/mqueue.h: Likewise.
57206         * shadow/shadow.h: Likewise.
57207         * signal/signal.h: Likewise.
57208         * socket/send.c: Likewise.
57209         * socket/sendto.c: Likewise.
57210         * socket/sys/socket.h: Likewise.
57211         * stdio-common/printf.h: Likewise.
57212         * stdlib/bits/stdlib.h: Likewise.
57213         * stdlib/fmtmsg.h: Likewise.
57214         * stdlib/monetary.h: Likewise.
57215         * stdlib/stdlib.h: Likewise.
57216         * stdlib/ucontext.h: Likewise.
57217         * streams/stropts.h: Likewise.
57218         * string/argz.h: Likewise.
57219         * string/bits/string2.h: Likewise.
57220         * string/string.h: Likewise.
57221         * string/strings.h: Likewise.
57222         * sunrpc/rpc/auth.h: Likewise.
57223         * sunrpc/rpc/auth_des.h: Likewise.
57224         * sunrpc/rpc/clnt.h: Likewise.
57225         * sunrpc/rpc/netdb.h: Likewise.
57226         * sunrpc/rpc/pmap_clnt.h: Likewise.
57227         * sunrpc/rpc/xdr.h: Likewise.
57228         * sysdeps/generic/inttypes.h: Likewise.
57229         * sysdeps/generic/net/if.h: Likewise.
57230         * sysdeps/generic/sys/swap.h: Likewise.
57231         * sysdeps/gnu/net/if.h: Likewise.
57232         * sysdeps/gnu/utmpx.h: Likewise.
57233         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57234         * sysdeps/i386/i486/bits/string.h: Likewise.
57235         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57236         * sysdeps/s390/bits/string.h: Likewise.
57237         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57238         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57239         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57240         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57241         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57242         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57243         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57244         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57245         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57246         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57247         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57248         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57249         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57250         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57251         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57252         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57253         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57254         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57255         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57256         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57257         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57258         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57259         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57260         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57261         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57262         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57263         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57264         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57265         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57266         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57267         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57268         * sysvipc/sys/ipc.h: Likewise.
57269         * sysvipc/sys/msg.h: Likewise.
57270         * sysvipc/sys/sem.h: Likewise.
57271         * sysvipc/sys/shm.h: Likewise.
57272         * termios/termios.h: Likewise.
57273         * time/sys/time.h: Likewise.
57274         * time/time.h: Likewise.
57275         * wcsmbs/bits/wchar2.h: Likewise.
57276         * wcsmbs/uchar.h: Likewise.
57277         * wcsmbs/wchar.h: Likewise.
57278         * wctype/wctype.h: Likewise.
57280         [BZ #13551]
57281         * Makeconfig: Remove all but ELF support including AIX support.
57282         * Makerules: Likewise.
57283         * config.h.in: Likewise.
57284         * config.make.in: Likewise.
57285         * configure: Likewise.
57286         * configure.in: Likewise.
57287         * csu/Makefile: Likewise.
57288         * csu/version.c: Likewise.
57289         * debug/Makefile: Likewise.
57290         * dlfcn/Makefile: Likewise.
57291         * elf/Makefile: Likewise.
57292         * extra-lib.mk: Likewise.
57293         * iconv/Makefile: Likewise.
57294         * include/libc-symbols.h: Likewise.
57295         * include/shlib-compat.h: Likewise.
57296         * resolv/Makefile: Likewise.
57297         * resolv/res_libc.c: Likewise.
57298         * rt/Makefile: Likewise.
57299         * sysdeps/i386/asm-syntax.h: Likewise.
57300         * sysdeps/i386/sysdep.h: Likewise.
57301         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57302         * sysdeps/mach/sysdep.h: Likewise.
57303         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57304         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57305         * sysdeps/s390/asm-syntax.h: Likewise.
57306         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57307         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57308         * sysdeps/sh/sysdep.h: Likewise.
57309         * sysdeps/unix/sparc/sysdep.h: Likewise.
57310         * sysdeps/wordsize-32/divdi3.c: Likewise.
57311         * sysdeps/x86_64/sysdep.h: Likewise.
57313         * argp/Versions: Remove _argp_unlock_xxx.
57315         [BZ #13559]
57316         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57317         * abilist/libBrokenLocale.abilist: Likewise.
57318         * abilist/libanl.abilist: Likewise.
57319         * abilist/libc.abilist: Likewise.
57320         * abilist/libcrypt.abilist: Likewise.
57321         * abilist/libdl.abilist: Likewise.
57322         * abilist/libm.abilist: Likewise.
57323         * abilist/libnsl.abilist: Likewise.
57324         * abilist/libpthread.abilist: Likewise.
57325         * abilist/libresolv.abilist: Likewise.
57326         * abilist/librt.abilist: Likewise.
57327         * abilist/libthread_db.abilist: Likewise.
57328         * abilist/libutil.abilist: Likewise.
57329         * abilist/libnss_db.abilist: New file.
57331         * scripts/abilist.awk: Add support for indirect functions.
57333         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57335         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57337         * shlib-versions: Remove entries for ports architectures.
57339         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57340         files in ports.
57341         * elf/stackguard-macros.h: Remove support for IA-64.
57342         * elf/tst-auditmod1.c: Likewise.
57343         * sysdeps/generic/ldsodefs.h: Likewise.
57345         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57346         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57347         configure files.
57349         [BZ #13552]
57350         * configure.in: Remove --enable-omitfp support.
57351         * FAQ.in: Adjust.
57352         * config.make.in: Likewise.
57353         * Makeconfig: Likewise.
57354         * manual/install.texi: Likewise.
57356         In case anyone cares, the IA-64 architecture could move to ports.
57357         * sysdeps/ia64/*: Removed.
57358         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57359         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57361         [BZ #13555]
57362         * configure.in: Remove entries for unsupported architectures.
57364         [BZ #13533]
57365         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57366         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57367         routines.
57368         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57369         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57370         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57371         fall back to using wcrtomb.
57372         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57373         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57374         renaming.
57375         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57376         * wcsmbs/tst-c16c32-1.c: New file.
57378         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57379         local variable.
57381         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57383         * elf/tst-unique3.cc: Add explicit declaration of gets.
57384         * elf/tst-unique3lib.cc: Likewise.
57385         * elf/tst-unique3lib2.cc: Likewise.
57386         * elf/tst-unique4.cc: Likewise.
57388         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57390 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57392         [BZ #13566]
57393         * assert/assert.h (static_assert): Don't define for C++.
57394         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57395         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57397 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57399         * iconv/loop.c (single loop): Fix assertion in storing of
57400         remaining bytes.
57402         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57404 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57406         * posix/getconf.c: Update copyright year.
57407         * nss/getent.c: Likewise.
57408         * nss/makedb.c: Likewise.
57409         * iconv/iconvconfig.c: Likewise.
57410         * iconv/iconv_prog.c: Likewise.
57411         * elf/ldconfig.c: Likewise.
57412         * elf/pldd.c: Likewise.
57413         * elf/sotruss.ksh: Likewise.
57414         * catgets/gencat.c: Likewise.
57415         * csu/version.c: Likewise.
57416         * elf/ldd.bash.in: Likewise.
57417         * elf/sprof.c (print_version): Likewise.
57418         * locale/programs/locale.c: Likewise.
57419         * locale/programs/localedef.c: Likewise.
57420         * login/programs/pt_chown.c: Likewise.
57421         * nscd/nscd.c (print_version): Likewise.
57422         * debug/xtrace.sh: Likewise.
57423         * malloc/memusage.sh: Likewise.
57424         * malloc/mtrace.pl: Likewise.
57425         * debug/catchsegv.sh: Likewise.
57427 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57429         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57430         pure attribute.
57432 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57434         [BZ #13533]
57435         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57436         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57437         transformations.
57438         * iconv/gconv_int.h: Likewise.
57439         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57440         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57441         from libc for GLIBC_2.16.
57442         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57443         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57444         * wcsmbs/uchar.h: Really define mbstate_t.
57445         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57446         * wcsmbs/c16rtomb.c: New file.
57447         * wcsmbs/mbrtoc16.c: New file.
57448         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57449         for C/POSIX locale.
57450         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57451         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57453         * wcsmbs/wchar.h: Add missing __restrict.
57455 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57457         [BZ #13532]
57458         * time/Makefile (routines): Add timespec_get.
57459         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57460         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57461         timespec for ISO C11.
57462         * time/timespec_get.c: New file.
57463         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57464         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57466         [BZ #13531]
57467         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57468         * stdlib/stdlib.h: Declare aligned_alloc.
57469         * Versions.def: Add GLIBC_2.16 for libc.
57470         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57472         [BZ 13527]
57473         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57474         ISO C11.
57476         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57477         code.
57479         [BZ #13528]
57480         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57482         [BZ #13529]
57483         * assert/assert.h (static_assert): Define.
57485         * version.h: Update for 2.16 development version.
57487         [BZ #13526]
57488         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57489         _ISOC11_SOURCE.
57491         * version.h (RELEASE): Bump for 2.15 release.
57492         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57494         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57495         Patch by Marek Polacek <mpolacek@redhat.com>.
57497         * bits/byteswap.h: Protect long long constants with __extension__.
57498         * sysdeps/i386/bits/byteswap.h: Likewise.
57499         * sysdeps/ia64/bits/byteswap.h: Likewise.
57500         * sysdeps/s390/bits/byteswap.h: Likewise.
57501         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57503 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57505         [BZ #13540]
57506         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57507         destination buffer.
57508         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57510 2011-12-23  Marek Polacek  <polacek@redhat.com>
57512         * elf/dl-addr.c (determine_info): Add inline keyword.
57513         * elf/tst-auditmod4b.c (check_avx): Likewise.
57514         * elf/tst-auditmod6b.c (check_avx): Likewise.
57515         * elf/tst-auditmod6c.c (check_avx): Likewise.
57516         * elf/tst-auditmod7b.c (check_avx): Likewise.
57518 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57520         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57521         !__SSE_MATH__.
57523 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57525         [BZ #13540]
57526         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57527         processing for last bytes.
57529 2011-08-06  Bruno Haible  <bruno@clisp.org>
57531         [BZ #13061]
57532         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57533         U+0385, not to U+1FEE.
57535         [BZ #13062]
57536         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57537         entry for U+00A5 U+0301.
57539 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57541         [BZ #13166]
57542         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57543         buffer for the output is too small.
57545         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57546         optimization.
57548         [BZ #13185]
57549         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57550         SSE flags if possible.
57552 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57554         [BZ #13540]
57555         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57556         processing for last bytes.
57558 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57560         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57561         (syscall-list-default-options, syscall-list-default-condition)
57562         (syscall-list-includes): Define.
57563         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57564         list of ABIs and options and #if conditions for each ABI.  Do not
57565         handle common syscalls between ABIs specially.
57566         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57567         Remove.
57568         (syscall-list-variants, syscall-list-32bit-options)
57569         (syscall-list-32bit-condition, syscall-list-64bit-options)
57570         (syscall-list-64bit-condition): Define.
57571         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57572         (syscall-list-variants, syscall-list-32bit-options)
57573         (syscall-list-32bit-condition, syscall-list-64bit-options)
57574         (syscall-list-64bit-condition): Define.
57575         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57576         Remove.
57577         (syscall-list-variants, syscall-list-32bit-options)
57578         (syscall-list-32bit-condition, syscall-list-64bit-options)
57579         (syscall-list-64bit-condition): Define.
57580         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57581         Remove.
57582         (syscall-list-variants, syscall-list-32bit-options)
57583         (syscall-list-32bit-condition, syscall-list-64bit-options)
57584         (syscall-list-64bit-condition): Define.
57586 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57588         * locale/iso-639.def: Add brx entry.
57590         [BZ #13328]
57591         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57592         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57594         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57595         __feraiseexcept_renamed.
57597 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57599         [BZ #13538]
57600         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57601         EPOLLET with unsigned values.
57602         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57603         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57605         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57606         to large cancellation.
57607         * math/s_cacoshf.c: Likewise.
57608         * math/s_cacoshl.c: Likewise.
57610 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57612         [BZ #13305]
57613         [BZ #12786]
57614         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57615         * math/s_cacoshf.c: Likewise.
57616         * math/s_cacoshl.c: Likewise.
57618 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57620         [BZ #13439]
57621         * iconv/gconv.h: Define __GCONV_SWAP.
57622         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57623         * iconvdata/utf-16.c: Likewise.
57624         * iconvdata/utf-32.c: Likewise.
57626 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57628         [BZ #13524]
57629         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57630         numerator after shifting it by one limb.
57632 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57634         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57635         under [__USE_EXTERN_INLINES].
57637 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57639         [BZ #13446]
57640         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57642 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57644         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57645         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57646         optimized code.
57647         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57648         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57649         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57650         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57651         for strncasecmp/strncasecmp_l compilation.
57652         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57653         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57655 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57657         [BZ #13484]
57658         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57659         of __asm__.
57661 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57663         [BZ #13506]
57664         * time/tzfile.c (__tzfile_read): Check values from file header.
57666 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57668         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57669         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57670         * powerpc/powerpc32/dl-start.S: Likewise.
57671         * powerpc/powerpc32/elf/start.S: Likewise.
57672         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57673         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57674         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57675         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57676         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57677         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57678         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57679         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57680         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57681         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57682         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57683         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57684         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57685         * powerpc/powerpc32/memset.S: Likewise.
57686         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57687         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57688         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57689         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57690         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57691         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57692         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57693         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57694         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57695         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57696         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57697         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57698         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57700 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57702         * math/libm-test.inc: Added more nearbyint tests.
57703         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57704         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57705         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57706         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57708 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57710         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57711         FD_CLOEXEC.
57713 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57715         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57716         Add wcscpy-ssse3 wcscpy-c.
57717         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57718         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57719         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57720         * sysdeps/x86_64/wcschr.S: New file.
57721         * sysdeps/x86_64/wcsrchr.S: New file.
57722         * string/test-strcmp.c: Remove checking of wcscmp function for
57723         wrong alignments.
57724         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57725         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57726         wcsrchr-sse2 wcsrchr-c.
57727         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57728         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57729         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57730         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57731         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57732         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57733         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57734         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57735         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57736         * wcsmbc/wcschr.c (WCSCHR): New macro.
57738 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57740         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57741         * wcsmbs/test-wcsrchr.c: New file.
57742         * string/test-strrchr.c: Add wcsrchr support.
57743         (WIDE): New macro.
57744         * wcsmbs/test-wcscpy.c: New file.
57745         * string/test-strcpy.c: Add wcscpy support.
57746         (WIDE): New macro.
57748 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57750         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57751         the inner loop.
57753 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57755         [BZ #13472]
57756         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57758 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57760         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57761         Minor optimizations.
57763         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57764         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57765         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57767 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57769         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57770         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57771         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57772         for gcc to avoid warnings.
57773         * inet/Makefile (tests): Add tst-checks.
57774         * inet/tst-checks.c: New file.
57776         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57777         warning.
57779         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57780         __wmemcmp_sse2.
57782         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57783         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57785         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57787 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57789         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57790         problem.
57792         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57794 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57796         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57797         conditional on GCC version.
57798         (__arch_compare_and_exchange_val_8_acq)
57799         (__arch_compare_and_exchange_val_16_acq)
57800         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57801         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57802         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57804 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57806         * sysdeps/sh/backtrace.c: New file.
57808 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57810         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57811         parenthesis.
57813 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57815         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57816         falling back to utime.
57818 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57820         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57821         expectations for float.
57823 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57825         * locale/weight.h (findidx): Add parameter len.
57826         * locale/weightwc.h (findidx): Likewise.
57827         * posix/fnmatch_loop.c (FCT): Adjust caller.
57828         * posix/regcomp.c (build_equiv_class): Likewise.
57829         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57830         * posix/regexec.c (check_node_accept_bytes): Likewise.
57831         * string/strcoll_l.c (STRCOLL): Likewise.
57832         * string/strxfrm_l.c (STRXFRM): Likewise.
57834 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57836         * Makefile.in: Remove CVSOPT handling.
57837         * configure.in: Remove use of AC_REVISION.
57838         * iconvdata/Makefile (distribute): No need to filter out CVS.
57839         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57840         handling.
57842 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57845         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57846         [USE_AS_STRNCASECMP_L]: Likewise.
57847         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57848         NO_TLS_DIRECT_SEG_REFS.
57849         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57850         Fix argument offsets for non-PIC.
57851         [USE_AS_STRNCASECMP_L]: Likewise.
57852         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57853         NO_TLS_DIRECT_SEG_REFS.
57855 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57857         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57858         O_CLOEXEC.
57859         * locale/loadlocale.c (_nl_load_locale): Likewise.
57861 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57863         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57864         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57865         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57866         (SYSCALL_GETTIME): Set errno on error.
57868         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57869         count references to noai6ai_cached.
57871 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57873         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57875         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57876         FD_CLOEXEC for /proc/self/maps.
57878         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57879         FD_CLOEXEC for /proc/meminfo.
57881         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57882         gai.conf.
57884         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57885         FD_CLOEXEC for given file.
57887         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57889         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57890         FD_CLOEXEC for /etc/hosts.
57891         (_gethtent): Likewise.
57893         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57895         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57896         cancellation and set FD_CLOEXEC for /etc/netgroup.
57898         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57899         reading /etc/publickey.
57901         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57902         allow cancellation when reading /etc/group.
57904         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57905         cancellation.
57906         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57908         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57909         when using data file.
57911         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57913         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57914         (write_nis_obj): Use "c" and "e" in fopen.
57916         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57918         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57920         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57922         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57924         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57925         locale.alias.
57927         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57929         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57931         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57933         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57934         file parsing and set FD_CLOEXEC.
57936 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57938         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57940 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57942         * malloc/arena.c (arena_get2): Don't call reused_arena when
57943         _int_new_arena failed.
57945 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57947         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57948         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57949         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57950         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57951         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57952         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57953         to compile strcasecmp and strncasecmp.
57954         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57955         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57957         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57959 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57961         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57962         locale-defines.sym to gen-as-const-headers.
57963         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57964         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57965         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57966         to compile strcasecmp and strncasecmp.
57967         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57968         strcasecmp_l and strncasecmp_l.
57969         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57970         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57971         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57972         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57973         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57974         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57975         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57976         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57977         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57978         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57979         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57981 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57983         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57984         result of SYSDEP_GETTIME_CPU to retval.
57985         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57986         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57988         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57989         variable.
57991         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57992         mantissa words.
57993         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57995         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57996         from unused variable.
57998         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57999         DWARF definitions.
58000         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58001         for assembling.
58003         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58004         over namespaces.
58006         * sunrpc/rpc_prot.c (rejected): Fix case value.
58008         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58009         unsigned long long int to avoid warnings in shift.
58011         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58012         of use of trans.
58013         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58014         variable tmp.
58016         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58017         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58018         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58020         * nis/nis_table.c (nis_list): Use variable of correct type for
58021         result of __follow_path call.
58023 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58025         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58026         of math functions ceil, trunc, floor, round, and sqrt, when
58027         avaliable on the platform.
58028         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58029         name clash.
58030         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58031         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58032         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58034 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58036         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58037         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58039 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58041         * include/unistd.h: Fix __readlink return type.
58042         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58044 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58046         * stdlib/ucontext.h: Undo last change for makecontext.
58048 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58050         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58052         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58053         * setjmp/setjmp.h: Mark functions as non-leaf.
58054         * setjmp/bits/setjmp2.h: Likewise.
58055         * stdlib/ucontext.h: Likewise.
58057 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58059         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58060         (reused_arena): Don't check arena limit.
58061         (arena_get2): Atomically check arena limit.
58063 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58065         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58066         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58068         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58069         instructions.
58071 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58073         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58074         handler when locking.
58076         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58077         Fix size of allocated buffer.
58079 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58081         [BZ #10103]
58082         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58083         declarations for long double functions.
58084         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58086         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58088 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58090         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58091         installed.
58093         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58094         is disabled.
58096 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58098         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58100 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58102         * include/alloca.h (stackinfo_alloca_round): Define.
58103         (extend_alloca): Use it.
58104         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58105         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58106         here.
58108         * scripts/check-local-headers.sh: Ignore libaudit.h.
58110         * nscd/Makefile (extra-objs): Make recursively expanded.
58112 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58114         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58115         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58117         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58118         * posix/tst-rfc3484-2.c: Likewise.
58119         * posix/tst-rfc3484-3.c: Likewise.
58121         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58122         process_vm_writev.
58123         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58124         process_vm_writev.
58125         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58126         process_vm_writev from libc using GLIBC_2.15 version.
58128         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58130 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58132         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58133         stack usage.
58135 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58137         [BZ #13367]
58138         * nss/getent.c (initgroups_keys): Show error message in case no group
58139         names are given.
58141         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58142         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58143         __bump_nl_timestamp.
58144         * nscd/connections (nscd_init): When host database is served open
58145         netlink socket and request notification about configuration changes.
58146         (main_loop_poll): Track netlink file descriptor and bump timestamp
58147         in case data becomes available.
58148         (main_loop_epoll): Likewise.
58149         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58150         (database_pers_head): Add extra_data fileds.
58151         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58152         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58153         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58154         Adjust caller.
58155         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58156         in6ai data, call __free_in6ai.
58157         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58158         Add -DHAVE_NETLINK.
58159         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58160         interface information.  Reuse previous data if netlink timestamp
58161         is not changed.
58162         (__bump_nl_timestamp): New function.
58163         (__free_in6ai): New function.
58165 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58167         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58168         close_not_cancel_no_status here.
58169         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58171 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58173         [BZ #13276]
58174         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58175         return value.
58177         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58178         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58179         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58181 2011-07-03  Andreas Jaeger  <aj@suse.de>
58183         [BZ #10709]
58184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58185         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58186         * math/libm-test.inc (sin_test): Add test case.
58188 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58190         [BZ #13337]
58191         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58192         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58194         * elf/chroot_canon.c (chroot_canon): Cleanups.
58196         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58198         [BZ #13335]
58199         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58200         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58202         * string/test-strchr.c: Make usable for strchrnul testing.
58203         * string/test-strchrnul.c: New file.
58204         * string/Makefile (strop-tests): Add strchrnul.
58206         * po/it.po: Update from translation team.
58207         * po/es.po: Likewise.
58209 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58211         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58212         the three constants needed as parameters.  Drop the others.
58213         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58214         __m128i_strloadu_tolower.
58215         Create and initialize variable zero and use it in all the places
58216         where _mm_setzero_si128 was used.
58218         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58219         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58220         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58221         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58222         anymore.
58223         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58224         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58225         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58226         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58227         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58228         __mpranred, __mptan.
58229         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58230         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58231         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58232         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58233         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58234         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58235         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58236         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58237         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58239 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58241         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58242         redefine if SHARED.
58243         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58245         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58246         wide char related routines to wcsmbs subdir.
58248 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58250         [BZ #13344]
58251         * misc/sys/cdefs.h (__THROWNL): Define.
58252         * posix/unistd.h: Use __THREADNL instead of __THREAD
58253         for memory synchronization functions.
58255 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58257         [BZ #13349]
58258         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58259         doesn't exist.
58260         * manual/stdio.texi (Obstack Streams): Node removed.
58262 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58264         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58265         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58266         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58268         * math/math_private.h (math_force_eval): Allow non-addressable
58269         arguments.
58270         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58272 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58274         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58275         file is not needed.
58277         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58278         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58279         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58280         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58281         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58282         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58283         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58284         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58285         Add AVX variants.
58286         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58287         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58288         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58289         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58290         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58291         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58292         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58293         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58294         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58295         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58296         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58297         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58298         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58299         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58300         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58301         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58302         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58303         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58304         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58306         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58307         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58309         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58310         place.  Use VEX encoding when compiling for AVX.
58312 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58314         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58315         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58317         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58319 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58321         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58322         useless if() expression.
58323         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58324         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58325         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58326         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58327         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58328         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58329         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58330         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58331         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58332         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58333         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58334         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58335         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58336         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58337         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58338         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58339         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58340         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58341         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58343         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58345 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58347         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58348         condition.
58349         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58351 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58353         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58354         .text section.  Avoid duplicate constants.
58355         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58356         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58357         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58358         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58359         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58360         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58361         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58362         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58363         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58364         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58365         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58366         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58367         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58368         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58369         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58370         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58371         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58372         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58373         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58374         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58375         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58376         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58377         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58378         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58379         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58380         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58381         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58382         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58383         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58384         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58385         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58386         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58387         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58388         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58389         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58390         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58391         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58392         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58393         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58394         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58395         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58396         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58397         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58398         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58399         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58401 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58403         * sysdeps/x86_64/dla.h: Move to ...
58404         * sysdeps/x86_64/fpu/dla.h: ...here.
58405         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58406         situations.  Use __builtin_fma only for gcc 4.6 and up.
58408         * config.make.in: Add have-mfma4 entry.
58409         * configure.in: Substitute libc_cv_cc_fma4.
58410         * math/Makefile (dbl-only-routines): Add sincostab.
58411         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58412         Use __sincostab not sincos.
58413         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58414         name is a macro.
58415         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58418         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58419         using __copysign.
58420         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58421         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58422         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58423         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58424         and __inv.
58425         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58426         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58427         __copysign.
58428         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58429         define aliases when function name is a macro.
58430         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58431         sysdeps/ieee754/dbl-64/sincos.tbl.
58432         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58433         fma4-enabled routines.
58434         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58435         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58436         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58437         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58438         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58439         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58440         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58441         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58442         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58443         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58444         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58445         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58446         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58447         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58448         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58449         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58450         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58451         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58452         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58453         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58454         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58455         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58456         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58457         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58458         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58459         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58460         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58461         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58462         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58463         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58465         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58466         rename.
58467         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58468         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58469         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58471         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58472         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58473         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58474         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58476 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58478         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58480 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58482         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58484         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58485         prediction.
58486         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58488         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58489         Remove unused variable magic_bits.
58490         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58492         * string/strnlen.c: Define and use STRNLEN macro.
58493         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58494         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58495         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58496         * wcsmbs/wcslen.c: Define and use WCSLEN.
58497         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58498         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58499         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58500         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58501         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58502         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58503         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58505 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58508         strnlen-sse2-no-bsf.
58509         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58510         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58511         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58512         Add strnlen support.
58513         (USE_AS_STRNLEN): New macro.
58514         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58515         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58516         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58517         * sysdeps/x86_64/wcslen.S: New file.
58519 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58521         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58522         XMM-moves are used for copying on small sizes.
58524 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58526         * wcsmbs/Makefile (strop-tests): Add wcschr.
58527         * wcsmbs/test-wcschr.c: New file.
58528         * string/test-strchr.c: Update.
58529         Add wcschr support.
58530         (WIDE): New macro.
58532 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58534         * wcsmbs/Makefile (strop-tests): Add wcslen.
58535         * wcsmbs/test-wcslen.c: New file.
58536         * string/test-strlen.c: Update.
58537         Add wcslen support.
58538         (WIDE): New macro.
58540 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58542         * po/it.po: Update from translation team.
58544 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58546         * sysdeps/x86_64/wcscmp.S: Update.
58547         Fix wrong comparison semantics.
58548         wcscmp shall use signed comparison not unsigned.
58549         Don't use substraction to avoid overflow bug.
58550         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58551         * wcsmbc/wcscmp.c: Likewise.
58552         * string/test-strcmp.c: Likewise.
58553         Add new tests to check cases with negative values.
58555 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58557         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58558         * sysdeps/x86_64/dla.h: ...here.  New file.
58559         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58560         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58561         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58562         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58563         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58564         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58565         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58566         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58567         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58569 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58571         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58572         __ynl_finite aliases.
58574 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58578         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58579         define DLA_FMA.
58580         [DLA_FMA] (EMULV): Use DLA_FMA.
58581         [DLA_FMA] (MUL12): Use EMULV.
58582         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58583         that are not needed.
58584         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58585         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58586         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58587         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58588         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58589         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58592 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58594         * math/s_nan.c: Undef __nan.
58595         * math/s_nanf.c: Undef __nanf.
58596         * math/s_nanl.c: Undef __nanl.
58597         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58598         "math_private.h".
58600 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58602         * math/s_catan.c: Add branch predictions.
58603         * math/s_catanf.c: Likewise.
58604         * math/s_catanh.c: Likewise.
58605         * math/s_catanhf.c: Likewise.
58606         * math/s_catanhl.c: Likewise.
58607         * math/s_catanl.c: Likewise.
58608         * math/s_cexp.c: Likewise.
58609         * math/s_cexpf.c: Likewise.
58610         * math/s_cexpl.c: Likewise.
58611         * math/s_clog.c: Likewise.
58612         * math/s_clog10.c: Likewise.
58613         * math/s_clog10f.c: Likewise.
58614         * math/s_clog10l.c: Likewise.
58615         * math/s_clogf.c: Likewise.
58616         * math/s_clogl.c: Likewise.
58617         * math/s_csqrt.c: Likewise.
58618         * math/s_csqrtf.c: Likewise.
58619         * math/s_csqrtl.c: Likewise.
58620         * math/s_ctanf.c: Likewise.
58621         * math/s_ctanh.c: Likewise.
58622         * math/s_ctanhf.c: Likewise.
58623         * math/s_ctanhl.c: Likewise.
58624         * math/s_ctanl.c: Likewise.
58626         * math/math_private.h: Define __nan, __nanf, __nanl.
58627         * math/s_cacosh.c: Include <math_private.h>.
58628         * math/s_cacoshl.c: Likewise.
58629         * math/s_casinh.c: Likewise.
58630         * math/s_casinhf.c: Likewise.
58631         * math/s_casinhl.c: Likewise.
58632         * math/s_ccos.c: Rely entire on ccosh.
58633         * math/s_ccosf.c: Rely entire on ccoshf.
58634         * math/s_ccosl.c: Rely entirely on ccoshl.
58635         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58636         Remove tests for FE_INVALID.
58637         * math/s_ccoshf.c: Likewise.
58638         * math/s_ccoshl.c: Likewise.
58639         * math/s_csin.c: Likewise.
58640         * math/s_csinf.c: Likewise.
58641         * math/s_csinh.c Likewise.
58642         * math/s_csinhf.c: Likewise.
58643         * math/s_csinhl.c: Likewise.
58644         * math/s_csinl.c: Likewise.
58645         * math/s_ctan.c: Likewise.
58646         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58647         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58648         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58650 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58653         compilation problems.
58655         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58656         __builtin_expect.
58658 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58660         * sysdeps/i386/configure.in: Test for -mfma4 option.
58661         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58662         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58663         COMMON_CPUID_INDEX_80000001.
58664         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58665         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58666         use it if FMA3 is not supported.
58667         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58669         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58670         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58672 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58674         [BZ #12892]
58675         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58676         it would create a cycle with a link time dependency.
58678 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58680         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58681         instruction.
58682         * string/Makefile (strop-tests): Add rawmemchr.
58683         * string/test-rawmemchr.c: New file.
58685         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58686         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58687         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58688         when compiling str{,n}casecmp and when AVX is available.  Hook up
58689         new optimized code in initializers.
58691 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58693         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58694         __feraiseexcept instead of feraiseexcept.
58696 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58698         * math/math_private.h: Define defaults for libc_fetestexcept and
58699         libc_feupdateenv.
58700         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58701         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58702         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58703         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58704         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58705         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58706         libc_fetestexcept and libc_feupdateenv.
58708         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58709         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58710         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58711         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58712         libc_feholdexcept_setround.
58714         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58715         Add s_nearbyint-c and s_nearbyintf-c.
58716         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58717         nearbyintf inlines.
58718         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58719         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58720         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58721         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58723         * math/math_private.h: Define defaults for libc_fegetround,
58724         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58725         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58726         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58727         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58728         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58729         standard functions.
58730         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58731         Remove comments and hacks for old compiler versions.
58732         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58733         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58734         libc_feholdexceptl.
58736 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58738         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58739         (__feraiseexcept_renamed): Add __NTH.
58740         (feraiseexcept): Add __NTH.  Rename local variables to fix
58741         namespace violations.
58743 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58745         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58747         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58749         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58750         recently added interfaces.
58751         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58753         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58754         about macro parameter expansion.
58756         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58757         __NO_MATH_INLINES is defined.  Cleanups.
58759         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58760         and __floorf is target has SSE4.1.
58761         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58762         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58763         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58764         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58766         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58767         name.
58768         (floorf): Likewise.
58770         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58772 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58774         * misc/sys/cdefs.h: Fix last change.
58776         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58777         database lookup.
58779 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58781         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58783         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58784         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58785         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58786         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58787         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58788         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58789         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58790         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58791         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58792         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58793         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58794         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58795         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58796         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58797         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58798         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58799         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58800         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58801         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58802         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58803         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58804         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58806         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58807         ceil, ceilf, floor, floorf.
58809         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58810         Perform IRELATIVE relocations last.
58812         * elf/do-rel.h: Add another parameter nrelative, replacing the
58813         local variable with the same name.  Change name of the function
58814         to end in Rel or Rela (uppercase).
58815         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58816         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58817         elf_dynamic_do_##reloc function.
58819 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58821         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58822         is sufficient, at least on modern CPUs.
58824         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58826         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58827         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58829         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58830         __expl_finite.
58831         * math/bits/math-finite.h: Add entries for exp.
58832         * math/e_expl.c: Add __*_finite alias.
58833         * sysdeps/i386/fpu/e_exp.S: Likewise.
58834         * sysdeps/i386/fpu/e_expf.S: Likewise.
58835         * sysdeps/i386/fpu/e_expl.c: Likewise.
58836         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58837         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58838         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58839         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58840         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58841         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58842         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58844         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58845         is sufficient, at least on modern CPUs.
58847         * ctype/ctype-info.c (__ctype_init): Define.
58848         * include/ctype.h (__ctype_init): Declare.
58849         (__ctype_b_loc): The variable is always initialized.
58850         (__ctype_toupper_loc): Likewise.
58851         (__ctype_tolower_loc): Likewise.
58852         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58853         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58855 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58857         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58859         * configure.in: Also look in $cxxmachine/include for C++ system
58860         headers.
58862 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58864         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58865         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58866         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58867         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58868         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58869         (USE_AS_WMEMCMP): New macro.
58870         Fixing indents.
58871         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58872         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58873         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58874         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58875         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58876         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58877         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58878         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58879         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58880         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58881         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58882         (USE_AS_WMEMCMP): New macro.
58883         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58884         * sysdeps/string/test-memcmp.c: Update.
58885         Fix simple_wmemcmp.
58886         Add new tests.
58887         * wcsmbs/wmemcmp.c: Update.
58888         (WMEMCMP): New macro.
58889         Fix overflow bug.
58891 2011-10-12  Andreas Jaeger  <aj@suse.de>
58893         [BZ #13268]
58894         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58896 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58898         * libio/iofwide.c (do_length): Avoid warning.
58900         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58902 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58904         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58906         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58907         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58908         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58909         * sysdeps/i386/i686/fpu/e_log.S: New file.
58910         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58911         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58913         * ctype/ctype.h: Add support for inlined isXXX functions when
58914         compiling C++ code.
58916 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58918         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58920         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58922 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58924         [BZ #13291]
58925         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58927 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58929         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58930         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58931         feraiseexcept.
58933         * sysdeps/x86_64/memrchr.S: Check for zero size.
58935         * string/stratcliff.c: Add memrchr tests.
58937 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58939         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58940         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58941         rawmemchr-sse2 rawmemchr-sse2-bsf.
58942         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58943         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58944         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58945         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58946         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58947         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58948         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58949         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58950         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58951         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58952         * string/memrchr.c (MEMRCHR): New macro.
58954 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58956         Add integration with gcc's -ffinite-math-only and optimize wrapper
58957         functions in libm.
58958         * Versions.def: Define GLIBC_2.15 version for libm.
58959         * math/Makefile (headers): Add bits/math-finite.h.
58960         * math/bits/math-finite.h: New file.
58961         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58962         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58963         * math/e_acoshl.c: Add __*_finite alias.
58964         * math/e_acosl.c: Likewise.
58965         * math/e_asinl.c: Likewise.
58966         * math/e_atan2l.c: Likewise.
58967         * math/e_atanhl.c: Likewise.
58968         * math/e_coshl.c: Likewise.
58969         * math/e_exp10.c: Likewise.
58970         * math/e_exp10f.c: Likewise.
58971         * math/e_exp10l.c: Likewise.
58972         * math/e_exp2l.c: Likewise.
58973         * math/e_fmodl.c: Likewise.
58974         * math/e_gammal_r.c: Likewise.
58975         * math/e_hypotl.c: Likewise.
58976         * math/e_j0l.c: Likewise.
58977         * math/e_j1l.c: Likewise.
58978         * math/e_jnl.c: Likewise.
58979         * math/e_lgammal_r.c: Likewise.
58980         * math/e_log10l.c: Likewise.
58981         * math/e_log2l.c: Likewise.
58982         * math/e_logl.c: Likewise.
58983         * math/e_powl.c: Likewise.
58984         * math/e_sinhl.c: Likewise.
58985         * math/e_sqrtl.c: Likewise.
58986         * math/e_scalb.c: Completely rewritten and optimized.
58987         * math/e_scalbf.c: Likewise.
58988         * math/e_scalbl.c: Likewise.
58989         * math/w_acos.c: Likewise.
58990         * math/w_acosf.c: Likewise.
58991         * math/w_acosl.c: Likewise.
58992         * math/w_acosh.c: Likewise.
58993         * math/w_acoshf.c: Likewise.
58994         * math/w_acoshl.c: Likewise.
58995         * math/w_asin.c: Likewise.
58996         * math/w_asinf.c: Likewise.
58997         * math/w_asinl.c: Likewise.
58998         * math/w_atan2.c: Likewise.
58999         * math/w_atan2f.c: Likewise.
59000         * math/w_atan2l.c: Likewise.
59001         * math/w_atanh.c: Likewise.
59002         * math/w_atanhf.c: Likewise.
59003         * math/w_atanhl.c: Likewise.
59004         * math/w_exp10.c: Likewise.
59005         * math/w_exp10f.c: Likewise.
59006         * math/w_exp10l.c: Likewise.
59007         * math/w_fmod.c: Likewise.
59008         * math/w_fmodf.c: Likewise.
59009         * math/w_fmodl.c: Likewise.
59010         * math/w_j0.c: Likewise.
59011         * math/w_j0f.c: Likewise.
59012         * math/w_j0l.c: Likewise.
59013         * math/w_j1.c: Likewise.
59014         * math/w_j1f.c: Likewise.
59015         * math/w_j1l.c: Likewise.
59016         * math/w_jn.c: Likewise.
59017         * math/w_jnf.c: Likewise.
59018         * math/w_log.c: Likewise.
59019         * math/w_logf.c: Likewise.
59020         * math/w_logl.c: Likewise.
59021         * math/w_log10.c: Likewise.
59022         * math/w_log10f.c: Likewise.
59023         * math/w_log10l.c: Likewise.
59024         * math/w_log2.c: Likewise.
59025         * math/w_log2f.c: Likewise.
59026         * math/w_log2l.c: Likewise.
59027         * math/w_pow.c: Likewise.
59028         * math/w_powf.c: Likewise.
59029         * math/w_powl.c: Likewise.
59030         * math/w_remainder.c: Likewise.
59031         * math/w_remainderf.c: Likewise.
59032         * math/w_remainderl.c: Likewise.
59033         * math/w_scalb.c: Likewise.
59034         * math/w_scalbf.c: Likewise.
59035         * math/w_scalbl.c: Likewise.
59036         * math/w_sqrt.c: Likewise.
59037         * math/w_sqrtf.c: Likewise.
59038         * math/w_sqrtl.c: Likewise.
59039         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59040         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59041         used.
59042         * math/math_private.h: Declare __kernel_standard_f.
59043         * math/w_cosh.c: Remove cruft and optimize a bit.
59044         * math/w_coshf.c: Likewise.
59045         * math/w_coshl.c: Likewise.
59046         * math/w_exp2.c: Likewise.
59047         * math/w_exp2f.c: Likewise.
59048         * math/w_exp2l.c: Likewise.
59049         * math/w_hypot.c: Likewise.
59050         * math/w_hypotf.c: Likewise.
59051         * math/w_hypotl.c: Likewise.
59052         * math/w_lgamma.c: Likewise.
59053         * math/w_lgamma_r.c: Likewise.
59054         * math/w_lgammaf.c: Likewise.
59055         * math/w_lgammaf_r.c: Likewise.
59056         * math/w_lgammal.c: Likewise.
59057         * math/w_lgammal_r.c: Likewise.
59058         * math/w_sinh.c: Likewise.
59059         * math/w_sinhf.c: Likewise.
59060         * math/w_sinhl.c: Likewise.
59061         * math/w_tgamma.c: Likewise.
59062         * math/w_tgammaf.c: Likewise.
59063         * math/w_tgammal.c: Likewise.
59064         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59065         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59066         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59067         Minor optimizations.  Pretty printing.  Remove cruft.
59068         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59069         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59070         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59071         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59072         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59073         * sysdeps/i386/fpu/e_asin.S: Likewise.
59074         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59075         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59076         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59077         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59078         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59079         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59080         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59081         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59082         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59083         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59084         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59085         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59086         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59087         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59088         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59089         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59090         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59091         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59092         * sysdeps/i386/fpu/e_log.S: Likewise.
59093         * sysdeps/i386/fpu/e_log10.S: Likewise.
59094         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59095         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59096         * sysdeps/i386/fpu/e_log2.S: Likewise.
59097         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59098         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59099         * sysdeps/i386/fpu/e_logf.S: Likewise.
59100         * sysdeps/i386/fpu/e_logl.S: Likewise.
59101         * sysdeps/i386/fpu/e_pow.S: Likewise.
59102         * sysdeps/i386/fpu/e_powf.S: Likewise.
59103         * sysdeps/i386/fpu/e_powl.S: Likewise.
59104         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59105         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59106         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59107         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59108         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59109         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59110         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59111         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59112         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59113         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59114         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59115         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59116         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59117         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59118         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59119         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59120         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59121         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59122         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59123         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59124         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59125         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59126         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59127         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59128         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59129         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59130         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59131         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59132         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59133         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59134         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59135         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59136         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59137         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59138         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59139         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59140         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59141         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59142         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59143         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59144         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59145         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59146         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59147         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59148         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59149         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59150         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59151         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59152         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59153         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59154         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59155         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59156         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59157         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59158         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59159         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59160         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59161         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59162         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59163         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59164         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59165         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59166         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59167         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59168         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59169         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59170         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59171         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59172         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59173         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59174         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59175         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59176         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59177         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59178         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59179         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59180         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59181         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59182         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59183         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59184         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59185         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59186         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59187         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59188         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59189         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59190         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59191         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59192         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59193         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59194         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59195         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59196         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59197         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59198         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59199         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59200         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59201         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59202         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59203         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59204         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59205         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59206         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59207         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59208         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59209         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59210         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59211         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59212         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59213         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59214         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59215         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59216         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59217         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59218         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59219         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59220         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59221         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59222         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59223         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59224         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59225         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59226         (__isnanf): Likewise.
59227         (__isinf_ns): Likewise.
59228         (__isinf_nsf): Likewise.
59229         (__finite): Likewise.
59230         (__finitef): Likewise.
59231         (__ieee754_sqrt): Define as macro.
59232         (__ieee754_sqrtf): Define as macro.
59233         (__ieee754_sqrtl): Define as macro.
59234         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59235         inlined copy.
59236         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59237         __FINITE_MATH_ONLY__ consistent.
59238         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59240 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59242         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59243         of rawmemchr.
59245         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59247 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59249         * po/ja.po: Update from translation team.
59251 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59253         * locale/programs/locarchive.c (prepare_address_space): New function.
59254         (create_archive, enlarge_archive, open_archive): Use it.
59256         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59257         inside [SHARED], where it is used.
59259         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59261         * nss/getent.c (netgroup_keys): Remove unused variable.
59262         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59264 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59266         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59267         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59268         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59269         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59270         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59271         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59272         * math/Makefile (libm-calls): Add s_isinf_ns.
59273         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59274         * math/multc3.c: Likewise.
59275         * math/s_casin.c: Likewise.
59276         * math/s_casinf.c: Likewise.
59277         * math/s_casinl.c: Likewise.
59278         * math/s_ccos.c: Likewise.
59279         * math/s_ccosf.c: Likewise.
59280         * math/s_ccosl.c: Likewise.
59281         * math/s_ctan.c: Likewise.
59282         * math/s_ctanf.c: Likewise.
59283         * math/s_ctanh.c: Likewise.
59284         * math/s_ctanhf.c: Likewise.
59285         * math/s_ctanhl.c: Likewise.
59286         * math/s_ctanl.c: Likewise.
59287         * math/w_fmod.c: Likewise.
59288         * math/w_fmodf.c: Likewise.
59289         * math/w_fmodl.c: Likewise.
59290         * math/w_remainder.c: Likewise.
59291         * math/w_remainderf.c: Likewise.
59292         * math/w_remainderl.c: Likewise.
59293         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59294         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59295         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59296         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59297         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59298         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59299         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59300         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59302         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59303         of the number.
59304         * stdio-common/printf_fphex.c: Likewise.
59305         * stdio-common/printf_size.c: Likewise.
59307         * math/e_exp10.c: Include math_private.h using <...> not "...".
59308         * math/e_exp10f.c: Likewise.
59309         * math/e_exp10l.c: Likewise.
59310         * math/e_exp2l.c: Likewise.
59311         * math/e_j0l.c: Likewise.
59312         * math/e_j1l.c: Likewise.
59313         * math/e_jnl.c: Likewise.
59314         * math/e_lgammal_r.c: Likewise.
59315         * math/e_rem_pio2l.c: Likewise.
59316         * math/e_scalb.c: Likewise.
59317         * math/e_scalbf.c: Likewise.
59318         * math/e_scalbl.c: Likewise.
59319         * math/k_cosl.c: Likewise.
59320         * math/k_sinl.c: Likewise.
59321         * math/k_tanl.c: Likewise.
59322         * math/s_cacoshf.c: Likewise.
59323         * math/s_catan.c: Likewise.
59324         * math/s_catanf.c: Likewise.
59325         * math/s_catanh.c: Likewise.
59326         * math/s_catanhf.c: Likewise.
59327         * math/s_catanhl.c: Likewise.
59328         * math/s_catanl.c: Likewise.
59329         * math/s_ccosh.c: Likewise.
59330         * math/s_ccoshf.c: Likewise.
59331         * math/s_ccoshl.c: Likewise.
59332         * math/s_cexp.c: Likewise.
59333         * math/s_cexpf.c: Likewise.
59334         * math/s_cexpl.c: Likewise.
59335         * math/s_clog.c: Likewise.
59336         * math/s_clog10.c: Likewise.
59337         * math/s_clog10f.c: Likewise.
59338         * math/s_clog10l.c: Likewise.
59339         * math/s_clogf.c: Likewise.
59340         * math/s_clogl.c: Likewise.
59341         * math/s_csin.c: Likewise.
59342         * math/s_csinf.c: Likewise.
59343         * math/s_csinh.c: Likewise.
59344         * math/s_csinhf.c: Likewise.
59345         * math/s_csinhl.c: Likewise.
59346         * math/s_csinl.c: Likewise.
59347         * math/s_csqrt.c: Likewise.
59348         * math/s_csqrtf.c: Likewise.
59349         * math/s_csqrtl.c: Likewise.
59350         * math/s_ctan.c: Likewise.
59351         * math/s_ctanf.c: Likewise.
59352         * math/s_ctanh.c: Likewise.
59353         * math/s_ctanhf.c: Likewise.
59354         * math/s_ctanhl.c: Likewise.
59355         * math/s_ctanl.c: Likewise.
59356         * math/s_ldexp.c: Likewise.
59357         * math/s_ldexpf.c: Likewise.
59358         * math/s_ldexpl.c: Likewise.
59359         * math/s_significand.c: Likewise.
59360         * math/s_significandf.c: Likewise.
59361         * math/s_significandl.c: Likewise.
59362         * math/w_acos.c: Likewise.
59363         * math/w_acosf.c: Likewise.
59364         * math/w_acosh.c: Likewise.
59365         * math/w_acoshf.c: Likewise.
59366         * math/w_acoshl.c: Likewise.
59367         * math/w_acosl.c: Likewise.
59368         * math/w_asin.c: Likewise.
59369         * math/w_asinf.c: Likewise.
59370         * math/w_asinl.c: Likewise.
59371         * math/w_atan2.c: Likewise.
59372         * math/w_atan2f.c: Likewise.
59373         * math/w_atan2l.c: Likewise.
59374         * math/w_atanh.c: Likewise.
59375         * math/w_atanhf.c: Likewise.
59376         * math/w_atanhl.c: Likewise.
59377         * math/w_cosh.c: Likewise.
59378         * math/w_coshf.c: Likewise.
59379         * math/w_coshl.c: Likewise.
59380         * math/w_dremf.c: Likewise.
59381         * math/w_exp10.c: Likewise.
59382         * math/w_exp10f.c: Likewise.
59383         * math/w_exp10l.c: Likewise.
59384         * math/w_exp2.c: Likewise.
59385         * math/w_exp2f.c: Likewise.
59386         * math/w_fmod.c: Likewise.
59387         * math/w_fmodf.c: Likewise.
59388         * math/w_fmodl.c: Likewise.
59389         * math/w_hypot.c: Likewise.
59390         * math/w_hypotf.c: Likewise.
59391         * math/w_hypotl.c: Likewise.
59392         * math/w_j0.c: Likewise.
59393         * math/w_j0f.c: Likewise.
59394         * math/w_j0l.c: Likewise.
59395         * math/w_j1.c: Likewise.
59396         * math/w_j1f.c: Likewise.
59397         * math/w_j1l.c: Likewise.
59398         * math/w_jn.c: Likewise.
59399         * math/w_jnf.c: Likewise.
59400         * math/w_jnl.c: Likewise.
59401         * math/w_lgamma.c: Likewise.
59402         * math/w_lgamma_r.c: Likewise.
59403         * math/w_lgammaf.c: Likewise.
59404         * math/w_lgammaf_r.c: Likewise.
59405         * math/w_lgammal.c: Likewise.
59406         * math/w_lgammal_r.c: Likewise.
59407         * math/w_log.c: Likewise.
59408         * math/w_log10.c: Likewise.
59409         * math/w_log10f.c: Likewise.
59410         * math/w_log10l.c: Likewise.
59411         * math/w_log2.c: Likewise.
59412         * math/w_log2f.c: Likewise.
59413         * math/w_log2l.c: Likewise.
59414         * math/w_logf.c: Likewise.
59415         * math/w_logl.c: Likewise.
59416         * math/w_pow.c: Likewise.
59417         * math/w_powf.c: Likewise.
59418         * math/w_powl.c: Likewise.
59419         * math/w_remainder.c: Likewise.
59420         * math/w_remainderf.c: Likewise.
59421         * math/w_remainderl.c: Likewise.
59422         * math/w_scalb.c: Likewise.
59423         * math/w_scalbf.c: Likewise.
59424         * math/w_scalbl.c: Likewise.
59425         * math/w_sinh.c: Likewise.
59426         * math/w_sinhf.c: Likewise.
59427         * math/w_sinhl.c: Likewise.
59428         * math/w_sqrt.c: Likewise.
59429         * math/w_sqrtf.c: Likewise.
59430         * math/w_sqrtl.c: Likewise.
59431         * math/w_tgamma.c: Likewise.
59432         * math/w_tgammaf.c: Likewise.
59433         * math/w_tgammal.c: Likewise.
59435         * po/ja.po: Update from translation team.
59437 2011-09-29  Andreas Jaeger  <aj@suse.de>
59439         [BZ #13179]
59440         * sunrpc/netname.c (netname2host): Fix logic.
59442         [BZ #6779]
59443         [BZ #6783]
59444         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59445         correctly.
59446         * math/w_remainder.c (__remainder): Likewise.
59447         * math/w_remainderf.c (__remainderf): Likewise.
59448         * math/libm-test.inc (remainder_test): Add test cases.
59450 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59452         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59453         sdiv_qrnnd.
59455 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59457         * string/test-memcmp.c: Avoid unncessary #defines.
59458         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59460 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59462         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59463         Use new sse2 version for core i3 - i7 as it's faster
59464         than sse42 version.
59465         (bit_Prefer_PMINUB_for_stringop): New.
59466         * sysdeps/x86_64/rawmemchr.S: Update.
59467         Replace with faster SSE2 version.
59468         * sysdeps/x86_64/memrchr.S: New file.
59469         * sysdeps/x86_64/memchr.S: Update.
59470         Replace with faster SSE2 version.
59472 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59474         * elf/dl-load.c (lose): Add cast to avoid warning.
59476 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59478         * po/ca.po: Update from translation team.
59480         * inet/getnetgrent_r.c: Hook up nscd.
59481         * nscd/Makefile (routines): Add nscd_netgroup.
59482         (nscd-modules): Add netgroupcache.
59483         (CFLAGS-netgroupcache.c): Define.
59484         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59485         (cache_search): Add const to second parameter.
59486         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59487         INNETGR.
59488         (dbs): Add netgrdb entry.
59489         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59490         (verify_persistent_db): Handle netgrdb.
59491         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59492         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59493         GETFDNETGR.
59494         (netgroup_response_header): Define.
59495         (innetgroup_response_header): Define.
59496         (datahead): Add netgroup_response_header and innetgroup_response_header
59497         elements.
59498         * nscd/nscd.conf: Add entries for netgroup cache.
59499         * nscd/nscd.h (dbtype): Add netgrdb.
59500         (_PATH_NSCD_NETGROUP_DB): Define.
59501         (netgroup_iov_disabled): Declare.
59502         (xmalloc, xcalloc, xrealloc): Move declarations here.
59503         (cache_search): Adjust prototype.
59504         Add netgroup-related prototypes.
59505         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59506         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59507         (__nscd_innetgr): Declare.
59508         * nscd/selinux.c (perms): Use access_vector_t as element type and
59509         add netgroup-related initializers.
59510         * nscd/netgroupcache.c: New file.
59511         * nscd/nscd_netgroup.c: New file.
59512         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59513         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59514         For four parameters use innetgr.
59515         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59516         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59517         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59518         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59520         * nscd/connections.c (register_traced_file): Don't register file
59521         for disabled databases.
59523 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59525         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59527         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59528         from tree and freeing node.
59530 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59532         * nss/nsswitch.c (__nss_database_lookup): Handle
59533         nss_parse_service_list out of memory case.
59535 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59537         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59538         out of memory case.
59540 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59542         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59543         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59544         pass it down.
59545         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59546         elf_machine_rela, elf_machine_lazy_rel.
59547         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59548         (ELF_DYNAMIC_DO_REL): Likewise.
59549         (ELF_DYNAMIC_DO_RELA): Likewise.
59550         (ELF_DYNAMIC_RELOCATE): Likewise.
59551         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59552         to ELF_DYNAMIC_DO_REL.
59553         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59554         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59555         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59556         elf_machine_rela.
59557         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59558         skip_ifunc, don't call ifunc function if non-zero.
59559         (elf_machine_rela): Likewise.
59560         (elf_machine_lazy_rel): Likewise.
59561         (elf_machine_lazy_rela): Likewise.
59562         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59563         (elf_machine_lazy_rel): Likewise.
59564         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59565         Likewise.
59566         (elf_machine_lazy_rel): Likewise.
59567         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59568         Likewise.
59569         (elf_machine_lazy_rel): Likewise.
59570         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59571         (elf_machine_lazy_rel): Likewise.
59572         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59573         (elf_machine_lazy_rel): Likewise.
59574         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59575         (elf_machine_lazy_rel): Likewise.
59576         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59577         (elf_machine_lazy_rel): Likewise.
59578         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59579         (elf_machine_lazy_rel): Likewise.
59580         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59581         (elf_machine_lazy_rel): Likewise.
59583 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59585         * nss/nss_files/files-init.c (_nss_files_init): Use static
59586         initialization for all the *_traced_file variables.
59588 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59590         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59592 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59594         [BZ #13226]
59595         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59597 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59599         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59600         Reread the line before reparsing it.
59602 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59604         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59606 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59607             Maxim Kuvyrkov  <maxim@codesourcery.com>
59608             Joseph Myers  <joseph@codesourcery.com>
59610         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59611         if needed for __stack_chk_guard.
59613 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59615         * sysdeps/posix/spawni.c (script_execute): Always define it.
59616         It will be optimized away if unused.
59617         (maybe_script_execute): New function.
59618         (__spawni): Call it.
59620         * Makerules: Don't include tls.make.
59621         (config-tls): Always set to thread.
59622         * tls.make.c: File removed.
59624 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59626         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59627         * config.make.in (CPPFLAGS-config): New substituted variable.
59629 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59631         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59633         [BZ #13192]
59634         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59635         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59637 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59639         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59640         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59641         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59642         (CALL_FAIL): Likewise.
59643         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59644         (CALL_FAIL): Macro removed.
59645         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59647 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59649         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59650         for __FINITE_MATH_ONLY__ == 1.
59652 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59654         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59655         __ieee754_sqrt instead of sqrt.
59656         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59657         __ieee754_sqrtf instead of sqrtf.
59658         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59659         __floorf instead of floorf.
59660         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59661         __floorf, __truncf instead of floorf, truncf.
59663 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59665         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59667         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59668         __extern_always_inline.
59669         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59670         32-bit.
59672 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59674         * elf/rtld.c (dl_main): Also relocate in dependency order when
59675         doing symbol dependency testing.
59677 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59679         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59680         Always define `refsym'.
59682 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59684         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59685         (__FD_ELT): Renamed from __FDELT.
59686         * misc/bits/select2.h (__FD_ELT): Likewise.
59687         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59688         __FD_MASK instead of __FDELT, __FDMASK.
59689         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59690         Likewise.
59691         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59692         Likewise.
59694         * elf/Makefile (gen-ldd): Fix pattern.
59696         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59697         (init_tls): Likewise.
59699 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59701         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59703 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59705         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59706         `struct cmsghdr *' instead of `void *'.
59707         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59708         Likewise.
59710 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59712         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59713         if non-absolute.
59714         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59715         ldd_rewrite_script.
59717 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59719         * configure.in: Remove --with-tls option.
59720         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59721         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59722         out in case it is missing.
59723         * sysdeps/ia64/elf/configure.in: Likewise.
59724         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59725         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59726         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59727         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59728         * sysdeps/sh/elf/configure.in: Likewise.
59729         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59730         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59731         * sysdeps/x86_64/elf/configure.in: Likewise.
59732         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59733         * sysdeps/mach/hurd/tls.h: Likewise.
59735         [BZ #13067]
59736         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59738         [BZ #13090]
59739         * configure.in: Fix use of AC_INIT.
59741         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59743 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59745         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59746         __set_errno.
59747         * malloc/hooks.c: Likewise.
59749         [BZ #11929]
59750         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59751         variables statically.
59752         (narenas): Initialize.
59753         (list_lock): Initialize.
59754         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59755         initializtion of main_arena and list_lock.  Small cleanups.
59756         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59757         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59758         Add initializers to main_arena and mp_.
59759         (malloc_state): Remove pagesize member.  Change all users to use
59760         GLRO(dl_pagesize).
59762         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59763         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59764         is always initialized.
59766         * malloc/malloc.c: Removed unused configurations and dead code.
59767         * malloc/arena.c: Likewise.
59768         * malloc/hooks.c: Likewise.
59769         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59771         * include/tls.h: Removed.  USE___THREAD must always be defined.
59772         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59773         * elf/dl-libc.c: Likewise.
59774         * elf/dl-tsd.c: Likewise.
59775         * include/errno.h: Likewise.
59776         * include/netdb.h: Likewise.
59777         * include/resolv.h: Likewise.
59778         * inet/herrno-loc.c: Likewise.
59779         * inet/herrno.c: Likewise.
59780         * malloc/arena.c: Likewise.
59781         * malloc/hooks.c: Likewise.
59782         * malloc/malloc.c: Likewise.
59783         * resolv/res-state.c: Likewise.
59784         * resolv/res_libc.c: Likewise.
59785         * sysdeps/i386/dl-machine.h: Likewise.
59786         * sysdeps/ia64/dl-machine.h: Likewise.
59787         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59788         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59789         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59790         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59791         * sysdeps/sh/dl-machine.h: Likewise.
59792         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59793         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59794         * sysdeps/unix/i386/sysdep.S: Likewise.
59795         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59796         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59797         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59798         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59799         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59800         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59801         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59802         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59803         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59805         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59806         * sysdeps/x86_64/dl-machine.h: Likewise.
59807         * tls.make.c: Likewise.
59809         * configure.in: Remove --with-__thread option.  Make tests for
59810         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59811         tls_model attribute fail if no support is available.  Remove
59812         USE_IN_LIBIO.
59813         * Makeconfig: Adjust for dropped configure option.  All features are
59814         now mandatory.
59815         * Makerules: Likewise.
59816         * Versions.def: Likewise.
59817         * argp/argp-fmtstream.c: Likewise.
59818         * argp/argp-fmtstream.h: Likewise.
59819         * argp/argp-help.c: Likewise.
59820         * assert/assert.c: Likewise.
59821         * config.h.in: Likewise.
59822         * config.make.in: Likewise.
59823         * configure: Likewise.
59824         * configure.in: Likewise.
59825         * csu/Versions: Likewise.
59826         * csu/init.c: Likewise.
59827         * elf/tst-audit2.c: Likewise.
59828         * elf/tst-tls10.c: Likewise.
59829         * elf/tst-tls10.h: Likewise.
59830         * elf/tst-tls11.c: Likewise.
59831         * elf/tst-tls12.c: Likewise.
59832         * elf/tst-tls14.c: Likewise.
59833         * elf/tst-tlsmod11.c: Likewise.
59834         * elf/tst-tlsmod12.c: Likewise.
59835         * elf/tst-tlsmod13.c: Likewise.
59836         * elf/tst-tlsmod13a.c: Likewise.
59837         * elf/tst-tlsmod14a.c: Likewise.
59838         * elf/tst-tlsmod15b.c: Likewise.
59839         * elf/tst-tlsmod16a.c: Likewise.
59840         * elf/tst-tlsmod16b.c: Likewise.
59841         * elf/tst-tlsmod7.c: Likewise.
59842         * elf/tst-tlsmod8.c: Likewise.
59843         * elf/tst-tlsmod9.c: Likewise.
59844         * gmon/gmon.c: Likewise.
59845         * grp/fgetgrent_r.c: Likewise.
59846         * grp/putgrent.c: Likewise.
59847         * hurd/fopenport.c: Likewise.
59848         * include/libc-symbols.h: Likewise.
59849         * include/tls.h: Likewise.
59850         * intl/gettextP.h: Likewise.
59851         * intl/loadinfo.h: Likewise.
59852         * locale/global-locale.c: Likewise.
59853         * locale/localeinfo.h: Likewise.
59854         * mach/devstream.c: Likewise.
59855         * malloc/arena.c: Likewise.
59856         * malloc/set-freeres.c: Likewise.
59857         * misc/err.c: Likewise.
59858         * misc/getttyent.c: Likewise.
59859         * misc/mntent_r.c: Likewise.
59860         * posix/getopt.c: Likewise.
59861         * posix/wordexp.c: Likewise.
59862         * pwd/fgetpwent_r.c: Likewise.
59863         * resolv/Versions: Likewise.
59864         * resolv/res_hconf.c: Likewise.
59865         * shadow/fgetspent_r.c: Likewise.
59866         * shadow/putspent.c: Likewise.
59867         * stdio-common/printf_fphex.c: Likewise.
59868         * stdio-common/tmpfile.c: Likewise.
59869         * stdlib/abort.c: Likewise.
59870         * stdlib/fmtmsg.c: Likewise.
59871         * sunrpc/auth_unix.c: Likewise.
59872         * sunrpc/clnt_perr.c: Likewise.
59873         * sunrpc/clnt_tcp.c: Likewise.
59874         * sunrpc/clnt_udp.c: Likewise.
59875         * sunrpc/clnt_unix.c: Likewise.
59876         * sunrpc/openchild.c: Likewise.
59877         * sunrpc/svc_simple.c: Likewise.
59878         * sunrpc/svc_tcp.c: Likewise.
59879         * sunrpc/svc_udp.c: Likewise.
59880         * sunrpc/svc_unix.c: Likewise.
59881         * sunrpc/xdr.c: Likewise.
59882         * sunrpc/xdr_array.c: Likewise.
59883         * sunrpc/xdr_rec.c: Likewise.
59884         * sunrpc/xdr_ref.c: Likewise.
59885         * sunrpc/xdr_stdio.c: Likewise.
59887 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59889         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59891 2011-07-03  Andreas Jaeger  <aj@suse.de>
59893         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59894         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59895         regenerate with gen-libm-tests.pl.
59897 2010-05-12  Petr Baudis  <pasky@suse.cz>
59899         [BZ #11589]
59900         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59901         around j0() zero points by switching to j1().
59902         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59903         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59904         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59905         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59907 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59909         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59910         instead of 0.
59911         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59912         instead of 0.
59913         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59914         Patch in part by Pavel Roskin <proski@gnu.org>.
59916         [BZ #13138]
59917         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59918         realloc.
59919         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59920         Free memory block if necessary.
59922         [BZ #12847]
59923         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59924         be NULL.  Don't lock in this case.
59926 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59928         * elf/elf.h (ELFOSABI_GNU): New macro.
59929         (ELFOSABI_LINUX): Define to that.
59931 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59933         * string/strncat.c (strncat): Undef the symbol in case it has been
59934         defined in bits/string.h.
59936 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59938         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59940         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59941         link map.
59943 2011-08-17  Andreas Jaeger  <aj@suse.de>
59945         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59947 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59948             Ian Lance Taylor  <iant@google.com>
59950         * math/libm-test.inc (lround_test): New testcase.
59951         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59953 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59955         * Makefile: Remove support for automatic cvs check-ins.
59956         * Makerules: Likewise.
59957         * config.make.in: Likewise.
59958         * configure.in: Likewise.
59959         * intl/Makefile: Likewise.
59960         * locale/Makefile: Likewise.
59961         * po/Makefile: Likewise.
59962         * posix/Makefile: Likewise.
59963         * sysdeps/gnu/Makefile: Likewise.
59964         * sysdeps/mach/hurd/Makefile: Likewise.
59965         * sysdeps/sparc/sparc32/Makefile: Likewise.
59967         [BZ #13118]
59968         * posix/Makefile (bug-regex32-ENV): Define.
59969         Patch by John Stanley <jpsinthemix@verizon.net>.
59971         * misc/Makefile (headers): Add bits/select2.h.
59972         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59973         * misc/bits/select2.h: New file.
59974         * include/bits/select2.h: New file.
59975         * debug/Makefile (routines): Add fdelt_chk.
59976         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59977         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59978         FD_ISSET.
59979         * debug/fdelt_chk.c: New file.
59981         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59982         * wcsmbs/test-wmemcmp.c: Likewise.
59983         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59984         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59986 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59988         * string/Makefile (strop-tests): Add memcmp.
59989         * string/test-wmemcmp.c: New file.
59990         * string/test-memcmp.c: Add wmemcmp support.
59992 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59994         [BZ #13153]
59995         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59996         2011-07-19 change.
59998         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59999         garbage value in a __mach_port_mod_refs call in the cases of the
60000         task-self and thread-self ports.
60002 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60004         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60006 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60008         * elf/dl-load.c (lose): Check for non-null L.
60010 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60012         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60014         * elf/dl-libc.c (dlerror_run): Pass back error code from
60015         dl_catch_error.
60017         [BZ #13123]
60018         * elf/dl-load.c (lose): Free l_origin if it is valid.
60020         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60021         names.
60022         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60023         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60024         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60025         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60026         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60027         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60029 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60031         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60032         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60033         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60034         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60035         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60036         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60037         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60038         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60039         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60040         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60042 2011-08-15  Alan Modra  <amodra@gmail.com>
60044         [BZ #13092]
60045         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60046         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60047         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60048         ppc_mcount to static-only-routines.
60049         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60050         __mcount_internal.
60051         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60052         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60054 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60056         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60057         for finite and infinity parameters.
60059 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60061         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60062         and add nop instructions for throughput optimization.
60063         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60065 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60067         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60068         aligned copy for power7 with vector-scalar instructions.
60069         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60071 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60073         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60074         AVX check.
60076 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60078         [BZ #13144]
60079         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60080         last change.
60082 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60084         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60085         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60086         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60087         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60088         clock_gettime.
60090 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60092         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60093         Forgot to demangle the pointer.
60095         * sysdeps/i386/sysdep.h: Define atom_text_section.
60096         * sysdeps/x86_64/sysdep.h: Likewise.
60097         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60098         section with atom_text_section.
60099         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60100         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60101         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60102         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60103         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60105         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60106         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60107         already be defined.  Change to take two parameters and don't assign
60108         result to variable.  Adjust all users.
60109         Define INTERNAL_GETTIME if not already defined.
60110         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60111         call.
60112         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60113         HAVE_CLOCK_GETTIME_VSYSCALL.
60114         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60116         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60117         gettimeofday vsyscall, just use time.
60119 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60121         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60122         <errno.h>.
60124 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60126         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60127         syscall on x86-64.
60128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60129         syscall.
60130         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60131         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60132         syscall if possible.
60134 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60136         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60137         e_ident.  Don't pass to find_mapsXX.
60138         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60140 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60142         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60143         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60144         * sysdeps/x86_64/multiarch/strchr.S: Update.
60145         Check bit_slow_BSF bit.
60146         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60147         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60148         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60150 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60152         [BZ #13134]
60153         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60154         before glibc 2.15.
60155         (tryshell): Define.
60156         (__spawni): Change last parameter to be flag.  Test
60157         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60158         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60159         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60160         * posix/spawni.c: Likewise.
60161         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60162         * posix/spawnp.c: Likewise.  Change normal version to use
60163         SPAWN_XFLAGS_USE_PATH.
60164         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60165         SPAWN_XFLAGS_TRY_SHELL.
60167         [BZ #13150]
60168         * posix/glob.h: Remove gcc 1.x support.
60170         [BZ #13068]
60171         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60173 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60175         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60176         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60177         strrchr-sse2-bsf
60178         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60179         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60180         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60181         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60182         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60183         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60185 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60187         * sysdeps/x86_64/wcscmp.S: New file.
60189         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60190         wcscmp-c wcscmp-sse2
60191         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60192         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60193         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60194         * wcsmbs/wcscmp.c: Allow renaming.
60196 2011-09-05  David S. Miller  <davem@davemloft.net>
60198         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60199         stack slot, rather than the struct return pointer slot.
60200         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60201         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60203         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60205 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60207         * po/ja.po: Update from translation team.
60209         [BZ #13144]
60210         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60211         kernel in 64-bit binaries.
60213 2011-09-01  David S. Miller  <davem@davemloft.net>
60215         * elf/elf.h (HWCAP_SPARC_*): Move to..
60216         * sysdeps/sparc/sysdep.h: this new file and add new values.
60217         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60218         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60219         _DL_HWCAP_COUNT to 24.
60220         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60221         entries.
60222         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60223         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60224         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60225         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60226         instead of magic constants.
60227         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60229 2011-08-31  David S. Miller  <davem@davemloft.net>
60231         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60233         Reimplement to do errno handling inline.
60234         (SYSCALL_ERROR_HANDLER): New macro.
60235         (__SYSCALL_STRING): Do not do errno handling in asm.
60236         (__CLONE_SYSCALL_STRING): Delete.
60237         (__INTERNAL_SYSCALL_STRING): Delete.
60238         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60239         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60240         (PSEUDO): Reimplement to do errno handling inline.
60241         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60242         (SYSCALL_ERROR_HANDLER): New macro.
60243         (__SYSCALL_STRING): Do not do errno handling in asm.
60244         (__CLONE_SYSCALL_STRING): Delete.
60245         (__INTERNAL_SYSCALL_STRING): Delete.
60246         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60247         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60248         i386.
60249         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60250         (inline_syscall*): Add 'err' argument.
60251         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60252         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60253         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60254         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60256         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60257         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60259 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60261         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60263 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60265         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60266         directive.
60268 2011-08-24  David S. Miller  <davem@davemloft.net>
60270         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60272 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60274         * elf/Makefile: Add rules to build and run unload8 test.
60275         * elf/unload8.c: New file.
60276         * elf/unload8mod1.c: New file.
60277         * elf/unload8mod1x.c: New file.
60278         * elf/unload8mod2.c: New file.
60279         * elf/unload8mod3.c: New file.
60281         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60282         it wasn't used.
60284 2011-08-23  David S. Miller  <davem@davemloft.net>
60286         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60287         subtract stack bias.
60288         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60289         %sp not %fp in calculations.
60290         (_JMPBUF_UNWINDS_ADJ): Likewise.
60292         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60293         (aio_suspend): Call it to force an exception region around the
60294         AIO_MISC_WAIT() invocation.
60296 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60298         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60299         backslash.
60301 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60303         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60304         protection macro.
60305         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60306         and <dl-machine.h>.
60307         (Elf64_FuncDesc): Remove.
60309 2011-08-22  David S. Miller  <davem@davemloft.net>
60311         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60312         sigaltstack check, add missing cfi directives.
60313         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60314         missing cfi directives, and sigaltstack handling.
60316 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60318         [BZ #11724]
60319         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60320         object is seen twice.
60321         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60323         * elf/Makefile (distribute): Add tst-initorder2.c.
60324         (tests): Add tst-initorder2.
60325         (modules-names): Add tst-initorder2a tst-initorder2b
60326         tst-initorder2c tst-initorder2d.  Add rules to build them.
60327         ($(objpfx)tst-initorder2.out): New rule.
60328         * elf/tst-initorder2.c: New file.
60329         * elf/tst-initorder2.exp: New file.
60331 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60333         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60335         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60336         dependencies back to end of function.
60338         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60339         $(elfobjdir)/ld.so.
60341 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60343         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60344         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60345         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60346         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60347         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60348         of __vdso_gettimeofday.
60349         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60350         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60351         attribute_hidden.
60352         (_libc_vdso_platform_setup): Remove initialization of
60353         __vdso_gettimeofday and __vdso_time.
60355 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60357         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60358         and fgetc_unlocked.
60359         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60360         getc_unlocked.
60362         * elf/dl-open.c (add_to_global): Report additions to the global scope
60363         for LD_DEBUG=scopes.
60364         (dl_open_worker): Also print scope of newly loaded dependencies.
60365         (_dl_show_scope): Indicate if there is no scope.
60367         [BZ #13114]
60368         * stdio-common/Makefile (tests): Add bug24.
60369         * stdio-common/bug24.c: New file.
60371 2011-08-19  Andreas Jaeger  <aj@suse.de>
60373         [BZ #13114]
60374         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60375         non-existant file when using close-on-exec mode.
60377 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60379         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60380         the very first instruction.
60382         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60383         the CFI state in the end.
60384         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60385         inclusion of dl-trampoline.h.
60386         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60388 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60390         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60391         expectations for long double.
60393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60394         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60396 2011-08-14  David S. Miller  <davem@davemloft.net>
60398         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60399         artificual limit depends upon the system page size.
60401 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60403         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60404         * resolv/Makefile: Define CFLAGS-libresolv.
60406 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60408         * nss/makedb.c (compute_tables): Make variables used in nested
60409         function static.
60411 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60413         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60414         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60415         if buffer was too small.
60417         * elf/pldd.c (main): Attach to all threads in the process.
60418         Rewrite /proc handling to use *at functions.
60420 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60422         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60423         specifies first scope to show.
60424         (dl_open_worker): Update callers.  Move printing scope of new
60425         object to before the relocation.
60426         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60427         * sysdeps/generic/ldsodefs.h: Update declaration.
60429         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60430         string for the scope number.
60432 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60434         * nscd/servicescache.c (cache_addserv): Make sure written is always
60435         initialized.
60437 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60439         * sysdeps/i386/i486/bits/atomic.h
60440         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60441         statement expression, so as to suppress "set but not used" warning.
60442         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60444         * string/strncat.c (STRNCAT): Use prototype definition.
60446         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60447         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60448         -Iprograms here.
60449         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60450         (localedef-modules): Add localedef.
60451         (locale-modules): Add locale.
60453         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60454         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60455         to avoid a warning.
60457 2011-08-14  David S. Miller  <davem@davemloft.net>
60459         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60460         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60462 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60464         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60465         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60466         * elf/rtld.c (dl_main): Set l_name of vDSO.
60467         Call _dl_show_scope when DL_DEBUG_SCOPES.
60468         (process_dl_debug): Recognize scopes flag and also set it for all.
60469         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60470         Declare _dl_show_scope.
60472         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60473         (do_dlopen): Pass caller_dlopen to dl_open.
60474         (__libc_dlopen_mode): Initialize caller_dlopen.
60476         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60477         of libc.  Make tolower call locale-independent.  Optimize a bit by
60478         using isdigit instead of isalnum.
60479         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60481 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60483         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60484         was a dependency or dynamically loaded.
60486 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60488         * intl/l10nflist.c: Allow architecture-specific pop function.
60489         * sysdeps/x86_64/l10nflist.c: New file.
60491         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60492         classification.
60494 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60496         * include/dirent.h: Add libc_hidden_proto for scandirat and
60497         scandirat64.  Don't declare __scandirat64.
60498         * dirent/scandirat.c: Add libc_hidden_def.
60499         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60500         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60502 2011-08-10  David S. Miller  <davem@davemloft.net>
60504         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60505         enum.
60506         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60507         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60508         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60510 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60512         * Versions.def [libc]: Add GLIBC_2.15.
60513         * dirent/Makefile (routines): Add scandirat and scandirat64.
60514         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60515         GLIBC_2.15.
60516         * dirent/dirent.h: Declare scandirat and scandirat64.
60517         * dirent/scandirat.c: New file.
60518         * dirent/scandirat64.c: New file.
60519         * sysdeps/wordsize-64/scandirat.c: New file.
60520         * sysdeps/wordsize-64/scandirat64.c: New file.
60521         * dirent/opendir.c: Define opendirat.
60522         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60523         using scandirat.
60524         * dirent/scandir64.c: Adjust for scandir.c change.
60525         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60526         __scandirat64, and __scandir_cancel_handler.
60527         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60528         additional parameter and use openat instead of open (outside of ld.so).
60529         Add new __opendir as wrapper around __opendirat.
60530         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60531         here without requiring old scandirat implementation.
60533 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60535         * dirent/scandir.c (cancel_handler): Renamed to
60536         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60537         defined.  Adjust users.
60538         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60539         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60541 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60543         * string/test-string.h (IMPL): Use __STRING to expand name and then
60544         stringify it.
60546         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60547         of cleanups.
60549 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60551         * string/Makefile: Update.
60552         (strop-tests): Append strncat.
60553         * string/test-wcscmp.c: New file.
60554         New comprehensive test for wcscmp.
60555         * string/test-strcmp.c: Update.
60556         (WIDE): New define.
60558 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60560         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60561         line.
60563 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60566         encoding to ACE if AI_IDN.
60568 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60571         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60573 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60575         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60576         Fix overflow bug in strncat.
60577         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60579         * string/test-strncat.c: Update.
60580         Add new tests for checking overflow bugs.
60582 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60585         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60586         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60587         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60588         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60589         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60590         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60591         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60592         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60594         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60595         (USE_AS_STRCAT): Define.
60596         Add strcat and strncat support.
60597         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60599 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60601         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60602         __n bigger than INT_MAX+1.
60603         (__strncmp_g): Likewise.
60605 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60607         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60608         * libio/stido.h: Likewise.
60610         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60611         (AF_NFC): Define.
60612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60613         (AF_NFC): Define.
60615         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60616         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60617         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60618         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60619         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60621         [BZ #13021]
60622         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60623         installed.
60625         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60626         typo.
60627         (_dl_x86_64_save_sse): Likewise.
60629 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60631         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60632         OSXSAVE.
60633         (_dl_x86_64_save_sse): Likewise.
60635         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60637         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60639 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60641         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60642         change.
60643         (_dl_x86_64_save_sse): Use correct AVX check.
60645 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60647         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60648         bug in strncpy/strncat.
60649         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60651 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60653         * string/tester.c (test_strcat): Add tests for different alignments
60654         of source and destination.
60655         (test_strncat): Likewise.
60657 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60659         [BZ #12852]
60660         * posix/glob.c (glob): Check passed in values before using them in
60661         expressions to avoid some overflows.
60662         (glob_in_dir): Likewise.
60664         [BZ #13007]
60665         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60666         check for AVX enablement so that we don't crash with old kernels and
60667         new hardware.
60668         * elf/tst-audit4.c: Add same checks here.
60669         * elf/tst-audit6.c: Likewise.
60671         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60673 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60675         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60677 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60679         * po/cs.po: Update from translation team.
60680         * po/bg.po: Likewise.
60682 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60684         * misc/sys/cdefs.h: Add support for const attribute.
60685         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60686         to gnu_dev_{major,minor,makedev} functions.
60688 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60690         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60692 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60694         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60695         strlen results.
60697 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60699         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60700         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60701         register in order to avoid conflicts with the soft frame pointer
60702         being held in r11 when necessary.
60703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60704         (INTERNAL_VSYSCALL_NCS): Likewise.
60706 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60708         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60709         * elf/dl-fini.c (_dl_fini): Adjust caller.
60710         * elf/dl-close.c (_dl_close_worker): Likewise.
60711         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60713 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60715         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60716         "aux_cache->nlibs < 0".
60718         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60719         in the reload-count case.
60721 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60724         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60725         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60726         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60727         * sysdeps/x86_64/multiarch/strcat.S: New file.
60728         * sysdeps/x86_64/multiarch/strncat.S: New file.
60729         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60730         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60731         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60732         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60733         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60734         (USE_AS_STRCAT): Define.
60735         Add strcat and strncat support.
60736         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60737         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60738         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60739         * string/strncat.c: Update.
60740         (USE_AS_STRNCAT): Define.
60741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60742         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60743         and i7.
60744         * sysdeps/x86_64/multiarch/init-arch.h
60745         (bit_Prefer_PMINUB_for_stringop): New.
60746         (index_Prefer_PMINUB_for_stringop): Likewise.
60747         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60748         bit_Prefer_PMINUB_for_stringop.
60750 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60752         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60753         buffer64.
60754         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60755         of casting of buffer.
60756         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60757         buffer32 and buffer64.
60758         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60759         writes instead of casting of buffer.
60760         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60761         buffer32.
60762         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60763         casting of buffer.
60765 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60767         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60769 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60771         * nscd/nscd.c (termination_handler): Don't do anything for a database
60772         if it has not yet been initialized.
60774 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60776         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60778 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60780         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60782 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60784         * po/nl.po: Update from translation team.
60785         * po/sv.po: Likewise.
60787 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60789         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60790         now disallowed by GCC.
60792         * configure.in (use-default-link): Default to yes if a test -shared
60793         link meets our qualifications.
60794         * configure: Regenerated.
60796         * config.make.in (output-format): New variable.
60797         * configure.in: Check for ld --print-output-format support.
60798         * configure: Regenerated.
60799         * Makerules ($(common-objpfx)format.lds)
60800         [$(output-format) != unknown]: Just use $(output-format),
60801         instead of the linker-script munging.
60803 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60805         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60806         of $(common-objpfx)shlib.lds.
60807         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60809         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60810         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60812         * configure.in (-z relro check): Adjust test code to add a large
60813         writable data section after it.
60814         * configure: Regenerated.
60816 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60818         * configure.in (-z relro check): Fix test code to make the variable
60819         truly const.
60820         * configure: Regenerated.
60822 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60824         * nscd/nscd.h (struct traced_file): Define.
60825         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60826         elements.  Add traced_files.
60827         (inotify_fd): Declare.
60828         (register_traced_file): Declare.
60829         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60830         (inotify_fd): Export.
60831         (resolv_conf_descr): Remove.
60832         (nscd_init): Move inotify descriptor creation to main.
60833         Don't register files for notification here.
60834         (register_traced_file): New function.
60835         (invalidate_cache): Don't use reset_res to determine whether to call
60836         res_init, go through the list of registered files.
60837         (main_loop_poll): The inotify descriptors are now stored in the
60838         structures for the traced files.
60839         (main_loop_epoll): Likewise
60840         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60841         to __nss_disable_nscd.
60842         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60843         for a database anymore.  Check the records for all the registered
60844         files instead.
60845         * nss/Makefile (libnss_files-routines): Add files-init.
60846         (libnss_db-routines): Add db-init.
60847         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60848         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60849         * nss/nss_db/db-init.c: New file.
60850         * nss/nss_files/files-init.c: New file.
60851         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60852         __nss_lookup_function.
60853         (__nss_lookup_function): Call nss_load_library.
60854         (nss_load_all_libraries): New function.
60855         (__nss_disable_nscd): Take parameter with callback function for files
60856         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60857         used for the cached services.
60858         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60859         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60860         options for features to all the files in nscd.
60862         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60864 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60866         * csu/elf-init.c (__libc_csu_init): Comment typo.
60868 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60870         * po/pl.po: Update from translation team.
60871         * po/ja.po: Likewise.
60872         * po/ru.po: Likewise.
60873         * po/ko.po: Likewise.
60874         * po/fr.po: Likewise.
60876 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60878         * configure.in (.ctors/.dtors header and trailer check):
60879         Use an empirical test on a built program.
60880         * configure: Regenerated.
60882         * configure.in (-z relro check): Use an empirical test on a built DSO.
60883         Detect, but do not require, on ia64.
60884         * configure: Regenerated.
60886         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60887         Update tests that use readelf to use $READELF instead.
60888         * configure: Regenerated.
60890 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60892         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60893         if the result is not used.
60895 2011-07-05  Andreas Jaeger  <aj@suse.de>
60897         [BZ#9696]
60898         * stdlib/tst-strtod.c: Add testcase.
60900 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60902         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60903         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60904         The latter has a higher limit.  Take additional parameter to pass to
60905         the new function.
60906         (__pathconf): Pass file to __statfs_link_max.
60907         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60908         __statfs_link_max.
60909         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60910         __statfs_link_max.
60912         [BZ #12868]
60913         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60914         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60915         Handle Lustre.
60916         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60917         (__statfs_filesize_max): Likewise.
60918         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60920 2011-07-05  Andreas Jaeger  <aj@suse.de>
60922         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60924 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60926         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60927         `status' variable.
60928         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60929         Likewise.
60931 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60933         * Makefile (strop-tests): Add strncat.
60934         * string/test-strncat.c: New file.
60936 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60938         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60940 2011-06-21  Andreas Jaeger  <aj@suse.de>
60942         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60943         Copy rule from iconvdata/Makefile.
60945 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60947         [BZ #12922]
60948         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60949         but no long options are defined, just return 'W'.
60951 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60953         [BZ #9696]
60954         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60956 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60958         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60959         netgroups to read.
60960         (innetgr): Likewise.
60962 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60964         * config.make.in (install_root): Default to $(DESTDIR).
60966 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60968         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60970 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60972         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60974         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60975         containing directory rather than embedding absolute directory names.
60977         * scripts/check-local-headers.sh: Rewritten using awk.
60978         Match by word, not by line.  Print error messages for matches.
60979         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60981         * Makerules [shlib-lds-flags empty]:
60982         ($(common-objpfx)libc_pic.opts): New target.
60983         ($(common-objpfx)libc_pic.os.clean): New target.
60984         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60986         * config.make.in (OBJCOPY): New variable.
60987         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60988         * configure: Regenerated.
60990         * config.make.in (use-default-link): New variable.
60991         * configure.in (use_default_link): Grok --with-default-link to set it.
60992         * configure: Regenerated.
60993         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60994         (shlib-lds, shlib-lds-flags): Define to empty.
60996         * Makerules (shlib-lds): New variable.
60997         (shlib-lds-flags): New variable.
60998         (build-shlib, build-moduile, build-module-asneeded): Use it.
60999         ($(common-objpfx)libc.so): Use $(shlib-lds).
61000         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61001         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61003         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61004         DT_FLAGS/DT_FLAGS_1 with zero flags.
61006         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61007         linker script munging.
61009 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61011         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61012         as 128-bit value.
61013         * crypt/sha512.c (sha512_process_block): Perform total addition using
61014         128-bit if possible.
61015         (__sha512_finish_ctx): Likewise.
61016         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61017         as 64-bit value.
61018         * crypt/sha256.c (SWAP64): Define.
61019         (sha256_process_block): Perform total addition using 64-bit if
61020         possible.
61021         (__sha256_finish_ctx): Likewise.
61023 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61025         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61026         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61027         * nscd/hstcache.c (cache_addhst): Likewise.
61028         * nscd/grpcache.c (cache_addgr): Likewise.
61029         * nscd/aicache.c (addhstaiX): Likewise
61030         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61032 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61034         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61035         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61036         * nscd/hstcache.c (cache_addhst): Likewise.
61037         * nscd/grpcache.c (cache_addgr): Likewise.
61038         * nscd/aicache.c (addhstaiX): Likewise
61040 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61042         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61043         domain only when needed.
61045 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61048         is always restored.
61050 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61052         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61053         are re-adding the entry.
61054         * nscd/servicescache.c (cache_addserv): Likewise.
61056 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61058         * sysdeps/generic/dl-irel.h: fix protection against multiple
61059         inclusions.
61060         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61062 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61064         [BZ #12935]
61065         * malloc/memusage.sh: Fix quoting in message.
61066         * debug/xtrace.sh: Likewise.
61068         * configure.in: Remove support for --experimental-malloc option, make
61069         it the default.
61070         * config.make.in: Likewise.
61071         * malloc/Makefile: Likewise.
61073 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61075         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61076         two-byte characters.
61078 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61080         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61081         AC_CACHE_CHECK invocation.
61082         * configure: Regenerated.
61084         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61086 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61088         [BZ #12350]
61089         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61090         bit from old_res_options.
61092         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61094         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61095         value type for setfct.
61097 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61099         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61100         __gettimeofday instead of gettimeofday.
61102 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61104         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61106 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61108         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61110         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61111         info.
61113 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61116         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61117         strcpy-sse2-unaligned strncpy-sse2-unaligned
61118         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61119         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61120         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61121         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61122         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61123         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61124         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61125         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61126         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61127         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61128         (STRCPY): Support SSE2 and SSSE3 versions.
61130 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61132         [BZ #12874]
61133         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61134         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61135         kernels which artificially limit size of requests.
61137 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61140         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61141         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61142         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61143         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61144         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61145         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61146         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61147         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61148         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61149         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61150         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61151         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61152         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61153         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61155         Enable unaligned load optimization for Intel Core i3, i5 and i7
61156         processors.
61157         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61158         Define.
61159         (index_Fast_Unaligned_Load): Define.
61160         (HAS_FAST_UNALIGNED_LOAD): Define.
61162 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61164         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61166 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61168         [BZ #12907]
61169         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61170         until it is clear that the information is realy needed.
61171         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61173 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61177 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61179         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61180         /sys/devices/system/cpu/online if it is usable.
61182         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61183         reading the information from the /proc filesystem to once a second.
61185 2011-06-21  Andreas Jaeger  <aj@suse.de>
61187         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61188         NULL after inclusion of kernel headers.
61190 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61192         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61193         calls to internal_setent.
61195         [BZ #12885]
61196         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61197         addresses using gethostbyname4_r ignore IPv4 addresses.
61199         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61200         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61202         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61204 2011-06-20  David S. Miller  <davem@davemloft.net>
61206         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61207         inclusions.
61208         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61210         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61211         (elf_irel): Use it.
61212         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61213         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61214         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61215         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61216         * sysdeps/x86_64/dl-irel.h: Likewise.
61218         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61219         * elf/dl-sym.c: Likewise.
61221 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61223         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61224         need to dereference resplen2.
61226 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61228         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61230 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61232         * Makeconfig: Define vardbdir and inst_vardbdir.
61233         * nss/Makefile: Add rules to install db-Makefile.
61235         * nss/nss_db/db-XXX.c: Cleanup.
61237         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61238         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61239         GLIBC_PRIVATE.
61240         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61241         * nss/makedb.c: Implement -g option to specify that value strings
61242         are generated and should not be added to table iterated over for
61243         get*ent calls.
61244         * nss/nss_db/db-initgroups.c: New file.
61246         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61247         interface.
61249         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61250         (internal_getgrouplist): Adjust to name change.
61251         Update use_initgroups_entry if this is not the first call.
61252         * nss/databases.def: Add initgroups entry.
61254         * nss/makedb.c (compute_tables): Check result of multiple hash table
61255         sizes to minimize maximum chain length.
61257 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61259         * Versions.def: Add entry for libnss_db.
61260         * shlib-versions: Likewise.
61261         * nss/Makefile: Add rules to build libnss_db.
61262         * nss/Versions: Add libnss_db information.  Organize libnss_files
61263         entries better.
61264         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61265         makedb progra.  Some minor improvements to generate smaller files.
61266         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61267         here from...
61268         * nss/makedb.c: ...here.
61269         Improve database format to be smaller and require less memory at
61270         runtime.
61271         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61272         db anymore.
61273         * nss/nss_db/db-netgrp.c: Likewise.
61274         * nss/nss_db/db-open.c: Likewise.
61275         * nss/nss_files/flies-XXX.x: Adjust comments.
61276         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61277         * nss/nss_files/files-grp.c: Likewise.
61278         * nss/nss_files/files-hosts.c: Likewise.
61279         * nss/nss_files/files-network.c: Likewise.
61280         * nss/nss_files/files-proto.c: Likewise.
61281         * nss/nss_files/files-pwd.c: Likewise.
61282         * nss/nss_files/files-rpc.c: Likewise.
61283         * nss/nss_files/files-service.c: Likewise.
61284         * nss/nss_files/files-sgrp.c: Likewise.
61285         * nss/nss_files/files-spwd.c: Likewise.
61286         * nss/nss_db/db-alias.c: Removed.
61287         * nss/nss_db/dummy-db.h: Removed.
61289 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61291         * nss/makedb.c: Rewritten to not use database library.
61292         * nss/Makefile: Update to build new makedb program.
61294 2011-06-14  Andreas Jaeger  <aj@suse.de>
61296         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61297         memset declaration.
61299 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61301         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61302         tmpbuf.
61304 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61306         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61307         * elf/Makefile ($(objpfx)ld.so): Likewise.
61309         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61310         Don't list ld.so twice in dependencies.
61312         * posix/bug-regex31.c: Include <stdlib.h>.
61314         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61316         * nis/nss_compat/compat-spwd.c
61317         (getspent_next_nss_netgr): Remove unused variable.
61318         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61320         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61321         nonmembers" output to use the right array.
61323         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61325         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61327         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61328         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61329         * catgets/gencat.c (read_input_file): Likewise.
61330         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61332         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61333         variable definition inside #if's controlling its use.
61335         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61337         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61339         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61341         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61342         unreachable code.
61344         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61346         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61347         * configure: Regenerated.
61349         * Makerules: Revert last change.
61350         * elf/Makefile: Likewise.
61352 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61354         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61355         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61356         (reloc-link): Likewise.
61358 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61360         * elf/Makefile: Add rules to build pldd.
61361         * elf/pldd.c: New file.
61362         * elf/pldd-xx.c: New file.
61364 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61366         * version.h: Update for 2.15 development version.
61368 2011-06-07  David S. Miller  <davem@davemloft.net>
61370         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61371         ifuncs.
61372         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61373         elf_machine_lazy_rel): Likewise.
61374         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61375         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61376         elf_machine_lazy_rel): Likewise.
61377         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61378         dl_hwcap via passed in argument.
61379         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61380         Likewise.
61382 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61384         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61386 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61388         [BZ #12849]
61389         * manual/fdl-1.1.texi: New file, verbatim from:
61390         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61391         * manual/lgpl-2.1.texi: New file, verbatim from:
61392         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61393         * manual/Makefile (licenses): New variable, list those new file names.
61394         (texis): Use it.
61395         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61397         * manual/fdl.texi: File removed.
61398         * manual/lesser.texi: File removed.
61399         * manual/libc.texinfo (Copying, Documentation License):
61400         Use new @include file names, put @appendix directive before @include.
61402 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61404         [BZ #12841]
61405         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61406         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61407         (mq_open): Add __NTH.
61409 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61412         Assume Intel Core i3/i5/i7 processor if AVX is available.
61414 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61416         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61417         typo.
61419 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61421         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61422         memory.  Use alloca_account.  Fix memory leak when retrying.
61424 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61426         * version.h (RELEASE): Bump for 2.14 release.
61427         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61429         * config.make.in (RANLIB): Remove entry.
61431 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61433         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61434         (libc.pot): Work around missing support for .ksh extension in xgettext.
61436         [BZ #12684]
61437         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61438         if both request failed.
61439         (send_dg): In case of server errors clear resplen or *resplen2.
61441         [BZ #12454]
61442         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61443         when there are multiple maps.
61444         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61445         (_dl_fini): Remove test here.
61447         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61449 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61451         [BZ #12350]
61452         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61453         bit from old_res_options.
61454         (gaih_inet): Likewise.
61456         [BZ #11099]
61457         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61458         as signed.
61460         * resolv/res_init.c (res_setoptions): Make the code more compact.
61462         [BZ #11558]
61463         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61464         set RES_USEVC.
61466         [BZ #11634]
61467         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61469         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61471         [BZ #11781]
61472         * malloc/malloc.h: Declare malloc hook variables as volatile.
61474         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61475         in last patch.
61477         [BZ #11799]
61478         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61479         raise in the comment.
61480         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61481         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61482         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61484 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61486         [BZ #12811]
61487         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61488         grow the buffers more if it already has to be sufficient.
61489         (build_wcs_upper_buffer): Likewise.
61490         * posix/regexec.c (check_matching): Likewise.
61491         (clean_state_log_if_needed): Likewise.
61492         (extend_buffers): Don't enlarge buffers beyond size of the input
61493         buffer.
61494         Patches mostly by Emil Wojak <emil@wojak.eu>.
61495         * posix/bug-regex32.c: New file.
61496         * posix/Makefile (tests): Add bug-regex32.
61498         * locale/findlocale.c (_nl_find_locale): Return right away if
61499         _nl_explode_name failed.
61500         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61502         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61504         * debug/xtrace.sh: Unify messages.
61505         * malloc/memusage.sh: Likewise.
61507         [BZ #12813]
61508         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61509         time symbol from vDSO.  Substitute with vsyscall if not available.
61510         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61511         __vdso_time.
61513         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61514         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61515         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61516         Add sendmmsg and internal_sendmmsg.
61517         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61518         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61519         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61521         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61522         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61523         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61525 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61527         [BZ #12813]
61528         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61529         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61530         available.
61531         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61532         __vdso_getcpu.
61534         [BZ #12814]
61535         * iconvdata/Makefile (tests): Add bug-iconv9.
61536         * iconvdata/bug-iconv9.c: New file.
61538 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61540         [BZ #12814]
61541         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61543 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61545         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61546         (struct user_regs_struct): Change intcs field back to cs.
61548 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61550         * po/ja.po: Update from translation team.
61552 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61554         [BZ #12795]
61555         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61556         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61558 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61560         * stdlib/longlong.h: Update from GCC.
61562 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61564         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61565         parameter name.
61566         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61567         Add parameter name.
61568         (__sysconf): Pass it down.
61570 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61572         [BZ #12671]
61573         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61574         some situations.
61575         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61576         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61577         add in in __libc_use_alloca calls.  Adjust callers.
61578         (glob): Use malloc in some situations.
61580         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61581         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61582         pltexit.
61584 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61586         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61587         and CLOCK_BOOTTIME_ALARM.
61589         [BZ #12782]
61590         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61591         is returned.
61593         * string/_strerror.c (__strerror_r): Print negative errors as signed
61594         numbers.
61596         [BZ #12777]
61597         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61598         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61599         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61601         * configure.in: Fix typo in redirection and correct removal of test
61602         files in two cases.
61604         [BZ #12788]
61605         * locale/setlocale.c (new_composite_name): Fix test to check for
61606         identical name of all categories.
61608         [BZ #12792]
61609         * libio/filedoalloc.c (local_isatty): New function.
61610         (_IO_file_doallocate): Use local_isatty.
61611         * stdio-common/perror.c (perror): In case a new stream is used
61612         forward the stream error.
61613         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61614         error flag.
61616 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61618         [BZ #11869]
61619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61620         alloca.
61621         * include/alloca.h (extend_alloca_account): Define.
61623         [BZ #11857]
61624         * posix/regex.h: Fix comments with documentation of user-accessible
61625         fields after compilation and describe correct free'ing of pattern
61626         after re_compile_pattern.
61627         Patch by Reuben Thomas <rrt@sc3d.org>.
61629 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61631         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61632         and -mno-altivec to prevent the compiler from using Altivec and/or
61633         VSX instructions when the corresponding registers are not available.
61635 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61637         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61639 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61641         * libio/freopen.c (freopen): Use __dup2, not dup2.
61642         * libio/freopen64.c (freopen64): Likewise.
61644 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61646         [BZ #12775]
61647         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61648         * math/Makefile (tests): Add test-powl.
61649         (CFLAGS-test-powl.c): Define.
61650         * math/test-powl.c: New file.
61652 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61654         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61656 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61658         [BZ #11837]
61659         * iconvdata/gb18030.c: Update to GB18020-2005.
61661 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61663         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61664         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61665         Patch by Aharon Robbins <arnold@skeeve.com>.
61667         [BZ #11892]
61668         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61669         on the stack.
61671         [BZ #11895]
61672         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61673         through underflows.
61675         [BZ #12766]
61676         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61677         point to strings before performing equality test for error_one_per_line
61678         mode.
61680         [BZ #11697]
61681         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61683         [BZ #11820]
61684         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61685         (struct user_fpregs_struct): Avoid __uint*_t types.
61687         [BZ #6420]
61688         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61689         symbol info.  Use it instead of calling _dl_addr locally.
61690         (lock_and_info): New function.
61691         (tr_freehook): Call lock_and_info and pass symbol info as additional
61692         parameter to tr_where.
61693         (tr_mallochook): Likewise.
61694         (tr_reallochook): Likewise.
61695         (tr_memalignhook): Likewise.
61697         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61698         used and couldn't be at all thread-safe.
61700 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61702         * libio/freopen.c (freopen): Don't close old file descriptor
61703         before the new one is opened.  Instead dup the new file descriptor
61704         to the old one after the new stream is created.
61705         * libio/freopen64.c (freopen64): Likewise.
61706         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61707         * libio/fileops.c (_IO_new_file_close_it): Handle new
61708         _IO_FLAGS2_NOCLOSE flag.
61709         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61710         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61711         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61712         _IO_FLAGS2_NOCLOSE flag.
61713         * include/unistd.h: Add hidden_proto for dup3.
61714         Define __have_dup3.
61715         * io/dup3.c: Define hidden symbol.
61716         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61718         [BZ #7101]
61719         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61720         when an incomplete long option is used.
61721         * posix/tst-getopt_long1.c: New file.
61722         * posix/Makefile (tests): Add tst-getopt_long1.
61724         [BZ #10138]
61725         * scripts/config.guess: Update from autoconf-2.68.
61726         * scripts/config.sub: Likewise.
61728         [BZ #10157]
61729         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61730         tests into ...
61731         (has_cpuclock): ...this.  New function.
61732         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61733         macro here based on has_cpuclock code.
61735         [BZ #10149]
61736         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61737         First byte (not low byte) is now always NUL.
61738         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61740         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61741         Use non-cancelable interfaces.
61743         [BZ #9809]
61744         * locale/iso-639.def: Add entry for Sorani.
61746         [BZ #11901]
61747         * include/stdlib.h: Move include protection to the right place.
61748         Define abort_msg_s.  Declare __abort_msg with it.
61749         * stdlib/abort.c (__abort_msg): Adjust type.
61750         * assert/assert.c (__assert_fail_base): New function.  Majority
61751         of code from __assert_fail.  Allocate memory for __abort_msg with
61752         mmap.
61753         (__assert_fail): Now call __assert_fail_base.
61754         * assert/assert-perr.c: Remove bulk of implementation.  Use
61755         __assert_fail_base.
61756         * include/assert.hL Declare __assert_fail_base.
61757         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61758         mmap.
61759         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61761 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61763         [BZ #11952]
61764         [BZ #12453]
61765         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61766         until all modules are registered in the DTV.
61767         * elf/Makefile: Add rules to build and run tst-tls19.
61768         * elf/tst-tls19.c: New file.
61769         * elf/tst-tls19mod1.c: New file.
61770         * elf/tst-tls19mod2.c: New file.
61771         * elf/tst-tls19mod3.c: New file.
61772         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61774         [BZ #12083]
61775         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61776         correctly.
61778         [BZ #12601]
61779         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61780         two-byte sequence errors.
61781         * iconvdata/Makefile (tests): Add bug-iconv8.
61782         * iconvdata/bug-iconv8.c: New file.
61784         [BZ #12626]
61785         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61786         buf2 definition.
61788         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61790         [BZ #12432]
61791         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61792         (dummy_getcfa): New function.
61793         (init): Get _Unwind_GetCFA address, use dummy if not found.
61794         (backtrace_helper): In recursion check, also check whether CFA changes.
61795         (__backtrace): Completely initialize arg.
61797         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61798         storing incomplete byte sequence in state object.  Avoid testing for
61799         guaranteed too small input if we know there is enough data available.
61801 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61803         * Makeconfig (+link-pie): Indent.
61804         * Rules (binaries-pie): Define if $(have-fpie) and
61805         $(build-shared).
61806         (binaries-shared): Also filter out $(binaries-pie).
61807         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61808         * nscd/Makefile (others-pie): Add nscd.
61809         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61810         ($(objpfx)nscd): Remove command override.
61811         * login/Makefile (others-pie): Add pt_chown.
61812         ($(objpfx)pt_chown): Remove command override.
61813         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61814         remove command overrides.
61816 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61818         * libio/tst_putwc.c: Fix error messages.
61820         [BZ #12724]
61821         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61822         currently writing and seek to current position when not.
61823         * libio/Makefile (tests): Add bug-fclose1.
61824         * libio/bug-fclose1.c: New file.
61826 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61828         [BZ #12511]
61829         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61830         don't set DF_1_NODELETE here.
61831         (do_lookup_x): When entering new entry test for copy relocation
61832         and if necessary set DF_1_NODELETE flag.
61833         * elf/tst-unique4.cc: New file.
61834         * elf/tst-unique4.h: New file.
61835         * elf/tst-unique4lib.cc: New file.
61836         * elf/Makefile: Add rules to build and run tst-unique4.
61837         Patch by Piotr Bury <pbury@goahead.com>.
61839 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61841         [BZ #12052]
61842         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61844         [BZ #12625]
61845         * misc/mntent_r.c (addmntent): Flush the stream after the output
61847         [BZ #12393]
61848         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61849         (is_trusted_path_normalize): Skip initial colon.  Append slash
61850         to empty buffer.  Duplicate is_trusted_path code but allow
61851         constructed patch to be prefix.
61852         (is_dst): Allow $ORIGIN followed by /.
61853         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61854         Correct testing of result of is_trusted_path_normalize
61855         (decompose_rpath): Fix warning.
61857 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61859         [BZ #11257]
61860         * grp/initgroups.c (internal_getgrouplist): When we found the service
61861         list through the initgroups entry in nsswitch.conf do not always
61862         continue on a successful lookup.  Don't always use the
61863         __nss_group_database value if it is set.
61864         * nss/nsswitch.conf (initgroups): Change action for successful db
61865         lookup to continue for compatibility.
61867 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61869         [BZ #11532]
61870         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61871         and CP774 modules.
61872         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61873         and CP774 modules.
61874         * iconvdata/tst-tables.sh: Likewise.
61875         * iconvdata/cp770.c: New file.
61876         * iconvdata/cp771.c: New file.
61877         * iconvdata/cp772.c: New file.
61878         * iconvdata/cp773.c: New file.
61879         * iconvdata/cp774.c: New file.
61880         * iconvdata/testdata/CP770: New file.
61881         * iconvdata/testdata/CP770..UTF8: New file.
61882         * iconvdata/testdata/CP771: New file.
61883         * iconvdata/testdata/CP771..UTF8: New file.
61884         * iconvdata/testdata/CP772: New file.
61885         * iconvdata/testdata/CP772..UTF8: New file.
61886         * iconvdata/testdata/CP773: New file.
61887         * iconvdata/testdata/CP773..UTF8: New file.
61888         * iconvdata/testdata/CP774: New file.
61889         * iconvdata/testdata/CP774..UTF8: New file.
61891         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61892         END CHARMAP line.
61893         * iconvdata/gen-8bit-gap.sh: Likewise.
61894         * iconvdata/gen-8bit.sh: Likewise.
61896         * locale/iso-639.def: Add ary entry.
61898         [BZ #11258]
61899         * locale/C-translit.h.in: Add U20A1 transliteration.
61901         [BZ #12178]
61902         * locale/iso-639.def: Add wae entry.
61903         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61905         [BZ #12545]
61906         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61907         for n.
61909         [BZ #12711]
61910         * locale/C-translit.h.in: Add entry for U20B9.
61911         Patch by pravin.d.s@gmail.com.
61913 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61915         [BZ #12713]
61916         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61917         ENAMETOOLONG use generic getcwd.
61918         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61919         in rtld.  Use *stat64.
61920         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61921         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61922         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61923         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61924         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61925         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61926         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61927         __fstatat64 macros.
61928         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61929         * dirent/rewinddir.c: Add libc_hidden_def.
61930         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61931         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61933         * include/dirent.h (__alloc_dir): Add flags parameter.
61934         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61935         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61936         __alloc_dir.
61937         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61938         from fdopendir if O_CLOEXEC is already set.
61940 2011-03-15  Alan Modra  <amodra@gmail.com>
61942         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61943         l_tls_firstbyte_offset non-zero.  Save padding offset in
61944         l_tls_firstbyte_offset for later use.
61945         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61946         freeing static tls block.
61948 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61950         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61951         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61952         being defined by the kernel headers.
61954 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61956         [BZ #12734]
61957         * resolv/resolv.h: Define RES_NOTLDQUERY.
61958         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61959         no-tld-query and set RES_NOTLDQUERY.
61960         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61961         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61962         modern BIND to search name as TLD unless forbidden.
61964 2011-05-07  Petr Baudis  <pasky@suse.cz>
61965             Ulrich Drepper  <drepper@gmail.com>
61967         [BZ #12393]
61968         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61969         (is_trusted_path): ...to here.
61970         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61971         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61972         using is_trusted_path_normalize() in setuid scripts.
61974 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61976         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61977         __BEGIN/__END_DECLS.
61979 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61981         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61982         NSS_STATUS_NOTFOUND if no record was found.
61984 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61986         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61987         (headers-not-in-tirpc): Remove rpc/netdb.h
61988         * resolv/netdb.h: Revert last change.
61990 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61992         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61993         circular dependency between libgcc.a and libc.a.
61995 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61997         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61998         * nis/Makefile: Don't install rpcsvc/*.
61999         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62000         instead of <rpc/types.h>.
62001         (MAXHOSTNAMELEN): Define.
62003 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62005         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62007 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62009         [BZ #12714]
62010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62011         gethostbyname4_r when IPv6 results are possible.
62013 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62015         [BZ #12723]
62016         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62017         _PC_PIPE_BUF handling.
62019 2011-04-30  Bruno Haible  <bruno@clisp.org>
62021         [BZ #12717]
62022         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62023         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62024         to 'int'.
62025         * inet/getnameinfo.c (getnameinfo): Likewise.
62027 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62029         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62030         to groups setting in database lookup.
62031         * nss/nsswitch.conf: Add initgroups entry.
62033 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62035         [BZ #12685]
62036         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62037         mode string.
62038         Patch by Eric Blake <eblake@redhat.com>.
62040 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62042         * sunrpc/Makefile (need-export-routines): Add svc_run.
62043         (routines): Remove svc_run.
62044         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62045         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62046         * sunrpc/svc_run.c (svc_run): Likewise.
62047         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62049 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62051         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62052         problem in reallocation in last patch.
62054 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62056         * sunrpc/Makefile: Move inclusion of Rules.
62058 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62060         * nss/nss_files/files-initgroups.c: New file.
62061         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62062         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62063         _nss_files_initgroups_dyn.
62065 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62067         * elf/elf.h (R_ARM_IRELATIVE): Define.
62069 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62071         * po/ru.po: Update from translation team.
62073 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62075         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62076         dependencies.
62078 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62080         [BZ #12653]
62081         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62082         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62083         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62084         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62085         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62087 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62089         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62090         differing bytes.
62091         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62092         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62093         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62095 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62097         [BZ #12420]
62098         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62099         storing it.
62100         * stdlib/bug-getcontext.c: New file.
62101         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62103 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62105         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62106         instructions into .machine "z9-109".
62107         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62108         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62110 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62112         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62113         between environment variables and auxiliary vector.
62115 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62117         * Makefile: Add rules to build linkobj/libc.so.
62118         * include/libc-symbols.h: Define libc_hidden_nolink.
62119         * include/rpc/auth.h: Mark functions which are to be hidden.
62120         * include/rpc/auth_des.h: Likewise.
62121         * include/rpc/auth_unix.h: Likewise.
62122         * include/rpc/clnt.h: Likewise.
62123         * include/rpc/des_crypt.h: Likewise.
62124         * include/rpc/key_prot.h: Likewise.
62125         * include/rpc/pmap_clnt.h: Likewise.
62126         * include/rpc/pmap_prot.h: Likewise.
62127         * include/rpc/pmap_rmt.h: Likewise.
62128         * include/rpc/rpc_msg.h: Likewise.
62129         * include/rpc/svc.h: Likewise.
62130         * include/rpc/svc_auth.h: Likewise.
62131         * include/rpc/xdr.h: Likewise.
62132         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62133         * nss/Makefile: Likewise.
62134         * sunrpc/Makefile: Don't install headers.  Build library with normal
62135         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62136         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62137         for the compat linking library.  Remove use of INTDEF/INTUSE.
62138         * sunrpc/auth_none.c: Likewise.
62139         * sunrpc/auth_unix.c: Likewise.
62140         * sunrpc/authdes_prot.c: Likewise.
62141         * sunrpc/authuxprot.c: Likewise.
62142         * sunrpc/clnt_gen.c: Likewise.
62143         * sunrpc/clnt_perr.c: Likewise.
62144         * sunrpc/clnt_raw.c: Likewise.
62145         * sunrpc/clnt_simp.c: Likewise.
62146         * sunrpc/clnt_tcp.c: Likewise.
62147         * sunrpc/clnt_udp.c: Likewise.
62148         * sunrpc/clnt_unix.c: Likewise.
62149         * sunrpc/des_crypt.c: Likewise.
62150         * sunrpc/des_soft.c: Likewise.
62151         * sunrpc/get_myaddr.c: Likewise.
62152         * sunrpc/key_call.c: Likewise.
62153         * sunrpc/key_prot.c: Likewise.
62154         * sunrpc/netname.c: Likewise.
62155         * sunrpc/pm_getmaps.c: Likewise.
62156         * sunrpc/pm_getport.c: Likewise.
62157         * sunrpc/pmap_clnt.c: Likewise.
62158         * sunrpc/pmap_prot.c: Likewise.
62159         * sunrpc/pmap_prot2.c: Likewise.
62160         * sunrpc/pmap_rmt.c: Likewise.
62161         * sunrpc/publickey.c: Likewise.
62162         * sunrpc/rpc_cmsg.c: Likewise.
62163         * sunrpc/rpc_common.c: Likewise.
62164         * sunrpc/rpc_dtable.c: Likewise.
62165         * sunrpc/rpc_prot.c: Likewise.
62166         * sunrpc/rpc_thread.c: Likewise.
62167         * sunrpc/rtime.c: Likewise.
62168         * sunrpc/svc.c: Likewise.
62169         * sunrpc/svc_auth.c: Likewise.
62170         * sunrpc/svc_authux.c: Likewise.
62171         * sunrpc/svc_raw.c: Likewise.
62172         * sunrpc/svc_run.c: Likewise.
62173         * sunrpc/svc_simple.c: Likewise.
62174         * sunrpc/svc_tcp.c: Likewise.
62175         * sunrpc/svc_udp.c: Likewise.
62176         * sunrpc/svc_unix.c: Likewise.
62177         * sunrpc/svcauth_des.c: Likewise.
62178         * sunrpc/xcrypt.c: Likewise.
62179         * sunrpc/xdr.c: Likewise.
62180         * sunrpc/xdr_array.c: Likewise.
62181         * sunrpc/xdr_float.c: Likewise.
62182         * sunrpc/xdr_intXX_t.c: Likewise.
62183         * sunrpc/xdr_mem.c: Likewise.
62184         * sunrpc/xdr_rec.c: Likewise.
62185         * sunrpc/xdr_ref.c: Likewise.
62186         * sunrpc/xdr_sizeof.c: Likewise.
62187         * sunrpc/xdr_stdio.c: Likewise.
62189 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62191         [BZ #12650]
62192         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62193         * sysdeps/ia64/dl-tls.h: Likewise.
62194         * sysdeps/powerpc/dl-tls.h: Likewise.
62195         * sysdeps/s390/dl-tls.h: Likewise.
62196         * sysdeps/sh/dl-tls.h: Likewise.
62197         * sysdeps/sparc/dl-tls.h: Likewise.
62198         * sysdeps/x86_64/dl-tls.h: Likewise.
62199         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62201 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62203         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62204         rpath element also skip the following colon.
62205         (expand_dynamic_string_token): Add is_path parameter and pass
62206         down to DL_DST_REQUIRED and _dl_dst_substitute.
62207         (decompose_rpath): Call expand_dynamic_string_token with
62208         non-zero is_path.  Ignore empty rpaths.
62209         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62210         with zero is_path.
62212 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62215         Make cancelable.
62217 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62219         [BZ #12655]
62220         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62221         Patch by Filipe David Manana <fdmanana@apache.org>.
62223 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62225         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62226         Maintain aligned stack.
62227         (CHECK_RSP): Remove unused macro.
62229 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62231         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62232         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62234 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62236         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62238         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62240 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62242         [BZ #12518]
62243         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62244         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62245         * sysdeps/x86_64/memmove.c: New file.
62246         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62247         (memcpy): Renamed to ...
62248         (__new_memcpy): This.
62249         (memcpy): Provide GLIBC_2_14 memcpy.
62250         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62251         (memcpy): Provide GLIBC_2_2_5 memcpy.
62253 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62255         [BZ #12631]
62256         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62258 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62260         * misc/syncfs.c: New file.
62261         * misc/Makefile (routines): Add syncfs.
62262         * posix/unistd.h: Declare syncfs.
62263         * sysdeps/unix/syscalls.list: Add syncfs.
62265 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62267         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62268         open_by_handle_at.
62269         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62270         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62271         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62272         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62274         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62275         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62277 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62279         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62280         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62281         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62283         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62285         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62287         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62288         sync_file_range.c with -fexceptions.
62289         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62290         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62291         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62292         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62293         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62294         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62295         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62296         sync_file_range as cancellation point
62297         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62298         now a wrapper around __call_sync_file_range with cancellation handling.
62299         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62300         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62301         function name to __call_sync_file_range.
62302         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62303         Add call_sync_file_range.
62305 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62307         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62308         bits/timex.h.
62310 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62312         * iconv/iconv.h: Fix typo in comment.
62313         * io/fcntl.h: Likewise.
62314         * libio/stdio.h: Likewise.
62315         * posix/spawn.h: Likewise.
62316         * posix/unistd.h: Likewise.
62317         * stdlib/stdlib.h: Likewise.
62318         * time/time.h: Likewise.
62319         * wcsmbs/wchar.h: Likewise.
62321         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62322         open_by_handle): Add.
62323         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62324         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62325         Augment a few comments.
62326         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62330         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62331         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62332         open_by_handle.
62334         * io/fcntl.h (AT_EMPTY_PATH): Define.
62336 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62338         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62339         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62340         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62341         to...
62342         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62343         * Versions.def: Add GLIBC_2.14.
62344         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62345         Export.
62347 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62349         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62350         round counter.
62351         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62353 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62355         [BZ #12597]
62356         * string/test-strncmp.c (do_page_test): New function.
62357         (check2): Likewise.
62358         (test_main): Call check2.
62359         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62361 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62363         [BZ #12587]
62364         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62365         Handle cache information in CPU leaf 4.
62366         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62368 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62370         [BZ #12583]
62371         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62372         character representation.
62373         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62375 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62377         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62378         END(__isnan) to END(__isnanf) to match function entry point/label
62379         EALIGN(__isnanf,...).
62381 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62383         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62385 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62387         [BZ #12510]
62388         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62389         copy from the symbol referenced in the relocation to initialize the
62390         used variable.
62391         Patch by Piotr Bury <pbury@goahead.com>.
62392         * elf/Makefile: Add rules to build and tst-unique3.
62393         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62394         * elf/tst-unique3.cc: New file.
62395         * elf/tst-unique3.h: New file.
62396         * elf/tst-unique3lib.cc: New file.
62397         * elf/tst-unique3lib2.cc: New file.
62399         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62401 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62403         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62404         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62405         to _start.
62407 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62409         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62410         to-be-loaded object along a path to loader is ld.so.
62412 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62413             Ulrich Drepper  <drepper@gmail.com>
62415         * sysdeps/x86_64/memset.S: After aligning destination, code
62416         branches to different locations depending on the value of
62417         misalignment, when multiarch is enabled. Fix this.
62419 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62421         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62422         Set _x86_64_preferred_memory_instruction for AMD processsors.
62423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62424         Set bit_Prefer_SSE_for_memop for AMD processors.
62426 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62428         * libio/fmemopen.c (fmemopen): Optimize a bit.
62430 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62432         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62434 2011-03-03  Roland McGrath  <roland@redhat.com>
62436         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62438 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62440         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62441         __bzero_ultra1 instead of __memset_ultra1.
62443 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62444             Ulrich Drepper  <drepper@gmail.com>
62446         [BZ #12509]
62447         * include/link.h (struct link_map): Add l_orig_initfini.
62448         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62449         returning unsuccessfully.
62450         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62451         close of a file loaded at startup, restore the original l_initfini
62452         list.
62453         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62454         list, store the pointer.
62455         * elf/Makefile ($(objpfx)noload-mem): New rule.
62456         (noload-ENV): Define.
62457         (tests): Add $(objpfx)noload-mem.
62458         * elf/noload.c: Include <memcheck.h>.
62459         (main): Call mtrace.  Close all opened handles.
62461 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62463         [BZ #12454]
62464         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62465         dependencies are missing.
62467 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62469         Fix __if_freereq crash: Unlike the generic version which uses free,
62470         Hurd needs munmap.
62471         * sysdeps/mach/hurd/ifreq.h: New file.
62473 2011-01-27  Petr Baudis  <pasky@suse.cz>
62474             Ulrich Drepper  <drepper@gmail.com>
62476         [BZ 12445]#
62477         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62478         to extend_alloca().
62479         * stdio-common/bug23.c: New file.
62480         * stdio-common/Makefile (tests): Add bug23.
62482 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62483             Ulrich Drepper  <drepper@gmail.com>
62485         [BZ #12489]
62486         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62487         before performing relro protection.  At old place add assertion
62488         to make sure nothing changed.
62490 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62491             Glauber de Oliveira Costa  <glommer@gmail.com>
62493         * elf/elf.h: Add new ARM TLS relocs.
62495 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62498         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62499         cast from r3.
62500         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62501         'tests' variable.
62502         * sysdeps/wordsize-64/tst-writev.c: New file.
62504 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62506         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62507         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62508         insns in _dl_start to prevent a TOC reference before relocs are
62509         resolved.
62511 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62513         [BZ #12469]
62514         * Makeconfig: Remove RANLIB definition.
62515         * Makerules: Don't use RANLIB.
62516         * aclocal.m4: Remove ranlib test.
62517         * configure.in: No need to check for ranlib.
62518         * elf/rtld-Rules: Don't use RANLIB.
62520 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62522         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62523         protection macro.
62524         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62525         inclusion protection macro.
62527         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62528         SIGRTMIN and SIGRTMAX and print information in that case only when
62529         SIGRTMIN is defined.
62531 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62533         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62534         arginfo fn returning -1.
62536         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62537         and thousands string is zero terminated.
62539 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62541         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62542         sysdeps/unix/sysv/linux/bits/socket.h.
62544 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62546         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62547         (__CPU_COUNT): Remove old macros.
62548         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62549         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62550         (__CPU_ALLOC, __CPU_FREE): Add macros.
62551         (__sched_cpualloc, __sched_cpufree): Add declarations.
62553 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62555         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62556         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62557         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62558         (readdhstai): Return value of addhstaiX call.
62559         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62560         (addgrbyX): Return value returned by cache_addgr.
62561         (readdgrbyname): Return value returned by addgrbyX.
62562         (readdgrbygid): Likewise.
62563         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62564         (addpwbyX): Return value returned by cache_addpw.
62565         (readdpwbyname): Return value returned by addhstbyX.
62566         (readdpwbyuid): Likewise.
62567         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62568         (addservbyX): Return value returned by cache_addserv.
62569         (readdservbyname): Return value returned by addservbyX:
62570         (readdservbyport): Likewise.
62571         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62572         (addhstbyX): Return value returned by cache_addhst.
62573         (readdhstbyname): Return value returned by addhstbyX.
62574         (readdhstbyaddr): Likewise.
62575         (readdhstbynamev6): Likewise.
62576         (readdhstbyaddrv6): Likewise.
62577         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62578         (readdinitgroups): Return value returned by addinitgroupsX.
62579         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62580         (prune_cache): Keep track of timeout value of re-added entries.
62581         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62582         * nscd/nscd.h: Adjust prototypes of readd* functions.
62584 2011-02-04  Roland McGrath  <roland@redhat.com>
62586         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62587         (nis_stats): Likewise.
62588         * nis/nis_modify.c (nis_modify): Likewise.
62589         * nis/nis_remove.c (nis_remove): Likewise.
62590         * nis/nis_add.c (nis_add): Likewise.
62592         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62594         * posix/fnmatch_loop.c: Add some consts.
62596         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62598 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62600         [BZ #12460]
62601         * config.make.in (config-cflags-novzeroupper): Define.
62602         * configure.in: Substitute libc_cv_cc_novzeroupper.
62603         * elf/Makefile (AVX-CFLAGS): Define.
62604         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62605         (CFLAGS-tst-auditmod4a.c): Likewise.
62606         (CFLAGS-tst-auditmod4b.c): Likewise.
62607         (CFLAGS-tst-auditmod6b.c): Likewise.
62608         (CFLAGS-tst-auditmod6c.c): Likewise.
62609         (CFLAGS-tst-auditmod7b.c): Likewise.
62610         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62612 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62614         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62615         function to the callback.
62616         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62618 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62620         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62621         of errno.
62623 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62625         [BZ #11724]
62626         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62627         of constructors.
62628         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62629         of destructors.
62630         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62632         [BZ #11724]
62633         * elf/Makefile: Add rules to build and run new test.
62634         * elf/tst-initorder.c: New file.
62635         * elf/tst-initorder.exp: New file.
62636         * elf/tst-initordera1.c: New file.
62637         * elf/tst-initordera2.c: New file.
62638         * elf/tst-initordera3.c: New file.
62639         * elf/tst-initordera4.c: New file.
62640         * elf/tst-initorderb1.c: New file.
62641         * elf/tst-initorderb2.c: New file.
62642         * elf/tst-order-a1.c: New file.
62643         * elf/tst-order-a2.c: New file.
62644         * elf/tst-order-a3.c: New file.
62645         * elf/tst-order-a4.c: New file.
62646         * elf/tst-order-b1.c: New file.
62647         * elf/tst-order-b2.c: New file.
62648         * elf/tst-order-main.c: New file.
62649         New test case by George Gensure <werkt0@gmail.com>.
62651 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62654         decoding ACE if AI_CANONIDN.
62656 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62658         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62660 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62662         * version.h (RELEASE): Bump for 2.13 release.
62663         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62665         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62667         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62668         MADV_NOHUGEPAGE.
62669         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62670         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62671         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62672         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62673         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62674         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62676         * posix/getconf.c: Update copyright year.
62677         * catgets/gencat.c: Likewise.
62678         * csu/version.c: Likewise.
62679         * debug/catchsegv.sh: Likewise.
62680         * debug/xtrace.sh: Likewise.
62681         * elf/ldconfig.c: Likewise.
62682         * elf/ldd.bash.in: Likewise.
62683         * elf/sprof.c (print_version): Likewise.
62684         * iconv/iconv_prog.c: Likewise.
62685         * iconv/iconvconfig.c: Likewise.
62686         * locale/programs/locale.c: Likewise.
62687         * locale/programs/localedef.c: Likewise.
62688         * malloc/memusage.sh: Likewise.
62689         * malloc/mtrace.pl: Likewise.
62690         * nscd/nscd.c (print_version): Likewise.
62691         * nss/getent.c: Likewise.
62693         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62694         PF_CAIF, and PF_ALG.
62695         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62697 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62699         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62700         (modules-names): Use them.
62701         (ifunc-test-modules, ifunc-pie-tests): Define.
62702         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62703         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62704         (test-extras): Likewise.
62705         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62706         $(compile-command.c).
62707         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62708         (all-built-dso): Define.
62709         (check-textrel.out, check-execstack.out): Depend on it.
62711         * configure.in: Don't override --enable-multi-arch.
62713 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62715         [BZ #6812]
62716         * nscd/hstcache.c (tryagain): Define.
62717         (cache_addhst): Return tryagain not notfound for temporary errors.
62718         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62719         failed.
62721 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62723         [BZ #10563]
62724         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62725         to make the syscall.
62726         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62728         [BZ #12378]
62729         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62730         and fall back to matching as normal character if the string ends before
62731         the matching ']' is found.  This is what POSIX requires.
62732         * posix/testfnm.c: Adjust test result.
62733         * posix/globtest.sh: Adjust test result.  Add new test.
62734         * posix/tst-fnmatch.input: Likewise.
62735         * posix/tst-fnmatch2.c: Add new test.
62737 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62739         * elf/Makefile (check-execstack): Revert last change.  Depend on
62740         check-execstack.h.
62741         (check-execstack.h): New target.
62742         (generated): Add check-execstack.h.
62743         * elf/check-execstack.c: Include "check-execstack.h".
62744         (main): Revert last change.
62745         (handle_file): Return zero if GNU_STACK is absent and
62746         DEFAULT_STACK_PERMS doesn't include PF_X.
62748 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62750         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62751         in child fails because the descriptor is already closed.
62752         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62753         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62754         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62756         [BZ #12397]
62757         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62758         syscall.
62760         [BZ #10484]
62761         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62762         temporary buffer used to handle multi lookups locally.
62763         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62765 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62767         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62768         loader is ld.so.
62770 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62772         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62773         alignment for SSE2.
62775 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62777         [BZ #12394]
62778         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62779         characters.  When rounding increased number of integer digits recompute
62780         number of groups.
62781         * stdio-common/tst-grouping.c: New file.
62782         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62784 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62786         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62787         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62789         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62790         void.
62791         * bits/select.h: Likewise.
62793 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62795         * po/ja.po: Update from translation team.
62797 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62799         [BZ #11155]
62800         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62801         implementation just like for lxstat, fxstatat, et al.
62803 2010-12-27  Jim Meyering  <meyering@redhat.com>
62805         [BZ #12348]
62806         * posix/regexec.c (build_trtable): Return failure indication upon
62807         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62809 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62811         [BZ #12201]
62812         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62813         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62814         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62815         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62817         [BZ #12207]
62818         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62820         [BZ #12204]
62821         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62822         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62824 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62826         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62827         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62828         script has SORT_BY_INIT_PRIORITY.
62829         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62830         NO_CTORS_DTORS_SECTIONS is defined.
62831         * elf/soinit.c: Likewise.
62832         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62833         NO_CTORS_DTORS_SECTIONS is defined.
62834         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62835         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62836         * sysdeps/sh/init-first.c: Likewise.
62837         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62839 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62841         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62842         always use the slow path.
62844 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62846         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62847         similar rule which adds the sysdep directories to the header search in
62848         order to pick up the correct platform stackinfo.h.
62849         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62850         perform test if it is, otherwise return successfully without testing.
62851         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62852         DEFAULT_STACK_PERMS define in stackinfo.h.
62853         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62854         defined in stackinfo.h.
62855         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62856         DEFAULT_STACK_PERMS defined in stackinfo.h.
62857         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62858         * sysdeps/ia64/stackinfo.h: Likewise.
62859         * sysdeps/s390/stackinfo.h: Likewise.
62860         * sysdeps/sh/stackinfo.h: Likewise.
62861         * sysdeps/sparc/stackinfo.h: Likewise.
62862         * sysdeps/x86_64/stackinfo.h: Likewise.
62863         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62864         PF_X for powerpc64.  Retain PF_X for powerpc32.
62866 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62868         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62869         accurately.
62870         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62871         GETDENTS_64BIT_ALIGNED.
62873 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62875         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62877 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62879         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62880         _GNU_SOURCE.
62882         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62883         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62884         Remove __restrict.
62885         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62886         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62888 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62890         [BZ #11655]
62891         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62892         are initialized.
62894 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62896         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62898 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62900         * po/it.po: Update from translation team.
62902 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62904         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62905         unused codes.
62907 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62909         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62911 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62913         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62914         specially.
62915         (gaih_getanswer_slice): Likewise.
62917 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62921 2010-05-31  Petr Baudis  <pasky@suse.cz>
62923         [BZ #11149]
62924         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62925         silently even in the chroot mode.
62927 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62929         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62930         last patch a bit.  Pretty printing
62932 2010-05-31  Petr Baudis <pasky@suse.cz>
62934         [BZ #10085]
62935         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62936         initialization of skip_initgroups_dyn.
62938 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62940         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62941         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62943 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62945         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62947 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62949         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62950         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62951         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62952         ($(objpfx)tst-fnmatch-mem): New rule.
62953         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62954         * posix/tst-fnmatch.c (main): Call mtrace.
62956 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62959         Support Intel processor model 6 and model 0x2c.
62961 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62963         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62964           signed comparison.
62966 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62968         [BZ #12205]
62969         * string/test-strncasecmp.c (check_result): New function.
62970         (do_one_test): Use it.
62971         (check1): New function.
62972         (test_main): Use it.
62973         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62974         Support strcasecmp and strncasecmp.
62976 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62978         [BZ #12194]
62979         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62980         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62982 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62984         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62985         IFUNC support.
62986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62987         memset-x86-64.
62988         * sysdeps/x86_64/multiarch/bzero.S: New file.
62989         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62990         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62991         * sysdeps/x86_64/multiarch/memset.S: New file.
62992         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62994         Set bit_Prefer_SSE_for_memop for Intel processors.
62995         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62996         Define.
62997         (index_Prefer_SSE_for_memop): Define.
62998         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63000 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63002         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63003         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63005 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63007         [BZ #12191]
63008         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63009         (__x86_64_raw_data_cache_size_half): Likewise.
63010         (__x86_64_raw_shared_cache_size): Likewise.
63011         (__x86_64_raw_shared_cache_size_half): Likewise.
63013         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63014         (__x86_64_raw_data_cache_size_half): Likewise.
63015         (__x86_64_raw_shared_cache_size): Likewise.
63016         (__x86_64_raw_shared_cache_size_half): Likewise.
63017         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63018         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63019         and __x86_64_raw_shared_cache_size_half.  Round
63020         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63021         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63022         to multiple of 256 bytes.
63024 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63026         [BZ #12167]
63027         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63028         of inacessible symlinks.  Verify result of symlink before returning it.
63029         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63030         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63032 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63034         * math/math.h (isinf): Fix typo in comment.
63036 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63038         * po/da.po: Update from translation team.
63040 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63042         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63043         is added to the list.
63045 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63046             Ulrich Drepper  <drepper@gmail.com>
63048         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63049         the global list here.  Move code to...
63050         (_dl_add_to_namespace_list): ...here.  New function.
63051         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63052         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63053         * elf/dl-load.c (lose): Don't remove the element from the list.
63054         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63055         (_dl_map_object): Likewise.
63057 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63059         [BZ #12159]
63060         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63061         into all bytes of SSE register.
63062         Patch by Richard Li <richardpku@gmail.com>.
63064 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63066         [BZ #12140]
63067         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63068         perturbing.
63070 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63072         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63073         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63074         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63075         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63077         submachine.
63078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63080 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63082         * include/dlfcn.h (__RTLD_SECURE): Define.
63083         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63084         mode & __RTLD_SECURE instead.
63085         (open_path): Rename preloaded parameter to secure.
63086         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63087         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63088         * elf/dl-deps.c (openaux): Likewise.
63089         * elf/rtld.c (struct map_args): Remove is_preloaded.
63090         (map_doit): Don't use it.
63091         (dl_main): Likewise.
63092         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63093         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63095 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63097         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63098         (sysd-rules-targets): Remove duplicates.
63099         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63100         rtld-%.$o dependency.
63102 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63104         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63105         _dl_map_object do it.
63107 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63109         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63110         fast fma builtins, define the macros in the C99 standard.
63111         (FP_FAST_FMAF): Likewise.
63112         (FP_FAST_FMAL): Likewise.
63113         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63115         * bits/mathdef.h: Update copyright year.
63116         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63118 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63120         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63121         builtins, define the macros in the C99 standard.
63122         (FP_FAST_FMAF): Likewise.
63123         (FP_FAST_FMAL): Likewise.
63124         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63125         multiply/add.
63126         (FP_FAST_FMAF): Likewise.
63128 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63130         [BZ #3268]
63131         * math/libm-test.inc (fma_test): Some new testcases.
63132         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63133         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63134         y and infinite z.  Do multiplication by C already in long double.
63135         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63136         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63137         y and infinite z.  Do bitwise or of inexact bit into u.d.
63138         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63139         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63140         * sysdeps/i386/fpu/s_fma.S: Removed.
63141         * sysdeps/i386/fpu/s_fmal.S: Removed.
63143 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63145         [BZ #3268]
63146         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63147         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63148         computation is not scheduled after fetestexcept.  Fix value
63149         of minimum denormal long double.
63151 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63153         [BZ #3268]
63154         * math/libm-test.inc (fma_test): Add some more tests.
63155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63156         correctly.
63158 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63160         * scripts/data/localplt-s390-linux-gnu.data: New file.
63161         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63163 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63165         [BZ #3268]
63166         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63167         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63168         instead of dbl-64.
63169         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63170         inlines.
63171         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63172         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63173         if one of x and y is very large and the other is subnormal.
63174         * sysdeps/s390/fpu/s_fmaf.c: New file.
63175         * sysdeps/s390/fpu/s_fma.c: New file.
63176         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63177         * sysdeps/powerpc/fpu/s_fma.S: New file.
63178         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63179         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63180         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63182 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63184         [BZ #3268]
63185         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63186         fma tests.
63187         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63188         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63189         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63190         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63191         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63192         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63193         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63195 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63197         [BZ #12078]
63198         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63199         * posix/bug-regex31.input: Add test case.
63201 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63203         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63204         * posix/bug-regex31.input: New file.
63206         [BZ #12078]
63207         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63208         (parse_sub_exp): Fix last change, use postorder.
63210         * posix/bug-regex31.c: New file.
63211         * posix/Makefile: Add rules to build and run bug-regex31.
63213         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63215         [BZ #12078]
63216         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63218         [BZ #12108]
63219         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63220         to have entries in sys_siglist.
63222         [BZ #12093]
63223         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63224         be NULL.
63226 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63228         [BZ #3268]
63229         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63230         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63231         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63232         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63233         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63234         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63235         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63236         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63237         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63238         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63239         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63240         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63241         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63242         * math/ftestexcept.c (fetestexcept): Likewise.
63243         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63244         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63245         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63246         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63247         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63248         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63249         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63251 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63253         [BZ #12107]
63254         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63255         newline.
63257 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63259         * string/bug-strstr1.c: New file.
63260         * string/Makefile: Add rules to build and run bug-strstr1.
63262 2010-10-05  Eric Blake  <eblake@redhat.com>
63264         [BZ #12092]
63265         * string/str-two-way.h (two_way_long_needle): Always clear memory
63266         when skipping input due to the shift table.
63268 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63270         [BZ #12005]
63271         * malloc/mcheck.c: Handle large requests.
63273         [BZ #12077]
63274         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63275         for strncmp and strncasecmp.
63276         * string/stratcliff.c: Add tests for strcmp and strncmp.
63277         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63279 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63281         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63282         __set_fpscr.
63284 2010-09-30  Andreas Jaeger  <aj@suse.de>
63286         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63287         (CGROUP_SUPER_MAGIC): Define.
63288         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63289         Handle btrfs and cgroup file systems.
63290         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63291         Likewise.
63293 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63295         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63296         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63298 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63300         [BZ #12067]
63301         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63302         trying to locate the ELF header.
63304 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63306         [BZ #11611]
63307         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63308         Mask out sign-bit copies when constructing f_fsid.
63310 2010-09-24  Petr Baudis <pasky@suse.cz>
63312         * debug/stack_chk_fail_local.c: Add missing licence exception.
63313         * debug/warning-nop.c: Likewise.
63315 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63317         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63318         implementing getdents64 using getdents syscall, set d_type if
63319         __ASSUME_GETDENTS32_D_TYPE.
63321 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63323         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63324         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63326 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63328         [BZ #12037]
63329         * posix/unistd.h: Undo change of feature selection for ftruncate from
63330         2010-01-11.
63332 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63334         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63335         detection.
63337 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63339         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63340         fanotify_mark.
63341         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63343 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63345         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63346         variables after CHECK_SP call.
63347         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63349 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63350             Ulrich Drepper  <drepper@redhat.com>
63352         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63353         re-relocationg ld.so.
63354         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63355         _dl_init_paths call.
63356         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63357         here anymore.
63359 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63361         * resolv/res_init.c (__res_vinit): Count the default server we added.
63363 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63364             Ulrich Drepper  <drepper@redhat.com>
63366         [BZ #11968]
63367         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63368         (____longjmp_chk): Use %ebx for saving value across system call.
63369         Add unwind info.
63371 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63373         * manual/Makefile: Don't mix pattern rules with normal rules.
63375 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63377         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63378         operation.
63379         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63380         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63381         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63382         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63383         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63384         Likewise.
63386 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63388         [BZ #11979]
63389         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63390         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63392 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63394         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63395         * sysdeps/x86_64/addmul_1.S: Likewise.
63396         * sysdeps/x86_64/lshift.S: Likewise.
63397         * sysdeps/x86_64/mul_1.S: Likewise.
63398         * sysdeps/x86_64/rshift.S: Likewise.
63399         * sysdeps/x86_64/sub_n.S: Likewise.
63400         * sysdeps/x86_64/submul_1.S: Likewise.
63402 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63404         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63405         Define __sched_param instead of SCHED_* and sched_param when
63406         <bits/sched.h> is included with __need_schedparam defined.
63407         * bits/sched.h [__need_schedparam]
63408         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63409         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63410         (__defined_schedparam): Define to 1.
63411         (__sched_param): New structure, identical to sched_param.
63412         (__need_schedparam): Undefine.
63414 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63416         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63417         (epoll_create1): Declare.
63419         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63421 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63423         [BZ #7066]
63424         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63425         shifting retval into place.
63427 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63429         * nis/rpcsvc/nis.h: Update copyright notice.
63430         * nis/rpcsvc/nis.x: Likewise.
63431         * nis/rpcsvc/nis_callback.h: Likewise.
63432         * nis/rpcsvc/nis_callback.x: Likewise.
63433         * nis/rpcsvc/nis_object.x: Likewise.
63434         * nis/rpcsvc/nis_tags.h: Likewise.
63435         * nis/rpcsvc/yp.h: Likewise.
63436         * nis/rpcsvc/yp.x: Likewise.
63437         * nis/rpcsvc/ypupd.h: Likewise.
63438         * nis/yp_xdr.c: Likewise.
63439         * nis/ypupdate_xdr.c: Likewise.
63441         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63442         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63443         (pmap_getport): Use __libc_rpc_getport.
63444         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63445         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63446         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63448 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63451         fanotify_mark.
63453 2010-08-27  Roland McGrath  <roland@redhat.com>
63455         * sysdeps/i386/i686/multiarch/Makefile
63456         (CFLAGS-varshift.c): New variable.
63458 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63460         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63461         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63463         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63465         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63467 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63469         * sysdeps/x86_64/strlen.S: Unroll the loop.
63470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63471         strlen-sse2 strlen-sse2-bsf.
63472         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63473         __strlen_no_bsf if bit_Slow_BSF is set.
63474         (__strlen_sse42): Removed.
63475         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63476         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63478 2010-08-25  Roland McGrath  <roland@redhat.com>
63480         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63481         * sysdeps/x86_64/multiarch/varshift.c: New file.
63482         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63483         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63484         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63485         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63487 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63490         strlen-sse2 strlen-sse2-bsf.
63491         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63492         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63493         (__strlen_sse2): Removed.
63494         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63495         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63497         bit_Slow_BSF for Atom.
63498         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63499         (index_Slow_BSF): Define.
63500         (HAS_SLOW_BSF): Define.
63502 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63504         [BZ #10851]
63505         * resolv/res_init.c (__res_vinit): When no server address at all
63506         is given default to loopback.
63508 2010-08-24  Roland McGrath  <roland@redhat.com>
63510         * configure.in: Remove config-name.h generation.
63511         * configure: Regenerated.
63512         * config-name.in: File removed.
63513         * scripts/config-uname.sh: New file.
63514         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63515         ($(objdir)config-name.h): New target.
63517         * sunrpc/rpc_parse.h: Avoid nested comment.
63519 2010-08-24  Richard Henderson  <rth@redhat.com>
63520             Ulrich Drepper  <drepper@redhat.com>
63521             H.J. Lu  <hongjiu.lu@intel.com>
63523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63525         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63526         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63527         _mm_alignr_epi8 with _mm_loadu_si128.
63528         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63529         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63530         (__m128i_shift_right): Removed.
63531         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63532         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63533         * sysdeps/x86_64/multiarch/varshift.h: New file.
63534         * sysdeps/x86_64/multiarch/varshift.S: New file.
63536 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63538         * configure.in: Move assembler checks to before sysdep dir checking.
63540 2010-08-20  Petr Baudis  <pasky@suse.cz>
63542         * LICENSES: Sync the sunrpc license.
63544 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63546         * sunrpc/auth_des.c: Update copyright notice once again.
63547         * sunrpc/auth_none.c: Likewise.
63548         * sunrpc/auth_unix.c: Likewise.
63549         * sunrpc/authdes_prot.c: Likewise.
63550         * sunrpc/authuxprot.c: Likewise.
63551         * sunrpc/bindrsvprt.c: Likewise.
63552         * sunrpc/clnt_gen.c: Likewise.
63553         * sunrpc/clnt_perr.c: Likewise.
63554         * sunrpc/clnt_raw.c: Likewise.
63555         * sunrpc/clnt_simp.c: Likewise.
63556         * sunrpc/clnt_tcp.c: Likewise.
63557         * sunrpc/clnt_udp.c: Likewise.
63558         * sunrpc/clnt_unix.c: Likewise.
63559         * sunrpc/des_crypt.c: Likewise.
63560         * sunrpc/des_soft.c: Likewise.
63561         * sunrpc/get_myaddr.c: Likewise.
63562         * sunrpc/getrpcport.c: Likewise.
63563         * sunrpc/key_call.c: Likewise.
63564         * sunrpc/key_prot.c: Likewise.
63565         * sunrpc/openchild.c: Likewise.
63566         * sunrpc/pm_getmaps.c: Likewise.
63567         * sunrpc/pm_getport.c: Likewise.
63568         * sunrpc/pmap_clnt.c: Likewise.
63569         * sunrpc/pmap_prot.c: Likewise.
63570         * sunrpc/pmap_prot2.c: Likewise.
63571         * sunrpc/pmap_rmt.c: Likewise.
63572         * sunrpc/rpc/auth.h: Likewise.
63573         * sunrpc/rpc/auth_unix.h: Likewise.
63574         * sunrpc/rpc/clnt.h: Likewise.
63575         * sunrpc/rpc/des_crypt.h: Likewise.
63576         * sunrpc/rpc/key_prot.h: Likewise.
63577         * sunrpc/rpc/netdb.h: Likewise.
63578         * sunrpc/rpc/pmap_clnt.h: Likewise.
63579         * sunrpc/rpc/pmap_prot.h: Likewise.
63580         * sunrpc/rpc/pmap_rmt.h: Likewise.
63581         * sunrpc/rpc/rpc.h: Likewise.
63582         * sunrpc/rpc/rpc_des.h: Likewise.
63583         * sunrpc/rpc/rpc_msg.h: Likewise.
63584         * sunrpc/rpc/svc.h: Likewise.
63585         * sunrpc/rpc/svc_auth.h: Likewise.
63586         * sunrpc/rpc/types.h: Likewise.
63587         * sunrpc/rpc/xdr.h: Likewise.
63588         * sunrpc/rpc_clntout.c: Likewise.
63589         * sunrpc/rpc_cmsg.c: Likewise.
63590         * sunrpc/rpc_common.c: Likewise.
63591         * sunrpc/rpc_cout.c: Likewise.
63592         * sunrpc/rpc_dtable.c: Likewise.
63593         * sunrpc/rpc_hout.c: Likewise.
63594         * sunrpc/rpc_main.c: Likewise.
63595         * sunrpc/rpc_parse.c: Likewise.
63596         * sunrpc/rpc_parse.h: Likewise.
63597         * sunrpc/rpc_prot.c: Likewise.
63598         * sunrpc/rpc_sample.c: Likewise.
63599         * sunrpc/rpc_scan.c: Likewise.
63600         * sunrpc/rpc_scan.h: Likewise.
63601         * sunrpc/rpc_svcout.c: Likewise.
63602         * sunrpc/rpc_tblout.c: Likewise.
63603         * sunrpc/rpc_util.c: Likewise.
63604         * sunrpc/rpc_util.h: Likewise.
63605         * sunrpc/rpcinfo.c: Likewise.
63606         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63607         * sunrpc/rpcsvc/key_prot.x: Likewise.
63608         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63609         * sunrpc/rpcsvc/mount.x: Likewise.
63610         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63611         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63612         * sunrpc/rpcsvc/rex.x: Likewise.
63613         * sunrpc/rpcsvc/rstat.x: Likewise.
63614         * sunrpc/rpcsvc/rusers.x: Likewise.
63615         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63616         * sunrpc/rpcsvc/spray.x: Likewise.
63617         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63618         * sunrpc/rtime.c: Likewise.
63619         * sunrpc/svc.c: Likewise.
63620         * sunrpc/svc_auth.c: Likewise.
63621         * sunrpc/svc_authux.c: Likewise.
63622         * sunrpc/svc_raw.c: Likewise.
63623         * sunrpc/svc_run.c: Likewise.
63624         * sunrpc/svc_simple.c: Likewise.
63625         * sunrpc/svc_tcp.c: Likewise.
63626         * sunrpc/svc_udp.c: Likewise.
63627         * sunrpc/svc_unix.c: Likewise.
63628         * sunrpc/svcauth_des.c: Likewise.
63629         * sunrpc/xcrypt.c: Likewise.
63630         * sunrpc/xdr.c: Likewise.
63631         * sunrpc/xdr_array.c: Likewise.
63632         * sunrpc/xdr_float.c: Likewise.
63633         * sunrpc/xdr_mem.c: Likewise.
63634         * sunrpc/xdr_rec.c: Likewise.
63635         * sunrpc/xdr_ref.c: Likewise.
63636         * sunrpc/xdr_sizeof.c: Likewise.
63637         * sunrpc/xdr_stdio.c: Likewise.
63639         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63640         handling.
63642 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63644         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63646 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63648         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63649         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63650         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63651         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63652         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63653         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63654         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63655         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63656         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63657         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63658         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63659         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63660         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63661         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63663 2010-07-26  Anton Blanchard  <anton@samba.org>
63665         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63666         * malloc/arena.c (heap_trim): Likewise.
63668 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63670         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63671         here.  Not...
63672         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63673         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63675 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63677         * sysdeps/i386/elf/Makefile: New file.
63679 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63681         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63682         from fanotify_init.
63683         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63684         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63686 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63688         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63689         of strncasecmp_l.
63690         * sysdeps/multiarch/strcmp.S: Likewise.
63692 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63694         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63695         strncase_l-nonascii.
63696         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63697         Add strncase_l-ssse3.
63698         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63699         * sysdeps/x86_64/strcmp.S: Likewise.
63700         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63701         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63702         * sysdeps/x86_64/strncase.S: New file.
63703         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63704         * sysdeps/x86_64/strncase_l.S: New file.
63705         * string/Makefile (strop-tests): Add strncasecmp.
63706         * string/test-strncasecmp.c: New file.
63708         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63709         warning.
63711         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63712         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63714 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63716         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63718 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63720         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63721         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63722         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63724 2010-05-01  Alan Modra  <amodra@gmail.com>
63726         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63727         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63728         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63729         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63730         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63731         tidying.  Don't tail-call __sigjmp_save for static lib.
63732         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63733         save location.
63734         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63735         (CALL_MCOUNT): Add eh info, and nop after bl.
63736         (TAIL_CALL_SYSCALL_ERROR): New macro.
63737         (PSEUDO_RET): Use it.
63738         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63739         Correct save location of integer regs and cr.
63740         (_dl_profile_resolve): Correct cr save location.  Delete nops
63741         after bl when SHARED.  Reduce cfi size a little by better
63742         placement of cfi directives.
63743         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63744         make a stack frame.  Instead use parm save area as a temp.
63745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63746         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63748         Don't make a stack frame for parent, use parm save area.
63749         Increase child stack frame to 112 bytes.  Don't save unused reg,
63750         and adjust reg usage.  Set up cfi on error recovery and
63751         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63753         (__makecontext): Add dummy nop after jump to exit.
63754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63755         Use correct parm save area and cr save, reduce stack frame.
63756         Correct cfi for possible PSEUDO_RET frame setup.
63757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63758         Branch to local label emitted by PSEUDO_RET rather than
63759         __syscall_error.
63761 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63763         [BZ #11904]
63764         * locale/programs/locale.c (print_assignment): New function.
63765         (show_locale_vars): Use it.
63767 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63769         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63770         field.
63771         (struct statfs64): Likewise.
63772         (_STATFS_F_FLAGS): Define.
63773         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63774         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63775         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63776         (ST_VALID): Define locally.
63777         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63778         __statvfs_getflags, use the provided value.
63779         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63780         __ASSUME_STATFS_F_FLAGS.
63782         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63784         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63785         Add sys/fanotify.h.
63786         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63787         fanotify_mask for GLIBC_2.13.
63788         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63789         fanotify_init and fanotify_mark.
63790         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63791         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63793         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63794         Add prlimit.
63795         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63796         prlimit64 for GLIBC_2.13.
63797         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63798         prlimit64.
63799         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63800         syscall.
63801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63802         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63803         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63804         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63806         add prlimit alias.
63807         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63809         [BZ #11903]
63810         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63811         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63813         * nss/Makefile: Add rules to build and run tst-nss-test1.
63814         * shlib-versions: Add entry for libnss_test1.
63815         * nss/nss_test1.c: New file.
63816         * nss/tst-nss-test1.c: New file.
63818         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63819         (__nss_configure_lookup): Set appropriate entry in
63820         __nss_configure_lookup to true.
63821         * nss/nsswitch.h: Define enum with indeces of databases in
63822         databases and __nss_database_custom arrays.  Declare
63823         __nss_database_custom.
63824         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63825         to avoid using nscd when custom rules are installed.
63826         * nss/getXXbyYY_r.c: Likewise.
63827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63829         * nss/nss_files/files-parse.c: Whitespace fixes.
63831 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63833         [BZ #11883]
63834         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63835         * posix/fnmatch_loop.c: Likewise.
63837 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63839         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63840         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63841         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63842         * Versions.def [GLIBC_2.13]: Add.
63844 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63846         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63847         Also fail if tpwd after pwuid call is NULL.
63849 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63851         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63852         when converting to ms.
63854 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63856         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63857         EOPNOTSUPP errors with ENOTTY.
63858         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63859         EOPNOTSUPP errors with ENOTTY.
63861 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63863         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63864         Add strcasecmp_l-ssse3.
63865         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63866         strcasecmp.
63867         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63868         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63869         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63871 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63873         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63875         * string/Makefile (strop-tests): Add strcasecmp.
63876         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63877         strcasecmp_l-nonascii.
63878         (gen-as-const-headers): Add locale-defines.sym.
63879         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63880         * sysdeps/x86_64/strcasecmp.S: New file.
63881         * sysdeps/x86_64/strcasecmp_l.S: New file.
63882         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63883         * sysdeps/x86_64/locale-defines.sym: New file.
63884         * string/test-strcasecmp.c: New file.
63886         * string/test-strcasestr.c: Test both ends of the range of characters.
63887         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63889 2010-07-29  Roland McGrath  <roland@redhat.com>
63891         [BZ #11856]
63892         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63894 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63896         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63897         for ld.so.
63899 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63901         * manual/memory.texi (Malloc Tunable Parameters): Document
63902         M_PERTURB.
63904 2010-07-26  Roland McGrath  <roland@redhat.com>
63906         [BZ #11840]
63907         * configure.in (-fgnu89-inline check): Set and substitute
63908         gnu89_inline, not libc_cv_gnu89_inline.
63909         * configure: Regenerated.
63910         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63912 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63914         * string/test-strnlen.c: New file.
63915         * string/Makefile (strop-tests): Add strnlen.
63916         * string/tester.c (test_strnlen): Add a few more test cases.
63917         * string/tst-strlen.c: Better error reporting.
63919         * sysdeps/x86_64/strnlen.S: New file.
63921 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63923         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63924         lower-latency instructions.
63926 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63928         * string/test-strcasestr.c: New file.
63929         * string/test-strstr.c: New file.
63930         * string/Makefile (strop-tests): Add strstr and strcasestr.
63931         * string/str-two-way.h: Don't undefine MAX.
63932         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63934 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63936         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63937         strcasestr-nonascii.
63938         (CFLAGS-strcasestr-nonascii.c): Define.
63939         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63940         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63941         Remove unused attribute.
63943 2010-07-20  Roland McGrath  <roland@redhat.com>
63945         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63946         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63947         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63948         like LD_HWCAP_MASK can disable hwcaps.
63950 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63952         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63954 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63956         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63957         call in strcasestr.
63958         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63959         __strcasestr_sse42_nonascii.
63960         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63961         strcasestr-nonascii.c.
63962         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63964 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63966         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63967         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63968         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63969         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63971 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63973         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63974         fcntl.
63976 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63978         [BZ #11577]
63979         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63980         dl_signal_cerror.
63982 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63984         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63985         _PC_PIPE_BUF using F_GETPIPE_SZ.
63987 2010-07-05  Roland McGrath  <roland@redhat.com>
63989         * manual/arith.texi (Rounding Functions): Fix rint description
63990         implicit in round description.
63992 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63994         * elf/Makefile: Fix linking for a few tests to make recent linker
63995         happy.
63997 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63999         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64000         $(common-objpfx)libc_nonshared.a.
64002 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64004         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64005         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64006         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64007         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64008         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64009         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64010         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64011         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64026         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64027         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64028         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64029         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64030         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64031         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64032         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64033         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64034         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64035         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64036         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64037         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64053 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64055         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64056         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64057         * string/memmove.c (memmove): Renamed to ...
64058         (MEMMOVE): ...this.  Default to memmove.
64059         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64060         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64061         (END_CHK): Define.
64062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64063         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64064         mempcpy-ssse3-back memmove-ssse3-back.
64065         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64066         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64067         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64068         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64069         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64070         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64071         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64072         * sysdeps/x86_64/multiarch/memmove.c: New file.
64073         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64074         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64075         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64076         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64077         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64078         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64079         Define.
64080         (index_Fast_Copy_Backward): Define.
64081         (HAS_ARCH_FEATURE): Define.
64082         (HAS_FAST_REP_STRING): Define.
64083         (HAS_FAST_COPY_BACKWARD): Define.
64085 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64087         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64088         Restore proper fallback handling.
64090 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64092         [BZ #11701]
64093         * posix/group_member.c (__group_member): Correct checking loop.
64095         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64096         OOM in getpwuid_r correctly.  Return error number when the caller
64097         should return, otherwise -1.
64098         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64099         call returning > 0 value.
64100         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64102 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64104         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64105         libc_nonshared.a from targets in modules-names.
64107 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64109         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64110         requires it.
64112 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64114         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64115         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64116         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64117         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64119 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64121         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64123 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64125         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64126         and F_GETPIPE_SZ.
64127         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64128         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64129         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64130         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64131         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64132         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64134 2010-06-14  Roland McGrath  <roland@redhat.com>
64136         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64138 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64140         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64141         __REDIRECT followed by __THROW.
64142         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64143         * posix/getopt.h (getopt): Likewise.
64145 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64147         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64148         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64149         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64150         in AT_FLAGS.
64151         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64152         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64154 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64156         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64158 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64160         [BZ #11640]
64161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64162         Properly check family and model.
64164 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64166         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64168 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64170         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64172 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64174         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64175         symbol reference.
64177 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64179         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64180         symbol reference.
64182 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64184         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64185         and internal_recvmmsg.
64186         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64187         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64188         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64189         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64191         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64192         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64193         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64195 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64197         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64199 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64201         POWER7 optimizations.
64202         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64203         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64205 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64207         * version.h: Update for 2.13 development version.
64209 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64211         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64212         exceptions.  Return 0.
64214 2010-05-07  Roland McGrath  <roland@redhat.com>
64216         * elf/ldconfig.c (main): Add a const.
64218 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64220         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64221         (args_options): Add no-idn option.
64222         (ahosts_keys_int): Add idn_flags to ai_flags.
64223         (parse_option): Handle 'i' option to clear idn_flags.
64225         * malloc/malloc.c (_int_free): Possible race in the most recently
64226         added check.  Only act on the data if no current modification
64227         happened.
64229 See ChangeLog.17 for earlier changes.